Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a05ae9055b8cf4d371a52f5b69b10e6374efd2a9
      
https://github.com/WebKit/WebKit/commit/a05ae9055b8cf4d371a52f5b69b10e6374efd2a9
  Author: Alan Baradlay <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    A LayoutTests/accessibility/list-marker-content-text-expected.txt
    A LayoutTests/accessibility/list-marker-content-text.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/rendering/RenderListItem.cpp

  Log Message:
  -----------
  [list-marker] 'content' does not work with the accessibility tree
https://bugs.webkit.org/show_bug.cgi?id=327289
rdar://problem/189838099

Reviewed by Tyler Wilcock.

RenderListItem::markerText returned nothing for a ::marker with `content`, so 
the list item's line was read
without it. Return the text the marker's content renderers hold, or the 
content's alternative text when it
has one.

Test: accessibility/list-marker-content-text.html

* LayoutTests/accessibility/list-marker-content-text-expected.txt: Added.
* LayoutTests/accessibility/list-marker-content-text.html: Added.
* Source/WebCore/rendering/RenderListItem.cpp:
(WebCore::RenderListItem::markerText const):
* LayoutTests/platform/glib/TestExpectations:

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



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

Reply via email to