| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index d1965ce7bb590056519a42458a5498964c9847c6..f47ea1865c91a3e0bd86f856e1831613580424a5 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -2980,7 +2980,7 @@ TEST_F(WebFrameTest, DontZoomInOnFocusedInTouchAction)
|
| ASSERT_EQ(initialScale, webViewHelper.webViewImpl()->pageScaleFactor());
|
|
|
| // Focus the third textbox that has a touch-action: pan-x ancestor, this
|
| - // should cause an autozoom since it's seperated from the node with the
|
| + // should cause an autozoom since it's separated from the node with the
|
| // touch-action by an overflow:scroll element.
|
| webViewHelper.webView()->advanceFocus(false);
|
| webViewHelper.webViewImpl()->scrollFocusedNodeIntoRect(WebRect());
|
| @@ -3087,7 +3087,7 @@ TEST_F(WebFrameTest, DivScrollIntoEditablePreservePageScaleTest)
|
| const WebRect editBoxWithText(200, 200, 250, 20);
|
|
|
| webViewHelper.webView()->advanceFocus(false);
|
| - // Set the caret to the begining of the input box.
|
| + // Set the caret to the beginning of the input box.
|
| webViewHelper.webView()->mainFrame()->document().getElementById("EditBoxWithText").to<WebInputElement>().setSelectionRange(0, 0);
|
| setScaleAndScrollAndLayout(webViewHelper.webViewImpl(), WebPoint(0, 0), 1);
|
| WebRect rect, caret;
|
| @@ -6417,7 +6417,7 @@ TEST_F(WebFrameTest, FrameViewScrollAccountsForTopControls)
|
| webView->applyViewportDeltas(WebFloatSize(), WebFloatSize(), WebFloatSize(), 1.0f, -30.0f / topControlsHeight);
|
| EXPECT_POINT_EQ(IntPoint(0, 1910), frameView->maximumScrollPosition());
|
|
|
| - // Simulate a LayoutPart::resize. The frame is resized to accomodate
|
| + // Simulate a LayoutPart::resize. The frame is resized to accommodate
|
| // the top controls and Blink's view of the top controls matches that of
|
| // the CC
|
| webView->applyViewportDeltas(WebFloatSize(), WebFloatSize(), WebFloatSize(), 1.0f, 30.0f / topControlsHeight);
|
| @@ -7696,7 +7696,7 @@ TEST_P(ParameterizedWebFrameTest, RemoteFrameInitialCommitType)
|
| view->setMainFrame(remoteClient.frame());
|
| remoteClient.frame()->setReplicatedOrigin(WebSecurityOrigin::createFromString(WebString::fromUTF8(m_baseURL)));
|
|
|
| - // If an iframe has a remote main frame, ensure the inital commit is correctly identified as WebInitialCommitInChildFrame.
|
| + // If an iframe has a remote main frame, ensure the initial commit is correctly identified as WebInitialCommitInChildFrame.
|
| CommitTypeWebFrameClient childFrameClient;
|
| WebLocalFrame* childFrame = view->mainFrame()->toWebRemoteFrame()->createLocalChild(WebTreeScopeType::Document, "", WebSandboxFlags::None, &childFrameClient, nullptr, WebFrameOwnerProperties());
|
| registerMockedHttpURLLoad("foo.html");
|
|
|