Skip to main content

Bug Tracker

Side navigation

#6783 closed feature ()

Opened July 12, 2010 03:16AM UTC

Closed November 11, 2010 11:09PM UTC

Last modified March 09, 2012 01:57AM UTC

css font-size get value or height get value in pixels

Reported by: eliran Owned by:
Priority: Milestone: 1.4.3
Component: css Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

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' ...

2. 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:

what-you-see-what-you-get

Attachments (0)
Change History (2)

Changed October 14, 2010 03:14AM UTC by snover comment:1

status: newpending

This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:2

status: pendingclosed

Automatically closed due to 14 days of inactivity.