Closed Bug 1253564 Opened 8 years ago Closed 8 years ago

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

Categories

(Core :: SVG, defect)

44 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: me, Unassigned)

Details

Attachments

(3 files)

Attached file 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
Attached image text_on_line.svg
Attached image text_on_line-padded.svg
Component: Untriaged → SVG
Product: Firefox → Core
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
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: