Skip to content

Commit

Permalink
[] (0) Define that document.bgcolor et al don't reflect for <frameset>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3416 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 15, 2009
1 parent 4520ffe commit 5e89583
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 58 deletions.
52 changes: 22 additions & 30 deletions index
Expand Up @@ -71377,36 +71377,28 @@ time:empty { binding: <i title="">time</i>; }</pre>
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 <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>
<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>

<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>
Expand Down
60 changes: 32 additions & 28 deletions source
Expand Up @@ -84228,34 +84228,38 @@ time:empty { binding: <i title="">time</i>; }</pre>
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 <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>

<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>
<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>

<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>

<hr>

Expand Down

0 comments on commit 5e89583

Please sign in to comment.