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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item.html

Issue 1488493003: [css-grid] refactoring of layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased and refactoring of alignment css rules. Created 4 years, 11 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: third_party/WebKit/LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item.html
index 3bdc82795e5d887fa97dc79577dbd9e3f510844d..8e4f13272880fe50863290d877375b1b609f4927 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/float-not-protruding-into-next-grid-item.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
<head>
+<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
<link href="resources/grid.css" rel="stylesheet">
<style>
.grid {
grid-auto-columns: minmax(50px, max-content);
grid-auto-rows: minmax(50px, max-content);
- width: -webkit-fit-content;
}
.floatChild {
@@ -22,7 +22,7 @@
<div>This test checks that grid item sets a new formatting context for its content, preventing any 'float' protruding content on the adjoining grid item ('Float' text shouldn't overflow the first row).</div>
-<div class="grid">
+<div class="grid fit-content">
<div class="firstRowFirstColumn">
<div class="floatChild">Float</div>
<div class="floatChild">Float</div>

Powered by Google App Engine
This is Rietveld 408576698