Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1462722a73405d4f73747e49056f41e8bf4119f0
https://github.com/WebKit/WebKit/commit/1462722a73405d4f73747e49056f41e8bf4119f0
Author: Devin Rousso <[email protected]>
Date: 2026-10-13 (Tue, 13 Oct 2026)
Changed paths:
M LayoutTests/inspector/css/keyframes-edit-name-expected.txt
M LayoutTests/inspector/css/keyframes-edit-name.html
M Source/WebCore/inspector/InspectorStyleSheet.cpp
Log Message:
-----------
Web Inspector: Elements: parse animation names when editing keyframes
https://bugs.webkit.org/show_bug.cgi?id=327340
Reviewed by Timothy Hatcher.
`@keyframe` names are passed directly to the CSSOM name setter without any
validation.
Parse the authored animation name before updating CSSOM and preserve the
original header text.
* Source/WebCore/inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyleSheet::ruleHeaderText):
(WebCore::InspectorStyleSheet::setRuleHeaderText):
* LayoutTests/inspector/css/keyframes-edit-name.html:
* LayoutTests/inspector/css/keyframes-edit-name-expected.txt:
Canonical link: https://commits.webkit.org/323600@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications