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

Unified 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: Resolved merge conflicts for update bots and Updated Layout Test HTML Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
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..6328da6aecf653eca0216a4fb8a0554d03fb9fdd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<script>
+ function finishTest() {
+ testRunner.notifyDone();
+ }
+ function scaleUp() {
+ testRunner.setBackingScaleFactor(3, finishTest);
+ }
+ function startTest() {
+ testRunner.waitUntilDone();
+ setTimeout(scaleUp, 0);
+ }
+ if (window.testRunner) {
+ onload = startTest;
+ }
+</script>
+<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"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698