This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 462 - nodecomparedocumentposition39 and 40 have wrong bitmask values
Summary: nodecomparedocumentposition39 and 40 have wrong bitmask values
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 16:35 UTC by Curt Arnold
Modified: 2004-01-22 21:33 UTC (History)
0 users

See Also:


Attachments
Fixes bitmask values (2.43 KB, patch)
2004-01-12 16:37 UTC, Curt Arnold
Details

Description Curt Arnold 2004-01-12 16:35:24 UTC
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.
Comment 1 Curt Arnold 2004-01-12 16:37:35 UTC
Created attachment 184 [details]
Fixes bitmask values