[whatwg] video background color (Was: Interpretation of video poster attribute)

On Fri, 13 Jun 2008, Philip J?genstedt wrote:
>
> The issue with the poster attribute is resolved, but one comment made me 
> remember something I've wondered about:
> 
> On Fri, 2008-06-13 at 09:26 +0000, Ian Hickson wrote:
> 
> > It's not impossible; first black would render 300x150, then the poster
> 
> The spec says: Areas of the element's playback area that do not contain 
> the video represent nothing.
> 
> What does this mean? Black is customary for video, but leaving the 
> region transparent (thus falling back to css background color) is 
> another option. Which is better?

It's transparent, but I intended to have the following rule in the style 
sheet:

   video { background: black; }

...so that it looks black unless the author restyles it. Does that make 
sense?

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

Received on Friday, 13 June 2008 14:02:21 UTC