html5/spec Overview.html,1.5261,1.5262

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv10964

Modified Files:
	Overview.html 
Log Message:
Make HTMLElement-type reflecting IDL attributes only set the attribute if the element they're being set to would then match the attribute. (whatwg r6568)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5261
retrieving revision 1.5262
diff -u -d -r1.5261 -r1.5262
--- Overview.html	22 Sep 2011 23:43:48 -0000	1.5261
+++ Overview.html	22 Sep 2011 23:46:37 -0000	1.5262
@@ -6954,7 +6954,10 @@
 
    <li>Otherwise, it must return <var title="">candidate</var>.</li>
 
-  </ol><p>On setting, if the given element has an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute, then the content attribute must
+  </ol><p>On setting, if the given element has an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute, and has the same <a href="#home-subtree">home
+  subtree</a> as the element of the attribute being set, and the
+  given element is the first element in that <a href="#home-subtree">home subtree</a>
+  whose <a href="#concept-id" title="concept-ID">ID</a> is the value of that <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute, then the content attribute must
   be set to the value of that <code title="attr-id"><a href="#the-id-attribute">id</a></code>
   attribute. Otherwise, the content attribute must be set to the empty
   string.</p>

Received on Thursday, 22 September 2011 23:46:49 UTC