media attribute with invalid value not parsed correctly #242

Closed
zcorpan opened this Issue Sep 14, 2014 · 1 comment

Projects

None yet

2 participants

@zcorpan
zcorpan commented Sep 14, 2014

[[
If child has a media attribute, and its value is not a valid media query list, or is a valid media query list that evaluates to false, continue to the next child.
]]
http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content.html#update-the-source-set

This should say "If child has a media attribute, and its value does not match the environment, continue to the next child."

In particular, media="all, }" is not a valid media query list but should still evaluate to true.

@zcorpan zcorpan added the bug label Sep 14, 2014
@yoavweiss
Member

👍

@zcorpan zcorpan closed this in 2e8180d Sep 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment