New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 606724 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

td/th.headers and a/area.ping should be DOMTokenList

Reported by sim...@opera.com, Apr 26 2016

Issue description

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
 

Comment 1 by tkent@chromium.org, Apr 26 2016

Components: -Blink>DOM Blink>HTML
Labels: Hotlist-Interop
Status: Available (was: Untriaged)
It has been already done and reverted once ( https://codereview.chromium.org/1416043002). It seems to be breaking some functionality in google.co.in. So is it worth to do this change again now?

Comment 3 by sim...@opera.com, May 13 2016

Cc: hyunjune...@samsung.com
Thanks for the info, will forward to the spec issue.

Comment 4 by sim...@opera.com, May 17 2016

Status: WontFix (was: Available)
The spec changed .headers and .ping to DOMString/USVString in https://github.com/whatwg/html/pull/1262

Sign in to add a comment