[webkit-changes] [WebKit/WebKit] 951f22: [LFC][IFC] Bail out of simplified vertical alignme...

Alan Baradlay noreply at github.com
Fri Oct 28 10:50:22 PDT 2022


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

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

  Log Message:
  -----------
  [LFC][IFC] Bail out of simplified vertical alignment when line-box-contain is present
https://bugs.webkit.org/show_bug.cgi?id=247194

Reviewed by Antti Koivisto.

line-box-contain may exclude certain types of inline level boxes from alignment. Simplified codepath does not deal with this kind of complexity.

* Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h:
(WebCore::Layout::InlineLevelBox::hasLineBoxContain const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxVerticalAligner.cpp:
(WebCore::Layout::LineBoxVerticalAligner::computeLogicalHeightAndAlign const):

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




More information about the webkit-changes mailing list