- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 01 Jul 2019 20:40:07 +0000
- To: public-svg-issues@w3.org
The SVG Working Group just discussed `Values in SVGZoomAndPan and SVGUnitTypes should be accessible to javascript`, and agreed to the following: * `RESOLUTION: Change SVGUnitTypes interface from NoInterface to an actual interface to match UA implementation behavior` <details><summary>The full IRC log of that discussion</summary> <krit> topic: Values in SVGZoomAndPan and SVGUnitTypes should be accessible to javascript<br> <krit> GitHub: https://github.com/w3c/svgwg/issues/291<br> <AmeliaBR> s/AmeliaBR: ok/krit: ok/<br> <krit> AmeliaBR: This isn't really about zoom and pan but DOM enumerations.<br> <krit> AmeliaBR: But one example is for zoomAndPan which is no longer relevant with the last resolution<br> <krit> AmeliaBR: but the question still remains for SVGUniteTypes<br> <krit> s/SVGUniteTypes/SVGUnitTypes/<br> <krit> AmeliaBR: Should the interface that defines the constants should also be available as class that can be referenced. This would be consistent with other SVG DOM definitions.<br> <krit> myles: for implementations that do not implement zoomAndPan.. do they implement the DOM representation?<br> <krit> AmeliaBR: yes, they implement the DOM but not the functionality.<br> <krit> myles: how much JS is there that uses the APIs and what happens if we remove these properties<br> <AmeliaBR> https://chromestatus.com/metrics/feature/timeline/popularity/1102<br> <krit> AmeliaBR: 2 questions: Can we safely remove the properties and how much harm would it take.<br> <krit> AmeliaBR: there are use counters<br> <krit> myles: if we remove it those would turn to exceptions and the world breaks down<br> <krit> AmeliaBR: if the usage of the IDL property comes form enumerating on an element, there is no risk of deleting it<br> <krit> AmeliaBR: no idea why anyone would access the value of the attribute in any meaningful way since it has no functionality<br> <krit> myles: in other groups one UA is volunteering to go first. WebKit would likely not do it on this one. Can we ask Erik<br> <krit> Eric?<br> <myles> Willingers<br> <krit> krit: Try to involve him in the discussion. He is still around on github<br> <krit> AmeliaBR: I will followup with him.<br> <krit> ... back to this issue<br> <krit> krit: anything else than SVGUnitTypes and zoomAndPan?<br> <krit> AmeliaBR: I think SVGUnitTypes might be the only other one where the interface is not accessible (NoInterface object)<br> <AmeliaBR> https://www.w3.org/TR/2016/CR-SVG2-20160915/types.html#InterfaceSVGUnitTypes<br> <krit> AmeliaBR: this is userSpaceOnUse vs objetBoundingBox<br> <krit> AmeliaBR: currently the constants are the same across all of these... as defined in the spec, SVGUnitTypes isn't exposed. In Blink it is exposed.<br> <krit> AmeliaBR: have to check what all the other browsers do<br> <krit> AmeliaBR: SVGUnitTypes.<constant> so it is its own interface.<br> <krit> AmeliaBR: we should make the browsers match.<br> <krit> krit: do we know if it is in other browsers as well?<br> <krit> AmeliaBR: I know it is in Firefox, not sure about WebKit<br> <myles> interface SVGUnitTypes<br> <krit> AmeliaBR: so we get consistent browser behavior<br> <krit> AmeliaBR: it is also not implemented as a mixin<br> <krit> proposal: Change SVGUnit<br> <myles> https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/svg/SVGUnitTypes.idl<br> <krit> proposal: Change SVGUnitTypes interface from NoInterface to an actual interface to match UA implementation behavior<br> <krit> RESOLUTION: Change SVGUnitTypes interface from NoInterface to an actual interface to match UA implementation behavior<br> <myles> https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/svg/SVGZoomAndPan.idl<br> <myles> NoInterfaceObject<br> <krit> krit: so constant are not accessible for ZoomAndPan<br> <krit> krit: lets get back to SVGZoomAndPan after AmeliaBR talked to Eric<br> <AmeliaBR> github-got, end topic<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/svgwg/issues/291#issuecomment-507417361 using your GitHub account
Received on Monday, 1 July 2019 20:40:10 UTC