[whatwg] XSLT: HTML 5 --> HTML

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Fri Feb 9 07:51:13 PST 2007


Nicholas Shanks wrote:

> Yes, like it, but with a different name. A nicer name than IMG. One  
> with three vowels. One that only accepts image/* content types. One  
> with a more specific usage that can be controlled independently of  
> OBJECT through CSS 1/2.

Strictly, you don't really need a second element for independent
selection.

CSS 2:

object[type="image/jpeg"], object[type="image/gif"]

Draft CSS 3:

object[type^="image/"]

--
Benjamin Hawkes-Lewis





More information about the whatwg mailing list