[Webkit-unassigned] [Bug 143262] Invalid media feature evaluates to true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 1 09:54:58 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143262

--- Comment #15 from Simon Pieters <zcorpan at gmail.com> ---
I suppose the requirement in HTML4 explains WebKit's behavior here, but that is long obsolete.

https://html.spec.whatwg.org/multipage/semantics.html#attr-link-media
[[
However, if the link is an external resource link, then the media attribute is prescriptive. The user agent must apply the external resource when the media attribute's value matches the environment and the other relevant conditions apply, and must not apply it otherwise.
]]

->

https://html.spec.whatwg.org/multipage/infrastructure.html#matches-the-environment
[[
A string matches the environment of the user if it is the empty string, a string consisting of only space characters, or is a media query list that matches the user's environment according to the definitions given in the Media Queries specification. [MQ]
]]

->

https://drafts.csswg.org/mediaqueries/#error-handling
[[
A media query that does not match the grammar in the previous section must be replaced by not all during parsing.
]]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150401/08bc3d3a/attachment.html>


More information about the webkit-unassigned mailing list