[html5] r3131 - [] (0) Mention what to do when reflecting to a missing attribute. (bug 6516)

whatwg at whatwg.org whatwg at whatwg.org
Mon May 25 19:19:09 PDT 2009


Author: ianh
Date: 2009-05-25 19:19:07 -0700 (Mon, 25 May 2009)
New Revision: 3131

Modified:
   index
   source
Log:
[] (0) Mention what to do when reflecting to a missing attribute. (bug 6516)

Modified: index
===================================================================
--- index	2009-05-26 02:16:58 UTC (rev 3130)
+++ index	2009-05-26 02:19:07 UTC (rev 3131)
@@ -5979,6 +5979,11 @@
 
   <div class=impl>
 
+  <p>In general, on getting, if the content attribute is not present,
+  the DOM attribute must act as if the content attribute's value is
+  the empty string; and on setting, if the content attribute is not
+  present, it must first be added.</p>
+
   <p>If a reflecting DOM attribute is a <code>DOMString</code>
   attribute whose content attribute is defined to contain a
   <a href=#url>URL</a>, then on getting, the DOM attribute must <a href=#resolve-a-url title="resolve a url">resolve</a> the value of the content

Modified: source
===================================================================
--- source	2009-05-26 02:16:58 UTC (rev 3130)
+++ source	2009-05-26 02:19:07 UTC (rev 3131)
@@ -5836,6 +5836,11 @@
 
   <div class="impl">
 
+  <p>In general, on getting, if the content attribute is not present,
+  the DOM attribute must act as if the content attribute's value is
+  the empty string; and on setting, if the content attribute is not
+  present, it must first be added.</p>
+
   <p>If a reflecting DOM attribute is a <code>DOMString</code>
   attribute whose content attribute is defined to contain a
   <span>URL</span>, then on getting, the DOM attribute must <span




More information about the Commit-Watchers mailing list