[Bug 11386] Defer <video> rendering (letterboxing) to CSS

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11386

--- Comment #9 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-01-10 23:00:39 UTC ---
(In reply to comment #7)
> So forgive my newbness here, but which spec defines the default
> background/foreground color, default margin/padding and so on for various HTML
> elements? It looks to me like at least some of it is in the section I linked
> to.

A combination of CSS (initial values for properties) and HTML (UA stylesheet).

> Are there any other HTML elements which are explicitly mentioned in some other
> (CSS) spec and given default style? That's what would be required here, as img
> and video have different default styles, another talk about "images" or some
> such generic concept and get it right.
> 
> I just want to have this defined in some spec so that other browsers won't have
> to reverse engineer (or worse, ignore) Opera when (if) implementing this, so
> please advise...

This should be defined in HTML, in the UA stylesheet.  It's perfectly fine to
have styles for <video> and <img> be different there.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 10 January 2011 23:00:41 UTC