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..fc1bf58588325f71e8eb66e88e737be9b2bb47e9 |
--- /dev/null |
+++ b/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<style> |
+::-webkit-scrollbar { |
+ height: 1px; |
+ width: 1px |
+} |
+html { |
+ overflow-y: scroll |
+} |
+</style> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+eventSender.setPageZoomFactor(2.5); |
+</script> |
+<div> |
+ Custom-Scrollbar needs layout when scrollbar thickness changed. |
+ <span>The test passed if chrome did not crash.</span> |
+</div> |
+<ul> |
rune
2014/11/07 10:58:08
Could you just use a tall div here instead, like y
MuVen
2014/11/07 11:33:55
Done.
|
+ <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> |