Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 483fdf08f4fcd778ed482cbcc5f0db0166fffb00
https://github.com/WebKit/WebKit/commit/483fdf08f4fcd778ed482cbcc5f0db0166fffb00
Author: Devin Rousso <[email protected]>
Date: 2026-10-06 (Tue, 06 Oct 2026)
Changed paths:
A LayoutTests/inspector/dom/pseudo-element-request-node-expected.txt
A LayoutTests/inspector/dom/pseudo-element-request-node.html
M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
Log Message:
-----------
Web Inspector: Elements: include the host when pushing a pseudo element
https://bugs.webkit.org/show_bug.cgi?id=326303
Reviewed by Qianlang Chen.
* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::innerParentNode):
Include the host in the ancestor path so node removal and document reload also
unbind the pseudo element.
* LayoutTests/inspector/dom/pseudo-element-request-node.html: Added.
* LayoutTests/inspector/dom/pseudo-element-request-node-expected.txt: Added.
Canonical link: https://commits.webkit.org/322871@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications