-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
http://dev.w3.org/csswg/mediaqueries4/#mq-syntax
all is allowed in a <media-query> but not allowed in a <media-condition>. However there is no easy way to evaluate a <media-condition> as opposed to a <media query>. These tests will currently fail.
{sizes: 'all and (min-width:0) 100vw, 1px', expect: '1px'},
{sizes: 'all and (min-width:0) 1px', expect: '100vw'},
One crude but very fast approach could be to just test the string for some of the common media type strings and error out if one or more is found:
all, print, screen, speech, tty, tv, projection, handheld, braille, embossed, aural
Or possibly just ignore and leave it as is?
Metadata
Metadata
Assignees
Labels
No labels