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

Unified Diff: third_party/WebKit/LayoutTests/fast/inline/add-abspos-before-block-inside-inline.html

Issue 2698243002: Add out-of-flow objects under the inline in a continuation chain, when possible. (Closed)
Patch Set: cleanup Created 3 years, 10 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/inline/add-abspos-before-block-inside-inline-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/inline/add-abspos-before-block-inside-inline.html
diff --git a/third_party/WebKit/LayoutTests/fast/inline/add-abspos-before-block-inside-inline.html b/third_party/WebKit/LayoutTests/fast/inline/add-abspos-before-block-inside-inline.html
new file mode 100644
index 0000000000000000000000000000000000000000..07159029bc00f62aa690ce69930c70bf961442e3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/inline/add-abspos-before-block-inside-inline.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+ #container { overflow:hidden; width:40px; height:40px; background:red; }
+ #abspos { position:absolute; display:none; width:40px; height:20px; background:green; }
+ #sibling { margin-top:20px; width:40px; height:20px; background:green; }
+</style>
+<p>There should be a green square below, and no red.</p>
+<div id="container">
+ <span>
+ <div id="abspos"></div><div id="sibling"></div>
+ </span>
+</div>
+<script>
+ document.body.offsetTop;
+ abspos.style.display = "block";
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/inline/add-abspos-before-block-inside-inline-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698