New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media attribute with invalid value not parsed correctly #242

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

Comments

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

This comment has been minimized.

Show comment
Hide comment
@yoavweiss

yoavweiss Sep 14, 2014

Member

👍

Member

yoavweiss commented Sep 14, 2014

👍

@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