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

MSIE: base2.dom.Node.compareDocumentPosition returns incorrect value when invoked with same nodes #124

Open
GoogleCodeExporter opened this issue Jul 8, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. In MSIE use Node.compareDocumentPosition(node, other) where 'node' and
'other' point to the same element.

What is the expected output? What do you see instead?
According to the specification
(http://www.w3.org/TR/DOM-Level-3-Core/core.html#DocumentPosition) the
returned value must be 0 (no flags are set). Instead the return value is 1
(disconnected).

What version of the product are you using? On what operating system?
1.1 (alpha1)

Original issue reported on code.google.com by [email protected] on 27 Nov 2009 at 11:24

@GoogleCodeExporter
Copy link
Author

Good catch. I need to fix disconnected too but it's slightly slower to test for 
that.

Original comment by [email protected] on 27 Nov 2009 at 2:02

  • Changed state: Accepted
  • Added labels: Browser-MSIE, Module-base2.DOM, Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 27 Nov 2009 at 2:15

  • Changed state: Started

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

No branches or pull requests

1 participant