Selection.extend() can keep an old anchor that is no longer orderable with the new focus after a selected shadow host is detached. Collapse to the new focus in that case and avoid comparing boundary points from different shadow-including roots. Add reduced crash coverage for extending a selection after detaching the shadow host that held the old anchor. |
||
|---|---|---|
| .. | ||
| Selection.cpp | ||
| Selection.h | ||
| Selection.idl | ||