W3C home > Mailing lists > Public > public-html@w3.org > June 2009

document.bgColor and frameset

From: Simon Pieters <simonp@opera.com>
Date: Thu, 25 Jun 2009 20:58:11 +0200
To: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.uv3ga9ceidj3kv@simon-pieterss-macbook.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:04 UTC