Bugzilla – Bug 700
add warnings for media queries with media features for media types to which they are inapplicable
Last modified: 2010-01-06 19:09:06 CET
Each entry for a media feature defined in the Media Queries spec has a field titled "Applies to" that specifies which media types or "media groups" the media feature applies to. The datatype library should do checking for instances of media features used with media types they do not apply to. It's not clear from the spec whether such instances are conformance errors, so it may be that we will need to just report them as warnings. For example, "print and (scan: progressive)" should be reported as "The 'scan' media feature does not apply to the 'print' media type."
Created attachment 144 [details] patch
syntax 517 http://whattf.browse.cvsdude.com/syntax?view=rev&revision=517 http://bugzilla.validator.nu/attachment.cgi?id=137