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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html

Issue 180523004: [CSS Grid Layout] Remove legacy WebKitCSSGridLayoutEnabled flag from the Layout Tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 <!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>
5 if (window.testRunner)
6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
7 </script>
8 <link href="resources/grid.css" rel="stylesheet"> 4 <link href="resources/grid.css" rel="stylesheet">
9 <style> 5 <style>
10 .gridAutoFixedFixed { 6 .gridAutoFixedFixed {
11 grid-auto-rows: 30px; 7 grid-auto-rows: 30px;
12 grid-auto-columns: 50px; 8 grid-auto-columns: 50px;
13 } 9 }
14 10
15 .gridAutoMinMax { 11 .gridAutoMinMax {
16 grid-auto-rows: minmax(10%, 15px); 12 grid-auto-rows: minmax(10%, 15px);
17 grid-auto-columns: minmax(30%, 100px); 13 grid-auto-columns: minmax(30%, 100px);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 shouldBe("getComputedStyle(element, '').getPropertyValue('grid-auto-rows')", "'auto'"); 149 shouldBe("getComputedStyle(element, '').getPropertyValue('grid-auto-rows')", "'auto'");
154 150
155 document.body.removeChild(element); 151 document.body.removeChild(element);
156 } 152 }
157 debug(""); 153 debug("");
158 debug("Test setting grid-auto-columns and grid-auto-rows to 'initial' through JS "); 154 debug("Test setting grid-auto-columns and grid-auto-rows to 'initial' through JS ");
159 testInitial(); 155 testInitial();
160 </script> 156 </script>
161 </body> 157 </body>
162 </html> 158 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698