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:

  1. why invalid now?
  2. is there way give css "fullscreen / projection" devices?
  3. 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, print, 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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -