[html5] r3416 - [] (0) Define that document.bgcolor et al don't reflect for <frameset>.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 15 01:51:52 PDT 2009


Author: ianh
Date: 2009-07-15 01:51:50 -0700 (Wed, 15 Jul 2009)
New Revision: 3416

Modified:
   index
   source
Log:
[] (0) Define that document.bgcolor et al don't reflect for <frameset>.

Modified: index
===================================================================
--- index	2009-07-15 08:27:11 UTC (rev 3415)
+++ index	2009-07-15 08:51:50 UTC (rev 3416)
@@ -71377,36 +71377,28 @@
   readonly attribute <a href=#htmlallcollection-0>HTMLAllCollection</a> <a href=#dom-document-all title=dom-document-all>all</a>;
 };</pre>
 
-  <p>The <dfn id=dom-document-fgcolor title=dom-document-fgColor><code>fgColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <a href=#reflect>reflect</a> the <code title=attr-body-text><a href=#attr-body-text>text</a></code>
-  attribute on <a href=#the-body-element-0>the body element</a>.</p>
+  <p>The attributes of the <code>Document</code> object listed in the
+  first column of the following table must reflect the content
+  attribute on <a href=#the-body-element-0>the body element</a> with the name given in
+  the corresponding cell in the second column on the same row, if
+  <a href=#the-body-element-0>the body element</a> is a <code><a href=#the-body-element>body</a></code> element (as
+  opposed to a <code><a href=#frameset>frameset</a></code> element). When there is no <a href=#the-body-element-0 title="the body element">body element</a>, the attributes must
+  instead return the empty string on getting and do nothing on
+  setting.</p>
 
-  <p>The <dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <a href=#reflect>reflect</a> the <code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code>
-  attribute on <a href=#the-body-element-0>the body element</a>.</p>
-
-  <p>The <dfn id=dom-document-linkcolor title=dom-document-linkColor><code>linkColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <a href=#reflect>reflect</a> the <code title=attr-body-link><a href=#attr-body-link>link</a></code>
-  attribute on <a href=#the-body-element-0>the body element</a>.</p>
-
-  <p>The <dfn id=dom-document-vlinkcolor title=dom-document-vLinkColor><code>vLinkColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <a href=#reflect>reflect</a> the <code title=attr-body-vlink><a href=#attr-body-vlink>vlink</a></code>
-  attribute on <a href=#the-body-element-0>the body element</a>.</p>
-
-  <p>The <dfn id=dom-document-alinkcolor title=dom-document-aLinkColor><code>aLinkColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <a href=#reflect>reflect</a> the <code title=attr-body-alink><a href=#attr-body-alink>alink</a></code>
-  attribute on <a href=#the-body-element-0>the body element</a>.</p>
-
-  <p>For the above attributes, when there is no <a href=#the-body-element-0 title="the body
-  element">body element</a>, the attributes must instead return the
-  empty string on getting and do nothing on setting.</p>
-
-  <hr><p>The <dfn id=dom-document-anchors title=dom-document-anchors><code>anchors</code></dfn>
+  <table><thead><tr><th> DOM attribute
+     <th> Content attribute
+   <tbody><tr><td><dfn id=dom-document-fgcolor title=dom-document-fgColor><code>fgColor</code></dfn>
+     <td><code title=attr-body-text><a href=#attr-body-text>text</a></code>
+    <tr><td><dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
+     <td><code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code>
+    <tr><td><dfn id=dom-document-linkcolor title=dom-document-linkColor><code>linkColor</code></dfn>
+     <td><code title=attr-body-link><a href=#attr-body-link>link</a></code>
+    <tr><td><dfn id=dom-document-vlinkcolor title=dom-document-vLinkColor><code>vLinkColor</code></dfn>
+     <td><code title=attr-body-vlink><a href=#attr-body-vlink>vlink</a></code>
+    <tr><td><dfn id=dom-document-alinkcolor title=dom-document-aLinkColor><code>aLinkColor</code></dfn>
+     <td><code title=attr-body-alink><a href=#attr-body-alink>alink</a></code>
+  </table><hr><p>The <dfn id=dom-document-anchors title=dom-document-anchors><code>anchors</code></dfn>
   attribute must return an <code><a href=#htmlcollection-0>HTMLCollection</a></code> rooted at the
   <code>Document</code> node, whose filter matches only <code><a href=#the-a-element>a</a></code>
   elements with <code title=attr-a-name><a href=#attr-a-name>name</a></code>

Modified: source
===================================================================
--- source	2009-07-15 08:27:11 UTC (rev 3415)
+++ source	2009-07-15 08:51:50 UTC (rev 3416)
@@ -84228,35 +84228,39 @@
   readonly attribute <span>HTMLAllCollection</span> <span title="dom-document-all">all</span>;
 };</pre>
 
-  <p>The <dfn title="dom-document-fgColor"><code>fgColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <span>reflect</span> the <code title="attr-body-text">text</code>
-  attribute on <span>the body element</span>.</p>
+  <p>The attributes of the <code>Document</code> object listed in the
+  first column of the following table must reflect the content
+  attribute on <span>the body element</span> with the name given in
+  the corresponding cell in the second column on the same row, if
+  <span>the body element</span> is a <code>body</code> element (as
+  opposed to a <code>frameset</code> element). When there is no <span
+  title="the body element">body element</span>, the attributes must
+  instead return the empty string on getting and do nothing on
+  setting.</p>
 
-  <p>The <dfn title="dom-document-bgColor"><code>bgColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <span>reflect</span> the <code title="attr-body-bgcolor">bgcolor</code>
-  attribute on <span>the body element</span>.</p>
+  <table>
+   <thead>
+    <tr>
+     <th> DOM attribute
+     <th> Content attribute
+   <tbody>
+    <tr>
+     <td><dfn title="dom-document-fgColor"><code>fgColor</code></dfn>
+     <td><code title="attr-body-text">text</code>
+    <tr>
+     <td><dfn title="dom-document-bgColor"><code>bgColor</code></dfn>
+     <td><code title="attr-body-bgcolor">bgcolor</code>
+    <tr>
+     <td><dfn title="dom-document-linkColor"><code>linkColor</code></dfn>
+     <td><code title="attr-body-link">link</code>
+    <tr>
+     <td><dfn title="dom-document-vLinkColor"><code>vLinkColor</code></dfn>
+     <td><code title="attr-body-vlink">vlink</code>
+    <tr>
+     <td><dfn title="dom-document-aLinkColor"><code>aLinkColor</code></dfn>
+     <td><code title="attr-body-alink">alink</code>
+  </table>
 
-  <p>The <dfn title="dom-document-linkColor"><code>linkColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <span>reflect</span> the <code title="attr-body-link">link</code>
-  attribute on <span>the body element</span>.</p>
-
-  <p>The <dfn title="dom-document-vLinkColor"><code>vLinkColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <span>reflect</span> the <code title="attr-body-vlink">vlink</code>
-  attribute on <span>the body element</span>.</p>
-
-  <p>The <dfn title="dom-document-aLinkColor"><code>aLinkColor</code></dfn>
-  attribute on the <code>Document</code> object must
-  <span>reflect</span> the <code title="attr-body-alink">alink</code>
-  attribute on <span>the body element</span>.</p>
-
-  <p>For the above attributes, when there is no <span title="the body
-  element">body element</span>, the attributes must instead return the
-  empty string on getting and do nothing on setting.</p>
-
   <hr>
 
   <p>The <dfn title="dom-document-anchors"><code>anchors</code></dfn>




More information about the Commit-Watchers mailing list