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
Right now, insertionQuery adds the style element directly to document.head, and the event listener is placed directly on the document. This is a problem, though, because it makes it impossible for a web component to use insertionQuery on its own shadow DOM!
Right now, insertionQuery adds the style element directly to
document.head
, and the event listener is placed directly on the document. This is a problem, though, because it makes it impossible for a web component to use insertionQuery on its own shadow DOM!A "fix" would be to allow a custom root element to be specified (since you can put style tags in the body) instead.
The text was updated successfully, but these errors were encountered: