Closed Bug 746452 Opened 12 years ago Closed 12 years ago

textPath does not handle startOffset with non-user-unit/non-percentage units correctly

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: heycam, Assigned: longsonr)

Details

Attachments

(2 files)

Attached image test
It looks like when startOffset is not a percetange, we just take the numeric part of the length and interpret it as user units, regardless of the unit.

In the attachment I would expect both "abc"s to be at the same x position.  Opera gets this right, WebKit doesn't.
Attached patch patchSplinter Review
Assignee: nobody → longsonr
Attachment #626748 - Flags: review?(jwatt)
Attachment #626748 - Flags: review?(jwatt) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b3a21cee66e
Flags: in-testsuite+
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/4b3a21cee66e
Status: NEW → RESOLVED
Closed: 12 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: