Closed Bug 480866 Opened 16 years ago Closed 16 years ago

Masks using objectBoundingBox units don't work

Categories

(Core :: SVG, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: adam.gc.watkins, Unassigned)

References

()

Details

(Keywords: verified1.9.1)

Attachments

(1 file)

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.
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.
Component: General → SVG
Product: Firefox → Core
> 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.
QA Contact: general → general
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.
Depends on: 489151
Fixed by bug 489151. The tests checked in there also cover this.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
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.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: