Skip to content

Conversation

mbostock
Copy link
Member

Fixes some bogus code in #41 that perhaps never worked — it was dependent on nonstandard extensions to the Node interface that appear to be specific to Chrome devtools. So instead we use the standard methods (which probably behave slightly differently with respect to shadow roots, but I don’t think this matters to us — and at any rate if it’s better than crashing).

@mbostock mbostock requested a review from Fil July 30, 2024 17:09
@mbostock
Copy link
Member Author

Merging optimistically but review welcome.

@mbostock mbostock merged commit 45e4722 into main Jul 30, 2024
@mbostock mbostock deleted the mbostock/fix-selection-crash branch July 30, 2024 17:16
@Fil
Copy link

Fil commented Aug 5, 2024

I haven't been able to replicate the crash. But reading the description this seems correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants