[webkit-changes] [WebKit/WebKit] d32fd7: [IFC] Move horizontalAlignmentOffset logic under I...

Alan Baradlay noreply at github.com
Mon Mar 27 07:02:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d32fd7dabff067439983bb2822d94f1ef2b15137
      https://github.com/WebKit/WebKit/commit/d32fd7dabff067439983bb2822d94f1ef2b15137
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

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

  Log Message:
  -----------
  [IFC] Move horizontalAlignmentOffset logic under InlineFormattingGeometry
https://bugs.webkit.org/show_bug.cgi?id=254471

Reviewed by Antti Koivisto.

This is in preparation for fixing out-of-flow (inline) content alignment (will be called from staticPositionForOutOfFlowInlineLevelBox).

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
(WebCore::Layout::InlineFormattingGeometry::horizontalAlignmentOffset const):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::horizontalAlignmentOffset const):

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




More information about the webkit-changes mailing list