| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 7f04839eb7aa603f94f39f7ca6af4c86fed85567..d2a0659da71423b30f2245935ea3e58aacb0cdd6 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -2551,7 +2551,7 @@ TEST_F(WebFrameTest, DivScrollIntoEditableTest)
|
| EXPECT_TRUE(needAnimation);
|
| // The edit box should be left aligned with a margin for possible label.
|
| int hScroll = editBoxWithText.x - leftBoxRatio * viewportWidth / scale;
|
| - EXPECT_NEAR(hScroll, scroll.x(), 1);
|
| + EXPECT_NEAR(hScroll, scroll.x(), 5);
|
| int vScroll = editBoxWithText.y - (viewportHeight / scale - editBoxWithText.height) / 2;
|
| EXPECT_NEAR(vScroll, scroll.y(), 1);
|
| EXPECT_NEAR(minReadableCaretHeight / caret.height, scale, 0.1);
|
|
|