Bug 200028 - [SVG] url(#fragment) can't resolve properly with HTML base element
Summary: [SVG] url(#fragment) can't resolve properly with HTML base element
Status: RESOLVED DUPLICATE of bug 189499
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2019-07-23 01:06 PDT by Fujii Hironori
Modified: 2019-07-23 09:51 PDT (History)
2 users (show)

See Also:

test case (485 bytes, text/html)
2019-07-23 01:06 PDT, Fujii Hironori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2019-07-23 01:06:16 PDT
[SVG] url(#fragment) can't resolve properly with HTML base element
Comment 1 Fujii Hironori 2019-07-23 01:06:32 PDT
Created attachment 374679 [details]
test case
Comment 2 Fujii Hironori 2019-07-23 01:09:59 PDT
Firefox 68: OK
Chrome 75: OK
Safari Technology Preview Relase 87: NG
Comment 3 Fujii Hironori 2019-07-23 01:31:23 PDT
WinCairo and QtWebKit shows black sun icons in Google News without User Agent spoofing.
Comment 4 Fujii Hironori 2019-07-23 03:12:46 PDT
SVG 2: Linking: Generating the absolute URL

> As defined in CSS Values and Units, a fragment-only URL in a
> style property must be treated as a same-document URL reference,
> regardless of the file in which the property was declared.

Comment 5 Said Abou-Hallawa 2019-07-23 09:51:20 PDT
If <base href="."> is removed from the test case, the rectangle will be filled by the gradient. This is already reported in https://bugs.webkit.org/show_bug.cgi?id=189499.

*** This bug has been marked as a duplicate of bug 189499 ***