CSS3 calc: image sizing works with mixed percentage/absolute
authormikelawther@chromium.org <mikelawther@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2012 18:30:01 +0000 (18:30 +0000)
committermikelawther@chromium.org <mikelawther@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2012 18:30:01 +0000 (18:30 +0000)
commit87044d6c9f37c521046a4ff338a9f7fd59df2494
treeaa2401aa9e8cdf959ebc7281e4b1ff89e62c0b08
parenta5af83e9a5f28cd07e0fc06838d4494209cb6695
CSS3 calc: image sizing works with mixed percentage/absolute
https://bugs.webkit.org/show_bug.cgi?id=82017

Reviewed by Ojan Vafai.

Source/WebCore:

Test: css3/calc/img-size-expected.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):
(WebCore::RenderBox::computeReplacedLogicalHeightUsing):

LayoutTests:

Test is now expected to match.

* css3/calc/img-size-expected.html: Renamed from LayoutTests/css3/calc/img-size-expected-mismatch.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/css3/calc/img-size-expected.html [moved from LayoutTests/css3/calc/img-size-expected-mismatch.html with 100% similarity]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp