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

  Changed paths:
    A LayoutTests/fast/inline/list-marker-with-streching-line-box-expected.html
    A LayoutTests/fast/inline/list-marker-with-streching-line-box.html
    A LayoutTests/fast/inline/list-marker-with-streching-line-box2-expected.html
    A LayoutTests/fast/inline/list-marker-with-streching-line-box2.html
    M LayoutTests/platform/mac-wk1/fast/lists/drag-into-marker-expected.txt
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp
    M Source/WebCore/layout/layouttree/LayoutElementBox.h
    M Source/WebCore/rendering/RenderListMarker.cpp
    M Source/WebCore/rendering/RenderListMarker.h

  Log Message:
  -----------
  Korean counter styles aren't aligned with manual Korean numbering in lists.
https://bugs.webkit.org/show_bug.cgi?id=294269
<rdar://problem/152969810>

Reviewed by Antti Koivisto.

This is a workaround for webkit.org/b/294342.
List marker content should be visible to inline layout (line box building)
in order to properly set the line box's vertical attributes.
Either we let IFC handle marker layout which requires a completely new 
structure to represent markers (but would allow us to delete RenderListMarker) 
or
provide a way for IFC to collect bounds information. This patch implements the 
latter.

* LayoutTests/fast/inline/list-marker-with-streching-line-box-expected.html: 
Added.
* LayoutTests/fast/inline/list-marker-with-streching-line-box.html: Added.
* LayoutTests/fast/inline/list-marker-with-streching-line-box2-expected.html: 
Added.
* LayoutTests/fast/inline/list-marker-with-streching-line-box2.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const):
* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::BoxGeometryUpdater::updateBoxGeometryAfterIntegrationLayout):
* Source/WebCore/layout/layouttree/LayoutElementBox.h:
(WebCore::Layout::ElementBox::setListMarkerLayoutBounds):
(WebCore::Layout::ElementBox::layoutBoundsForListMarker const):
* Source/WebCore/rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::layout):
(WebCore::RenderListMarker::layoutBoundForTextContent const):
* Source/WebCore/rendering/RenderListMarker.h:

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