[webkit-changes] [WebKit/WebKit] 28027d: [IFC] Rename TextMetrics::lineSpacing to lineGap

Alan Baradlay noreply at github.com
Tue Nov 29 22:11:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 28027d34be85883396c9de83df3adf55b3cabeac
      https://github.com/WebKit/WebKit/commit/28027d34be85883396c9de83df3adf55b3cabeac
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

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

  Log Message:
  -----------
  [IFC] Rename TextMetrics::lineSpacing to lineGap
https://bugs.webkit.org/show_bug.cgi?id=248485

Reviewed by Antti Koivisto.

"line gap" is the spec term for the extra spacing between lines.
https://www.w3.org/TR/css-inline-3/#font-line-gap

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

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




More information about the webkit-changes mailing list