<rdar://problem/9403055> REGRESSION (r85499): Inline images in iChat overflow their...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 May 2011 06:42:20 +0000 (06:42 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 May 2011 06:42:20 +0000 (06:42 +0000)
commitf9e61b3f5aa33ad39fde6c95a21dd2523f4df591
tree113bd5bea177007b0dab7d233dd391b09f07a9bd
parent4c5200b798e1b545492e941b87dbd1de438d3778
<rdar://problem/9403055> REGRESSION (r85499): Inline images in iChat overflow their chat bubbles
https://bugs.webkit.org/show_bug.cgi?id=60443

Reviewed by Maciej Stachowiak.

Source/WebCore:

Test: fast/replaced/table-percent-height-positioned.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalHeightUsing): Do not apply the logic to prevent precent-height
replaced elements from being squeezed by table cells when the replaced element is positioned (and thus
doesn’t affect the table cell’s height).

LayoutTests:

* fast/replaced/table-percent-height-positioned-expected.png: Added.
* fast/replaced/table-percent-height-positioned-expected.txt: Added.
* fast/replaced/table-percent-height-positioned.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/replaced/table-percent-height-positioned-expected.png [new file with mode: 0644]
LayoutTests/fast/replaced/table-percent-height-positioned-expected.txt [new file with mode: 0644]
LayoutTests/fast/replaced/table-percent-height-positioned.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp