12:58:02 RRSAgent has joined #svg 12:58:02 logging to http://www.w3.org/2014/06/12-svg-irc 12:58:04 RRSAgent, make logs public 12:58:04 Zakim has joined #svg 12:58:06 Zakim, this will be GA_SVGWG 12:58:06 ok, trackbot, I see GA_SVGWG()9:00AM already started 12:58:07 Meeting: SVG Working Group Teleconference 12:58:07 Date: 12 June 2014 12:58:52 +[IPcaller.a] 12:58:54 Zakim, who is on the call? 12:58:55 On the phone I see [IPcaller], [IPcaller.a] 12:59:08 Zakim, [IPcaller] is me 12:59:09 +[IPcaller.aa] 12:59:09 +birtles; got it 12:59:23 Zakim, [IPcaller.aa] is me 12:59:23 +heycam; got it 12:59:44 Zakim, [IPcaller.a] is me 12:59:44 +ed; got it 12:59:49 Agenda: http://lists.w3.org/Archives/Public/www-svg/2014Jun/0038.html 12:59:51 Chair: Cameron 13:01:16 Zakim, who is making noise? 13:01:29 heycam, listening for 12 seconds I heard sound from the following: birtles (88%) 13:02:28 +??P3 13:02:44 zakim, ??P3 is me 13:02:44 +stakagi; got it 13:03:01 +[IPcaller] 13:03:23 zakim, [ipcaller] is me 13:03:23 +cabanier; got it 13:04:37 +[IPcaller] 13:04:50 -[IPcaller] 13:05:09 scribenick: birtles 13:05:21 scribe: birtles 13:05:29 topic: Missing 'turn' unit in SVGAngle 13:05:35 + +1.415.832.aaaa 13:05:42 http://www.w3.org/2013/07/11-svg-minutes.html#item05 13:05:49 ed: I spoke with Dirk about this and we already had a resolution for this 13:05:57 ... we decided not to add new IDL constants for the old SVG DOM 13:06:12 +Tav 13:06:12 ... so the previous resolution wasn't exactly clear what we should do with new units for example 13:06:24 ... for parts of the DOM that expect a unit 13:06:25 Zakim, aaaa is me 13:06:25 +krit; got it 13:06:34 ... I take this to mean we don't want to change any of the behaviour 13:06:46 ... i.e. act as if those new units weren't supported when you inspect the SVG DOM 13:06:55 heycam: so you'd get the unknown value when you look up the unit? 13:07:10 ed: and if you use valueAsString you'd get the default value as if the unit wasn't supported 13:07:20 ... since the new resolution only concerned not adding new IDL constants 13:07:28 ... I wanted to make sure the rest was covered 13:07:39 heycam: we've had a few instances of this kind of thing of not having a new constant in the IDL 13:07:49 ... but these issues that you bring up now show that it's kind of awkward 13:07:56 ... it makes those interfaces completely useless 13:08:08 ... I wonder what we should do if in the future we don't go ahead with the new SVG DOM proposal 13:08:17 ... in that case perhaps we should extend these old interfaces 13:08:28 ... or should we say you can only use get/setAttribute for these new unit types 13:08:37 krit: most of these libraries just use get/setAttribute 13:09:18 ... most of attributes get presentation properties and then they can use 'style' for examples to set the value 13:09:22 ... and get the string 13:09:26 element.style.someAngledProperty = '2turn' 13:09:28 ... with, of course, the units 13:10:05 ... I don't want to shut the door on the SVG DOM but maybe we should wait until we decide what we want to do with the SVG DOM 13:10:09 ... but keep it as it is for now 13:10:24 heycam: so keep things exactly as they are for now until we finally decide what we're doing with the DOM 13:10:37 ... then we can add the constants or not depending on which course we take 13:11:11 ... it would be great to have that behavior defined in the spec (re: when you use one of the new units) 13:11:17 ed: I think it is defined already 13:11:26 ... it's just the angle interface is not so useful 13:11:35 ... it basically just behaves as if the unit was not supported 13:11:44 heycam: ok, I guess the existing spec text is sufficient 13:11:54 ed: yes, I think it is, but I just wanted to confirm that's what we wanted 13:12:06 ... SVGAngle is not so useful but the same issue applies to SVGLength and SVGTransform 13:12:10 heycam: I'm ok with that 13:12:33 ed: I think the existing resolution and spec text is enough but just wanted to confirm 13:12:43 topic: Aiming for SVG Integration Last Call by April 2015 13:13:06 heycam: I was speaking with Vlad who works on the OpenType font format spec which is the spec with the SVG table now 13:13:17 ... we've been discussing what to do about the reference to the SVG Integration spec 13:13:29 ... April 2015 is basically the last point where they can update references in the spec 13:13:48 ... so if the SVG Integration spec can be in last call by then, then it's fine to leave it in as a normative reference 13:14:10 ... I need to check if that would mean the LC URL would be baked in, or if we could use the more general URL 13:14:15 ... but that's the timeline 13:14:29 ... so I wanted to see if we can have something usefully at LC by then? 13:14:42 krit: I think we should try to do it before then 13:15:16 heycam: there is a period for final comments for the MPEG group which finishes in about 1.5 days 13:15:30 ... I'll send in a few suggested wording tweaks including suggestions about the SVG reference 13:15:56 topic: Moving definition of getSVGDocument to HTML 13:16:27 ed: I think I got this from Simon Pieters and I think we should go ahead and let HTML define getSVGDocument 13:16:32 ... basically removing it from the SVG spec 13:16:56 heycam: so getSVGDocument was a function the Adobe player exposed on the and elements when they referenced an SVG document 13:17:07 ... as a way of getting to the SVG document DOM 13:17:12 ... since then contentDocument has been added 13:17:21 ... and people should use that, so getSVGDocument is a bit useless 13:17:41 ... getSVGDocument is defined to be the same thing as contentDocument but it isn't precise 13:18:00 ... it's probably easier to define in HTML where definitions about browsing contexts etc. are available 13:18:11 ed: I think contentDocument doesn't work for elements 13:18:17 heycam: does getSVGDocument work? 13:18:20 ed: yes, I believe so 13:18:53 heycam: somebody asked me again recently what was the status of this and whether it was ok for the HTML spec to add it and us to remove it 13:18:59 ... any objections? 13:19:04 ??: no 13:19:23 RESOLUTION: SVG2 will remove the definition of getSVGDocument and it will move to the HTML spec 13:19:44 topic: Geometry interfaces: Replace isIdentity? 13:19:51 http://dev.w3.org/fxtf/geometry/ 13:21:44 krit: we had some discussions about isIdentity and to have something more reliable like hasTransform which basically returns false if there are no transforms on the matrix 13:21:57 ... so it's more reliable because something that has not been transformed is definitely not identity 13:22:27 ... but at the end I think people thought it was more useful to have isIdentity even if might return false sometimes where it could return true 13:22:48 ... I think at the end we agreed on the behavior but I just wanted to tell the group about it 13:23:06 ... in the end isIdentity is used for optimizations so it just means the code might not run as optimally as it could 13:23:43 ... there are cases where you transform something and transform it back and you might end up returning false in that case 13:23:49 ... but hasTransform would also return false then 13:23:58 ... isIdentity would return true more often than hasTransform 13:24:14 heycam: so how is this different from what is currently defined? 13:24:17 krit: it's not 13:24:22 cabanier: hasTransform never made it into the spec 13:24:29 heycam: so it just checks for 0s and 1s? 13:24:34 krit: yes, the simple-minded way 13:25:40 topic: Geometry interfaces: various issues 13:25:53 http://lists.w3.org/Archives/Public/public-fx/2014AprJun/0164.html 13:25:59 krit: is2D is the next issue 13:26:16 ... after discussion we decided to make this track transformations 13:26:25 ... if you have transforms that are 3D it will return false 13:26:31 ... if all transforms are 2D it will return true 13:26:49 heycam: so it's a flag that once it becomes false it stays that way? 13:26:52 krit: right 13:27:05 ... this is something that Benoit preferred and I'm fine with it too 13:27:13 heycam: so it requires you to store extra state in the object 13:27:33 cabanier: but usually you just allocate a 2D matrix until a 3D transformation is made and then you swap it out 13:27:41 heycam: so you'd have some state there already 13:27:53 krit: I think that was the only open issue there 13:28:33 ... the use case came from when you have rotation points around the x-axis 13:28:56 ... if you swap to 3D and back for one frame that would be odd 13:29:23 heycam: in what cases do you expect authors to use it? 13:29:47 krit: it might be the result of some calculation that you need to check if you need to switch to 3D calculations or not 13:30:18 ... I definitely want people to view the spec and send objections to the list 13:30:50 krit: Geometry interfaces: replacee translateBy by translateSelf for better expressiveness? 13:30:58 topic: Geometry interfaces: replacee translateBy by translateSelf for better expressiveness? 13:31:21 krit: people found translateBy confusing, we think translateSelf is easier to understand 13:31:24 heycam: I agree 13:31:35 krit: the other suggestion was 'this' instead of 'self' 13:31:42 heycam: I'm not sure which I prefer 13:32:27 krit: another topic which may need agreement of WG was whether we should have 'invert' or 'invertSelf' 13:32:41 ... SVG has 'inverse' 13:32:52 ... but 'invertSelf' is more consistent with the other methods 13:33:06 heycam: what's the plan for aligning SVGMatrix and DOMMatrix? 13:33:14 ... does SVGMatrix inherit from DOMMatrix or alias it? 13:33:17 krit: alias it 13:33:29 heycam: in that case, will there still be an Inverse method for compatibility 13:33:42 ed: SVG's Inverse returns a new matrix I think 13:33:48 krit: yes 13:34:08 ... so any objections to adding 'invertSelf' 13:34:19 heycam: it seems bad to have 'invert' and 'inverse' 13:34:26 cabanier: it would be 'inverse' and 'invertSelf' 13:34:55 heycam: I though Dirk was suggesting we have 'invert' for consistency 13:35:19 krit: no, the question was do we want to rename 'invert' to 'invertSelf' 13:35:23 heycam: yes, definitely 13:35:42 ... do you think it's a silly idea to have 'invert' as well? 13:35:50 krit: why? 13:35:56 heycam: for completeness and matching the pattern 13:35:56 'inverse', 'invert', 'invertSelf' 13:36:04 where inverse means the same as invert 13:36:15 ... I would probably shy away from having all 3 but it's also tempting to have for completeness 13:36:30 krit: we keep inverse, that's for sure 13:36:46 ... would invert modify itself? 13:37:00 ... I'm not a fan of adding things for completeness 13:37:11 heycam: ok, we can add it later 13:37:15 cabanier: we can always add it later 13:37:44 heycam: the other matrix interfaces you want to have compatibility with, MSMatrix, WebkitMatrix etc., what do they have on them? 13:37:54 https://developer.apple.com/library/safari/documentation/AudioVideo/Reference/WebKitCSSMatrixClassReference/WebKitCSSMatrix/WebKitCSSMatrix.html 13:38:01 ... is it a goal to be compatible with them or just to have the same features 13:38:18 krit: it would be good to be compatible. Both have inverse, just like SVGMatrix 13:38:30 heycam: do they have the other methods that modify the same object? 13:38:40 krit: no, they only have the methods that return a new object 13:39:26 cabanier: WebKitCSSMatrix has setMatrixValue 13:39:58 krit: I didn't add it because it seems to be redundant 13:40:05 ... with the constructor that also takes a string 13:40:21 heycam: so you couldn't modify an existing object by giving it a value using a string 13:40:25 krit: yes, that's correct 13:40:32 ... if there's a need for that, we'll add it then 13:41:02 cabanier: you don't have any plans to alias WebKitCSSMatrix to DOMMatrix right? 13:41:08 krit: actually, yes I'd like to do that 13:41:25 ... but I'd still like to make setMatrixValue not part of DOMMatrix 13:41:33 ... not sure yet how I will do that, but somehow 13:42:05 cabanier: (checking github to see if anyone uses setMatrixValue) 13:43:22 krit: Rik mentioned that he would like to make isIdentity and is2D readonly attributes 13:43:28 ... it's just a cosmetic issue 13:43:51 ... I'd like to make them the same (i.e. both attributes or both methods) 13:43:59 ... I'm leaning towards methods 13:44:14 ... attributes seem to suggest something is stored whereas methods suggest checking something 13:44:26 ... it's not a hard-and-fast rule but that's how I understand it 13:44:30 ... what does the group think? 13:44:41 heycam: from my intuition I think attributes are right 13:44:50 ... I think it's fine to have attributes that reflect some state of the object 13:44:58 ed: I think I agree with Cameron 13:45:04 krit: ok, we'll change it to attributes 13:45:40 cabanier: I found some places where setMatrixValue are used 13:45:49 krit: should we add it then, or try to avoid it? 13:46:18 heycam: I think it would be handy to be able to assign with a string value 13:46:27 ... is it also on MSCSSMatrix 13:46:30 krit: yes 13:46:34 heycam: then I'd say go with that 13:46:47 krit: the last question, should the in-place transformations return the same object? 13:46:53 for instance: https://github.com/yui/yui3-gallery/blob/5b0e2d507be5916560aebae04f8a74d4211af402/src/gallery-node-transform2d/js/node-transform2d.js#L20 13:47:01 ... for example translateSelf, changes it in place 13:47:10 ... should it return the same object? 13:47:39 should the xxxSelf function return the object? 13:47:54 everything is void atm 13:47:55 so m.translateSelf(...).scaleSelf(...) 13:48:04 matrix.translateSelf() 13:48:09 matrix.scaleSelf() 13:48:15 matrix.translateSelf() 13:48:16 krit: the current return value of these is void 13:48:19 change this to 13:48:30 m.translateSelf(...).scaleSelf(…).translateSelf(...) 13:48:43 ... I would like to change it so it returns the object and you can chain like this ^ 13:48:51 birtles: why would you not do that? 13:49:27 heycam: I'm not sure I'm a fan of that kind of chaining style approach in general but I think it makes sense in this case 13:49:44 ... since I think you often want to do these operations in a row 13:50:13 birtles: promises use a lot of chaining 13:50:37 why would one not do m.stringSetter = "translate...scale ... translate" 13:51:08 ed: repeating "self" a lot is a bit redundant 13:51:28 krit: that's because we're dealing with the legacy of SVGMatrix which took the short names 13:52:03 heycam: you could change 'self' to 'me' :) 13:52:09 ... translateMe 13:52:24 krit: the benefit of 'me' is it's shorter (same as 'by') 13:52:30 heycam: I think 'self' is better 13:52:48 krit: I will make all these changes 13:52:54 ... I would like to have people review the spec 13:53:07 ... I'd like people to have a look after I've made the changes too 13:53:15 ... I will have it done today or so 13:53:34 ... I would like to ask for last call in the next week or the week after 13:53:39 -Tav 13:53:46 ... it depends if working group members want more time for review 13:53:54 ... just let me know by next week if you need more time or not 13:54:19 ... I'll send a mail to the WG and to www-style as well 13:54:21 +Tav 13:54:47 topic: F2F in London 13:54:53 heycam: I've booked a room for the F2F 13:55:27 ... I need to tell the office person a few weeks beforehand about numbers/dietary requirements so plenty of time still 13:55:34 ... Chris sent up a registration form for it 13:55:40 ... I'll look into hotels too 13:56:53 -ed 13:56:56 -heycam 13:56:57 -Tav 13:56:58 -krit 13:56:58 -cabanier 13:57:00 -birtles 13:57:00 -stakagi 13:57:00 GA_SVGWG()9:00AM has ended 13:57:00 Attendees were birtles, heycam, ed, stakagi, cabanier, [IPcaller], +1.415.832.aaaa, Tav, krit 13:57:10 /me birtles do you wear a headset? 13:58:40 s/by/me/ 13:58:47 my 13:58:59 apologies: Nikos 13:59:11 RRSAgent, make minutes 13:59:11 I have made the request to generate http://www.w3.org/2014/06/12-svg-minutes.html birtles 13:59:47 RRSAgent, do it now please 13:59:47 I'm logging. I don't understand 'do it now', birtles. Try /msg RRSAgent help 14:02:34 RRSAgent, I get a 404 for that URL 14:02:34 I'm logging. I don't understand 'I get a 404 for that URL', birtles. Try /msg RRSAgent help 14:03:37 RRSAgent, pointer 14:03:37 See http://www.w3.org/2014/06/12-svg-irc#T14-03-37 14:04:18 RRSAgent, please make minutes 14:04:18 I have made the request to generate http://www.w3.org/2014/06/12-svg-minutes.html birtles 14:07:31 Regrets: nikos 14:07:35 RRSAgent, please make minutes 14:07:35 I have made the request to generate http://www.w3.org/2014/06/12-svg-minutes.html birtles 15:27:47 Zakim has left #svg 15:45:13 glenn has joined #svg 17:39:16 thorton has joined #svg 17:41:32 thorton has joined #svg 17:41:43 thorton has joined #svg 19:21:46 shepazu has joined #svg 20:12:50 heycam|away: should Geomerty Interfaces add typedef DOMMatrix SVGMatrix; typedef DOMPoint SVGPoint and typedef DOMRect SVGRect; ? 23:41:20 jdaggett has joined #svg 23:46:52 krit, typedef will only make it so that we don't have to update our IDL in SVG 2 to refer to DOMMatrix etc. it won't do the actual aliasing, which we'll need to write in prose. 23:47:02 krit, probably not worth it -- I think we should update the types in SVG 2 instead