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

Side by Side Diff: third_party/WebKit/LayoutTests/scrollbars/overflow-auto-infinite-loop.html

Issue 2345103002: Freeze scrollbars for relayout if overflow:auto added scrollbars. (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/LayoutBlockFlow.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 <title>Make sure preferred width calculations stabilize when a child has overflo w:auto</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <div style="height: 100%; position: absolute;">
6 <div style="display:flex; height: 100%;">
7 <div>
8 <div style="display: flex; flex-direction: column; height: 100%;">
9 <p>test</p>
10 <div id="content" style="flex: auto; position: relative; overflow: auto; ">
11 <p style="position: absolute;">test</p>
12 </div>
13 </div>
14 </div>
15 </div>
16 </div>
17 <script>
18 test(function() {
19 document.getElementById('content').offsetTop;
20 }, "Hooray, no infinite loop.");
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698