[webkit-changes] [WebKit/WebKit] a2a838: [IFC][Cleanup] Use helper lambdas in LineBoxBuilde...

Alan Baradlay noreply at github.com
Tue Sep 19 12:00:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a2a838ebc894e353462bd4ecc68752b7236a496c
      https://github.com/WebKit/WebKit/commit/a2a838ebc894e353462bd4ecc68752b7236a496c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

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

  Log Message:
  -----------
  [IFC][Cleanup] Use helper lambdas in LineBoxBuilder::setLayoutBoundsForInlineBox
https://bugs.webkit.org/show_bug.cgi?id=261746

Reviewed by Antti Koivisto.

This is in preparation for introducing ruby logic to setLayoutBoundsForInlineBox to stretch lines with annotation boxes.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::enclosingAscentDescentWithFallbackFonts const):
(WebCore::Layout::LineBoxBuilder::setLayoutBoundsForInlineBox const):
(WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const):
(WebCore::Layout::LineBoxBuilder::adjustInlineBoxHeightsForLineBoxContainIfApplicable):

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




More information about the webkit-changes mailing list