Re: [svgwg] Decide what to do with zoom and pan (#56)

Loading the equivalent standalone SVG into FF and Blink didn't seem to change the results significantly.

```
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" zoomAndPan="magnify">
  <circle cx="200" cy="200" r="200" fill="red"/>
  <circle cx="200" cy="200" r="100" fill="gold"/>
  <script>
var svg = document.querySelector("svg");

svg.addEventListener("SVGZoom", function(evt) { console.log("event=",evt); });

svg.currentTranslate.x = -200.0;
svg.currentTranslate.y = -200.0;
svg.currentScale = 2.0;

console.log("zoomAndPan=",svg.zoomAndPan);
console.log("currentScale=",svg.currentScale);
console.log("currentTranslate=",svg.currentTranslate);
  </script>
</svg>
```

The only difference to my former results is that manipulating the `currentScale` and `currentTranslate` values in FF now updates their DOM values. But no scale or transform seems to happen in either browser.



-- 
GitHub Notification of comment by BigBadaboom
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/56#issuecomment-501900292 using your GitHub account

Received on Thursday, 13 June 2019 22:23:03 UTC