[Webkit-unassigned] [Bug 74955] WebKit adds vertical paddings and borders to the fixed width of CSS tables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 14:28:04 PST 2011


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


Max Vujovic <mvujovic at adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #120087|                            |review?
               Flag|                            |




--- Comment #1 from Max Vujovic <mvujovic at adobe.com>  2011-12-20 14:28:05 PST ---
Created an attachment (id=120087)
 --> (https://bugs.webkit.org/attachment.cgi?id=120087&action=review)
Patch

I uploaded patch that fixes the issue and makes WebKit's behavior match Firefox's and Opera's.

The problem was that the width calculation for CSS tables was using borderBefore(), paddingBefore(), borderAfter(), and paddingAfter(), which actually correspond to the vertical borders and paddings. I changed it to use borderStart(), paddingStart(), borderEnd(), and paddingEnd(), which correspond to the horizontal borders and paddings.

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