On Wed, 15 Jul 2009 10:51:52 +0200, <[email protected]> wrote:
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: 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>
I think it is now undefined what document.bgColor does when document.body
*is* a frameset.
--
Simon Pieters
Opera Software