[html5] r6568 - [giow] (1) Make HTMLElement-type reflecting IDL attributes only set the attribut [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Sep 22 16:44:16 PDT 2011
Author: ianh
Date: 2011-09-22 16:44:14 -0700 (Thu, 22 Sep 2011)
New Revision: 6568
Modified:
complete.html
index
source
Log:
[giow] (1) Make HTMLElement-type reflecting IDL attributes only set the attribute if the element they're being set to would then match the attribute.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12945
Modified: complete.html
===================================================================
--- complete.html 2011-09-22 23:41:25 UTC (rev 6567)
+++ complete.html 2011-09-22 23:44:14 UTC (rev 6568)
@@ -8200,7 +8200,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>
Modified: index
===================================================================
--- index 2011-09-22 23:41:25 UTC (rev 6567)
+++ index 2011-09-22 23:44:14 UTC (rev 6568)
@@ -8064,7 +8064,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>
Modified: source
===================================================================
--- source 2011-09-22 23:41:25 UTC (rev 6567)
+++ source 2011-09-22 23:44:14 UTC (rev 6568)
@@ -8038,6 +8038,10 @@
</ol>
<p>On setting, if the given element has an <code
+ title="attr-id">id</code> attribute, and has the same <span>home
+ subtree</span> as the element of the attribute being set, and the
+ given element is the first element in that <span>home subtree</span>
+ whose <span title="concept-ID">ID</span> is the value of that <code
title="attr-id">id</code> attribute, then the content attribute must
be set to the value of that <code title="attr-id">id</code>
attribute. Otherwise, the content attribute must be set to the empty
More information about the Commit-Watchers
mailing list