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

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: fixed tests 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
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 <script>
28 onload = function() {
eae 2016/05/12 19:24:55 No need to use onload, place the script tag after
cbiesinger 2016/05/12 19:49:45 Done.
29 document.body.offsetHeight;
30 document.documentElement.style.height = '100px';
31
32 checkLayout('.flexbox');
33 };
34 </script>
35
36 <div id="log"></div>
37
38 <div class="flexbox column justify-content-center align-items-center" data-expec ted-height="100">
39 <div id="content" data-expected-height="100"></div>
40 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698