Closed
Bug 1106598
Opened 10 years ago
Closed 5 years ago
spaces between tspan elements affect position of the tspan
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: patrick.parsons, Unassigned)
Details
Attachments
(1 file)
902 bytes,
image/svg+xml
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Steps to reproduce: Added several tspan elements to a text element that has the attribute text-anchor="end". Each tspan has an x coordinate specified, along with a dy. Actual results: Each block of text, except for the last, has a space at the end of it, and that space is aligned at the specified x coordinate. Removing all whitespace between the tspan elements fixes the alignment problem, but then there's no whitespace. Expected results: The space is not in or part of the tspan, the last letter of each tspan should be at the specified x coordinate. Whether a space follows the tspan or not shouldn't affect its position. IE correctly displays this.
Updated•10 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Comment 1•5 years ago
|
||
I'm afraid IE is wrong. This is the correct rendering. You'll need to remove the whitespace that you don't want.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•