Ensure slot change signals follow tree order [chromium/src : main]

0 views
Skip to first unread message

YeongHan Kim (Gerrit)

unread,
Oct 16, 2025, 11:42:14 AM (3 days ago) Oct 16
to Mason Freed, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Mason Freed

YeongHan Kim added 1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
YeongHan Kim . resolved

Please take a look.
Thank you!

Open in Gerrit

Related details

Attention is currently required from:
  • Mason Freed
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8eb4e1a7c56ab50474ac568c95c752966d282164
Gerrit-Change-Number: 7038171
Gerrit-PatchSet: 4
Gerrit-Owner: YeongHan Kim <soosu...@gmail.com>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: YeongHan Kim <soosu...@gmail.com>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Thu, 16 Oct 2025 15:41:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mason Freed (Gerrit)

unread,
Oct 17, 2025, 7:27:27 PM (2 days ago) Oct 17
to YeongHan Kim, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from YeongHan Kim

Mason Freed voted and added 1 comment

Votes added by Mason Freed

Code-Review+1

1 comment

Patchset-level comments
Mason Freed . resolved

Looks good! Thanks for the fix.

Open in Gerrit

Related details

Attention is currently required from:
  • YeongHan Kim
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8eb4e1a7c56ab50474ac568c95c752966d282164
Gerrit-Change-Number: 7038171
Gerrit-PatchSet: 4
Gerrit-Owner: YeongHan Kim <soosu...@gmail.com>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: YeongHan Kim <soosu...@gmail.com>
Gerrit-Attention: YeongHan Kim <soosu...@gmail.com>
Gerrit-Comment-Date: Fri, 17 Oct 2025 23:27:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jinho Bang (Gerrit)

unread,
Oct 18, 2025, 2:11:51 AM (yesterday) Oct 18
to YeongHan Kim, Mason Freed, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from YeongHan Kim

Jinho Bang voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • YeongHan Kim
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8eb4e1a7c56ab50474ac568c95c752966d282164
    Gerrit-Change-Number: 7038171
    Gerrit-PatchSet: 4
    Gerrit-Owner: YeongHan Kim <soosu...@gmail.com>
    Gerrit-Reviewer: Jinho Bang <zi...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: YeongHan Kim <soosu...@gmail.com>
    Gerrit-Attention: YeongHan Kim <soosu...@gmail.com>
    Gerrit-Comment-Date: Sat, 18 Oct 2025 06:11:13 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Oct 18, 2025, 4:22:46 AM (yesterday) Oct 18
    to YeongHan Kim, Jinho Bang, Mason Freed, AyeAye, chromium...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Ensure slot change signals follow tree order

    The WPT test is failing because the slot change signal is not enqueue in
    tree order.

    According to [1], assign slottables should be run for each slot in tree
    order. Current implementation, when there is a change in slottables, the
    slot change signal is enqueue immediately without considering the order.
    However, there is no guarantee that slottable changes follow the tree
    order of the slots. So, the slot change signal may be enqueue in the
    wrong order.

    This patch fixes the bug by ensuring that slot change signals are
    enqueue in tree order, regardless of the order in which slottables
    change.

    [1] https://dom.spec.whatwg.org/#assign-slotables-for-a-tree
    Bug: 40587295
    Change-Id: I8eb4e1a7c56ab50474ac568c95c752966d282164
    Commit-Queue: Jinho Bang <zi...@chromium.org>
    Reviewed-by: Mason Freed <mas...@chromium.org>
    Reviewed-by: Jinho Bang <zi...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1531797}
    Files:
    • M third_party/blink/renderer/core/html/html_slot_element.cc
    • D third_party/blink/web_tests/external/wpt/shadow-dom/imperative-slot-api-slotchange-expected.txt
    Change size: S
    Delta: 2 files changed, 14 insertions(+), 8 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Jinho Bang, +1 by Mason Freed
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8eb4e1a7c56ab50474ac568c95c752966d282164
    Gerrit-Change-Number: 7038171
    Gerrit-PatchSet: 5
    Gerrit-Owner: YeongHan Kim <soosu...@gmail.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Jinho Bang <zi...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: YeongHan Kim <soosu...@gmail.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages