The default bug view has changed. See this FAQ.

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

RESOLVED FIXED in mozilla15

Status

()

Core
SVG
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: heycam, Assigned: Robert Longson)

Tracking

Trunk
mozilla15
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Created attachment 616005 [details]
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.
(Assignee)

Comment 1

5 years ago
Created attachment 626748 [details] [diff] [review]
patch
Assignee: nobody → longsonr
Attachment #626748 - Flags: review?(jwatt)

Updated

5 years ago
Attachment #626748 - Flags: review?(jwatt) → review+
(Assignee)

Comment 2

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.