Hi,
I have observed some weird behaviour by the getStyle('line-height')
function, I acknowledge that this is possibly by design, but I would rather
see a consistent and predictable behavior.
1. Please open the following link in both IE and FF:
http://mooshell.net/CxFcy/
Please observe that IE returns "normal".
2. Again, please open the following link in IE and FF:
http://mooshell.net/WSvnf/
Please observe that they both return PX
3. Same as before, IE and FF
http://mooshell.net/WSvnf/1/
Now IE8 returns "pt" and FF returns "px"
I would even go as far as considering this as a bug since it is not
mentioned anywere in the docs or otherwise configurable to return specific
results.
I thought this was exactly the reason I was using a framework to begin with
=q
Please advice!
Roman
--
---
"Make everything as simple as possible, but not simpler."
- Albert Einstein