Description of Problem: The 'height' attribute of an img element is treated like a string in javascript. Version-Release number of selected component (if applicable): kdelibs-2.2-11 kdebase-2.2-12 How Reproducible: 100% Steps to Reproduce: 1. View the following document: <html> <head> <script language="javascript"><!-- function init (Id) { alert(document.getElementById(Id).height + 1 + 2 + 3); } --></script> </head> <body onLoad="init('id1')"> <img id="id1" src="/dev/null" height="50"> </body> </html> Actual Results: '50123' Expected Results: '56' Additional Information: This works properly in Mozilla. bugs.kde.org is down, so I'm putting this here instead. :-)
In KDE3: Actual results: '6' Expected results: '56'
Please verify this with a newer version of Red Hat Enterprise Linux or Fedora Core and reopen it against the new version if it still occurs. Closing as "CURRENTRELEASE" for now.
Still occurs with: kdelibs-3.3.0-2 kdebase-3.3.0-3
Moving upstream (and trying to add an inter-bugzilla reference, let's see what happens).