Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: LayoutTests/fast/scroll-behavior/scroll-element-without-overflow.html

Issue 804343007: Make RenderBox::scrollToOffset check for overflow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing file Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/scroll-behavior/scroll-element-without-overflow-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/scroll-behavior/scroll-element-without-overflow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698