[webkit-changes] [WebKit/WebKit] 3a527b: [IFC] Add support for "writing-mode: horizontal-bt"

Alan Baradlay noreply at github.com
Thu Sep 7 07:33:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a527bf6d3e76d5c21b0b9df0fa0f40f2978d600
      https://github.com/WebKit/WebKit/commit/3a527bf6d3e76d5c21b0b9df0fa0f40f2978d600
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M LayoutTests/fast/text/emphasis-overlap-expected.txt
    M LayoutTests/fast/writing-mode/background-horizontal-bt-expected.txt
    M LayoutTests/platform/ios-wk2/fast/writing-mode/horizontal-bt-replaced-selection-expected.txt
    M LayoutTests/platform/ios/fast/html/details-writing-mode-expected.txt
    M LayoutTests/platform/ios/fast/html/details-writing-mode-mixed-expected.txt
    M LayoutTests/platform/ios/fast/table/border-collapsing/002-vertical-expected.txt
    M LayoutTests/platform/ios/fast/writing-mode/border-image-horizontal-bt-expected.txt
    M LayoutTests/platform/ios/fast/writing-mode/english-bt-text-expected.txt
    M LayoutTests/platform/mac/fast/table/border-collapsing/002-vertical-expected.txt
    M LayoutTests/platform/mac/fast/text/emphasis-expected.txt
    M LayoutTests/platform/mac/fast/writing-mode/border-image-horizontal-bt-expected.txt
    M LayoutTests/platform/mac/fast/writing-mode/box-shadow-horizontal-bt-expected.txt
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [IFC] Add support for "writing-mode: horizontal-bt"
https://bugs.webkit.org/show_bug.cgi?id=261210

Reviewed by Antti Koivisto.

* LayoutTests/fast/text/emphasis-overlap-expected.txt:
* LayoutTests/fast/writing-mode/background-horizontal-bt-expected.txt:
* LayoutTests/platform/ios-wk2/fast/writing-mode/horizontal-bt-replaced-selection-expected.txt:
* LayoutTests/platform/ios/fast/html/details-writing-mode-expected.txt:
* LayoutTests/platform/ios/fast/html/details-writing-mode-mixed-expected.txt:
* LayoutTests/platform/ios/fast/table/border-collapsing/002-vertical-expected.txt:
* LayoutTests/platform/ios/fast/writing-mode/border-image-horizontal-bt-expected.txt:
* LayoutTests/platform/ios/fast/writing-mode/english-bt-text-expected.txt:
* LayoutTests/platform/mac/fast/table/border-collapsing/002-vertical-expected.txt:
* LayoutTests/platform/mac/fast/text/emphasis-expected.txt:
* LayoutTests/platform/mac/fast/writing-mode/border-image-horizontal-bt-expected.txt:
* LayoutTests/platform/mac/fast/writing-mode/box-shadow-horizontal-bt-expected.txt:
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
(WebCore::Layout::InlineFormattingGeometry::flipVisualRectToLogicalForWritingMode):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::collectInkOverflowForTextDecorations):
(WebCore::Layout::InlineDisplayContentBuilder::flipLogicalRectToVisualForWritingModeWithinLine const):
(WebCore::Layout::InlineDisplayContentBuilder::flipRootInlineBoxRectToVisualForWritingMode const):
(WebCore::Layout::InlineDisplayContentBuilder::setLeftForWritingMode const):
(WebCore::Layout::InlineDisplayContentBuilder::setRightForWritingMode const):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::flipLogicalLineRectToVisualForWritingMode):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::printReason):
(WebCore::LayoutIntegration::canUseForStyle):
(WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::verticalLogicalMargin):
(WebCore::LayoutIntegration::logicalBorder):
(WebCore::LayoutIntegration::logicalPadding):
(WebCore::LayoutIntegration::LineLayout::updateLayoutBoxDimensions):
(WebCore::LayoutIntegration::LineLayout::updateInlineBoxDimensions):
(WebCore::LayoutIntegration::LineLayout::physicalBaselineForLine const):
(WebCore::LayoutIntegration::LineLayout::lastLineLogicalBaseline const):
(WebCore::LayoutIntegration::LineLayout::firstInlineBoxRect const):

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




More information about the webkit-changes mailing list