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

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: Added tests for out-of-range percentage key values 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
29 @-webkit-keyframes foo {
30 -10%, from {foo: bar;}
31 }
32
33 #output-4:before {
34 content: "PASSED";
35 }
36 </style>
37 <div id="output-1"> (INTEGER single key)</div>
38 <div id="output-2"> (INTEGER in a key list)</div>
39 <div id="output-3"> (unknown IDENT in a key list)</div>
40 <div id="output-4"> (out-of-range percentage key value in a key list)</div>
41 </body>
42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/animations/keyframes-invalid-keys-expected.txt ('k') | LayoutTests/fast/css/webkit-keyframes-errors-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698