- From: poot <cvsmail@w3.org>
- Date: Thu, 22 Sep 2011 19:46:55 -0400
- To: public-html-diffs@w3.org
hixie: 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) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5261&r2=1.5262&f=h http://html5.org/tools/web-apps-tracker?from=6567&to=6568 =================================================================== 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:47:00 UTC