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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-shorthand-computed-style-crash.html

Issue 1702013003: [css-grid] Swap columns and rows in grid-template shorthand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Swap columns and rows in tests under fast/repaint/ Created 4 years, 10 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> 1 <!DOCTYPE html>
2 <link href="resources/grid.css" rel="stylesheet"> 2 <link href="resources/grid.css" rel="stylesheet">
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 </script> 6 </script>
7 <style> 7 <style>
8 .grid { 8 .grid {
9 grid: 100px / 50px; 9 grid: 50px / 100px;
10 } 10 }
11 </style> 11 </style>
12 <p>This test checks that getting computed style of grid shorthand does not crash .</p> 12 <p>This test checks that getting computed style of grid shorthand does not crash .</p>
13 <div id="grid" class="grid"> 13 <div id="grid" class="grid">
14 </div> 14 </div>
15 <script> 15 <script>
16 var grid = document.getElementById("grid"); 16 var grid = document.getElementById("grid");
17 getComputedStyle(grid).grid; 17 getComputedStyle(grid).grid;
18 </script> 18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698