document.bgColor and frameset

The spec says

[[
The fgColor attribute on the Document object must reflect the text  
attribute on the body element.

The bgColor attribute on the Document object must reflect the bgcolor  
attribute on the body element.

The linkColor attribute on the Document object must reflect the link  
attribute on the body element.

The vLinkColor attribute on the Document object must reflect the vlink  
attribute on the body element.

The aLinkColor attribute on the Document object must reflect the alink  
attribute on the body element.

For the above attributes, when there is no body element, the attributes  
must instead return the empty string on getting and do nothing on setting.
]]

"the body element" is either the <body> or the <frameset>.

IE8, Opera, Firefox and Safari don't reflect those attributes on  
<frameset>.

-- 
Simon Pieters
Opera Software

Received on Thursday, 25 June 2009 18:58:53 UTC