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

Side by Side Diff: LayoutTests/css3/flexbox/flexbox-height-with-overflow-auto.html

Issue 439063002: flexbox: incorrect flexbox height with overflow:auto on flex item (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/flexbox.css" rel="stylesheet">
4 <style>
5 .flexbox {
6 border:5px solid green;
7 position:relative;
8 width:50px;
9 }
10
11 .inline-flexbox {
12 border:5px solid green;
13 position:relative;
14 height:50px;
15 }
16
17 .overflow {
18 border:1px solid red;
19 overflow:auto;
20 }
21 </style>
22 <script src="../../resources/check-layout.js"></script>
23 <body onload="checkLayout('.flexbox'); checkLayout('.inline-flexbox')">
24 <div class="flexbox" data-expected-height="47">
25 <div class="overflow"><div style="width:100px; height:20px"></div></div>
26 </div>
27
28 <div class="flexbox row-reverse" data-expected-height="47">
29 <div class="overflow"><div style="width:100px; height:20px"></div></div>
30 </div>
31
32 <div class="inline-flexbox column" data-expected-width="32">
33 <div class="overflow"><div style="width:20px; height:100px"></div></div>
34 </div>
35
36 <div class="inline-flexbox column-reverse" data-expected-width="32">
37 <div class="overflow"><div style="width:20px; height:100px"></div></div>
38 </div>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698