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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 31 09:56:03 PDT 2015


Yoav Weiss <yoav at yoav.ws> changed:

           What    |Removed                     |Added
                 CC|                            |cdumez at apple.com

--- Comment #4 from Yoav Weiss <yoav at yoav.ws> ---
When <link rel=stylesheet> with an invalid media attribute was part of the HTML, I saw that it resulted in a non-empty MediaQuerySet, containing a single query with no expressions. (which didn't have its m_ignored flag on)

Therefore I added an extra check that makes sure that the queries handled by MediaQueryEvaluator::eval have expressions, and if not, they are treated as ignored.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150331/1e801d94/attachment-0002.html>

More information about the webkit-unassigned mailing list