- From: Simon Pieters <simonp@opera.com>
- Date: Sun, 15 Jul 2007 14:00:33 +0200
- To: public-html <public-html@w3.org>
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 Software
Received on Sunday, 15 July 2007 12:00:46 UTC