[Webkit-unassigned] [Bug 33593] getComputedStyle gives incorrect information for 'height' property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 28 16:42:25 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=33593
Julien Chaffraix <jchaffraix at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|PC |All
OS/Version|Mac OS X 10.5 |All
Status|UNCONFIRMED |NEW
Keywords| |HasReduction
CC| |alexis.menard at openbossa.org
| |, jchaffraix at webkit.org
Ever Confirmed|0 |1
--- Comment #1 from Julien Chaffraix <jchaffraix at webkit.org> 2012-02-28 16:42:25 PST ---
As discussed with Alexis, it looks like this is a table cell issue: CSSComputedStyle calls internally RenderBox::contentBoxRect() that doesn't include the cell's intrinsic padding as it should.
Allan, a work-around is to set box-sizing: border-box; (or anything but 'content-box') on your cell. That should give you the right value (or at least something closer to what you want).
--
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