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..3a9176537fc809e0992ef4f7aca76be8dd81350e |
--- /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); |
skobes
2014/11/07 17:54:41
Fix indentation.
MuVen
2014/11/07 18:31:19
Done.
|
+} |
+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> |