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

Unified Diff: LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html

Issue 702913002: Updating custom scrollbar style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments by rune Created 6 years, 1 month 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: LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html
diff --git a/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html b/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..9cf12fb2d8b412eadf5d149b70eb013362090d92
--- /dev/null
+++ b/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar {
+ height: 1px;
+ width: 1px
+}
+::-webkit-scrollbar-thumb {
+ background: rgba(255,0,0,0.8);
+}
+html {
+ overflow-y: scroll
+}
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+eventSender.setPageZoomFactor(5);
+</script>
+<div>
+ Custom-Scrollbar needs layout when scrollbar thickness changed.
+ <span>The test passed if chrome did not crash.</span>
+</div>
+<div style="width:600px"></div>

Powered by Google App Engine
This is Rietveld 408576698