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

Unified Diff: third_party/WebKit/LayoutTests/fast/pagination/multicol.html

Issue 1503003002: Paginated containers are opaque to enclosing fragmentation contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 5 years 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/pagination/multicol.html
diff --git a/third_party/WebKit/LayoutTests/fast/pagination/multicol.html b/third_party/WebKit/LayoutTests/fast/pagination/multicol.html
new file mode 100644
index 0000000000000000000000000000000000000000..e47cac422da031e236b3e918c67efe8cb45f095d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/pagination/multicol.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>Test that a multicol container inside a paged container is fragmented correctly.</p>
+<p>Below there should be a blue square above a papayawhip square above some spacing above a horizontal scrollbar.
+ There should be no red.</p>
+<div id="pagedContainer" style="position:relative; overflow-y:-webkit-paged-x; -webkit-column-gap:0; line-height:50px; width:50px; height:140px;">
+ <div style="-webkit-columns:2; -webkit-column-gap:0;">
+ <div data-offset-x="0" data-offset-y="0" style="background:blue;"><br></div>
+ <div data-offset-x="0" data-offset-y="50" style="background:papayawhip;"><br></div>
+ <div data-offset-x="25" data-offset-y="0" style="background:blue;"><br></div>
+ <div data-offset-x="25" data-offset-y="50" style="background:papayawhip;"><br></div>
+ <div data-offset-x="50" data-offset-y="0" style="background:red;">
+ X<br>
+ X<br>
+ X<br>
+ </div>
+ </div>
+</div>
+<script>
+ checkLayout("#pagedContainer");
+</script>

Powered by Google App Engine
This is Rietveld 408576698