Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e87b1b03015ccc8d8e4ebec8336e4058160fb08c
https://github.com/WebKit/WebKit/commit/e87b1b03015ccc8d8e4ebec8336e4058160fb08c
Author: Devin Rousso <[email protected]>
Date: 2026-10-13 (Tue, 13 Oct 2026)
Changed paths:
M LayoutTests/inspector/css/usedCSSVariables-expected.txt
M LayoutTests/inspector/css/usedCSSVariables.html
M Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js
Log Message:
-----------
Web Inspector: Elements: also track inherited CSS variable dependencies
https://bugs.webkit.org/show_bug.cgi?id=327338
Reviewed by Timothy Hatcher.
Used inherited CSS variable aliases do not keep their complete dependency chain
when declarations are encountered in reverse order.
Instead, collect inherited dependencies independently of declaration order and
expand only the variables that are actually used.
* Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js:
(WI.DOMNodeStyles.prototype._collectCSSVariables):
* LayoutTests/inspector/css/usedCSSVariables.html:
* LayoutTests/inspector/css/usedCSSVariables-expected.txt:
Canonical link: https://commits.webkit.org/323623@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications