[css3-mediaqueries] error handling in media queries?

css3-mediaqueries doesn't seem to define the error handling behavior for
syntactically incorrect media queries.  This needs to be defined so that
it is possible to know which of the following rules should make p
elements green:

@media all and (min-width: 1px), all and (min-width: more than 1px) {
  p { color: green }
}

@media all and (min-width: 1px), all and (unknown-feature: 3px) {
  p { color: green }
}

@media all and (min-width: 1px), all and (min-width: 1unknownunit) {
  p { color: green }
}

@media all and (min-width: 1px), all and ((< min-width 200px)) {
  p { color: green }
}

@media all and (min-width: 1px), all and (width at least 200px) {
  p { color: green }
}

Section 5 does say this:
# Since "max-weight" is an unknown media feature, the Media Query is
# false and the associated style sheet will not be applied.
But it doesn't say how unknown media features are parsed.  Is anything
unknown within matched parentheses accepted, but considered always
false?

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Thursday, 11 May 2006 13:39:30 UTC