This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The last two assertions in these tests attempted to ensure that the values from node1.compareDocumentPosition(node2) and node2.compareDocumentPosition (node1) were complementary by testing if their values were not equal when AND'd with 1 and 2. Unfortunately, the proper bitmask values should have been 2 and 4.
Created attachment 184 [details] Fixes bitmask values