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

Unified Diff: LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol.html

Issue 1218023004: Fix a regression when position:static with absolute child changed to relative (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mstensho@ review in #10, and test from #11 Created 5 years, 5 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 | LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol.html
diff --git a/LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol.html b/LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol.html
new file mode 100644
index 0000000000000000000000000000000000000000..bfc31c3e3e1f7161238e42eab6a61691dce290e1
--- /dev/null
+++ b/LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<p>The word "PASS" should be seen below.</p>
+<div id="outer" style="position:relative; height:200px;">
+ <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em;">
+ <div id="newContainingBlock">
+ <div style="position:absolute; top:0; left:0; right:0; bottom:0;">
+ P<br>
+ A<br>
+ S<br>
+ S<br>
+ </div>
+ <br>
+ <br>
+ <br>
+ <br>
+ </div>
+ </div>
+</div>
+<script>
+ document.body.offsetTop;
+ document.getElementById("newContainingBlock").style.position = "relative";
+ document.getElementById("outer").style.height = "201px";
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-in-multicol-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698