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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/positioning/relative-with-implicit-height-containing-block.html

Issue 2288563002: Treat implicit height on positioned objects as non-auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug 61049 Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/positioning/relative-with-implicit-height-containing-block-2.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #wrapper {
4 position: absolute;
5 top: 0px;
6 left: 0px;
7 bottom: 0px;
8 right: 0px;
9 }
10 #child {
11 position: relative;
12 width: 100px;
13 height: 100px;
14 top: 50%;
15 background-color: green;
16 }
17 #ref {
18 position: absolute;
19 width: 100px;
20 height: 100px;
21 top: 150px;
22 background-color: red;
23 }
24 </style>
25 <p>crbug.com/61049: There should be no red box below.</p>
26 <div id="log"></div>
27 <div id="ref"></div>
28 <div style="position: absolute; height: 200px; width: 200px; top: 50px;">
29 <div id="wrapper">
30 <div id="child" data-positioned-offset-y=100></div>
31 </div>
32 </div>
33 <script src="../../../resources/check-layout.js"></script>
34 <script>
35 checkLayout("#child", log);
36 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/positioning/relative-with-implicit-height-containing-block-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698