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

Unified 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: 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
« 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