This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In a CSS file, using @media handheld { ... } returns errors whatever the content is. ----Example:------- @charset "ISO-8859-1"; body { background:#EEE; color:#000; font-family:sans-serif; } @media print { body { font-family:serif; } } @media handheld { body { background:#FFF; color:#000; } } ----------returns--------- * Line: 0 Context : body Invalid number : backgroundProperty background doesn't exist for media h : #fff * Line: 0 Context : body Invalid number : colorProperty color doesn't exist for media h : #000 -------------------------- Cordially, Alexandre. http://alexandre.alapetite.net
http://jigsaw.w3.org/css-validator/validator?text=%40media+handheld%7Ba%7Bdisplay%3Anone%7D%7D&warning=2&profile=none&usermedium=all The validator says the following: Warnings... * Line : 0 Property display doesn't exist for media Valid CSS information * @media handheld { * a { * display : none; } }