Re: document.bgColor and frameset

On Thu, 25 Jun 2009, Simon Pieters wrote:
>
> 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>.

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 15 July 2009 08:51:12 UTC