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
should technically not alert as things are currently defined (images are only fetched in active documents). However, it does. In all browsers. And if you check the node document of the returned fragment it will match document, which is an active document.
The text was updated successfully, but these errors were encountered:
Yeah, we need to use the same document as that of Range object here. I just noticed that createContextualFragment also has code to get rid of html, head, & body elements. That is very strange.
The HTML fragment parsing algorithm creates its own dummy document. Which means that
should technically not alert as things are currently defined (images are only fetched in active documents). However, it does. In all browsers. And if you check the node document of the returned fragment it will match document, which is an active document.
The text was updated successfully, but these errors were encountered: