Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug where an infinite loop occurred in Firefox when compareDo…
…cumentPosition results in DOCUMENT_POSITION_DISCONNECTED. In both Chrome and Firefox, when an element is inside a webcomponent the comparison results in DOCUMENT_POSITION_DISCONNECTED. But in Firefox the element result in DOCUMENT_POSITION_FOLLOWING too, leading to an infinite loop.
- Loading branch information