Sometime auto focus is enabled, sometimes not. This can be seen on baidu.com and bing.com in the simulator.
rdar://problem/48970509
Created attachment 366079 [details] Patch
Comment on attachment 366079 [details] Patch Good. R=me
Comment on attachment 366079 [details] Patch Attachment 366079 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/11685709 Number of test failures exceeded the failure limit.
Created attachment 366086 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Comment on attachment 366079 [details] Patch Attachment 366079 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/11685893 New failing tests: animations/resume-after-page-cache.html
Created attachment 366087 [details] Archive of layout-test-results from ews200 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews200 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Created attachment 366092 [details] Patch
Comment on attachment 366092 [details] Patch Attachment 366092 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/11687046 Number of test failures exceeded the failure limit.
Created attachment 366102 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Created attachment 366189 [details] Patch
Created attachment 366196 [details] Patch
Created attachment 366207 [details] Patch
I uploaded a new patch for review, since the patch changed a little bit since the approved version.
Comment on attachment 366207 [details] Patch r=me
Comment on attachment 366207 [details] Patch Thanks for reviewing!
Comment on attachment 366207 [details] Patch Clearing flags on attachment: 366207 Committed r243630: <https://trac.webkit.org/changeset/243630>
All reviewed patches have been landed. Closing bug.