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

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

Issue 2377453004: Scrollbar width is set using thickness to compute correct rect size (Closed)
Patch Set: Added test expectations 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 <html>
3 <head>
4 <script>
5 window.enablePixelTesting = true;
6 function finishTest() {
7 setTimeout(function() {testRunner.notifyDone();}, 0);
8 }
9 function scaleUp() {
10 if (testRunner) {
11 testRunner.setBackingScaleFactor(3, finishTest);
12 }
13 }
14 function startTest() {
15 testRunner.waitUntilDone();
16 setTimeout(scaleUp, 0);
17 }
18
19 window.addEventListener("load", startTest, false);
20 </script>
21 </head>
22 <body>
23 <div id="div" style="width:200px; height:120px; overflow:auto">
24 <br>This should be a scrollable text box with horizontal and vertical scroll.
25 <div style="width:400px; height: 200px; background-color:red"></div>
26 </div>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698