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> |