[Webkit-unassigned] [Bug 143266] Avoid applying invalid media attribute
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 31 09:39:09 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=143266
Yoav Weiss <yoav at yoav.ws> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cdumez at apple.com
--- Comment #2 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/bb8adc16/attachment-0002.html>
More information about the webkit-unassigned
mailing list