Index: LayoutTests/fast/scroll-behavior/scroll-element-without-overflow.html |
diff --git a/LayoutTests/fast/scroll-behavior/scroll-element-without-overflow.html b/LayoutTests/fast/scroll-behavior/scroll-element-without-overflow.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..352a31e2ea3aaa8eab49ca26c037b9c79d7b277c |
--- /dev/null |
+++ b/LayoutTests/fast/scroll-behavior/scroll-element-without-overflow.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script> |
+window.onload = function() { |
+ if (window.testRunner) |
+ window.testRunner.dumpAsText(); |
+ |
+ var element = document.getElementById("noOverflow"); |
+ element.scrollTo(10, 20); |
+} |
+</script> |
+ |
+<div id="noOverflow"> |
+This test passes if it doesn't crash. |
+</div> |