Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a9ebc5b071777463f6b6a352d6e7b6e57c9b087f
https://github.com/WebKit/WebKit/commit/a9ebc5b071777463f6b6a352d6e7b6e57c9b087f
Author: Taher Ali <[email protected]>
Date: 2026-07-23 (Thu, 23 Jul 2026)
Changed paths:
M Source/WebCore/style/values/filter-effects/StyleFilterReference.cpp
M Source/WebCore/style/values/primitives/StyleURL.cpp
M Source/WebCore/style/values/primitives/StyleURL.h
M Source/WebCore/style/values/shapes/StylePathOperationWrappers.cpp
Log Message:
-----------
Add Style::URL::fragment() to unify same-document fragment extraction
https://bugs.webkit.org/show_bug.cgi?id=320098
rdar://183030303
Reviewed by Sam Weinig.
Style::FilterReference and clip-path's ReferencePathOperation both had
the same fragment extraction logic.
Move that logic to a single Style::URL::fragment() accessor, on the type that
actually owns the quirk, and use it from both call sites. No behavior change.
* Source/WebCore/style/values/filter-effects/StyleFilterReference.cpp:
(WebCore::Style::ToStyle<CSS::FilterReference>::operator):
* Source/WebCore/style/values/primitives/StyleURL.cpp:
(WebCore::Style::URL::fragment const):
* Source/WebCore/style/values/primitives/StyleURL.h:
* Source/WebCore/style/values/shapes/StylePathOperationWrappers.cpp:
(WebCore::Style::CSSValueConversion<RefPtr<PathOperation>>::operator):
Canonical link: https://commits.webkit.org/317792@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications