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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); 6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
7 </script> 7 </script>
8 <link href="resources/grid.css" rel="stylesheet"> 8 <link href="resources/grid.css" rel="stylesheet">
9 <style> 9 <style>
10 .gridAutoFlowInherit { 10 .gridAutoFlowInherit {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 debug("Test getting and setting bad values for grid-auto-flow through JS"); 78 debug("Test getting and setting bad values for grid-auto-flow through JS");
79 element.style.gridAutoFlow = "noone"; 79 element.style.gridAutoFlow = "noone";
80 shouldBe("window.getComputedStyle(element, '').getPropertyValue('grid-auto-f low')", "'row'"); 80 shouldBe("window.getComputedStyle(element, '').getPropertyValue('grid-auto-f low')", "'row'");
81 81
82 debug(""); 82 debug("");
83 debug("Test setting grid-auto-flow to 'initial' through JS"); 83 debug("Test setting grid-auto-flow to 'initial' through JS");
84 // Reusing the value so that we can check that it is set back to its initial value. 84 // Reusing the value so that we can check that it is set back to its initial value.
85 element.style.gridAutoFlow = "initial"; 85 element.style.gridAutoFlow = "initial";
86 shouldBe("window.getComputedStyle(element, '').getPropertyValue('grid-auto-f low')", "'none'"); 86 shouldBe("window.getComputedStyle(element, '').getPropertyValue('grid-auto-f low')", "'none'");
87 </script> 87 </script>
88 <script src="../js/resources/js-test-post.js"></script>
89 </body> 88 </body>
90 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698