[Webkit-unassigned] [Bug 149185] New: CSS parser unable to recover after invalid @media block
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 15 14:53:39 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149185
Bug ID: 149185
Summary: CSS parser unable to recover after invalid @media
block
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: Macintosh
OS: Mac OS X 10.10
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: hartman.wiki at gmail.com
Created attachment 261241
--> https://bugs.webkit.org/attachment.cgi?id=261241&action=review
Reduced testcase
The attached testcase shows that after an invalid media query block inside <style>, the CSS parser is unable to recover and ignores anything and everything that will follow the invalid block.
Browsers like Chrome and Firefox, ignore the first statement after the invalid media query block (which in the testcase would have made the div blue), but then do apply any following statements (in the testcase making the div green).
This caused a serious CSS styling issue on Wikimedia Commons, where a good percentage of CSS statements was ignored by Safari. Downstream report in Wikipedia: https://phabricator.wikimedia.org/T112552#1643002
--
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/20150915/f226e273/attachment.html>
More information about the webkit-unassigned
mailing list