Unitialized variables causing textPath text to move around

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: tor, Assigned: tor)

Tracking

({fixed1.8.1})

Trunk
x86
Linux
fixed1.8.1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

12 years ago
nsSVGTextFrame::UpdateGlyphPositioning() doesn't initialize local variables for positioning tracking, so if the <text> doesn't have x/y specified we're calculating positioning based on whatever might be on the stack.  This was found testing textPath, were the position would shift around after hovering.
(Assignee)

Comment 1

12 years ago
Created attachment 212129 [details]
testcase
(Assignee)

Comment 2

12 years ago
Created attachment 212130 [details] [diff] [review]
initialize
Attachment #212130 - Flags: review?(roc)
Attachment #212130 - Flags: superreview+
Attachment #212130 - Flags: review?(roc)
Attachment #212130 - Flags: review+
Attachment #212130 - Flags: approval-branch-1.8.1+
(Assignee)

Comment 3

12 years ago
Checked in on branch (trunk currently closed).
Keywords: fixed1.8.1
(Assignee)

Comment 4

12 years ago
Checked in on trunk.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.