This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24263 - table.caption setter, "If the new value is not a caption element, then a HierarchyRequestError DOM exception must be thrown instead." not necessary
Summary: table.caption setter, "If the new value is not a caption element, then a Hier...
Status: CLOSED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 22:31 UTC by contributor
Modified: 2014-01-14 16:24 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-01-09 22:31:47 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html
Multipage: http://www.whatwg.org/C#the-table-element
Complete: http://www.whatwg.org/c#the-table-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
table.caption setter, "If the new value is not a caption element, then a
HierarchyRequestError DOM exception must be thrown instead." not necessary

Posted from: 91.180.161.203 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0
Comment 1 Ms2ger 2014-01-09 22:32:12 UTC
It's

           attribute HTMLTableCaptionElement? caption;

so IDL should check that
Comment 2 Ms2ger 2014-01-09 22:34:48 UTC
Also the "if the new value is a caption element," bit I missed before
Comment 3 contributor 2014-01-14 00:05:23 UTC
Checked in as WHATWG revision r8394.
Check-in comment: Fix errors in table.caption, table.tHead, table.tFoot
http://html5.org/tools/web-apps-tracker?from=8393&to=8394