You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Selection's extend() doesn't work with shadow boundaries #47118
How this seems to work is that s.extend(Z.shadowRoot.firstChild,0) forces the selection to be entirely inside the shadow root (i.e. its start and end both become the start of the mark) and s.extend(Z.shadowRoot.firstChild,1) extends this to cover the end of the mark.
Activity
script: Allow `Selection` to live in shadow roots (servo#47694)
script: Allow `Selection` to live in shadow roots (servo#47694)