html - link tag media attribute - projection, tv not valid -
according w3.org validator:
<link rel="stylesheet" href="css/style.css" media="screen, projection, tv" />
does not seem valid anymore. due "projection" value.
i don't remember exactly, way opera in fullscreen included. opera load file media="screen" too.
questions:
- why invalid now?
- is there way give css "fullscreen / projection" devices?
- should media attribute omitted, basic layout styling?
maintainer of w3c html checker here. 3 weeks ago implemented , pushed production w3c html checker change emits these new errors; change: https://github.com/validator/validator/commit/66c739a49afd050226a91f2b7f49662e0dcc9a09
i made change in order bring html checker in conformance current css media queries spec. noted in earlier comment:
mq4 deprecates css2.1 media types except
all
,screen
,speech
, citing use of media feature detection instead, saying:in addition, following deprecated media types defined. authors must not use these media types; instead, recommended select appropriate media features better represent aspect of device attempting style against.
presumably, validator marking value invalid because violates stipulation "authors must not use these media types".
Comments
Post a Comment