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

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

Issue 503583002: Fixed Inconsistent behaviour of custom-scrollbar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments 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
« no previous file with comments | « no previous file | LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2d059cdbf73acea08937e648349b3bec215a02cf
--- /dev/null
+++ b/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar {
+ height: 1px;
+ width: 1px
+}
+html {
+ overflow-y: scroll
+}
+</style>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+eventSender.setPageZoomFactor(2.5);
+if (window.testRunner)
+ testRunner.notifyDone();
+</script>
+<div>
+ Custom-Scrollbar needs layout when scrollbar thickness changed.
+ <span>The test passed if chrome did not crash.</span>
+</div>
+<ul>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+ <li>Chrome did not crash</li>
+</ul>
« no previous file with comments | « no previous file | LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698