Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fdc812b2d80ba8e3472ebe39795f68fe2444a65e
      
https://github.com/WebKit/WebKit/commit/fdc812b2d80ba8e3472ebe39795f68fe2444a65e
  Author: Alan Baradlay <[email protected]>
  Date:   2026-08-30 (Sun, 30 Aug 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderListItem.cpp
    M Source/WebCore/rendering/RenderListItem.h
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilder.h
    M Source/WebCore/rendering/updating/RenderTreeBuilderList.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdater.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.h

  Log Message:
  -----------
  [list-marker] Marker text should not be filled in lazily from 
RenderListMarker::layout()
https://bugs.webkit.org/show_bug.cgi?id=322915
<rdar://problem/186180196>

Reviewed by Antti Koivisto.

A marker's text is made of its list item's list-item counter value, which is 
only settled once the tree is done changing, so it was left to layout to fill 
in.
Have the marker register with the RenderTreeBuilder in charge of the change 
instead, which fills in what it collected when it is finished,
and drop the two call sites that had to reach into the marker before it was 
measured.

No behavior change.

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



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

Reply via email to