Closed rniwa closed 1 year ago
I think probably prioritize this over other issues since not being able to use selection is a major roadblock for shadow DOM users as far as I know.
@smaug---- @annevk could you take a look at https://w3c.github.io/selection-api/#dom-selection-getcomposedrange and see if it makes sense?
Per https://github.com/w3c/webcomponents/issues/79, we should add
getComposedRange
which takes a sequence ofShadowRoot
toSelection
and return aStaticRange
.