WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
157031
td/th.headers and a/area.ping should be DOMTokenList
https://bugs.webkit.org/show_bug.cgi?id=157031
Summary
td/th.headers and a/area.ping should be DOMTokenList
Simon Pieters (:zcorpan)
Reported
2016-04-26 03:37:11 PDT
See
https://github.com/whatwg/html/issues/1026
headers and ping IDL attributes are strings but should be DOMTokenList. Spec:
https://html.spec.whatwg.org/multipage/semantics.html#htmlanchorelement
https://html.spec.whatwg.org/multipage/embedded-content.html#htmlareaelement
https://html.spec.whatwg.org/multipage/tables.html#htmltablecellelement
Simple test: <!DOCTYPE html> <a id=a ping="x y"></a> <table><tr><td id=td headers="z"></table> <script> alert(a.ping instanceof DOMTokenList); alert(td.headers instanceof DOMTokenList); </script> Test:
http://w3c-test.org/html/dom/interfaces.html
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-04-28 13:47:20 PDT
Last I checked, the other browsers had not implemented it either so I delayed this work.
Simon Pieters (:zcorpan)
Comment 2
2016-05-17 00:45:18 PDT
The spec changed .headers and .ping to DOMString/USVString in
https://github.com/whatwg/html/pull/1262
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug