m. Part of ACTION-60, forgot to make the DOMTokenList readonly.
authorJames Craig <jcraig@apple.com>
Tue, 09 Jul 2013 23:31:51 -0700
changeset 115 ca0e9a3513d6
parent 114 3ab9f0b62e4d
child 116 9280c35ff04f
m. Part of ACTION-60, forgot to make the DOMTokenList readonly.
src/indie-ui-events.html
--- a/src/indie-ui-events.html	Tue Jul 09 23:19:47 2013 -0700
+++ b/src/indie-ui-events.html	Tue Jul 09 23:31:51 2013 -0700
@@ -228,8 +228,8 @@
 				<h2>The <code>uiactions</code> IDL Attribute</h2>
 				<p>The <code>uiactions</code> attribute of each instance of the Element interface MUST return a DOMTokenList <a href="#def_reflected_attribute">reflecting</a> the <a href="#uiactions-content-attribute"><code>uiactions</code> content attribute</a>.</p>
 				<dl title="partial interface Element" class="idl">
-					<dt>attribute DOMTokenList uiactions</dt>
-					<dd>A DOM element attribute whose DOMTokenList value <a href="#def_reflected_attribute">reflects</a> the value of the <a href="#uiactions-content-attribute"><code>uiactions</code> content attribute</a>.</dd>
+					<dt>readonly attribute DOMTokenList uiactions</dt>
+					<dd>A DOM element attribute whose DOMTokenList value <a href="#def_reflected_attribute">reflects</a> the value of the <a href="#uiactions-content-attribute"><code>uiactions</code> content attribute</a>. <p class="ednote">This attribute is readonly b/c DOMTokenList values are modified by methods (e.g. el.uiactions.add("pan");) rather than by string assignment (e.g. NOT el.uiactions = "pan";). Need to make sure this is clear for authors.</p></dd>
 				</dl>
 			</section>