Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13818793f8c559e38036e49048511f15c5debb0a
      
https://github.com/WebKit/WebKit/commit/13818793f8c559e38036e49048511f15c5debb0a
  Author: Alan Baradlay <[email protected]>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M Source/WebCore/layout/floats/FloatAvoider.cpp
    M Source/WebCore/layout/floats/FloatAvoider.h
    M Source/WebCore/layout/floats/FloatingContext.cpp
    M Source/WebCore/layout/floats/FloatingContext.h
    M Source/WebCore/layout/floats/PlacedFloats.cpp
    M Source/WebCore/layout/floats/PlacedFloats.h
    M Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp
    M Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp

  Log Message:
  -----------
  [Cleanup][Floats] Replace horizontal/vertical position with inline/blockAxis 
in FloatAvoider
https://bugs.webkit.org/show_bug.cgi?id=283264

Reviewed by Antti Koivisto.

* Source/WebCore/layout/floats/FloatAvoider.cpp:
(WebCore::Layout::FloatAvoider::FloatAvoider):
(WebCore::Layout::FloatAvoider::setInlineStart):
(WebCore::Layout::FloatAvoider::setBlockStart):
(WebCore::Layout::FloatAvoider::initialInlineStart const):
(WebCore::Layout::FloatAvoider::setHorizontalPosition): Deleted.
(WebCore::Layout::FloatAvoider::setVerticalPosition): Deleted.
(WebCore::Layout::FloatAvoider::initialHorizontalPosition const): Deleted.
* Source/WebCore/layout/floats/FloatAvoider.h:
(WebCore::Layout::FloatAvoider::resetInlineStart):
(WebCore::Layout::FloatAvoider::isStartAligned const):
(WebCore::Layout::FloatAvoider::blockStart const):
(WebCore::Layout::FloatAvoider::inlineStart const):
(WebCore::Layout::FloatAvoider::inlineEnd const):
(WebCore::Layout::FloatAvoider::resetHorizontalPosition): Deleted.
(WebCore::Layout::FloatAvoider::isLeftAligned const): Deleted.
(WebCore::Layout::FloatAvoider::top const): Deleted.
(WebCore::Layout::FloatAvoider::left const): Deleted.
(WebCore::Layout::FloatAvoider::right const): Deleted.
* Source/WebCore/layout/floats/FloatingContext.cpp:
(WebCore::Layout::FloatPair::highestBlockAxisPosition const):
(WebCore::Layout::begin):
(WebCore::Layout::areFloatsHorizontallySorted):
(WebCore::Layout::findAvailablePosition):
(WebCore::Layout::FloatingContext::positionForFloat const):
(WebCore::Layout::FloatingContext::positionForNonFloatingFloatAvoider const):
(WebCore::Layout::FloatingContext::blockAxisPositionWithClearance const):
(WebCore::Layout::FloatingContext::findPositionForFormattingContextRoot const):
(WebCore::Layout::FloatPair::intersects const):
(WebCore::Layout::FloatPair::lowestBlockAxisPosition const):
(WebCore::Layout::Iterator::Iterator):
(WebCore::Layout::Iterator::operator++):
(WebCore::Layout::Iterator::set):
(WebCore::Layout::FloatPair::blockAxisConstraint const): Deleted.
(WebCore::Layout::FloatingContext::verticalPositionWithClearance const): 
Deleted.
(WebCore::Layout::FloatPair::bottom const): Deleted.
* Source/WebCore/layout/floats/FloatingContext.h:
* Source/WebCore/layout/floats/PlacedFloats.cpp:
(WebCore::Layout::PlacedFloats::append):
(WebCore::Layout::PlacedFloats::highestPositionOnBlockAxis const):
(WebCore::Layout::PlacedFloats::lowestPositionOnBlockAxis const):
(WebCore::Layout::PlacedFloats::topmost const): Deleted.
(WebCore::Layout::PlacedFloats::bottommost const): Deleted.
* Source/WebCore/layout/floats/PlacedFloats.h:
(WebCore::Layout::PlacedFloats::Item::inlineAxisMargin const):
(WebCore::Layout::PlacedFloats::Item::horizontalMargin const): Deleted.
* Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp:
(WebCore::Layout::FormattingGeometry::complicatedCases const):
* Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.cpp:
(WebCore::Layout::BlockFormattingContext::usedContentHeight const):
(WebCore::Layout::BlockFormattingContext::computeVerticalPositionForFloatClear):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::InlineFormattingUtils::logicalTopForNextLine const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to