Bug 103193
Summary: | Computed style of resource references drops hash from fragment | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dirk Schulze <krit> |
Component: | SVG | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
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
@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
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.