[Webkit-unassigned] [Bug 33593] New: getComputedStyle gives incorrect information for 'height' property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 05:22:46 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33593

           Summary: getComputedStyle gives incorrect information for
                    'height' property
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: allan.jardine at sprymedia.co.uk


Created an attachment (id=46450)
 --> (https://bugs.webkit.org/attachment.cgi?id=46450)
Page showing the issue

When using getComputedStyle on a table cell to obtain the 'height' property,
Webkit appears to be giving the incorrect value (possibly returning the
line-height instead?). The attached example (and live example here:
http://sprymedia.co.uk/media/misc/webkit/table_height.html ) shows that the
computed height is returns as 18px, even although I've specifically given the
cell a height of 200px in the CSS. I would have expected that the 200px would
be returned.

Behaviour of other browsers:
1. Firefox 3.5: gives a height of 140px. This was why this test was but
together in the first place, it appears to be using a "border-box" box model -
for some reason.
2. Opera 10.10: gives a height of 140px as well

Tested on shipping Safari 4.0.2, Webkit r53178 and Chrome (Mac) 4.0.249.49
(35163) beta.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list