[webkit-changes] [WebKit/WebKit] 412138: [IFC] Use layout bounds instead of ascent/descent ...

Alan Baradlay noreply at github.com
Thu Apr 13 10:14:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 412138b7b6fa74f47cfa6f66168e609a977e5fee
      https://github.com/WebKit/WebKit/commit/412138b7b6fa74f47cfa6f66168e609a977e5fee
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

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

  Log Message:
  -----------
  [IFC] Use layout bounds instead of ascent/descent when applicable
https://bugs.webkit.org/show_bug.cgi?id=255375

Reviewed by Antti Koivisto.

"layout bounds" is for logical height computation, while ascent/descent is alignment/position.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxVerticalAligner.cpp:
(WebCore::Layout::LineBoxVerticalAligner::computeLogicalHeightAndAlign const):
(WebCore::Layout::LineBoxVerticalAligner::computeRootInlineBoxVerticalPosition const):
(WebCore::Layout::LineBoxVerticalAligner::layoutBoundsForInlineBoxSubtree const):

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




More information about the webkit-changes mailing list