[fix] attach transition/animation CSS to ownerDocument in iframes (#6680)

pull/6695/head
Jacob Wright 3 years ago committed by GitHub
parent 6ecdf7e2fb
commit 6de3eb7042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,7 +151,7 @@ export function get_root_for_style(node: Node): ShadowRoot | Document {
if ((root as ShadowRoot).host) {
return root as ShadowRoot;
}
return document;
return node.ownerDocument;
}
export function append_empty_stylesheet(node: Node) {

Loading…
Cancel
Save