Closed Bug 487649 Opened 15 years ago Closed 14 years ago

Markers handle viewBox and preserveAspectRatio badly

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jwatt, Assigned: longsonr)

Details

(Keywords: testcase)

Attachments

(3 files)

Markers handle viewBox and preserveAspectRatio badly.
When fixing this bug, care should be taken to make sure that refX and refY are still in the coordinate system established *after* the viewBox and preserveAspectRation transform.
Attached patch patchSplinter Review
This fixes testcase 1. You'll need to create a new bug for testcase 2.
Assignee: nobody → longsonr
Attachment #456496 - Flags: review?(jwatt)
Comment on attachment 456496 [details] [diff] [review]
patch

The ref should be a lot simpler. It should just contain a single circle element. r=jwatt with that change.

For the record, Robert and I were unable to figure out why nsSVGUtils::GetViewBoxTransform has the argument aIgnoreAlign, either from reading the spec or from digging through hg/CVS blame. In fact from the spec it just seems wrong. That's why that argument is being removed.
Attachment #456496 - Flags: review?(jwatt) → review+
pushed http://hg.mozilla.org/mozilla-central/rev/e302434bc8d4
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: