- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 01 Jul 2019 20:23:22 +0000
- To: public-svg-issues@w3.org
The SVG Working Group just discussed `Decide what to do with zoom and pan`, and agreed to the following: * `RESOLUTION: remove zoomAndPan attribute and expectation for zoom and pan feature.` <details><summary>The full IRC log of that discussion</summary> <krit> topic: Decide what to do with zoom and pan<br> <krit> GitHub: https://github.com/w3c/svgwg/issues/56<br> <krit> AmeliaBR: zoom and pan is an attribute from SVG 1 that never got fully implemented by browsers<br> <krit> AmeliaBR: last implementation was the Adobe SVG Plugin<br> <krit> AmeliaBR: issue resurfaces last month when it was mentioned that there is interaction with other features<br> <krit> AmeliaBR: with some that are implemented on the DOM level and we got feedback from UAs what does and does not work<br> <krit> AmeliaBR: Blink does have some panning and zooming and it is buggy in the edge cases. Not sure if it counts as an implementation that needs preserving<br> <krit> AmeliaBR: unfortunately they don't have metrics<br> <krit> AmeliaBR: it works for standalone SVGs and embedded SVGs.<br> <krit> AmeliaBR: but it is not intecreted with zoomon<br> <krit> s/zoomon/zooming/<br> <krit> AmeliaBR: my proposal is to drop the attribtue<br> <krit> AmeliaBR: but keep the DOM properties but define them better in a way that interacts with other features like viewBox and the SVG view behaviour.<br> <krit> AmeliaBR: but it still needs work to figure out what the redefinition would look like<br> <krit> AmeliaBR: but that can be discussed separately<br> <krit> krit: what are the alternatives used today?<br> <krit> chris: manipulate the viewBox using script or apply transform using script<br> <krit> AmeliaBR: zoom and pan is about telling the browther to use its own zoom and pan with defaults and an attribute to disable that<br> <chris> it seems fine to me to drop the attr<br> <krit> AmeliaBR: since most browsers don't use zoom and pan features, ppl are not using the attribute to disable it. So if browsers would start implementing it it would break things to.<br> <krit> s/to/too/<br> <krit> myles: removing it makes sense to remove it<br> <krit> chris: Agree. It gives control over a not implemented feature.<br> <krit> AmeliaBR: I'd like to have an opt-in for a browser zoom and pan feature but it probably wouldn't work this way.<br> <krit> myles: If there is a new proposal we can have a clean cut<br> <krit> proposal: remove zoomAndPan attribute and expectation for zoom and pan feature.<br> <krit> RESOLUTION: remove zoomAndPan attribute and expectation for zoom and pan feature.<br> <krit> krit: 2nd part is the redefinition of the DOM features<br> <AmeliaBR> https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__currentScale<br> <krit> AmeliaBR: there is a currentScale and currentRotate DOM properties on the SVGSVGelement<br> <krit> krit: for that we need to define in which cascade they apply?<br> <krit> AmeliaBR: yeah. They need to get redefined as something that is independent from the zoomAndPan attribute and how they interact with things like getCTM()<br> <krit> krit: Do we know in which order it applies to in combination with viewBox and transform attribute?<br> <krit> AmeliaBR: haven't looked into it.<br> <krit> krit: so there are more actions needed how the properties interact with other coordinate system manipulating attributes and functions like getCTM()<br> <krit> krit: should we open a new issue for that?<br> <krit> AmeliaBR: might make sense to have a new issue but we can leave it for now and I take an. action to start the edit and see how much work it is.<br> <krit> AmeliaBR: ok, so leave the issue open and AmeliaBR gets back to the group<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/svgwg/issues/56#issuecomment-507411510 using your GitHub account
Received on Monday, 1 July 2019 20:23:24 UTC