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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/resize-min-content-flexbox.html

Issue 1971053003: Use new intrinsic content height when computing min-height: min-content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment Created 4 years, 7 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/Source/core/layout/LayoutBox.cpp » ('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
3 <link href="resources/flexbox.css" rel="stylesheet">
4
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../../resources/check-layout-th.js"></script>
8
9 <style>
10 body, html {
11 height: 100%;
12 margin: 0;
13 }
14
15 .flexbox.column {
16 min-height: min-content;
17 background: green;
18 height: 100%;
19 }
20
21 #content {
22 height: 1000px;
23 max-height: 100%;
24 }
25 </style>
26
27 <div id="log"></div>
28
29 <div class="flexbox column justify-content-center align-items-center" data-expec ted-height="100">
30 <div id="content" data-expected-height="100"></div>
31 </div>
32
33 <script>
34 document.body.offsetHeight;
35 document.documentElement.style.height = '100px';
36
37 checkLayout('.flexbox');
38 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698