Externally referenced SVG Patterns can't reference local Symbols

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: mel, Unassigned)

Tracking

13 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
Created attachment 638130 [details]
bar.svg

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build ID: 20120615040410

Steps to reproduce:

Firefox 13.0.1; Linux (Ubuntu 10.04)

Two files: foo.svg references a pattern contained within bar.svg
The pattern in bar.svg references a symbol (red and blue vertical stripes), also in bar.svg

I have attached the bar.svg I used to test. My test foo.svg contains just the <rect> which appers at the end of bar.svg, but having fill="bar.svg#pattern".


Actual results:

* The pattern, when rendered inside bar.svg, includes the <symbol> from bar.svg
* The pattern, when rendered inside foo.svg, does not include the <symbol> from bar.svg



Expected results:

In both SVG files, the rendered pattern should include the <symbol>
Component: Untriaged → SVG
Product: Firefox → Core
QA Contact: untriaged → general
The URL for bar.svg in bugzilla is https://bug769939.bugzilla.mozilla.org/attachment.cgi?id=638130 so you should be able to construct a foo.svg that references it as you describe.
You need to log in before you can comment on or make changes to this bug.