Bug 148991 - HTMLTableElement.tHead / tFoot / caption should be nullable
Summary: HTMLTableElement.tHead / tFoot / caption should be nullable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks: 148971
  Show dependency treegraph
 
Reported: 2015-09-08 20:39 PDT by Chris Dumez
Modified: 2015-09-09 01:49 PDT (History)
3 users (show)

See Also:


Attachments
Patch (11.77 KB, patch)
2015-09-08 21:49 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (12.81 KB, patch)
2015-09-08 21:54 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-09-08 20:39:03 PDT
HTMLTableElement.tHead / tFoot / caption should be nullable as per the specification:
https://html.spec.whatwg.org/multipage/tables.html#htmltableelement

Setting those to null in WebKit will nullify them but it will then throw a "NotFoundError: DOM Exception 8" due to an implementation bug.
Comment 1 Chris Dumez 2015-09-08 21:49:29 PDT
Created attachment 260831 [details]
Patch
Comment 2 Chris Dumez 2015-09-08 21:54:39 PDT
Created attachment 260832 [details]
Patch
Comment 3 WebKit Commit Bot 2015-09-09 01:49:30 PDT
Comment on attachment 260832 [details]
Patch

Clearing flags on attachment: 260832

Committed r189537: <http://trac.webkit.org/changeset/189537>
Comment 4 WebKit Commit Bot 2015-09-09 01:49:34 PDT
All reviewed patches have been landed.  Closing bug.