07:52:23 RRSAgent has joined #svg 07:52:23 logging to http://www.w3.org/2016/06/21-svg-irc 07:52:25 RRSAgent, make logs public 07:52:27 Zakim, this will be GA_SVGWG 07:52:27 ok, trackbot 07:52:28 Meeting: SVG Working Group Teleconference 07:52:28 Date: 21 June 2016 07:53:23 AmeliaBR has joined #svg 07:53:56 scribe: nikos 07:54:02 scribenick: nikos 07:54:11 Meeting: Amsterdam editors meeting 2016 Day 2 07:54:22 present+ nikos 07:54:25 present+ AmeliaBR 07:54:30 present+ Tav 07:54:35 chair: nikos 07:54:41 rrsagent, make minutes 07:54:41 I have made the request to generate http://www.w3.org/2016/06/21-svg-minutes.html nikos 07:56:59 Topic: Title and desc re-write 07:57:01 https://github.com/w3c/svgwg/pull/170 07:57:22 AmeliaBR: There's a list of the changes in the PR 07:57:45 nikos: Could you summarise the normative changes? 07:58:07 AmeliaBR: we had a 'should' about ua respecting svg mapping expose the text 07:58:15 ... I changed that to a must and clarified the wording 07:58:30 ... I added a new warning about do not add title or desc with empty or whitespace only 07:58:39 ... made that authors should not and authoring tools must not 07:58:58 ... I'm mostly worried about tools that ask for a title and accept an empty string 07:59:09 ... that would be a mess on the accessibility side because we treat it as important 07:59:14 ... and screenreaders will announce the object 07:59:25 ... if every shape is announced as a shape it'll drive people nuts 07:59:41 Tav: 07:59:48 Tav: would think that screenreaders would deal with that 07:59:54 AmeliaBR: we're trying to tackle it on both ends 08:00:04 Tav: I'm not against putting it there, just curious 08:00:49 AmeliaBR: I've also made tooltips or some other way of exposing title a user agent 'should' 08:01:04 ... I don't require tooltips but say titles should be available based on some sort of interaction 08:01:16 ... bit of an issue for tablets that dont have an easy hover 08:01:59 ... The rest of it is just rearranging and clarifying 08:02:18 ... This addresses most of the issues. 08:02:29 ... The remaining issue is content model and which should allow title and desc 08:02:52 Tav: should be pretty much everything 08:02:53 https://github.com/w3c/svgwg/issues/102#issuecomment-225045785 08:02:53 AmeliaBR: yes 08:03:03 nikos: We already resolved on this 08:03:16 AmeliaBR: I've got a comment in there that title and desc shouldn't have other title and desc 08:03:33 ... which is logical, but since we're ignoring markup and treating as plain text it might not actually break anything 08:04:23 nikos: It's probably a good idea anyway to not allow title and desc as child. If for some odd reason we change the content model tohandle markup differently 08:04:50 AmeliaBR: I have prose saying you can have title and desc on non rendering elements and noting they're not going to be available to accessibility tools 08:05:04 ... I haven't gone through the rest of the spec 08:06:21 RESOLUTION: Accept Amelia's PR with normative changes for title and desc 08:11:36 present+ stakagi 08:14:46 Topic: Tav's Note on pattern overflow 08:14:56 https://github.com/w3c/svgwg/pull/164/files 08:14:56 Good afternoon! 08:15:49 Konichiwa! 08:16:42 Tav: I changed the comment about overflow on pattern to be a note saying that UAs are encouraged to render the overflow 08:16:59 nikos: So at the moment implementations all clip, so you're asking them to change behaviour 08:17:08 Tav: We'll change our behaviour for sure 08:18:01 nikos: Do you really want to turn it on while browsers don't show the overflow? That will just cause annoyance users. 08:18:13 Tav: We'll manually do the repeats. It's something authors really want 08:20:19 AmeliaBR: I think it's ok to merge 08:21:01 nikos: I'm a bit uncomfortable saying this is undefined but you should do this 08:21:07 ... but I'm not going to make a big fuss about it 08:21:29 AmeliaBR: The z-index aspect is still undefined 08:21:44 Tav: I could add a description saying to to bottom, left to right 08:22:14 nikos: Ok so accept the PR and then you can add that directly into the spec 08:22:24 s/to to/top to/ 08:25:11 Topic: Nesting 08:25:21 Tav: not in SVG 2, but long term I'd like to have circle inside a rectangle 08:25:32 ... and percentages in the circle relate to the bounding box of the rectangle 08:25:40 AmeliaBR: it's something that confuses people coming from html to svg 08:25:54 ... you can do it now by defining a nested svg 08:26:00 nikos: That's pretty clunky though 08:26:15 Tav: I just want to make sure we're not doing anything with our content model that precludes us from doing this in future 08:26:24 AmeliaBR: we already say shapes won't render in that case 08:26:42 ... but we're not saying you can't put those elements there 08:27:06 ... we allow non rendering things like clip path as a child currently 08:27:21 Tav: what are the percentages for those relative to? 08:27:29 AmeliaBR: depends on what the bounding box is chosen as 08:27:41 ... it doesn't cause any problems 08:27:44 Tav: ok good 08:30:28 Amelia: I posted the improvement proposal on switch element. I would like you to review when you have time. 08:31:16 Topic: Width and height on use element 08:31:17 https://github.com/w3c/svgwg/issues/142 08:32:06 AmeliaBR: Previously only certain elements allowed width and height. There was a statement saying all attributes on the original element get reproduced on the use element. Some browsers were copying over attributes that weren't valid on the original element, some weren't. 08:32:34 AmeliaBR: All of this is complicated by the fact that width and height are presentation attributes and so should be able to be specified pretty much anywhere 08:34:30 http://wiki.inkscape.org/wiki/index.php/GTK%2B_3_migration 08:38:22 nikos: I think your suggestion of allowing x,y, width, and height on symbol makes sense 08:38:47 AmeliaBR: would result in no rendered difference between symbol and svg. The IDL is of course different 08:38:57 nikos: symbol can't have scrollbars while svg can 08:40:14 http://tavmjong.free.fr/SVG/VIEWPORT/viewport.svg 08:40:40 AmeliaBR: looks 'correct' in Edge 08:41:53 ... so correct is in terms of SVG 1.1 - ignoring the width and height 08:41:58 ... that's not the behaviour we're proposing 08:51:53 AmeliaBR: Even separate from symbols, if you have a symbol rectangle in percentage units 08:51:57 ... then you reuse it in a different svg 08:52:15 ... UAs convert percentages to absolute units in the source coordinate system and not in the used coordinate system 08:52:22 ... that doesn't match with the shadow dom model 08:52:30 ... assuming that width and height are regular css properties 08:54:16 s/symbol rectangle/simple rectangle/ 08:54:36 Tav: the main reason we want to break it right now is because we have width and height as presentation attributes 08:54:53 AmeliaBR: there's two things - turning geometric attributes to properties, so we want them to behave the same on every element 08:55:08 ... and define everything in terms of shadow dom so we can get consistent implementations 08:55:50 AmeliaBR: I don't see anywhere in SVG 1.1 where it explicitly says percentages are resolved against the original coordinate system 08:56:14 nikos: doesn't it say percentages are resolved against the parent viewport? 08:56:44 AmeliaBR: There's a lot of examples that show the visual effect is different from browser behaviour 08:56:54 https://www.w3.org/TR/SVG11/struct.html#UseElement 08:57:10 AmeliaBR: none of the examples explicitly use percentages 08:57:57 AmeliaBR: I can't use the same argument for the issue with x and y because SVG 1.1 is very clear about x and y being treated as a transform 08:58:55 ... Firefox changed x and y behaviour from what is logical to what is in the spec a couple of years ago and there were lots of questions on stackoverflow about why clip paths were broken 08:59:31 shanaijinnzaino 09:00:14 Tav: for width and height, we have InkScape, old Opera, and Edge doing it the way SVG 1.1 said it should be done 09:00:26 ... that is ignoring the width and height on the symbol 09:00:35 ... We have Firefox and Batik using the width 09:00:55 ... And then Chrome ignores width and height on the symbol, but not x and y on the symbol 09:01:36 nikos: Webkit is the same as Chrome 09:02:10 nikos: My proposal is that width and height are valid on symbol. Since that makes sense now they're properties. 09:02:21 AmeliaBR: I'm leaning toward having them behave the same everywhere 09:02:48 ... It wouldn't change any content created with InkScape since you're not putting those attributes on symbols 09:03:04 ... it would just change how you handle documents that are opened and parsed 09:04:30 nikos: We're spending too long on this, let's talk about it over lunch 09:04:51 Tav: I'd like some time to think about it some more, and I think we should talk to the wider group some more 09:05:02 AmeliaBR has joined #svg 09:05:08 AmeliaBR: I can work on something this afternoon that we can send out and get others to comment on 09:05:24 nikos: Can you do it as a PR? 09:05:27 AmeliaBR: yes 09:07:06 Topic: Break the new fill/stroke syntax into sub-properties 09:07:18 https://svgwg.org/svg2-draft/painting.html#SpecifyingPaint 09:08:28 AmeliaBR: Oh it's changed, we're not doing CSS images as a valid paint? 09:08:55 ... I don't remember when that was resolved. It's annoying because a lot of people were looking forward to referencing an image or a css gradient 09:08:57 ... but I'm ok with this 09:09:13 ... As long as we agree we'll do that eventually 09:09:51 https://github.com/w3c/svgwg/commit/2622cb24269fbd02178954ef243f63f693b2d89d 09:19:28 chaals has joined #svg 09:30:33 Topic: