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

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

Issue 26472003: Fix improper scrollTop/Left usage in LayoutTests/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_304768
Patch Set: Fix improper scrollTop/Left usage in LayoutTests/ 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-strict.html
diff --git a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html
index 7211b03050d4fa2b6c524d39ba28aed1036552dc..aeb4f89bd27fc52cc09c2ed0a163d58098be4091 100644
--- a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html
+++ b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html
@@ -11,12 +11,6 @@
document.documentElement.scrollTop = 5000;
document.documentElement.scrollLeft = 4000;
- // The calls below should not take effect, given
- // that setting scrollTop/Left on the body node
- // is no-op in strict-mode.
- document.body.scrollTop = 1;
- document.body.scrollLeft = 1;
Dan Beam 2013/10/08 19:25:30 ^ i would maybe leave these here and make an excep
tonikitoo_ 2013/10/08 19:52:32 Good idea.
-
parent.verifyTest()
}
</script>

Powered by Google App Engine
This is Rietveld 408576698