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

Unified Diff: LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.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
Index: LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.html
diff --git a/LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.html b/LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..beb5b2c26715ceb3f8eda983be5fff48cc5ebe9d
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/floating-not-effect-on-grid-items-expected.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 class="gridItem firstRowFirstColumn"></div>
+ <div class="gridItem firstRowSecondColumn"></div>
+ <div class="gridItem secondRowFirstColumn"></div>
+ <div class="gridItem secondRowSecondColumn"></div>
+</div>
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698