[webkit-changes] [WebKit/WebKit] b2da34: [IFC][Geometry] Introduce BoxGeometry::toVisualGeo...

Alan Baradlay noreply at github.com
Sun Dec 24 23:25:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b2da34277e48164f292542ed493e1c4177fba7ce
      https://github.com/WebKit/WebKit/commit/b2da34277e48164f292542ed493e1c4177fba7ce
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-12-24 (Sun, 24 Dec 2023)

  Changed paths:
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/layouttree/LayoutBoxGeometry.cpp
    M Source/WebCore/layout/layouttree/LayoutBoxGeometry.h

  Log Message:
  -----------
  [IFC][Geometry] Introduce BoxGeometry::toVisualGeometry
https://bugs.webkit.org/show_bug.cgi?id=266872

Reviewed by Antti Koivisto.

This is in preparation for moving all final BoxGeometry coords to visual.

* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions):
* Source/WebCore/layout/layouttree/LayoutBoxGeometry.cpp:
(WebCore::Layout::BoxGeometry::toVisualGeometry const):
(WebCore::Layout::BoxGeometry::toLogicalGeometry const):
* Source/WebCore/layout/layouttree/LayoutBoxGeometry.h:
(WebCore::Layout::BoxGeometry::borderAndPaddingBefore const):
(WebCore::Layout::BoxGeometry::borderAndPaddingAfter const):
(WebCore::Layout::BoxGeometry::marginBorderAndPaddingBefore const):
(WebCore::Layout::BoxGeometry::marginBorderAndPaddingAfter const):
(WebCore::Layout::BoxGeometry::marginBorderAndPaddingStart const):
(WebCore::Layout::BoxGeometry::marginBorderAndPaddingEnd const):
(WebCore::Layout::BoxGeometry::geometryForWritingModeAndDirection const): Deleted.

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




More information about the webkit-changes mailing list