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
Currently, the Selection API spec defines the getSelection via an extension to the Document interface. In the mean time, the Shadow DOM spec defines the getSelection via an exentsion to the DocumentOrShadowRoot interface. Does it makes more sense to define getSelection in the Selection API spec via a DocumentOrShadowRoot extension instead of a Document extension?
Note: There is already a WPT tests in place to test getSelection on ShadowRoot:
Currently, the Selection API spec defines the
getSelection
via an extension to theDocument
interface. In the mean time, the Shadow DOM spec defines thegetSelection
via an exentsion to theDocumentOrShadowRoot
interface. Does it makes more sense to definegetSelection
in the Selection API spec via aDocumentOrShadowRoot
extension instead of aDocument
extension?Note: There is already a WPT tests in place to test
getSelection
onShadowRoot
:The text was updated successfully, but these errors were encountered: