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

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-font-size-mutation-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-font-size-mutation-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-font-size-mutation.html
    M Source/WebCore/rendering/RenderListMarker.cpp

  Log Message:
  -----------
  [list-marker] A dynamic font change does not reach the list marker's content 
renderers
https://bugs.webkit.org/show_bug.cgi?id=322111
<rdar://problem/185330733>

Reviewed by Antti Koivisto.

  <style>
  li { list-style-type: "\627\644\641"; font-size: 16px }
  </style>
  <ul><li>text
  <script>
  document.body.offsetTop;
  document.querySelector("li").style.fontSize = "32px";
  </script>

Now that markers create their own subtrees, style needs to get propagated too.

* Source/WebCore/rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::styleDidChange):
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-font-size-mutation.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-font-size-mutation-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-font-size-mutation-expected.html:
 Added.

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



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

Reply via email to