[Webkit-unassigned] [Bug 157031] New: td/th.headers and a/area.ping should be DOMTokenList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 03:37:11 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=157031

            Bug ID: 157031
           Summary: td/th.headers and a/area.ping should be DOMTokenList
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zcorpan at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160426/d8df34db/attachment.html>


More information about the webkit-unassigned mailing list