Closed Bug 1446634 Opened 6 years ago Closed 6 years ago

SVG clipPath ignored inside blob URL

Categories

(Core :: SVG, defect)

59 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1447262

People

(Reporter: jens.b, Unassigned)

Details

Attachments

(2 files)

Attached file reduced test case
In Firefox 59, when an SVG is displayed in an <img> tag via a blob URL, clipPath is ignored. This does not happen in previous Firefox versions or Chrome.

See the attached reduced test case, which displays the same SVG source once inline, once via blob URL.

This was discovered on Screeps.com where each player has a badge displayed on the world map (paid account required). The badges "bleed out" of their circular border.
Attachment #8959793 - Attachment mime type: text/plain → text/html
If it doesn't happen in previous versions, perhaps you could establish a regression range? There's a tool for it: https://mozilla.github.io/mozregression/
Flags: needinfo?(jens.b)
This is the mozregression result:

 7:36.44 INFO: No more inbound revisions, bisection finished.
 7:36.44 INFO: Last good revision: 077422bf7047cbfc8490aaa193bef3f0af72fb6a
 7:36.44 INFO: First bad revision: b0a6b4678b2f7dfb499328946b95366775f71edd
 7:36.44 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=077422bf7047cbfc8490aaa193bef3f0af72fb6a&tochange=b0a6b4678b2f7dfb499328946b95366775f71edd

 7:37.33 ERROR: Unable to exploit the merge commit. Origin branch is mozilla-central, and the commit message for b0a6b467 was:
Merge Inbound to mozilla-central r=merge a=merge

I guess the error at the end doesn't really matter.
Flags: needinfo?(jens.b)
Thanks. Seems like a regression from Bug 1416193 then (which changed blob internals), and that bug already has bug 1447262 filed as a regression.  And I think this is a duplicate of that bug. (The testcase here uses a gradient rather than clipPath, but it's a fundamental issue with local URL handling inside of a blob-url-doc, it seems.)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: