Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Side by Side Diff: LayoutTests/fast/css/webkit-keyframes-errors.html

Issue 13871007: Add CSS parser recovery from errors while parsing @-webkit-keyframes key values. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Brought the behavior closer to the spec, added another test Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3 <p>Test for Blink bug <a href="https://code.google.com/p/chromium/issues/det ail?id=228870">228870</a>: CSS parser incorrectly handles invalid @-webkit-keyfr ames key values</p>
4 <style>
5 @-webkit-keyframes foo {
6 0 {foo: bar;}
7 }
8
9 #output-1:before {
10 content: "PASSED";
11 }
12
13 @-webkit-keyframes foo {
14 0, 100% {foo: bar;}
15 }
16
17 #output-2:before {
18 content: "PASSED";
19 }
20
21 @-webkit-keyframes foo {
22 10%, none {foo: bar;}
23 }
24
25 #output-3:before {
26 content: "PASSED";
27 }
28 </style>
29 <div id="output-1"> (INTEGER single key)</div>
30 <div id="output-2"> (INTEGER in a key list)</div>
31 <div id="output-3"> (unknown IDENT in a key list)</div>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698