Make editing-word-with-marker-1.html work on iOS. Then I will move it in bug #211802.
Created attachment 399195 [details] Patch
Comment on attachment 399195 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399195&action=review > LayoutTests/editing/mac/spelling/editing-word-with-marker-1.html:61 > + textarea.focus(); Why don't we have to do the same thing here as resetText() when calling textarea.focus()? if (window.testRunner) await UIHelper.activateElementAndWaitForInputSession(textarea); else textarea.focus();
Comment on attachment 399195 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399195&action=review >> LayoutTests/editing/mac/spelling/editing-word-with-marker-1.html:61 >> + textarea.focus(); > > Why don't we have to do the same thing here as resetText() when calling textarea.focus()? > > if (window.testRunner) > await UIHelper.activateElementAndWaitForInputSession(textarea); > else > textarea.focus(); Focus() not needed. Will remove. It's a no-op in the context of this patch.
Thanks Simon!
Created attachment 399620 [details] To Land
Created attachment 399621 [details] To Land
Committed r261796: <https://trac.webkit.org/changeset/261796>
<rdar://problem/63326378>