Bug 196950

Summary: Base HREF breaks SVG resources (gradients, patterns and filters)
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

Description Said Abou-Hallawa 2019-04-15 17:48:03 PDT
Created attachment 367482 [details]
test case

Open the attached test case.

Expected: Three rectangles filled with green.
Actual results: Two rectangles filled with black.

The first rectangle is filled using a gradient resource. The second rectangle is filled with a pattern resource. And the third rectangle is a <use> element referencing a filter resource.

Because the page has the tag <base href="/">, all the links to the resources are broken.
Comment 1 Said Abou-Hallawa 2019-04-15 17:48:46 PDT
<rdar://problem/49215320>
Comment 2 Said Abou-Hallawa 2019-05-06 15:26:02 PDT

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