[webkit-changes] [WebKit/WebKit] 7db79e: [Cleanup][Floats] Replace left/right with inlineSt...

Alan Baradlay noreply at github.com
Mon Nov 18 08:27:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7db79e034f610f9582d31576a9cdb2b0616a03aa
      https://github.com/WebKit/WebKit/commit/7db79e034f610f9582d31576a9cdb2b0616a03aa
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M Source/WebCore/layout/floats/FloatingContext.cpp

  Log Message:
  -----------
  [Cleanup][Floats] Replace left/right with inlineStart/End in FloatPair
https://bugs.webkit.org/show_bug.cgi?id=283254

Reviewed by Antti Koivisto.

FloatPair always refers to floats in logical manner.

* Source/WebCore/layout/floats/FloatingContext.cpp:
(WebCore::Layout::FloatPair::InlineStartEndIndex::isEmpty const):
(WebCore::Layout::FloatPair::blockAxisConstraint const):
(WebCore::Layout::FloatPair::operator* const):
(WebCore::Layout::areFloatsHorizontallySorted):
(WebCore::Layout::findAvailablePosition):
(WebCore::Layout::FloatingContext::findPositionForFormattingContextRoot const):
(WebCore::Layout::FloatPair::inlineStart const):
(WebCore::Layout::FloatPair::inlineEnd const):
(WebCore::Layout::FloatPair::intersects const):
(WebCore::Layout::FloatPair::containsFloatFromFormattingContext const):
(WebCore::Layout::FloatPair::operator == const):
(WebCore::Layout::FloatPair::inlineAxisConstraints const):
(WebCore::Layout::FloatPair::bottom const):
(WebCore::Layout::Iterator::Iterator):
(WebCore::Layout::previousFloatingIndex):
(WebCore::Layout::Iterator::operator++):
(WebCore::Layout::Iterator::set):
(WebCore::Layout::FloatPair::LeftRightIndex::isEmpty const): Deleted.
(WebCore::Layout::FloatPair::verticalConstraint const): Deleted.
(WebCore::Layout::FloatPair::left const): Deleted.
(WebCore::Layout::FloatPair::right const): Deleted.
(WebCore::Layout::FloatPair::horizontalConstraints const): Deleted.

Canonical link: https://commits.webkit.org/286729@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