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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html

Issue 1811753003: Set m_{width,height}AvailableToChildrenChanged when scrollbars appear (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a test (minimized from trace viewer) Created 4 years, 9 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 <title>This test should not have a horizontal scrollbar</title>
mstensho (USE GERRIT) 2016/03/17 19:57:06 I think we usually put the pass condition as reada
3 <html>
mstensho (USE GERRIT) 2016/03/17 19:57:06 Wrong order. HTML should contain TITLE. But bette
4
5 <style>
6 body {
7 width: 400px;
8 height: 300px;
9 }
10
11 .flexbox {
12 display: flex;
13 }
14
15 .column {
16 flex-direction: column;
17 }
18
19 .flex11a {
20 flex: 1 1 auto;
21 }
22
23 .root {
24 height: 100px;
25 overflow-y: auto;
26 }
27 </style>
28 </head>
29 <body class="flexbox column">
30
31 <div class="flexbox">
32 <div class="flex11a">
33 <div id="root" class="root">
34 <div id="history"></div>
35 </div>
36 </div>
37 </div>
38
39 <script>
40 onload = function() {
41 var historyEl = document.getElementById('history');
42 historyEl.offsetWidth;
43 historyEl.innerText = '\n\n\n\n\n\n\n\n';
44 };
45 </script>
46
47 </body>
48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698