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

Side by Side Diff: LayoutTests/fast/css/nested-at-rules.html

Issue 48903019: Delete js-test-post.js. (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
« no previous file with comments | « LayoutTests/fast/css/min-max-width.html ('k') | LayoutTests/fast/css/next-sibling-changed.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 <style> 4 <style>
5 .test { 5 .test {
6 content: "UNTOUCHED"; 6 content: "UNTOUCHED";
7 } 7 }
8 8
9 @media all { 9 @media all {
10 @media all { 10 @media all {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 shouldEvaluateTo("rules[1].cssRules[1].cssRules.length", 1); 53 shouldEvaluateTo("rules[1].cssRules[1].cssRules.length", 1);
54 shouldBe("rules[1].cssRules[1].cssRules[0].type", "CSSRule.MEDIA_RULE"); 54 shouldBe("rules[1].cssRules[1].cssRules[0].type", "CSSRule.MEDIA_RULE");
55 evalAndLog("rules[1].cssRules[1].insertRule('@media all { @page :left { top: 0; } }', 1)"); 55 evalAndLog("rules[1].cssRules[1].insertRule('@media all { @page :left { top: 0; } }', 1)");
56 shouldEvaluateTo("rules[1].cssRules[1].cssRules.length", 2); 56 shouldEvaluateTo("rules[1].cssRules[1].cssRules.length", 2);
57 shouldBe("rules[1].cssRules[1].cssRules[1].type", "CSSRule.MEDIA_RULE"); 57 shouldBe("rules[1].cssRules[1].cssRules[1].type", "CSSRule.MEDIA_RULE");
58 shouldBe("rules[1].cssRules[1].cssRules[1].cssRules[0].type", "CSSRule.PAGE_RULE "); 58 shouldBe("rules[1].cssRules[1].cssRules[1].cssRules[0].type", "CSSRule.PAGE_RULE ");
59 59
60 shouldBeEqualToString("getComputedStyle(document.getElementById('t0')).content", "APPLIED"); 60 shouldBeEqualToString("getComputedStyle(document.getElementById('t0')).content", "APPLIED");
61 shouldBeEqualToString("getComputedStyle(document.getElementById('t1')).content", "UNTOUCHED"); 61 shouldBeEqualToString("getComputedStyle(document.getElementById('t1')).content", "UNTOUCHED");
62 </script> 62 </script>
63 <script src="../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/min-max-width.html ('k') | LayoutTests/fast/css/next-sibling-changed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698