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

Unified Diff: LayoutTests/dialog/modal-dialog-scroll-height.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 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/dialog/modal-dialog-scroll-height.html
diff --git a/LayoutTests/dialog/modal-dialog-scroll-height.html b/LayoutTests/dialog/modal-dialog-scroll-height.html
index 71053e21907c41a47614d1b2e8de35848d55e646..c54281769b8d4aa13006e49834169570739775cf 100644
--- a/LayoutTests/dialog/modal-dialog-scroll-height.html
+++ b/LayoutTests/dialog/modal-dialog-scroll-height.html
@@ -20,7 +20,7 @@ dialog {
<script>
document.querySelector('dialog').showModal();
-shouldBe('600', String(document.body.scrollHeight));
+shouldBe('600', String(document.scrollingElement.scrollHeight));
if (window.testRunner)
testRunner.dumpAsText();

Powered by Google App Engine
This is Rietveld 408576698