SVG TextPath requires space in front of content to ensure proper display

RESOLVED INVALID

Status

()

Core
SVG
RESOLVED INVALID
2 years ago
a year ago

People

(Reporter: Bas Bieling, Unassigned)

Tracking

44 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

2 years ago
Created attachment 8726675 [details]
text_on_line.zip

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305021524

Steps to reproduce:

1) Open the attached files in Firefox. 



Actual results:

Both files display in different ways. The only difference is the additional whitespace in front of the text in text_on_line.svg.


Expected results:

text_on_line.svg should be displaying in the same way as text_on_line-padded.svg

Comment 1

2 years ago
Created attachment 8726676 [details]
text_on_line.svg

Comment 2

2 years ago
Created attachment 8726677 [details]
text_on_line-padded.svg

Updated

2 years ago
Component: Untriaged → SVG
Product: Firefox → Core
(Reporter)

Comment 3

2 years ago
This bug was reproduced on Firefox 44 OS X 10.11 and 10.10 and Iceweasel 43.
The x attribute does not apply to textPath elements. Adding padding gives the x attribute whitespace in the text element and the x then applies to the whitespace character.
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.