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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/block-with-float-and-1-orphaned-line.html

Issue 1908643003: Prioritize first-lines over orphans when deciding whether to propagate a strut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/fragmentation/block-with-float-and-1-orphaned-line-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fragmentation/block-with-float-and-1-orphaned-line.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/block-with-float-and-1-orphaned-line.html b/third_party/WebKit/LayoutTests/fragmentation/block-with-float-and-1-orphaned-line.html
new file mode 100644
index 0000000000000000000000000000000000000000..a2c75d8e214a48df6adfd04fea6dc483293d494e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/block-with-float-and-1-orphaned-line.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<script src="../resources/check-layout.js"></script>
+<div id="multicol" style="position:relative; columns:2; column-gap:0; column-fill:auto; width:500px; height:100px; line-height:20px; orphans:1; widows:1; background:yellow;">
+ First column.<br>
+ <div data-offset-y="20" data-expected-height="100">
+ <div style="float:left; width:100%; height:70px; background:cyan;">
+ This cyan block should all be in the first column.
+ </div>
+ Second column.<br>
+ </div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/block-with-float-and-1-orphaned-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698