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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/dynamic/bottom-aligned-abspos-change-column-height.html

Issue 1415623002: Need to reposition an out-of-flow object *before* re-paginating it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/dynamic/bottom-aligned-abspos-change-column-height-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/dynamic/bottom-aligned-abspos-change-column-height.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/dynamic/bottom-aligned-abspos-change-column-height.html b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/bottom-aligned-abspos-change-column-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..7a3fb0c81ac3ef7be3603a0564aaaa3a335d8b65
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/dynamic/bottom-aligned-abspos-change-column-height.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="../../../resources/check-layout.js"></script>
+<p>A bottom-aligned absolutely positioned descendant needs to be repositioned before being
+ repaginated when its containing block gets a new height.</p>
+<p>The word "PAPAYA" should be seen in the first column below.</p>
+<div id="multicol" style="position:relative; -webkit-columns:2; column-fill:auto; width:20em; height:200px; color:papayawhip; background:papayawhip;">
+ <div style="position:relative; height:100%;">
+ <div data-offset-y="140" style="position:absolute; bottom:0; height:50px; line-height:50px; background:black;">
+ <div data-offset-y="0">PAPAYA</div>
+ </div>
+ </div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("multicol").style.height = "190px";
+ checkLayout("#multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/dynamic/bottom-aligned-abspos-change-column-height-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698