Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reality and DOMCore disagree about document.ownerDocument #12

Open
fzzzy opened this issue Oct 4, 2011 · 1 comment
Open

Reality and DOMCore disagree about document.ownerDocument #12

fzzzy opened this issue Oct 4, 2011 · 1 comment

Comments

@fzzzy
Copy link
Collaborator

fzzzy commented Oct 4, 2011

jQuery expects Document.ownerDocument to be null, and both Firefox and Chrome return null. dom.js depends on Document.ownerDocument being itself, and has a comment that says DOMCore requires it:

    // DOMCore says that documents are always associated with themselves.
    this.ownerDocument = this;
@fzzzy
Copy link
Collaborator Author

fzzzy commented Oct 4, 2011

document.ownerDocument being document puts jQuery into an infinite loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant