| Index: third_party/WebKit/LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html b/third_party/WebKit/LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html
|
| index 170c43e8cbac28f8b7dad2b6f729240ee6d61268..f16af2474d48ecb29dbeedb9c41c6a07b589a5a9 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html
|
| @@ -13,11 +13,11 @@
|
|
|
| window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| document.execCommand("FindString", false, "target");
|
| - document.getElementById("result").innerText = document.scrollingElement.scrollTop === 860 ? "PASS" : "FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")";
|
| + document.getElementById("result").innerText = internals.visualViewportScrollY() === 860 ? "PASS" : "FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")";
|
|
|
| window.internals.settings.setPreferCompositingToLCDTextEnabled(false);
|
| document.execCommand("FindString", false, "target");
|
| - document.getElementById("result").innerText += document.scrollingElement.scrollTop === 860 ? " PASS" : " FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")";
|
| + document.getElementById("result").innerText += internals.visualViewportScrollY() === 860 ? " PASS" : " FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")";
|
| };
|
| </script>
|
| </body>
|
|
|