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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline.html

Issue 1323313004: Don't re-implement containing block logic when marking container chains for layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 4 years, 9 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/block/positioning/complex-positioned-movement-inline-ancestor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline.html b/third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline.html
new file mode 100644
index 0000000000000000000000000000000000000000..3f5bd61fa3dae61ea3c73cffdc30e59e3609dc3a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<style>
+.red {
+ position: absolute;
+ left:100px;
+ top:0;
+ width: 100px;
+ height: 100px;
+ background-color: red;
+}
+.block {
+ position: absolute;
+ left:0;
+ top:0;
+ width: 100px;
+ height: 100px;
+ background-color: green;
+}
+.relative-inline {
+ position:relative;
+ display: inline;
+}
+</style>
+<p>crbug.com/517369: There should be no red. </p>
+<div style="position: relative;">
+ <div class="red"></div>
+ <span class="relative-inline">
+ <div>
+ <span class="relative-inline">
+ <div class="block" id="inner"></div>
+ </span>
+ </div>
+ </span>
+</div>
+<script>
+ document.body.offsetLeft;
+ document.getElementById('inner').style.left = '100px';
+</script>
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline-ancestor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698