OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | |
4 if (window.testRunner) | |
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | |
6 </script> | |
7 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
8 <style> | 4 <style> |
9 .grid { | 5 .grid { |
10 grid-template-columns: 50px 100px 200px; | 6 grid-template-columns: 50px 100px 200px; |
11 grid-template-rows: 50px 100px 200px; | 7 grid-template-rows: 50px 100px 200px; |
12 background-color: #aaa; | 8 background-color: #aaa; |
13 } | 9 } |
14 .grid > * { | 10 .grid > * { |
15 margin: 0; /* Disable any margins as they change the top / left offsets. */ | 11 margin: 0; /* Disable any margins as they change the top / left offsets. */ |
16 grid-column: 2; | 12 grid-column: 2; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 <circle cx="50" cy="50" r="50" fill="blue"> | 63 <circle cx="50" cy="50" r="50" fill="blue"> |
68 </circle> | 64 </circle> |
69 </svg> | 65 </svg> |
70 | 66 |
71 <!-- Spans are common so they should be tested. --> | 67 <!-- Spans are common so they should be tested. --> |
72 <span data-expected-display="block" data-offset-x="50" data-offset-y="15
0"></span> | 68 <span data-expected-display="block" data-offset-x="50" data-offset-y="15
0"></span> |
73 </div> | 69 </div> |
74 </div> | 70 </div> |
75 | 71 |
76 </html> | 72 </html> |
OLD | NEW |