Selection API: Remove unneeded incorrect code that overwrites the base and extent of a selection based on visibility
Created attachment 409220 [details] Patch
OK, turns out I misunderstood the code here. It’s calling a setSelection function on the render tree, which should not have any effect on the selection in the DOM. But somehow it did have an effect. Need to restore the old code and figure out what was happening.
Not sure I need to do this any time soon. It’s nice to improve how we tie painting the selection to the DOM to not rely on so much editing strangeness. But not needed for the Selection API project.
<rdar://problem/69639857>