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

Side by Side Diff: LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items.html

Issue 273893002: New Layout Test to verify 'float' and 'clear' don't affect grid's items. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied suggested changes. Created 6 years, 7 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 | LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
ojan 2014/05/21 18:40:57 We usually leave out the <html><head> and <body> e
jfernandez 2014/05/22 15:16:52 Done, even that most of the files in the css-grid-
3 <link href="resources/grid.css" rel="stylesheet">
4 <head>
5 <style>
6 .grid {
7 background-color:grey;
8 }
9 .gridItem {
ojan 2014/05/21 18:40:57 It'd be good to give each grid item a different ba
jfernandez 2014/05/22 15:16:52 Actually, the "firstRowSecondColumn" and related s
10 width: 50px;
11 height: 50px;
12 }
13 </style>
14 </head>
15 <body>
16 <div>This test checks that the grid's items are not affected by the 'float' and 'clear' properties.</div>
17 <div class="grid">
18 <div style="float: right;" class="gridItem firstRowFirstColumn"></div>
ojan 2014/05/21 18:40:57 Why are there 6 divs here and only 4 in the expect
jfernandez 2014/05/22 15:16:52 Done.
ojan 2014/05/23 02:13:36 I'm still confused by this. Do some of the divs ob
jfernandez 2014/05/23 14:57:06 I understand what you mean and I agree; it's confu
19 <div class="gridItem firstRowFirstColumn"></div>
20 <div style="float: left;" class="gridItem firstRowSecondColumn"></div>
21 <div style="float: right;" class="gridItem secondRowFirstColumn"></div>
22 <div style="clear: right;" class="gridItem secondRowFirstColumn"></div>
23 <div style="float: left;" class="gridItem secondRowSecondColumn"></div>
24 </div>
25 </body>
26 </html>
27
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698