[webkit-changes] [WebKit/WebKit] 617c27: [LFC][IFC] Set layout bounds only on inline box an...

Alan Baradlay noreply at github.com
Thu Oct 27 08:59:29 PDT 2022


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

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

  Log Message:
  -----------
  [LFC][IFC] Set layout bounds only on inline box and related types of inline level boxes
https://bugs.webkit.org/show_bug.cgi?id=246986

Reviewed by Antti Koivisto.

Remove redundant setLayoutBounds calls (this is in preparation for supporting line-box-contain.)

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

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




More information about the webkit-changes mailing list