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

Side by Side Diff: LayoutTests/css3/flexbox/percentage-height-in-abspos.html

Issue 1081433005: LayoutBox::hasDefiniteLogicalHeight() should not consider abspos boxes as definite (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 body {
4 position: relative;
5 width: 800px;
6 height: 600px;
7 }
8
9 div {
10 background-color: grey;
Manuel Rego 2015/04/24 05:55:17 Don't get what you need this.
11 }
12
13 #container {
14 background-color: red;
15 position: absolute;
16 top: 0;
17 bottom: 0;
18 left: 0;
19 right: 0;
20 display: flex;
21 flex-direction: column;
22 }
23
24 #top-bar {
25 background-color: green;
26 height: 20%;
27 }
28
29 #content {
30 background-color: blue;
31 flex-basis: 100%;
32 }
33 </style>
34
35
36 <div id="container">
37 <div id="top-bar">
38 Tests that percentage heights get resolved correctly when the flexbox is
Manuel Rego 2015/04/24 05:55:17 Nit: this is a common description for a check-layo
39 </div>
40 <div id="content">
41 absolutely positioned without an explicit height.
42 </div>
43 </div>
44
45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698