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

Side by Side Diff: LayoutTests/fast/css/css-keyframe-style-parentRule.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <style> 6 <style>
7 @-webkit-keyframes anim { 7 @-webkit-keyframes anim {
8 from { 8 from {
9 color: green; 9 color: green;
10 } 10 }
11 } 11 }
12 </style> 12 </style>
13 </head> 13 </head>
14 <body> 14 <body>
15 <script> 15 <script>
16 16
17 description("This test verifies that a keyframe rule's 'parentRule' points back to the keyframe rule."); 17 description("This test verifies that a keyframe rule's 'parentRule' points back to the keyframe rule.");
18 18
19 var rules = document.styleSheets[1].cssRules; 19 var rules = document.styleSheets[1].cssRules;
20 20
21 shouldBe("rules[0][0].parentRule", "rules[0]"); 21 shouldBe("rules[0][0].parentRule", "rules[0]");
22 shouldBe("rules[0][0].style.parentRule", "rules[0][0]"); 22 shouldBe("rules[0][0].style.parentRule", "rules[0][0]");
23 23
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/counters/getCounterValue.html ('k') | LayoutTests/fast/css/css-selector-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698