DescriptionMerge 104140 - WebKit adds vertical paddings and borders to the fixed width of CSS tables
https://bugs.webkit.org/show_bug.cgi?id=74955
Patch by Max Vujovic <mvujovic@adobe.com> on 2012-01-05
Reviewed by Julien Chaffraix.
Source/WebCore:
Test: fast/table/css-table-width.html
* rendering/RenderTable.cpp:
(WebCore::RenderTable::computeLogicalWidth):
Changed the width calculation for CSS tables to take into account horizontal
paddings and borders instead of vertical paddings and borders.
LayoutTests:
Added tests to check that the fixed width style is applied correctly to
CSS tables with respect to table paddings and borders.
* fast/table/css-table-width-expected.txt: Added.
* fast/table/css-table-width.html: Added.
* fast/table/script-tests/css-table-width.js: Added.
(computeCSSTableOffsetWidth):
(computeCSSTableOffsetHeight):
(computeCSSTableProperty):
TBR=commit-queue@webkit.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=105208
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|