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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-serialization-quirks-mode.html

Issue 2215203002: Remove double include of testharness.js in variable tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-serialization.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script src="../../../resources/testharness.js"></script> 1 <script src="../../../resources/testharness.js"></script>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script> 2 <script src="../../../resources/testharnessreport.js"></script>
4 <meta charset="UTF-8"> 3 <meta charset="UTF-8">
5 4
6 <style> 5 <style>
7 #test1 { 6 #test1 {
8 --camelCase: blue; 7 --camelCase: blue;
9 color: var(--camelCase); 8 color: var(--camelCase);
10 } 9 }
11 #test2 { 10 #test2 {
12 --Aå: 100px; 11 --Aå: 100px;
(...skipping 11 matching lines...) Expand all
24 assert_equals(document.styleSheets[0].cssRules[0].cssText, "#test1 { --camelCa se: blue; color: var(--camelCase); }"); 23 assert_equals(document.styleSheets[0].cssRules[0].cssText, "#test1 { --camelCa se: blue; color: var(--camelCase); }");
25 assert_equals(document.styleSheets[0].cssRules[1].cssText, "#test2 { --Aå: 100 px; width: var(--Aå); }"); 24 assert_equals(document.styleSheets[0].cssRules[1].cssText, "#test2 { --Aå: 100 px; width: var(--Aå); }");
26 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("--ca melCase"), " blue"); 25 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("--ca melCase"), " blue");
27 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("colo r"), "var(--camelCase)"); 26 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("colo r"), "var(--camelCase)");
28 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("--Aå "), " 100px"); 27 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("--Aå "), " 100px");
29 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("widt h"), "var(--Aå)"); 28 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("widt h"), "var(--Aå)");
30 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("back ground"), "var(--colour)"); 29 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("back ground"), "var(--colour)");
31 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("colo r"), "var(--color)"); 30 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("colo r"), "var(--color)");
32 }, "Custom properties serialization"); 31 }, "Custom properties serialization");
33 </script> 32 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-serialization.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698