Closed Bug 327507 Opened 19 years ago Closed 19 years ago

Unitialized variables causing textPath text to move around

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

Details

(Keywords: fixed1.8.1)

Attachments

(2 files)

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.
Attached image testcase
Attached patch initializeSplinter Review
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+
Checked in on branch (trunk currently closed).
Keywords: fixed1.8.1
Checked in on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: