mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #438: Check for non-rectilinear transforms
This commit is contained in:
parent
0343460b3a
commit
c2b844077e
1 changed files with 3 additions and 0 deletions
|
|
@ -1006,6 +1006,9 @@ nsSVGOuterSVGAnonChildFrame::IsSVGTransformed(Matrix* aOwnTransform,
|
|||
if (ownMatrix.HasNonTranslation()) {
|
||||
// Note: viewBox, currentScale and currentTranslate should only
|
||||
// produce a rectilinear transform.
|
||||
MOZ_ASSERT(ownMatrix.IsRectilinear(),
|
||||
"Non-rectilinear transform will break the following logic");
|
||||
|
||||
// The nsDisplayTransform code will apply this transform to our frame,
|
||||
// including to our frame position. We don't want our frame position to
|
||||
// be scaled though, so we need to correct for that in the transform.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue