[LFC] Inline replaced height calculation should use "used value"
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Sep 2018 04:24:38 +0000 (04:24 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Sep 2018 04:24:38 +0000 (04:24 +0000)
commit39d8ad4940c41b25c93e394b57ee7a8fe80c20c5
tree779af6bace6bd96d94877a9dc66af8f17b1de487
parent12311ce4f680e27a9cadd784170298bc60446411
[LFC] Inline replaced height calculation should use "used value"
https://bugs.webkit.org/show_bug.cgi?id=189395

Reviewed by Antti Koivisto.

Use the already assigned width value (aka used value) instead of the computed value when computing the inline's height.
see https://www.w3.org/TR/CSS22/cascade.html#value-stages for "used" and "computed" value.

* layout/FormattingContextGeometry.cpp:
(WebCore::Layout::FormattingContext::Geometry::inlineReplacedHeightAndMargin):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/layout/FormattingContextGeometry.cpp