[webkit-changes] [WebKit/WebKit] 502dd9: [IFC][Geometry] Use logical geometry for out-of-fl...

Alan Baradlay noreply at github.com
Mon Jan 8 11:28:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 502dd993ddb3c9ef07dae61076a2baec775dc4fe
      https://github.com/WebKit/WebKit/commit/502dd993ddb3c9ef07dae61076a2baec775dc4fe
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [IFC][Geometry] Use logical geometry for out-of-flow boxes
https://bugs.webkit.org/show_bug.cgi?id=267189

Reviewed by Antti Koivisto.

Keep BoxGeometry logical for out-of-flow boxes and update the associated renderers by dropping the visual -> logical translate.

* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::processNonBidiContent):
(WebCore::Layout::InlineDisplayContentBuilder::processBidiContent):
(WebCore::Layout::setGeometryForOutOfFlowBoxes):
(WebCore::Layout::InlineDisplayContentBuilder::setGeometryForBlockLevelOutOfFlowBoxes):
(WebCore::Layout::flipLogicalPointToVisualForWritingModeWithinLine): Deleted.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions):

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




More information about the webkit-changes mailing list