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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line.html

Issue 702663002: [CSS Grid Layout] Increase coverage for first-line pseudo-element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line-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 body { line-height: 20px; } 5 body { line-height: 20px; }
6 .grid-first-line::first-line { line-height: 100px; } 6 .grid-first-line::first-line { line-height: 100px; }
7 .container::first-line { line-height: 200px; } 7 .container::first-line { line-height: 200px; }
8 </style> 8 </style>
9 9
10 <script src="../../resources/check-layout.js"></script> 10 <script src="../../resources/check-layout.js"></script>
11 <body onload="checkLayout('.grid-first-line');"> 11 <body onload="checkLayout('.grid,.inline-grid');">
12 <p>This test grid item should ignore grid container's first-line pseudo-element. </p> 12 <p>This test grid item should ignore grid container's first-line pseudo-element. </p>
13 13
14 <div class="grid grid-first-line"> 14 <div class="grid grid-first-line">
15 <div class="item" data-expected-height=20>The first item.</div> 15 <div class="item" data-expected-height=20>The first item.</div>
16 <div class="item" data-expected-height=20>The second item.</div> 16 <div class="item" data-expected-height=20>The second item.</div>
17 </div> 17 </div>
18 18
19 <div class="inline-grid grid-first-line"> 19 <div class="inline-grid grid-first-line">
20 <div class="item" data-expected-height=20>The first item.</div> 20 <div class="item" data-expected-height=20>The first item.</div>
21 <div class="item" data-expected-height=20>The second item.</div> 21 <div class="item" data-expected-height=20>The second item.</div>
(...skipping 26 matching lines...) Expand all
48 Anonymous item. 48 Anonymous item.
49 </div> 49 </div>
50 </div> 50 </div>
51 51
52 <div class="container"> 52 <div class="container">
53 <div class="inline-grid grid-first-line" data-expected-height=20> 53 <div class="inline-grid grid-first-line" data-expected-height=20>
54 Anonymous item. 54 Anonymous item.
55 </div> 55 </div>
56 </div> 56 </div>
57 57
58 <div class="container">
59 <div class="grid">
60 <div class="item" data-expected-height=20>The first item.</div>
61 <div class="item" data-expected-height=20>The second item.</div>
62 </div>
63 </div>
64
65 <div class="container">
66 <div class="inline-grid">
67 <div class="item" data-expected-height=20>The first item.</div>
68 <div class="item" data-expected-height=20>The second item.</div>
69 </div>
70 </div>
71
72 <div class="container">
73 <div class="grid" data-expected-height=20>
74 Anonymous item.
75 </div>
76 </div>
77
78 <div class="container">
79 <div class="inline-grid" data-expected-height=20>
80 Anonymous item.
81 </div>
82 </div>
83
58 </body> 84 </body>
59 </html> 85 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-container-ignore-first-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698