[webkit-reviews] review requested: [Bug 74955] WebKit adds vertical paddings and borders to the fixed width of CSS tables : [Attachment 120087] Patch

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


Max Vujovic <mvujovic at adobe.com> has asked  for review:
Bug 74955: WebKit adds vertical paddings and borders to the fixed width of CSS
tables
https://bugs.webkit.org/show_bug.cgi?id=74955

Attachment 120087: Patch
https://bugs.webkit.org/attachment.cgi?id=120087&action=review

------- Additional Comments from Max Vujovic <mvujovic at adobe.com>
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.


More information about the webkit-reviews mailing list