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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-serialization.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 | « no previous file | third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-serialization-quirks-mode.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharness.js"></script>
4 <script src="../../../resources/testharnessreport.js"></script> 3 <script src="../../../resources/testharnessreport.js"></script>
5 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
6 5
7 <style> 6 <style>
8 #test1 { 7 #test1 {
9 --camelCase: blue; 8 --camelCase: blue;
10 color: var(--camelCase); 9 color: var(--camelCase);
11 } 10 }
12 #test2 { 11 #test2 {
13 --Aå: 100px; 12 --Aå: 100px;
(...skipping 11 matching lines...) Expand all
25 assert_equals(document.styleSheets[0].cssRules[0].cssText, "#test1 { --camelCa se: blue; color: var(--camelCase); }"); 24 assert_equals(document.styleSheets[0].cssRules[0].cssText, "#test1 { --camelCa se: blue; color: var(--camelCase); }");
26 assert_equals(document.styleSheets[0].cssRules[1].cssText, "#test2 { --Aå: 100 px; width: var(--Aå); }"); 25 assert_equals(document.styleSheets[0].cssRules[1].cssText, "#test2 { --Aå: 100 px; width: var(--Aå); }");
27 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("--ca melCase"), " blue"); 26 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("--ca melCase"), " blue");
28 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("colo r"), "var(--camelCase)"); 27 assert_equals(document.styleSheets[0].cssRules[0].style.getPropertyValue("colo r"), "var(--camelCase)");
29 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("--Aå "), " 100px"); 28 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("--Aå "), " 100px");
30 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("widt h"), "var(--Aå)"); 29 assert_equals(document.styleSheets[0].cssRules[1].style.getPropertyValue("widt h"), "var(--Aå)");
31 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("back ground"), "var(--colour)"); 30 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("back ground"), "var(--colour)");
32 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("colo r"), "var(--color)"); 31 assert_equals(document.styleSheets[0].cssRules[2].style.getPropertyValue("colo r"), "var(--color)");
33 }, "Custom properties serialization"); 32 }, "Custom properties serialization");
34 </script> 33 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/variables/custom-properties-serialization-quirks-mode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698