Ticket #6783 (closed feature)
css font-size get value or height get value in pixels
|Reported by:||eliran||Owned by:|
IE7 IE8 1. .css('font-size') value doesn't give the correct font size value in pixels of specified DOM node(or selector) it gives what is 'written' in the html like: FONT-SIZE=2 or FONT-SIZE=3 means some relative value , inherited from parent nodes. when I use currentStyle of offsetParent, I get correct value
so what is the advantage of using jquery .css if it doesn't give the computed value (or currentStyle) of a node ?
same problem with the height, that many times gives : 'auto' ...
- textNode (type=3) css it would be big advantage to get all css inherited values also on textNode selector, so it gives exact absolute position in the terms: