Bug 148991

Summary: HTMLTableElement.tHead / tFoot / caption should be nullable
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, rniwa
Priority: P2 Keywords: WebExposed
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148971    
Attachments:
Description Flags
Patch
none
Patch none

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.