{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/81","labels_url":"https://api.github.com/repos/whatwg/dom/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/81/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/81/events","html_url":"https://github.com/whatwg/dom/issues/81","id":107610605,"number":81,"title":"DOMSettableTokenList needs an associated content attribute","user":{"login":"cdumez","id":995975,"avatar_url":"https://avatars.githubusercontent.com/u/995975?v=3","gravatar_id":"","url":"https://api.github.com/users/cdumez","html_url":"https://github.com/cdumez","followers_url":"https://api.github.com/users/cdumez/followers","following_url":"https://api.github.com/users/cdumez/following{/other_user}","gists_url":"https://api.github.com/users/cdumez/gists{/gist_id}","starred_url":"https://api.github.com/users/cdumez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdumez/subscriptions","organizations_url":"https://api.github.com/users/cdumez/orgs","repos_url":"https://api.github.com/users/cdumez/repos","events_url":"https://api.github.com/users/cdumez/events{/privacy}","received_events_url":"https://api.github.com/users/cdumez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-09-21T22:24:06Z","updated_at":"2015-10-21T14:19:46Z","closed_at":null,"body":"https://dom.spec.whatwg.org/#interface-domsettabletokenlist\r\n\r\n> A DOMSettableTokenList object is equivalent to a DOMTokenList object without an associated attribute.\r\n\r\nThe HTML specification is using the DOMSettableTokenList in places where there is an associated attribute. For e.g. HTMLAnchorElement.ping [1]:\r\n[PutForwards=value] readonly attribute DOMSettableTokenList ping;\r\n\r\nIt needs to be a DOMSettableTokenList because PutForwards needs to be able to set the 'value' attribute on the DOMSettableTokenList.\r\n\r\n[1] https://html.spec.whatwg.org/multipage/semantics.html#the-a-element"},"comment":{"url":"https://api.github.com/repos/whatwg/dom/issues/comments/149911228","html_url":"https://github.com/whatwg/dom/issues/81#issuecomment-149911228","issue_url":"https://api.github.com/repos/whatwg/dom/issues/81","id":149911228,"user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars.githubusercontent.com/u/1457979?v=3","gravatar_id":"","url":"https://api.github.com/users/bzbarsky","html_url":"https://github.com/bzbarsky","followers_url":"https://api.github.com/users/bzbarsky/followers","following_url":"https://api.github.com/users/bzbarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzbarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzbarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzbarsky/subscriptions","organizations_url":"https://api.github.com/users/bzbarsky/orgs","repos_url":"https://api.github.com/users/bzbarsky/repos","events_url":"https://api.github.com/users/bzbarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzbarsky/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T14:19:46Z","updated_at":"2015-10-21T14:19:46Z","body":"> but this string type is correct or not? \r\n\r\nDefine \"correct\"?  The HTML spec says `HTMLTableCellElement.headers` should be a `DOMSettableTokenList` but no one actually implements it that way.  Whether that's \"no one implements it that way yet\" or \"no one implements it that way and the spec should just change\", I can't tell you.\r\n\r\n> I ask because test ping variant in Chrome and Firefox (HTMLAnchorElement, HTMLAnchorElement) and they both return string\r\n\r\nI assume you meant (`HTMLAnchorElement`, `HTMLAreaElement`)?\r\n\r\nIn Chrome dev (48.something), `HTMLAnchorElement.ping` is a `DOMSettableTokenList` as far as I can tell.  In Chrome release (46.something) and Chrome beta (47.something), it's a string.  In Firefox it's a string.  My testing in https://github.com/whatwg/dom/issues/81#issuecomment-149582699 was in Chrome dev.\r\n\r\n> So this must only change asociated content attribute (without touching internal set, removing\r\n> duplicate or unnecessary white space from setting string)?\r\n\r\nIt should act exactly the way setAttribute acts, I would think."}}