Closed Bug 456213 Opened 12 years ago Closed 12 years ago
-moz-transform matrix function with percentages confuses X and Y translate components
There's a bug in nsStyleTransformMatrix where matrices that use percentage values in the final two components (to specify percentage translations) accidentally use the same value for the X and Y translations. It's a minor typo (accessing element 5 of an array instead of element 6), so I'll post a patch that fixes the problem and adds a bunch of reftests to prevent regressions ASAP.
Fixes the bad matrix index, and adds a bunch of reftests that should prevent regressions.
Comment on attachment 339597 [details] [diff] [review] Potential Patch #1 [Checkin: Comment 3] r+sr=dbaron
Attachment #339597 - Attachment description: Potential Patch #1 → Potential Patch #1 [Checkin: Comment 3]
Comment on attachment 339597 [details] [diff] [review] Potential Patch #1 [Checkin: Comment 3] http://hg.mozilla.org/mozilla-central/rev/78beaa82e920
Status: NEW → RESOLVED
Closed: 12 years ago
OS: Windows Vista → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b1
You need to log in before you can comment on or make changes to this bug.