Closed Bug 841920 Opened 12 years ago Closed 8 years ago

SVG inside of a Blob cannot access local references via <use> and paint-servers

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1280584
Tracking Status
platform-rel --- ?

People

(Reporter: elm19087, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [platform-rel-Twitter])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130201065344

Steps to reproduce:

Test page:  http://www.snappymaria.com/misc/svg-id-test/

On this page, click the "Open as Blob..." button to see a test of SVG elements rendered inside of a Blob.  The SVG references to its own "defs" element do not work inside of a Blob.


Actual results:

SVG references, which work on a normal HTML page, do not work inside of a Blob.


Expected results:

SVG references should work in Blobs.
Confirming on Linux64 Nightly.
Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20130311 Firefox/22.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: SVG inside of a Blob cannot access its own defs element. → SVG inside of a Blob cannot access local references via <use> and paint-servers
Version: unspecified → Trunk
platform-rel: --- → ?
Whiteboard: [platform-rel-Twitter]
Good news! This seems to have been fixed on trunk recently. I'm tracking down an exact fix range, but I suspect it was fixed by bug 1280584.
Yup, "mozregression --find-fix" confirms that this was fixed by bug 1280584.

(And indeed, that bug seems to be about basically the same issue, except with about-URIs instead of blob-URIs.  And it doesn't look like the fix there was specific to the "about:" protocol -- it was general rewriting of some URI stuff across URI implementations.)

--> Duping to that bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Along with testing Nightly, I verified locally that this is fixed in the latest DevEdition build (version 50.0a2 (2016-08-10)), BTW.  (As you'd expect, since bug 1280584 landed in the version-50 timeframe.)
Depends on: 1447262
This has regressed -- the regression is tracked in bug 1447262.

Also worth noting, for the record: if you happen to have uBlock Origin installed, you'll need to disable it in order for the testcase here ( http://www.snappymaria.com/misc/svg-id-test/ ) to function. When you click "Open as Blob...", uBlock origin blocks the new tab as a popup, via a filter labeled "|blob:$popup" in EasyList.
You need to log in before you can comment on or make changes to this bug.