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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-template-areas-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 #gridWithSingleStringTemplate { 6 #gridWithSingleStringTemplate {
11 grid-template-areas: "area"; 7 grid-template-areas: "area";
12 } 8 }
13 9
14 #gridWithTwoColumnsTemplate { 10 #gridWithTwoColumnsTemplate {
15 grid-template-areas: "first second"; 11 grid-template-areas: "first second";
16 } 12 }
17 13
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr id-template-areas')", "none") 110 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr id-template-areas')", "none")
115 111
116 debug(""); 112 debug("");
117 debug("FIXME: We currently don't validate that the named grid areas are &lt; indent&gt;."); 113 debug("FIXME: We currently don't validate that the named grid areas are &lt; indent&gt;.");
118 // <ident> only allows a leading '-'. 114 // <ident> only allows a leading '-'.
119 element.style.gridTemplateAreas = '"nav-up"'; 115 element.style.gridTemplateAreas = '"nav-up"';
120 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr id-template-areas')", "none") 116 shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('gr id-template-areas')", "none")
121 </script> 117 </script>
122 </body> 118 </body>
123 </html> 119 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698