[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: getAttribute() always non-null
From: Mikolaj Machowski <mikmach () wp ! pl>
Date: 2005-11-20 19:17:27
Message-ID: 200511202017.27641.mikmach () wp ! pl
[Download RAW message or body]
Hello,
Konqueror 3.5 branch (one week old)
I was playing recently with S5:
http://www.meyerweb.com/eric/tools/s5/primer.html
Simple demo is at:
http://www.meyerweb.com/eric/tools/s5/v/1.1/s5-11.zip
Last time I used it was 1.0 and everything worked, now it is in version
1.1 and one thing doesn't work: advance to next slide with left mouse
button click.
I tracked it down to:
target.getAttribute('href') != null
Looks like output from getAttribute() is always non-null breaking S5.
So, is behaviour of Konq bad or S5?
For me looks like Konq behaviour is broken because there are non-logical
behaviours like tested in debugger:
document.getElementsByTagName("body")[0].getAttribute("asdf") != null
true
It probably returns empty string. It should return null for two reasons:
1. Looks like all other browsers are returning null.
2. Current behaviour doesn't allow for detection of cases like::
<img alt="" />
TIA
m.
ps.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic