[webkit-changes] [WebKit/WebKit] b852cc: [Legacy line layout removal] Remove layout overflo...

Antti Koivisto noreply at github.com
Wed Mar 27 07:36:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b852cc0c6f7395f2ebaf1e6db7509145fc54d649
      https://github.com/WebKit/WebKit/commit/b852cc0c6f7395f2ebaf1e6db7509145fc54d649
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h
    M Source/WebCore/rendering/LegacyInlineFlowBox.cpp
    M Source/WebCore/rendering/LegacyInlineFlowBox.h
    R Source/WebCore/rendering/LegacyInlineFlowBoxInlines.h
    M Source/WebCore/rendering/LegacyLineLayout.cpp
    M Source/WebCore/rendering/LegacyLineLayout.h
    M Source/WebCore/rendering/LegacyRootInlineBox.cpp
    M Source/WebCore/rendering/LegacyRootInlineBox.h
    M Source/WebCore/rendering/RenderInline.cpp
    M Source/WebCore/rendering/line/BreakingContext.h
    M Source/WebCore/rendering/line/LineInlineHeaders.h
    R Source/WebCore/rendering/line/LineLayoutState.h

  Log Message:
  -----------
  [Legacy line layout removal] Remove layout overflow and box model properties
https://bugs.webkit.org/show_bug.cgi?id=271757
rdar://125477907

Reviewed by Alan Baradlay.

These are not relevant for the remaining client, SVG text.

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h:
(WebCore::InlineIterator::LineBoxIteratorLegacyPath::scrollableOverflowTop const):
(WebCore::InlineIterator::LineBoxIteratorLegacyPath::scrollableOverflowBottom const):
* Source/WebCore/rendering/LegacyInlineFlowBox.cpp:
(WebCore::LegacyInlineFlowBox::addToLine):
(WebCore::LegacyInlineFlowBox::computeOverflow):
(WebCore::LegacyInlineFlowBox::setOverflowFromLogicalRects):
(WebCore::LegacyInlineFlowBox::addBoxShadowVisualOverflow): Deleted.
(WebCore::LegacyInlineFlowBox::addBorderOutsetVisualOverflow): Deleted.
(WebCore::LegacyInlineFlowBox::addOutlineVisualOverflow): Deleted.
(WebCore::LegacyInlineFlowBox::addReplacedChildOverflow): Deleted.
(WebCore::LegacyInlineFlowBox::setLayoutOverflow): Deleted.
* Source/WebCore/rendering/LegacyInlineFlowBox.h:
(WebCore::LegacyInlineFlowBox::marginLogicalLeft const): Deleted.
(WebCore::LegacyInlineFlowBox::marginLogicalRight const): Deleted.
(WebCore::LegacyInlineFlowBox::layoutOverflowRect const): Deleted.
(WebCore::LegacyInlineFlowBox::logicalTopLayoutOverflow const): Deleted.
(WebCore::LegacyInlineFlowBox::logicalBottomLayoutOverflow const): Deleted.
(WebCore::LegacyInlineFlowBox::logicalLayoutOverflowRect const): Deleted.
* Source/WebCore/rendering/LegacyInlineFlowBoxInlines.h: Removed.
* Source/WebCore/rendering/LegacyLineLayout.cpp:
(WebCore::LegacyLineLayout::createLineBoxesFromBidiRuns):
(WebCore::LegacyLineLayout::layoutRunsAndFloats):
(WebCore::LegacyLineLayout::layoutRunsAndFloatsInRange):
(WebCore::LegacyLineLayout::layoutLineBoxes):
(WebCore::LegacyLineLayout::addOverflowFromInlineChildren):
* Source/WebCore/rendering/LegacyLineLayout.h:
* Source/WebCore/rendering/LegacyRootInlineBox.cpp:
(WebCore::LegacyRootInlineBox::paddedLayoutOverflowRect const): Deleted.
* Source/WebCore/rendering/LegacyRootInlineBox.h:
(WebCore::LegacyRootInlineBox::baselineType const):
(WebCore::LegacyRootInlineBox::logicalBottomVisualOverflow const):
(WebCore::LegacyRootInlineBox::logicalTopLayoutOverflow const): Deleted.
(WebCore::LegacyRootInlineBox::logicalBottomLayoutOverflow const): Deleted.
* Source/WebCore/rendering/RenderInline.cpp:
(WebCore::RenderInline::innerPaddingBoxWidth const):
* Source/WebCore/rendering/line/BreakingContext.h:
(WebCore::BreakingContext::handleEmptyInline):
* Source/WebCore/rendering/line/LineInlineHeaders.h:
(WebCore::requiresLineBox):
(WebCore::hasInlineDirectionBordersPaddingOrMargin): Deleted.
(WebCore::alwaysRequiresLineBox): Deleted.
* Source/WebCore/rendering/line/LineLayoutState.h: Removed.

Remove as it has been reduced to nothing.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list