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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/positioning/complex-positioned-movement-inline-ancestor.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, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .red {
4 position: absolute;
5 left:0px;
6 top:0;
7 width: 100px;
8 height: 100px;
9 background-color: red;
10 }
11 .abspos {
12 position: absolute;
13 left:0;
14 top:0;
15 width: 100px;
16 height: 100px;
17 background-color: green;
18 }
19 .relative-inline {
20 position:relative;
21 display: inline;
22 }
23 .relative {
24 position:relative;
25 left: 100px;
26 }
27 </style>
28 <p>crbug.com/517369: There should be no red. </p>
29 <div class="relative">
30 <div class="red"></div>
31 <span class="relative-inline">
32 <div style="margin-left: -100px;">
33 <span class="relative-inline">
34 <div class="abspos" id="inner"></div>
35 </span>
36 </div>
37 </span>
38 </div>
39 <script>
40 document.body.offsetLeft;
41 document.getElementById('inner').style.left = '100px';
42 </script>
43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698