Index: LayoutTests/fast/css/zoom-on-nested-scroll-crash.html |
diff --git a/LayoutTests/fast/css/zoom-on-nested-scroll-crash.html b/LayoutTests/fast/css/zoom-on-nested-scroll-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1f6eb7fb6608a80e6b313151f136e0944ff4efea |
--- /dev/null |
+++ b/LayoutTests/fast/css/zoom-on-nested-scroll-crash.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<style> |
+#elem {overflow: scroll;} |
+#elem::-webkit-scrollbar {overflow: auto;} |
+</style> |
+<p>Test for <a href="http://crbug.com/291293">bug 291293</a>.</p> |
+<p>Zooming in (ctrl++) should not crash. |
+The test PASSES if it did not crash.</p> |
+<div id="elem"></div> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+if (window.eventSender) |
+ eventSender.zoomPageIn(); |
+document.getElementById('elem').style.setProperty('zoom', 2); |
+</script> |