[webkit-changes] [WebKit/WebKit] e48a49: [LFC][IFC] LineBoxBuilder::setLayoutBounds should ...

Alan Baradlay noreply at github.com
Wed Oct 26 10:12:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e48a49d4713e7b8d4b3f52ed0cefa3416d06dc0f
      https://github.com/WebKit/WebKit/commit/e48a49d4713e7b8d4b3f52ed0cefa3416d06dc0f
  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

  Log Message:
  -----------
  [LFC][IFC] LineBoxBuilder::setLayoutBounds should not call setAscentAndDescent
https://bugs.webkit.org/show_bug.cgi?id=246964

Reviewed by Antti Koivisto.

This is in preparation for support line-box-contain.
(setLayoutBounds should really just compute and set the layout bounds).

* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setLayoutBounds const):
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
(WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):

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




More information about the webkit-changes mailing list