On Sun, 15 Jul 2007 13:55:33 +0200, Simon Pieters <simonp@opera.com> wrote: > Hmm. Negative numbers are also an issue. > > http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0D%0A%3Col%3E%3Cli%20value%3D-2%3E.%3Cscript%3Ew%28document.body.firstChild.firstChild.value%29%3C/script%3E Oops. I meant: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0D%0A%3Col%3E%3Cli%3E.%3Cli%20value%3D-3%3E.%3Cscript%3Ew%28document.body.firstChild.firstChild.nextSibling.value%29%3C/script%3E Sorry... > Safari acts as if the attribute was absent and getting .value returns > -3. IE acts as if the attribute was absent and getting .value returns 0. > Opera uses -3 and getting .value returns -3. Firefox uses 0 and getting > .value returns 0. > -- Simon Pieters Opera SoftwareReceived on Sunday, 15 July 2007 12:00:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT