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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid.html

Issue 1607463004: [css-grid] Allow to place positioned grid items on the padding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to remove <html> from test Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <style> 4 <style>
5 5
6 .grid { 6 .grid {
7 width: 200px; 7 width: 200px;
8 height: 200px; 8 height: 200px;
9 border: 5px solid black; 9 border: 5px solid black;
10 margin: 30px; 10 margin: 30px;
(...skipping 10 matching lines...) Expand all
21 .absolute { 21 .absolute {
22 position: absolute; 22 position: absolute;
23 } 23 }
24 24
25 </style> 25 </style>
26 <script src="../../resources/check-layout.js"></script> 26 <script src="../../resources/check-layout.js"></script>
27 <body onload="checkLayout('.grid')"> 27 <body onload="checkLayout('.grid')">
28 28
29 <p>This test checks the behavior of the absolutely positioned grid items placed on the implicit grid.</p> 29 <p>This test checks the behavior of the absolutely positioned grid items placed on the implicit grid.</p>
30 30
31 <p>TODO(rego): width and height of 1st and 3rd items in the next grid should be 230px once we solve http://crbug.com/562167</p>
32
31 <div class="grid"> 33 <div class="grid">
32 <div class="sizedToGridArea absolute secondRowSecondColumn" 34 <div class="sizedToGridArea absolute secondRowSecondColumn"
33 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230"> 35 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230">
34 </div> 36 </div>
35 <div class="sizedToGridArea absolute endSecondRowEndSecondColumn" 37 <div class="sizedToGridArea absolute endSecondRowEndSecondColumn"
36 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230"> 38 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230">
37 </div> 39 </div>
38 <div class="sizedToGridArea absolute onlySecondRowOnlySecondColumn" 40 <div class="sizedToGridArea absolute onlySecondRowOnlySecondColumn"
39 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230"> 41 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230">
40 </div> 42 </div>
41 </div> 43 </div>
42 44
43 <div class="grid grid-columns-rows"> 45 <div class="grid grid-columns-rows">
44 <div class="sizedToGridArea absolute secondRowSecondColumn" 46 <div class="sizedToGridArea absolute secondRowSecondColumn"
45 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230"> 47 data-offset-x="115" data-offset-y="65" data-expected-width="115" data-ex pected-height="165">
46 </div> 48 </div>
47 <div class="sizedToGridArea absolute endSecondRowEndSecondColumn" 49 <div class="sizedToGridArea absolute endSecondRowEndSecondColumn"
48 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230"> 50 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230">
49 </div> 51 </div>
50 <div class="sizedToGridArea absolute onlySecondRowOnlySecondColumn" 52 <div class="sizedToGridArea absolute onlySecondRowOnlySecondColumn"
51 data-offset-x="15" data-offset-y="15" data-expected-width="230" data-exp ected-height="230"> 53 data-offset-x="115" data-offset-y="65" data-expected-width="115" data-ex pected-height="165">
52 </div> 54 </div>
53 </div> 55 </div>
54 56
55 </body> 57 </body>
56 </html> 58 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-implicit-grid-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698