display:table with padding and/or borders in border-box calculates height incorrectly
authorlvidacs.u-szeged@partner.samsung.com <lvidacs.u-szeged@partner.samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Feb 2014 22:31:14 +0000 (22:31 +0000)
committerlvidacs.u-szeged@partner.samsung.com <lvidacs.u-szeged@partner.samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Feb 2014 22:31:14 +0000 (22:31 +0000)
commit635716387cff3a665f2bd37837398f6164e39664
tree63f2691e290dc743fa4c1e6618c5dcd30b45b03a
parentec5437f14c63ae887d8cbbfaea1d5e7af55abf9c
display:table with padding and/or borders in border-box calculates height incorrectly
https://bugs.webkit.org/show_bug.cgi?id=126576

Reviewed by David Hyatt.

Based on blink issue https://codereview.chromium.org/25206002/

Source/WebCore:

Tests: fast/box-sizing/css-table-collapse.html
       fast/box-sizing/css-table-no-collapse.html
       fast/box-sizing/table-collapse.html
       fast/box-sizing/table-no-collapse.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalHeightUsing):

LayoutTests:

* fast/box-sizing/css-table-collapse-expected.txt: Added.
* fast/box-sizing/css-table-collapse.html: Added.
* fast/box-sizing/css-table-no-collapse-expected.txt: Added.
* fast/box-sizing/css-table-no-collapse.html: Added.
* fast/box-sizing/table-collapse-expected.txt: Added.
* fast/box-sizing/table-collapse.html: Added.
* fast/box-sizing/table-no-collapse-expected.txt: Added.
* fast/box-sizing/table-no-collapse.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/box-sizing/css-table-collapse-expected.txt [new file with mode: 0644]
LayoutTests/fast/box-sizing/css-table-collapse.html [new file with mode: 0644]
LayoutTests/fast/box-sizing/css-table-no-collapse-expected.txt [new file with mode: 0644]
LayoutTests/fast/box-sizing/css-table-no-collapse.html [new file with mode: 0644]
LayoutTests/fast/box-sizing/table-collapse-expected.txt [new file with mode: 0644]
LayoutTests/fast/box-sizing/table-collapse.html [new file with mode: 0644]
LayoutTests/fast/box-sizing/table-no-collapse-expected.txt [new file with mode: 0644]
LayoutTests/fast/box-sizing/table-no-collapse.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp