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

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

Issue 1090423007: Serialize <string> with double quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 shouldBe("rules[1].cssRules[0].cssRules[2].parentStyleSheet", "document.styleShe ets[1]"); 50 shouldBe("rules[1].cssRules[0].cssRules[2].parentStyleSheet", "document.styleShe ets[1]");
51 51
52 shouldBe("rules[1].cssRules[1].type", "CSSRule.MEDIA_RULE"); 52 shouldBe("rules[1].cssRules[1].type", "CSSRule.MEDIA_RULE");
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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/lang-mapped-to-webkit-locale-expected.txt ('k') | LayoutTests/fast/css/nested-at-rules-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698