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: third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html

Issue 2343413004: [css-flexbox] Have to call updateBlockChildDirtyBitsBeforeLayout before layoutIfNeeded (Closed)
Patch Set: Created 4 years, 3 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 <style>
3 body,
4 html {
5 height: 100%;
6 }
7
8 .OuterFlexbox {
9 display: flex;
10 flex-direction: column;
11 height: 100%;
12 }
13
14 .InnerFlexbox {
15 display: flex;
16 flex-direction: column;
17 max-height: 100%;
18 outline: 1px blue solid;
19 }
20
21 .InnerFlexbox-body {
22 flex: 1 1 auto;
23 overflow-y: hidden;
24 }
25 </style>
26
27 <script src="../../resources/testharness.js"></script>
28 <script src="../../resources/testharnessreport.js"></script>
29 <script src="../../resources/check-layout-th.js"></script>
30
31 <body onload="update()">
32
33 <div class="OuterFlexbox" data-expected-height="250">
34 <div class="InnerFlexbox" data-expected-height="250">
35 <div class="InnerFlexbox-body" data-expected-height="250">
36 <ul>
37 <li>Suspendisse eu nunc lectus. Curabitur.</li>
38 <li>Suspendisse eu nunc lectus. Curabitur.</li>
39 <li>Suspendisse eu nunc lectus. Curabitur.</li>
40 <li>Suspendisse eu nunc lectus. Curabitur.</li>
41 <li>Suspendisse eu nunc lectus. Curabitur.</li>
42 <li>Suspendisse eu nunc lectus. Curabitur.</li>
43 <li>Suspendisse eu nunc lectus. Curabitur.</li>
44 <li>Suspendisse eu nunc lectus. Curabitur.</li>
45 <li>Suspendisse eu nunc lectus. Curabitur.</li>
46 <li>Suspendisse eu nunc lectus. Curabitur.</li>
47 <li>Suspendisse eu nunc lectus. Curabitur.</li>
48 <li>Suspendisse eu nunc lectus. Curabitur.</li>
49 <li>Suspendisse eu nunc lectus. Curabitur.</li>
50 <li>Suspendisse eu nunc lectus. Curabitur.</li>
51 <li>Suspendisse eu nunc lectus. Curabitur.</li>
52 </ul>
53 </div>
54 </div>
55 </div>
56
57 <script>
58 function update() {
59 document.body.offsetHeight;
60 document.body.style.height = '50px';
61 document.body.offsetHeight;
62 document.body.style.height = '250px';
63 document.body.offsetHeight;
64 checkLayout('.OuterFlexbox');
65 }
66 </script>
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