[webkit-changes] [WebKit/WebKit] 155b6e: [Cleanup] margin-trim does not apply to float boxes

Alan Baradlay noreply at github.com
Mon Aug 26 07:08:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 155b6eb64d2b60a319ef21a4a49053b1f9b7ab84
      https://github.com/WebKit/WebKit/commit/155b6eb64d2b60a319ef21a4a49053b1f9b7ab84
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  [Cleanup] margin-trim does not apply to float boxes
https://bugs.webkit.org/show_bug.cgi?id=278627

Reviewed by Antti Koivisto.

Remove float related margin trim code (leftover code added based on the initial version of margin-trim).

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computeInlineDirectionMargins const):

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