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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html

Issue 1769483002: Class A fragmentainer break points also exist between zero-height blocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Link to the scriptures. Created 4 years, 9 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/break-before-empty-child-block-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/break-before-empty-child-block.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html b/third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ea8f631b81dca0a64cb0e81f86b5c9ece5be464
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../resources/check-layout.js"></script>
+<p>There should be two blue squares below.</p>
+<div id="multicol" style="columns:3; column-fill:auto; column-gap:0; position:relative; width:120px; height:100px; line-height:20px;">
+ <div style="height:60px;"></div>
+ <div data-offset-x="0" data-offset-y="60" data-expected-height="80" style="padding-top:30px; padding-bottom:20px; background:blue;">
+ <div data-offset-x="0" data-offset-y="90"></div>
+ <!-- This is where the soft break should occur, since it's a valid class A break point. -->
+ <div data-offset-x="40" data-offset-y="0">
+ <br>
+ </div>
+ </div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698