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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/image-block-as-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
Index: third_party/WebKit/LayoutTests/fragmentation/image-block-as-first-child.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/image-block-as-first-child.html b/third_party/WebKit/LayoutTests/fragmentation/image-block-as-first-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..3ed05de14d6b80cb48ca6ba1552bafbb48dff82a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/image-block-as-first-child.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<style>
+ #multicol { position:relative; columns:2; column-fill:auto; column-gap:0; width:100px; height:50px; }
+ img { display:block; margin-top:30px; width:40px; height:40px; background:blue; }
+</style>
+<p>There should be a blue square below.</p>
+<div id="multicol">
+ <img data-offset-x="50" data-offset-y="0" data-offset-width="50" data-offset-height="50">
+</div>
+<script src="../resources/check-layout.js"></script>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698