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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/scrollbars-changed.html

Issue 2088323003: Don't invalidate width for children unless scrollbars have changed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: nits Created 4 years, 5 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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <style>
4 body {
5 margin: 0;
6 }
7 #vbox {
8 display: flex;
9 flex-direction: column;
10 width: 200px;
11 height: 100px;
12 }
13 #scroller {
14 background-color: gray;
15 flex: 1 1;
16 overflow: auto;
17 }
18 .content {
19 font: 15px Ahem;
20 line-height: 25px;
21 min-height: 30px;
22 }
23 </style>
24
25 <div id="vbox">
26 <div id="scroller">
27 <div class="content" id="dynamic">a</div>
28 <div class="content">b</div>
29 <div class="content">c</div>
30 <div class="content">d</div>
31 <div class="content">e</div>
32 <div class="content">f</div>
33 <div class="content">g</div>
34 </div>
35 </div>
36
37 <script>
38 function repaintTest() {
39 document.getElementById("dynamic").innerHTML = "z";
40 }
41 onload = runRepaintTest;
42 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698