Closed
Bug 480866
Opened 16 years ago
Closed 16 years ago
Masks using objectBoundingBox units don't work
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: adam.gc.watkins, Unassigned)
References
()
Details
(Keywords: verified1.9.1)
Attachments
(1 file)
|
1.18 KB,
image/svg+xml
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6
The url should render a red blob on top of a red blob. (This is confirmed to work in WebKit, Opera and Batik). However, Firefox only renders the black blob, which references a mask defined in userSpaceOnUse units, and not the red blob, which references a mask defined in objectBoundingBox units.
Reproducible: Always
Steps to Reproduce:
1. Define a mask using
maskContentUnits="objectBoundingBox" maskUnits="objectBoundingBox"
2. Reference said mask.
mask="url(#…)
Actual Results:
Rendered black blob.
Expected Results:
Rendered a red blob on top of the black blob.
| Reporter | ||
Comment 1•16 years ago
|
||
The black blob is produced via a mask defined using userSpaceonUse units, the red blob is produced via a mask defined using objectBoundingBox units. The correct rendering is a red blob on top of a black blob.
| Reporter | ||
Updated•16 years ago
|
Component: General → SVG
Product: Firefox → Core
| Reporter | ||
Comment 2•16 years ago
|
||
> The url should render a red blob on top of a red blob. (This is confirmed to
> work in WebKit, Opera and Batik). However, Firefox only renders the black blob.
Apologies:
It should render a red blob on top a _black_ blob.
Updated•16 years ago
|
QA Contact: general → general
Comment 3•16 years ago
|
||
Seeing the same behavior with Tiger-PPC running a 2.0b3pre version of Camino (1.9.0.8pre 2009022319), so this issue isn't Leopard-only.
Comment 4•16 years ago
|
||
Fixed by bug 489151. The tests checked in there also cover this.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Updated•16 years ago
|
Keywords: fixed1.9.1
Comment 5•16 years ago
|
||
Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090515 Shiretoko/3.5b5pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b5pre) Gecko/20090515 Shiretoko/3.5b5pre.
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•