| Index: third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor.html b/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fdee2fab272ccd7c4e422d22764cb66baea28d46
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| + window.enablePixelTesting = true;
|
| + function finishTest() {
|
| + setTimeout(function() {testRunner.notifyDone();}, 0);
|
| + }
|
| + function scaleUp() {
|
| + if (testRunner) {
|
| + testRunner.setBackingScaleFactor(3, finishTest);
|
| + }
|
| + }
|
| + function startTest() {
|
| + testRunner.waitUntilDone();
|
| + setTimeout(scaleUp, 0);
|
| + }
|
| +
|
| + window.addEventListener("load", startTest, false);
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<div id="div" style="width:200px; height:120px; overflow:auto">
|
| + <br>This should be a scrollable text box with horizontal and vertical scroll.
|
| + <div style="width:400px; height: 200px; background-color:red"></div>
|
| +</div>
|
| +</body>
|
| +</html>
|
|
|