[webkit-changes] [WebKit/WebKit] e746fb: [@starting-style] Assert when inspecting @starting...
Antti Koivisto
noreply at github.com
Thu Mar 21 07:01:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e746fbb46234fae9004489e4e05173f0b4ce9ae3
https://github.com/WebKit/WebKit/commit/e746fbb46234fae9004489e4e05173f0b4ce9ae3
Author: Antti Koivisto <antti at apple.com>
Date: 2024-03-21 (Thu, 21 Mar 2024)
Changed paths:
M LayoutTests/inspector/css/getMatchedStylesForNode.html
M Source/WebCore/css/CSSGroupingRule.h
M Source/WebCore/css/CSSRule.h
M Source/WebCore/inspector/InspectorStyleSheet.cpp
Log Message:
-----------
[@starting-style] Assert when inspecting @starting-style in debug build
https://bugs.webkit.org/show_bug.cgi?id=271373
rdar://125156125
Reviewed by Antoine Quint.
* LayoutTests/inspector/css/getMatchedStylesForNode.html:
* Source/WebCore/css/CSSGroupingRule.h:
(isType):
Add type test.
* Source/WebCore/css/CSSRule.h:
(WebCore::CSSRule::isGroupingRule const):
* Source/WebCore/inspector/InspectorStyleSheet.cpp:
(WebCore::asCSSRuleList):
Return the rule list for @starting-style rules.
Refactor to handle all grouping rules uniformly.
Canonical link: https://commits.webkit.org/276456@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list