When expanding selection by non-character granularity, it should also affect anchor & focus.
Created attachment 463307 [details] WIP
The last test case in editing/selection/shift-click.html fails with this change. Need to look into that next week.
<rdar://problem/101722271>
Comment on attachment 463307 [details] WIP Oh, this is interesting. The test failure goes away if I restore the old code in VisibleSelection::validate instead of new code in VisibleSelection::expandUsingGranularity.
Pull request: https://github.com/WebKit/WebKit/pull/5945
Committed 256174@main (ca201a717c24): <https://commits.webkit.org/256174@main> Reviewed commits have been landed. Closing PR #5945 and removing active labels.