W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2015

[dom] "A DOMSettableTokenList object is equivalent to ..."

From: Christophe Dumez via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Sep 2015 22:24:06 +0000
To: www-dom@w3.org
Message-ID: <issues.opened-107610605-1442874246-sysbot+gh@w3.org>
cdumez has just created a new issue for https://github.com/whatwg/dom:

== "A DOMSettableTokenList object is equivalent to ..." ==
https://dom.spec.whatwg.org/#interface-domsettabletokenlist

> A DOMSettableTokenList object is equivalent to a DOMTokenList object
 without an associated attribute.

The HTML specification is using the DOMSettableTokenList in places 
where there is an associated attribute. For e.g. 
HTMLAnchorElement.ping [1]:
[PutForwards=value] readonly attribute DOMSettableTokenList ping;

It needs to be a DOMSettableTokenList because PutForwards needs to be 
able to set the 'value' attribute on the DOMSettableTokenList.

[1] 
https://html.spec.whatwg.org/multipage/semantics.html#the-a-element

See https://github.com/whatwg/dom/issues/81
Received on Monday, 21 September 2015 22:24:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:24 UTC