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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/shrinking-column-flexbox.html

Issue 1646413002: [css-flexbox] Add a missing needsLayout() check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/LayoutFlexibleBox.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 <style>
6 body {
7 width: 800px;
8 height: 600px;
9 }
10
11 .green {
12 background: green;
13 }
14
15 .blue {
16 background: blue;
17 }
18
19 .inner {
20 height: 200px;
21 }
22
23 .small {
24 height: 100px;
25 }
26 </style>
27
28 <script src="../../resources/testharness.js"></script>
29 <script src="../../resources/testharnessreport.js"></script>
30 <script src="../../resources/check-layout-th.js"></script>
31
32 <script>
33 onload = function() {
34 document.body.offsetWidth;
35 document.getElementById("target").classList.add("small");
36
37 checkLayout("body");
38 };
39 </script>
40
41 <body class="flexbox column">
42
43 <div class="flexbox column flex-one-one-auto">
44 <div class="flex-one-one-auto green" data-expected-height="250" id="target">
45 <div class="inner"></div>
46 </div>
47 <div class="flex-one-one-auto blue" data-expected-height="350">
48 <div class="inner"></div>
49 </div>
50 </div>
51
52 <div id=log></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698