7780755aff
[LFC][IFC] Unexpected content wrap when the containing block width is fixed https://bugs.webkit.org/show_bug.cgi?id=227746 Reviewed by Antti Koivisto. Test: fast/inline/inline-content-should-fit-the-line.html While we resolved the relative Length value, the float -> LayoutUnit conversion implicitly floors the return value. This flooring causes unexpected content wrap when the type we use for the measured width does not match the precision of the LayoutUnit. * layout/formattingContexts/inline/InlineContentBreaker.cpp: (WebCore::Layout::InlineContentBreaker::processInlineContent): LayoutTests: [LFC][IFC] Unexpected content wrap when the containing block width is relative https://bugs.webkit.org/show_bug.cgi?id=227746 Reviewed by Antti Koivisto. * fast/inline/inline-content-should-fit-the-line-expected.html: Added. * fast/inline/inline-content-should-fit-the-line.html: Added. Canonical link: https://commits.webkit.org/239483@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279678 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
basic | ||
box_properties | ||
cascade | ||
classification | ||
color_and_background | ||
conformance | ||
font_properties | ||
formatting_model | ||
pseudo | ||
text_properties | ||
units |