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

Unified Diff: LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html

Issue 25741004: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… Created 7 years, 2 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/dom/Element/resources/scrollable-iframe-quirks.html
diff --git a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html
index 59f30882cb55d6c6dea792fb762e46e3c8737d25..294eff14b72c9a529bb00c4d467824b66ffa19c6 100644
--- a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html
+++ b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html
@@ -7,7 +7,13 @@
</style>
<script>
function scroll() {
- window.scrollTo(4000,5000);
+ document.body.scrollTop = 5000;
+ document.body.scrollLeft = 4000;
+
+ // Should be no-op.
Julien - ping for review 2013/10/07 16:27:26 Ideally this should be into its own test to avoid
+ document.documentElement.scrollTop = 1;
+ document.documentElement.scrollLeft = 1;
+
parent.verifyTest()
}
</script>

Powered by Google App Engine
This is Rietveld 408576698