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

Comments

@zcorpan
Copy link

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants