Facade: querySelector on detached node
g105b opened this issue · 1 comments
g105b commented
In the upcoming facade release, when querySelector[All] functions are called on an element that isn't attached to a document, they may not return any matching elements.
If this is the case, it's a bug. To fix it, at the point the querySelector is being executed:
- If deteched...
- Create temporary document node.
- Append to temp node.
- Perform query selector.
- Detach from temporary node.
- Delete temporary node.
g105b commented
No more facade!