Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4cd6d5756a6477c6a9a3aba8c3afe47b8a882c05
      
https://github.com/WebKit/WebKit/commit/4cd6d5756a6477c6a9a3aba8c3afe47b8a882c05
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-repeats-slot-assignment.tentative-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-slot-assignment-serialization.tentative-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-slot-assignment-serialization.tentative.html
    M 
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-slot-assignment.tentative-expected.txt
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/Element.h
    M Source/WebCore/dom/ShadowRootMode.h
    M Source/WebCore/dom/SlotAssignmentMode.h
    M Source/WebCore/editing/MarkupAccumulator.cpp
    M Source/WebCore/html/HTMLAttributeNames.in
    M Source/WebCore/html/HTMLTemplateElement.cpp
    M Source/WebCore/html/HTMLTemplateElement.h
    M Source/WebCore/html/HTMLTemplateElement.idl
    M Source/WebCore/html/parser/HTMLConstructionSite.cpp
    M Source/WebCore/html/parser/HTMLPreloadScanner.cpp

  Log Message:
  -----------
  Implement shadowrootslotassignment attribute
https://bugs.webkit.org/show_bug.cgi?id=310090
rdar://173227340

Reviewed by Darin Adler and Ryosuke Niwa.

This gives web developers the ability to set the slot assignment to
"manual" declaratively. (Slotting will still have to happen through
script in those cases.)

We also clean up the shadowrootmode attribute as it has very similar
requirements.

Test changes upstreamed here:

    https://github.com/web-platform-tests/wpt/pull/59210

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



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

Reply via email to