Chromium Code Reviews| Index: LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items.html |
| diff --git a/LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items.html b/LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2b2d952fca9e3f60a1a5f8381033c0fd8a87ee51 |
| --- /dev/null |
| +++ b/LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items.html |
| @@ -0,0 +1,25 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<link href="resources/grid.css" rel="stylesheet"> |
| +<head> |
| +<style> |
| +.grid { |
| + background-color:grey; |
| +} |
| +.gridItem { |
| + width: 50px; |
| + height: 50px; |
| +} |
| +</style> |
| +</head> |
| +<body> |
| +<div>This test checks that the grid's items are not affected by the 'float' and 'clear' properties.</div> |
| +<div class="grid"> |
| + <div style="float:right;" class="gridItem firstRowFirstColumn"></div> |
| + <div style="float:left;" class="gridItem firstRowSecondColumn"></div> |
|
Manuel Rego
2014/05/14 14:55:36
I'd add 2 items to the same grid cell to check tha
|
| + <div style="float:right;" class="gridItem secondRowFirstColumn"></div> |
| + <div style="float:left;" class="gridItem secondRowSecondColumn"></div> |
| +</div> |
| +</body> |
| +</html> |
| + |