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

Side by Side Diff: LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item-expected.html

Issue 697653004: [CSS Grid Layout] Grid items must set a new formatting context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied additional suggested changes. 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link href="resources/grid.css" rel="stylesheet">
5 <style>
6 .cell {
7 width: 50px;
8 height: auto;
9 min-height: 50px
10 }
11
12 .invisibleFont {
13 color: lime;
14 }
15
16 .floatLeft {
17 float: left;
18 }
19
20 .clearLeft {
21 clear: left;
22 }
23
24 .relative {
25 position: relative;
26 }
27 </style>
28 </head>
29
30 <body>
31
32 <div>This test checks that grid item sets a new formatting context for its conte nt, preventing any 'float' protruding content on the adjoining grid item ('Float ' text shouldn't overflow the first row).</div>
33
34 <div>
35 <div class="cell relative floatLeft firstRowFirstColumn">
36 <div>Float</div>
37 <div>Float</div>
38 <div>Float</div>
39 <div>Float</div>
40 </div>
41 <div class="cell floatLeft firstRowSecondColumn">
42 <div class="invisibleFont">Float</div>
43 <div class="invisibleFont">Float</div>
44 <div class="invisibleFont">Float</div>
45 <div class="invisibleFont">Float</div>
46 </div>
47 <div class="cell floatLeft clearLeft secondRowFirstColumn"></div>
48 <div class="cell floatLeft secondRowSecondColumn"></div>
49 </div>
50
51 </body>
52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698