We need to avoid revealing the focused element when restoring selection during tab switches.
Created attachment 263776 [details] Fixes the bug
Comment on attachment 263776 [details] Fixes the bug Can we make a test?
(In reply to comment #2) > Comment on attachment 263776 [details] > Fixes the bug > > Can we make a test? We might be able to create an WK2 API test.
Created attachment 263801 [details] Adds an API test
Comment on attachment 263801 [details] Adds an API test View in context: https://bugs.webkit.org/attachment.cgi?id=263801&action=review r=me > Source/WebCore/dom/Document.h:282 > +enum class RevealMode { Reveal what? SelectionRevealMode might be more informative and consistent with the other enum. > Tools/TestWebKitAPI/Tests/mac/FirstResponderScrollingPosition.mm:44 > +TEST(WebKit2, FirstResponderScrollingPosition) Nice test!
Created attachment 263816 [details] Patch for landing
Comment on attachment 263816 [details] Patch for landing Clearing flags on attachment: 263816 Committed r191451: <http://trac.webkit.org/changeset/191451>
All reviewed patches have been landed. Closing bug.
<rdar://problem/22407558>