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

Unified Diff: LayoutTests/fast/layers/scroll-overflow-no-layer.html

Issue 416403013: Remove Element.scrollByLines() and Element.scrollByPages() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months 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
Index: LayoutTests/fast/layers/scroll-overflow-no-layer.html
diff --git a/LayoutTests/fast/layers/scrollByLines-overflow-no-layer.html b/LayoutTests/fast/layers/scroll-overflow-no-layer.html
similarity index 78%
rename from LayoutTests/fast/layers/scrollByLines-overflow-no-layer.html
rename to LayoutTests/fast/layers/scroll-overflow-no-layer.html
index 6e4b4c5f7aa33b750f04e3e82e4b19e5c6e375c9..6d97f87c98a5f29553d881428cd6cc1f8cd28d17 100644
--- a/LayoutTests/fast/layers/scrollByLines-overflow-no-layer.html
+++ b/LayoutTests/fast/layers/scroll-overflow-no-layer.html
@@ -12,14 +12,13 @@
if (window.testRunner)
testRunner.dumpAsText();
- function testScrollByLine()
+ function testScroll()
{
var overflowDiv = document.getElementById("overflow");
- overflowDiv.scrollByLines(10);
- overflowDiv.scrollByPages(10);
+ overflowDiv.scrollTop = 100;
overflowDiv.innerHTML = "PASSED: The test did not crash!";
}
- window.addEventListener("load", testScrollByLine, false);
+ window.addEventListener("load", testScroll, false);
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698