[LFC][IFC] LineLayout::enclosingBorderBoxRectFor reports content box size
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Feb 2021 11:51:15 +0000 (11:51 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Feb 2021 11:51:15 +0000 (11:51 +0000)
commit7a4f71edc9a27dbb786e910b3b8b0bffd224cd38
tree6f8baddcb86b6b388c94a0f99c53dbab7ee0610e
parent74eeb0adb121d4d6b2cd1a108acb94d2e98269b9
[LFC][IFC] LineLayout::enclosingBorderBoxRectFor reports content box size
https://bugs.webkit.org/show_bug.cgi?id=221778

Reviewed by Antti Koivisto.

Before 272724, inline boxes included their paddings and borders in the content box geometry.
Now we can just simply return the border box rect.

* layout/integration/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::enclosingBorderBoxRectFor const):

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