Chromium Code Reviews| 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 f16af2474d48ecb29dbeedb9c41c6a07b589a5a9..04ca106feae630dea84f8812d1474e7c94191245 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 = internals.visualViewportScrollY() === 860 ? "PASS" : "FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")"; |
| + document.getElementById("result").innerText = internals.visualViewportScrollY() === 863 ? "PASS" : "FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")"; |
|
ymalik
2016/11/03 18:49:12
This is expected because the calculation in scroll
bokan
2016/11/03 19:59:59
Acknowledged.
|
| window.internals.settings.setPreferCompositingToLCDTextEnabled(false); |
| document.execCommand("FindString", false, "target"); |
| - document.getElementById("result").innerText += internals.visualViewportScrollY() === 860 ? " PASS" : " FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")"; |
| + document.getElementById("result").innerText += internals.visualViewportScrollY() === 863 ? " PASS" : " FAIL (scrollTop:" + document.scrollingElement.scrollTop + ")"; |
| }; |
| </script> |
| </body> |