mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 461751 - zoomAndPan=disable prevents programmatic zoom. r+sr=roc
This commit is contained in:
parent
6b5811b656
commit
61e59e1ed3
@ -785,9 +785,7 @@ nsSVGOuterSVGFrame::GetCanvasTM()
|
||||
// our content is the document element so we must premultiply the values
|
||||
// of its currentScale and currentTranslate properties
|
||||
if (mCurrentScale &&
|
||||
mCurrentTranslate &&
|
||||
svgElement->mEnumAttributes[nsSVGSVGElement::ZOOMANDPAN].GetAnimValue()
|
||||
== nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_MAGNIFY) {
|
||||
mCurrentTranslate) {
|
||||
nsCOMPtr<nsIDOMSVGMatrix> zoomPanMatrix;
|
||||
nsCOMPtr<nsIDOMSVGMatrix> temp;
|
||||
float scale, x, y;
|
||||
|
Loading…
Reference in New Issue
Block a user