Bug 164386

Summary: SVG sprites don't work when served from server
Product: WebKit Reporter: Xidorn Quan <xidorn-webkit>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: sabouhallawa, youennf
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=163811
Attachments:
Description Flags
testcase none

Xidorn Quan
Reported 2016-11-03 16:20:09 PDT
Created attachment 293824 [details] testcase Using URL fragment to specify SVG sprite as image works when the SVG file is a local file. However, it doesn't work when the SVG file is served remotely. (Or even from localhost) Steps to Reproduce: 1. Extract the testcase file to a directory 2. Run an HTTP server for that directory (simplest way is python -mSimpleHTTPServer) 3. Browse the test file via HTTP Expected Results: It should show a green block, like what it shows when you open the file from local directly. Actual Results: It shows a red block. I can reliably reproduce this issue on Safari 10 as well as the Technology Preview. I tried to test Nightly but it seems it doesn't work at all, so I gave up...
Attachments
testcase (565 bytes, application/x-zip-compressed)
2016-11-03 16:20 PDT, Xidorn Quan
no flags
youenn fablet
Comment 1 2016-11-07 09:08:11 PST
Probably a duplicate of 163811
Said Abou-Hallawa
Comment 2 2016-11-11 11:39:42 PST
*** This bug has been marked as a duplicate of bug 163811 ***
Note You need to log in before you can comment on or make changes to this bug.