[webkit-changes] [WebKit/WebKit] f6d3a8: [LFC][IFC] Introduce LineBoxBuilder::setVerticalPr...

Alan Baradlay noreply at github.com
Wed Oct 26 15:32:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f6d3a8add35556ad5b1aee64a129916a37fe0099
      https://github.com/WebKit/WebKit/commit/f6d3a8add35556ad5b1aee64a129916a37fe0099
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

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

  Log Message:
  -----------
  [LFC][IFC] Introduce LineBoxBuilder::setVerticalPropertiesForInlineLevelBox
https://bugs.webkit.org/show_bug.cgi?id=246968

Reviewed by Antti Koivisto.

This is in preparation for supporting line-box-contain.
(Move all vertical space computation over to setVerticalPropertiesForInlineLevelBox)

* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const):
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
(WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):
(WebCore::Layout::LineBoxBuilder::setAscentAndDescent const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:

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




More information about the webkit-changes mailing list