Closed Bug 381447 Opened 17 years ago Closed 17 years ago

nsSVGLengthList::mCtxType is always set to nsSVGUtils::X

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch patchSplinter Review
I've noticed that nsSVGLengthList::mCtxType is always set to nsSVGUtils::X, but we need to set it to nsSVGUtils::Y for some attributes. As a result, percentage values for y-axis attributes are evaluated as percentages of the _horizontal_ viewport width instead of the vertical height.
Attachment #265523 - Flags: superreview?(tor)
Attachment #265523 - Flags: review?(tor)
Attachment #265523 - Flags: superreview?(tor)
Attachment #265523 - Flags: superreview+
Attachment #265523 - Flags: review?(tor)
Attachment #265523 - Flags: review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: