This project is archived and is in readonly mode.

#1122 ✓invalid
xib

Chrome incorect value with getstyle on element display table

Reported by xib | December 23rd, 2010 @ 12:26 PM

The bug comes from chrome, when you use getStyle ('width' or 'height') on an element with the css property display:table; it return a wrong value.

To corret it, just add the padding to the dimension:

for example:
width + pading-left and padding-right
height + padding-top + padding bottom

Same problem on safari

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages