RESOLVED FIXED154851
All rules after malformed @keyframes in stylesheet is ignored
https://bugs.webkit.org/show_bug.cgi?id=154851
Summary All rules after malformed @keyframes in stylesheet is ignored
Tomas
Reported 2016-03-01 01:35:18 PST
What steps will reproduce the problem? Open attachment document in Webkit What is the expected result? First line should have white text on gray background. Second line should have gray text. What happens instead? Two lines of text have gray text color There's mistyped @keyframes rule and it should be ignored. All rules after this @keyframes rule are ignored. It looks like a bug, because in other browsers (Firefox, Chrome) it works as expected.
Attachments
Keyframes (236 bytes, text/html)
2016-03-01 01:35 PST, Tomas
no flags
Tomas
Comment 1 2016-03-01 01:35:47 PST
Created attachment 272556 [details] Keyframes
Simon Fraser (smfr)
Comment 2 2016-03-01 22:55:32 PST
Yeah, our error handling on keyframe parsing seems wrong.
Tomas
Comment 3 2017-03-29 01:26:01 PDT
It looks like bug has been fixed in latest production Safari 10.1 (12603.1.30.0.34)
Simon Fraser (smfr)
Comment 4 2017-03-29 07:31:54 PDT
Fix by landing the new CSS parser.
Note You need to log in before you can comment on or make changes to this bug.