Closed Bug 602207 Opened 14 years ago Closed 14 years ago

<animateMotion><mpath> uses path's "transform" attribute on <path> elements, which it shouldn't

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: dholbert, Assigned: jwatt)

Details

Attachments

(3 files)

STEPS TO REPRODUCE: 1. Load attached testcase. EXPECTED RESULTS: Gray square should be inside of the green-outline rect. ACTUAL RESULTS: Gray square is inside of the red-outline rect. (indicating that <animateMotion> is using its <path>'s transform attribute) Opera/Webkit give EXPECTED RESULTS, mozilla-central trunk gives ACTUAL RESULTS.
Attached image testcase 1
Attached image reference 1
In this reference case, I've moved the <path>'s transform attribute to its parent <g> element. So, the path's rendering (the purple horizontal line) is unchanged. However, that's enough to get us to do the right thing w.r.t. <animateMotion> elements that target the path.
Summary: <animateMotion><mpath> uses path's "transform" attribute on <path> elements, which it probably shouldn't → <animateMotion><mpath> uses path's "transform" attribute on <path> elements, which it shouldn't
Requesting blocking2.0, as this is something broken (and non-compatible with Opera/Webkit) in a new Gecko 2.0 feature. Also shouldn't be too difficult to fix.
blocking2.0: --- → ?
Assignee: nobody → dholbert
Assignee: dholbert → jwatt
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
Attachment #496504 - Flags: review?(longsonr)
Attachment #496504 - Flags: review?(longsonr) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: