Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23d9e27df5b59efd08019b386cf85b3eefc43eb0
      
https://github.com/WebKit/WebKit/commit/23d9e27df5b59efd08019b386cf85b3eefc43eb0
  Author: Alan Baradlay <[email protected]>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp

  Log Message:
  -----------
  [blocks-in-inline] Block level element with margin 'before' should offset 
enclosing inline boxes
https://bugs.webkit.org/show_bug.cgi?id=303200

Reviewed by Antti Koivisto.

While line box is stretched by the margin box, enclosing inline boxes hug the 
border box.
Let's offset them by margin 'before'.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::constructBlockContent):

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



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

Reply via email to