Bug 103193

Summary: Computed style of resource references drops hash from fragment
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, graouts, koivisto, ntim, simon.fraser, zimmermann
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Dirk Schulze
Reported 2012-11-24 17:28:03 PST
A short example to explain the problem. FAIL computedStyle("marker-start", "url(#marker)") should be url(#marker). Was url(marker): The hash from the fragment was dropped in the computed style.
Attachments
Ahmad Saleem
Comment 1 2022-10-22 05:11:57 PDT
This can be fixed with following commit: https://src.chromium.org/viewvc/blink?view=revision&revision=174910 and changes here: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp#L134 _____ I might be partial merge since I can't find other relevant. Thanks!
Ahmad Saleem
Comment 2 2023-11-15 06:20:35 PST
@Antoine - I think it is something similar which you fixed in https://commits.webkit.org/260299@main? Should we mark this as 'Duplicate' of other?
Antoine Quint
Comment 3 2023-11-15 08:05:27 PST
The original report is missing some context, so it's hard to tell what the issue actually was, but I assume it was about serialization and dropping the `#` and I'm not sure the referenced patch deals with that specifically.
Note You need to log in before you can comment on or make changes to this bug.