-
Notifications
You must be signed in to change notification settings - Fork 939
Open
@mgol
Description
PR #439 made Sizzle crash earlier on a documentElement-missing document. However, we want selection to work on nodes inside of a <template> element for which ownerDocument will point to a document fragment with a null documentElement. As @gibson042 said in #452:
We discussed in-meeting and had rough consensus that the right behavior was to stop at a disconnected fragment but to traverse up through a fragment's <template> host when one exists. But unfortunately, it seems difficult and maybe impossible to differentiate the two. My ideal change would instead be to tolerate null
documentElement, but more changes will be required for that.
Metadata
Metadata
Assignees
Labels
No labels