- From: Cameron McCormack <cam-www-dom@aka.mcc.id.au>
- Date: Fri, 29 Apr 2005 12:43:31 +1000
- To: www-dom@w3.org
Hi Joe. Joe Kesselman (yes, the address is real): > I can't seem to find an authoritative definition of the value returned > by Node.compareDocumentPosition. "Returns how the node is positioned > relatively to the reference node". I believe we intended this to be a > Fortran-style tristate comparison (<0, 0, >0), but that isn't nailed > down, nor does this state explicitly whether <0 means this node is > before other or other is before this. I think the section describing the DocumentPosition values explains the return value: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#DocumentPosition Though the prose for Node.compareDocumentPosition doesn't actually refer to that. Cameron -- e-mail : cam (at) mcc.id.au icq : 26955922 web : http://mcc.id.au/ msn : cam-msn (at) aka.mcc.id.au office : +61399055779 jabber : heycam (at) jabber.org
Received on Friday, 29 April 2005 02:43:42 UTC