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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child.html

Issue 2400083003: Don't break before a first in-flow block container. (Closed)
Patch Set: Created 4 years, 2 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 | third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/soft-break-before-first-child.html b/third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child.html
similarity index 51%
rename from third_party/WebKit/LayoutTests/fast/multicol/soft-break-before-first-child.html
rename to third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child.html
index f4ea65434a9ec8fe38fde010127f180dde315cbd..e7178ba51a27a0045dfba2e56a3cf87b9a1ce770 100644
--- a/third_party/WebKit/LayoutTests/fast/multicol/soft-break-before-first-child.html
+++ b/third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child.html
@@ -1,9 +1,11 @@
<!DOCTYPE html>
<script src="../../resources/check-layout.js"></script>
-<p>Test that the pagination strut isn't lost when it happens on the first block in a multicol container.</p>
+<p>Test that the first block in a multicol container refuses a pagination strut from a line.</p>
<p>There should be a blue square below.</p>
<div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:60px; height:40px; line-height:30px;">
- <div data-offset-y="0" data-offset-x="30" style="margin-top:25px; background:blue;"><br></div>
+ <div data-offset-y="25" data-offset-x="0" style="margin-top:25px;">
+ <div data-offset-y="0" data-offset-x="30" style="display:inline-block; width:30px; height:30px; background:blue;">
+ </div>
</div>
<script>
checkLayout("#multicol");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/break-before-first-line-in-first-child-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698