[webkit-changes] [WebKit/WebKit] b0fa88: [LFC][IFC] Fix css2.1/t0905-c414-flt-fit-01-d-g.html

alan noreply at github.com
Wed Sep 7 08:43:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b0fa883981593503517dc471099c2712a2d16244
      https://github.com/WebKit/WebKit/commit/b0fa883981593503517dc471099c2712a2d16244
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp

  Log Message:
  -----------
  [LFC][IFC] Fix css2.1/t0905-c414-flt-fit-01-d-g.html
https://bugs.webkit.org/show_bug.cgi?id=244876

Reviewed by Antti Koivisto.

"line-height: 0px" produces (vertically) an empty line. We should still be able to intersect it with the float candidates and shrink it accordingly.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):

Canonical link: https://commits.webkit.org/254235@main




More information about the webkit-changes mailing list