Skip to content
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
Closed

media attribute with invalid value not parsed correctly #242

zcorpan opened this issue Sep 14, 2014 · 1 comment
Labels
bug

Comments

@zcorpan
Copy link

@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
Copy link
Member

@yoavweiss 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.