At the time of writing it always makes sense to forbid zooming to reveal the focused element when the selection assistant is suppressed.
Steps to reproduce:
1. Visit <data:text/html,<div contenteditable="true" style="height: 500px; width: 500px; border: 1px solid black"><span contenteditable="false"><a href="http://www.apple.com">Apple</a></span></div>>
2. Scroll and zoom the page such that "Apple" is partially offscreen, leave just enough on screen to tap-and-hold it.
3. Tap-and-hold on "Apple" to show a preview.
Then the page will scroll and zoom the content.
Created attachment 390428 [details]
Test case. Depends on Ahem.ttf being in the same directory as the test. Tap and hold on the purple square.
This file can be used to write a future API test. I tried writing an API test, but WebKit uses UIKit IPI, -previewClickInteraction, this IPI is not in my SDK. So, I get "-[_UIClickPresentationInteraction previewClickInteraction]: unrecognized selector sent to instance 0x7f9a8a631bb0" messages.
Blocked from writing a test because of <rdar://problem/59364638>.
Created attachment 390432 [details]
Created attachment 390433 [details]
Created attachment 390441 [details]
Comment on attachment 390441 [details]
Clearing flags on attachment: 390441
Committed r256378: <https://trac.webkit.org/changeset/256378>
All reviewed patches have been landed. Closing bug.