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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor.html

Issue 2377453004: Scrollbar width is set using thickness to compute correct rect size (Closed)
Patch Set: Resolved merge conflicts for update bots and Updated Layout Test HTML Created 4 years, 2 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>
3 function finishTest() {
4 testRunner.notifyDone();
5 }
6
7 function scaleDown() {
8 testRunner.setBackingScaleFactor(1, finishTest);
9 }
10 function startTest() {
11 testRunner.waitUntilDone();
12 testRunner.setBackingScaleFactor(3, scaleDown);
13 }
14 if (window.testRunner) {
15 onload = startTest;
16 }
17 </script>
18 <div id="div" style="width:200px; height:120px; overflow:auto">
19 <br>This should be a scrollable text box with horizontal and vertical scroll.
20 <div style="width:400px; height: 200px;"></div>
21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698