Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e596744fd94eb3e3d86a3ad2812589518e33d5cb
      
https://github.com/WebKit/WebKit/commit/e596744fd94eb3e3d86a3ad2812589518e33d5cb
  Author: Alan Baradlay <[email protected]>
  Date:   2025-06-06 (Fri, 06 Jun 2025)

  Changed paths:
    A 
LayoutTests/fast/inline/list-item-with-no-content-at-all-stretch-expected.html
    A LayoutTests/fast/inline/list-item-with-no-content-at-all-stretch.html
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineQuirks.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineQuirks.h
    M Source/WebCore/layout/layouttree/LayoutBox.h

  Log Message:
  -----------
  v8.dev: Container height is wrong in Safari
https://bugs.webkit.org/show_bug.cgi?id=294036
<rdar://problem/152587405>

Reviewed by Antti Koivisto.

Sadly we can't say that outside list marker does not stretch the line box 
(webkit.org/b/256390)
but we can say that the line has no height when the line box has no content 
when there's nothing
but outside list marker on it (which essentially collapses the line box).

* 
LayoutTests/fast/inline/list-item-with-no-content-at-all-stretch-expected.html: 
Added.
* LayoutTests/fast/inline/list-item-with-no-content-at-all-stretch.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::InlineFormattingUtils::inlineLevelBoxAffectsLineBox const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):

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