20:31:21 RRSAgent has joined #svg 20:31:21 logging to http://www.w3.org/2014/01/09-svg-irc 20:31:23 RRSAgent, make logs public 20:31:23 Zakim has joined #svg 20:31:25 Zakim, this will be GA_SVGWG 20:31:25 ok, trackbot, I see GA_SVGWG(SVG1)3:30PM already started 20:31:26 Meeting: SVG Working Group Teleconference 20:31:26 Date: 09 January 2014 20:31:40 Zakim, who is on the phone? 20:31:41 On the phone I see Doug_Schepers, Thomas_Smailus, krit, [IPcaller] 20:31:50 Zakim, [ is me 20:31:50 +birtles; got it 20:32:35 +[IPcaller] 20:32:48 Zakim, [IP is me 20:32:48 +ed; got it 20:32:56 +[IPcaller] 20:32:58 Zakim, [ is me 20:32:58 +heycam; got it 20:33:03 +??P5 20:33:03 Agenda: http://lists.w3.org/Archives/Public/www-svg/2014Jan/0021.html 20:33:27 chair: ed 20:33:28 Zakim , ??P5 is me 20:33:59 Zakim, pick a scribe 20:33:59 Not knowing who is chairing or who scribed recently, I propose Thomas_Smailus 20:34:41 Zakim, who is on the phone? 20:34:41 On the phone I see Doug_Schepers, Thomas_Smailus, krit, birtles, ed, heycam, ??P5 20:35:18 Zakim, ??P5 is me 20:35:18 +stakagi; got it 20:35:34 Zakim, pick a scribe 20:35:34 Not knowing who is chairing or who scribed recently, I propose ed 20:35:49 Zakim, pick a scribe 20:35:49 Not knowing who is chairing or who scribed recently, I propose birtles 20:36:08 Chair: Erik 20:36:13 Scribe: Cameron 20:36:16 ScribeNick: heycam 20:36:43 Topic: Definition of rendered SVG elements 20:36:49 http://lists.w3.org/Archives/Public/www-svg/2013May/0000.html 20:37:51 birtles: this is a mail that was sent to the list last May which we didn't follow up 20:38:02 +??P7 20:38:13 Zakim, ??P7 is me 20:38:13 +nikos_; got it 20:38:20 https://svgwg.org/svg2-draft/struct.html#WAIARIAAttributes <-- "Rendered SVG attributes can have role attributes" 20:38:22 ... to summarise, according to our descriptions of the aria attributes, is says rendered elements can have aria:role attributes 20:38:52 ... the version of the spec that mail linked to said the same thing for aria attributes. but the recent version doesn't say that. 20:38:54 s/aria:role/role/ 20:39:08 ... the other issue that's related is in the table of attributes, there are lots of inconsistencies 20:39:14 this table https://svgwg.org/svg2-draft/attindex.html#RegularAttributes has lots of inconsistencies 20:39:34 ... it says animateColor can have the role attribute, hkern can but vkern can't 20:39:42 ... in definitions.xml, we haven't added the aria attribute groups to a lot of elements 20:40:05 ... the email suggests that we make anything that inherits from SVGGraphicsElement have aria attributes, with the possible exceptions of defs and view 20:40:23 HTML: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria 20:40:25 ... I've had a look at HTML, and it says that you can use role and aria attributes on html elements, it doesn't restrict it 20:40:29 +Tav 20:40:49 ... I wanted to ask people familiar with accessibility whether there is any reason to restrict the attributes 20:40:53 ... or if they should be allowed on all elements 20:41:23 ed: SVGGraphicsElement doesn't include the element, right? 20:41:30 heycam: I think it does 20:42:33 q+ 20:42:54 heycam: my first thought is that if html allows it everywhere, and there is more accessibility focus in html, we should assume that it's ok for now 20:42:57 to be clear, I wanted to make sure that you can use role on 20:43:01 shepazu: we should ask rich when he's around 20:43:09 ... I've heard people want to have aria attributes on animations 20:43:21 ... if there are meaning animations, people would want to know what's going on 20:43:29 ... what that actually means, not sure 20:43:40 Thomas_Smailus: that sounds like a good goal 20:44:25 shepazu: we do already allow aria attributes on SVG elements 20:44:26 s/Rendered SVG attributes/Rendered SVG elements/ 20:44:36 ... let's say a is animated, moving from left to right 20:44:51 ... there might be some aria way of describing the scene 20:45:12 ... it would be complex, it might be difficult to describe it in a meaningful way, but I have heard people say they'd like to see that 20:45:42 ... maybe we only allow it on rendered elements first, and extend it to animation elements later 20:45:49 birtles: I just don't know if there's any benefit to restrict it 20:46:02 ... maybe there are elements where it doesn't make much sense to put a role, but is there a need to restrict that? 20:46:33 shepazu: if you have a group that is in a , it's not a rendered element, but it's a graphics element 20:46:39 ... the element should allow role too 20:47:07 btw, here is an example of an SVG with roles and it uses them on s: https://static.mozilla.com/moco/en-US/images/mozilla_eoy_2013_EN.svg 20:47:08 heycam: it's not really clear what "rendered element" means 20:47:23 birtles: next step would be to get Rich's feedback 20:48:02 Topic: viewbox property 20:48:05 http://lists.w3.org/Archives/Public/www-svg/2013Dec/0093.html 20:48:13 q+ 20:48:32 I posted a summary: http://lists.w3.org/Archives/Public/www-svg/2014Jan/0023.html 20:48:48 birtles: I posted a summary yesterday of the feedback, 24hrs ago, since then a number of other bits of feedback have come in 20:48:57 ... I was going to go through each of these issues and see if there is further input 20:49:08 ... Doug I'll want your input in particular, as there are a lot of questions about the auto sizing 20:49:12 -nikos_ 20:49:14 ... to summarise the feature, there are two things 20:49:25 ... first, promoting viewBox to a property, and second adding an auto sizing keyword 20:49:37 +??P7 20:49:38 ... first issue is the name 20:49:43 Zakim, ??P7 is me 20:49:43 +nikos_; got it 20:49:53 ... I gave two options, "viewbox" or "view-box"; don't know if anyone here has any suggestions 20:50:12 ... I lean towards no dash, but the tricky bit is if you have SVG in standalone documents you need to use the capital B 20:50:31 heycam: have you asked CSS people about the name/ 20:50:38 birtles: had Tab's input, he didn't seem to mind without the dash 20:50:54 jdaggett has joined #svg 20:50:55 ... Daniel Holbert said one thing to be aware of is that if you don't have a dash, then the property in the CSSOM will have a lowercase b 20:51:04 ... that's the only input from CSS people 20:51:06 http://www.w3.org/TR/2012/REC-media-frags-20120925/ 20:51:21 shepazu: I've been thinking recently that maybe we should be integrating things from media fragments 20:51:30 ... wondering if we should consider using syntax from media fragments 20:51:48 ... they don't use "viewbox", they use "xywh" 20:51:52 "xywh=160,120,320,240 " 20:52:08 ... in that way, it's also passed as a parameter in a url 20:52:24 ... I wonder if there's any value in consistency in syntax between the URL syntax and the property 20:52:57 ... we could also consider the other media fragment syntaxes -- time for example, and relate them to our animations 20:53:09 birtles: you're suggesting that is the name of the property? 20:53:17 shepazu: which could then be overridding by the value in the URL fragment 20:53:39 birtles: I'd like to see a bit more of the detail, can't quite see how it fits together 20:53:47 shepazu: let's imagine the CSS property is called "xywh" 20:54:16 ... it takes the same syntax as xywh in Media Fragments 20:54:23 ... that would be your default 20:54:42 ... if somebody gave a media fragment with xywh, we'd define it so that it overrides the value from the document 20:55:06 ... the syntax of the value is the same, it's four numbers 20:55:32 birtles: if you specify the viewBox attribute and xywh... 20:55:47 shepazu: the idea that you could override the viewport with the Media Fragment, we could do that even if we did name it viewbox 20:56:08 ... we don't have to have the same name. I just think the symmetry/consistency would be nice. 20:56:30 Thomas_Smailus: is the intent that inside the document the Media Fragment would then take up the whole viewbox? 20:56:45 shepazu: that section of the SVG takes up the whole viewbox, it's the same thing 20:57:03 birtles: so it just sets the viewbox 20:57:28 ... so do we name it to match the media fragment name or to match the viewBox attribute 20:58:20 ed: you don't think it would be confusing with width and height attributes? 20:58:25 ... and x and y? 20:58:47 20:59:09 ... I would probably find that more confusing than viewbox 20:59:23 shepazu: I don't think one is necessarily clearer, given a particular audience 21:00:50 krit: there's not necessarily a win from the xywh name 21:01:32 shepazu: if I did xywh on a video, it would show me the viewbox of that video. I'd like there to be some consistency with other kinds of media and SVG. 21:01:37 ... doesn't mean we have to name it xywh 21:02:03 krit: the thing I think is confusing is that SVG still do have media fragments on the outside 21:02:13 ... but it wouldn't mean exactly the same thing as xywh on the element 21:02:19 ... the media query one is like a clipping region 21:02:28 ... the xywh/viewbox on the is some kind of a transform 21:02:33 ... with translation and scaling 21:02:42 s/query/fragment/ 21:03:36 shepazu: let me do some more research and I'll come back to you about that 21:04:06 http://www.w3.org/TR/2012/REC-media-frags-20120925/#naming-space 21:04:19 shepazu: the interesting things in there is that you can pass in parameters and you can pass in units 21:04:21 ... px, or % 21:04:26 ... which is not something we can do with viewbox 21:04:32 ... maybe we shouldn't, I don't know 21:04:47 ... but I found it interesting that you can pass in different units 21:05:10 ... maybe this is orthogonal, perhaps we allow both viewbox and xywh as properties 21:05:58 birtles: I don't know if it's possible to have media fragments add viewbox as an alias.... 21:06:09 shepazu: media fragments is not widely deployed 21:06:50 ... I want there to be some relationship between media fragments and what we do with viewbox 21:07:13 birtles: I'm concerned about the syntax thing, so if we're defining a property we shouldn't use "percentage:..." 21:07:57 birtles: so assuming we don't make an xywh property name, any other input we have about viewbox vs view-box? 21:08:06 shepazu: without the dash 21:08:21 birtles: I don't know anything about how this mapping works 21:08:25 +cabanier 21:08:35 ... is it feasible about adding an exception to standalone SVG so that it can parse viewbox with a lowercase b? 21:09:04 shepazu: I feel that we should define a "viewbox" attribute with a lowercase b, and just say it's an alias or whatever we need to say to allow that 21:09:37 heycam: it's always possible to just add another "viewbox" lowercase-b attribute 21:09:49 Thomas_Smailus: what's the motivation? 21:09:52 shepazu: it's a super common typo 21:10:40 Thomas_Smailus: is camel case common? 21:11:23 shepazu: common but inconsistent 21:11:58 Thomas_Smailus: if reinventing from the ground up, I'd make it all consistently camel case or lowercase 21:12:15 krit: atm SVG is based on XML, but for something based on HTML it wouldn't matter 21:13:04 shepazu: I think we should have both attributes 21:13:09 Tav: I'm a bit worried about that 21:13:19 ... if we allow it there we might need to allow it everywhere 21:13:23 ... it's a bit of a floodgate 21:13:51 ... there is code that assumes presentation attribute names match the property 21:13:57 shepazu: you could change the code pretty easily 21:14:50 Tav: I was in the opposite direction. the basic thing is to put the document through the validator. 21:15:26 shepazu: SVG in HTML, when you encounter it treats it like 21:16:26 shepazu: viewbox is the one attribute I've heard people have problems with 21:16:34 Tav: so that attribute's the exception? 21:16:37 shepazu: yes, for now 21:17:06 ... in the future if we wanted to allow lowercase attribute names we'd solve that in a different way 21:17:42 birtles: the other issues are less significant 21:17:51 ... there's been a bit of feedback about the auto sizing behaviour 21:17:58 ... and concern about using the stroked bounding box 21:18:06 ... if you have an animated dash pattern, it's constantly changing 21:18:12 ... I haven't gone through all the feedback yet 21:18:38 ... I want to check that that property value is worthwhile having, given the issues surrounding it 21:18:48 shepazu: I'd have to read the feedback 21:19:01 ... if it's implementors whinging about a bit of extra code... 21:19:12 birtles: some of that an author feedback 21:19:16 s/an/and/ 21:19:24 ... let's leave that to the list then, follow up there 21:20:10 Topic: Intrinsic sizing problems 21:20:30 birtles: I don't know if we can get through this in 10 minutes 21:20:35 ... I prepared a summary 21:20:46 ... a lot of tools write out SVG with an absolute width/height 21:20:53 ... then documents don't resize as authors often want 21:21:00 ... this came up in the context of the viewbox property 21:21:24 ... someone thought it would be confusing to say viewbox:auto and then you wouldn't have this responsive behaviour because the authoring tool set width/height on the root 21:22:12 ... in terms of the sizing/aspect ratio of the SVG, as soon as you specify absolute values for width/height, that determines the intrinsic size/aspect ratio 21:22:25 ... otherwise the viewbox does 21:22:27 here is the mail: http://lists.w3.org/Archives/Public/www-svg/2013Dec/0093.html 21:22:28 ... that's the current behaviour 21:22:54 .my-hardcoded-svg { 21:22:54 width: auto !important; 21:22:54 height: auto !important; 21:22:54 viewbox: auto; 21:22:54 } 21:22:55 ... Alex suggests a way to override it using an !important rule 21:23:02 ^ That is the proposed syntax 21:23:36 ... there is also the proposal to promote preserveAspectRatio to a property, so that you can override what the authoring tool output 21:23:45 ... there's also object-fit 21:24:12 my follow up mail: http://lists.w3.org/Archives/Public/www-svg/2014Jan/0024.html 21:24:13 heycam: I thought we had decided to use object-fit as our preserveAspectRatio-like property 21:24:22 birtles: it seems to work at a different level 21:24:30 ... object-fit sets the aspect ratio, then it determines a concrete object size 21:24:34 ... that's given to SVG as a viewport 21:24:42 ... then we use pAR to fit in to that viewport 21:24:55 ... I guess you could specify object-fit in two places? 21:25:01 ... when you're sizing an SVG image into an HTML element 21:25:26 ... if we were to make the property for pAR be object-fit, you'd need to specify it both on the and on the root of the 21:26:07 birtles: I'll follow up on the list; the one thing to come out of it is that interop is still not very good 21:26:20 ... Alex had suggested that we have a concrete algorithm for calcaulting the viewport 21:26:37 ... not sure if that's the answer, or if we need new tests, but his point is right that interop isn't great 21:26:42 ... especially with replaced content 21:27:10 ... no action to come out of this, but I'll follow up with Alex 21:28:41 ed: might be good to have the summary on the wiki somewhere? 21:28:52 ... I'm finding it hard to follow the threads and get a clear view of what's going on 21:29:06 -Tav 21:29:08 Tav: also a few demonstrations 21:29:17 ACTION: Brian to summarise sizing issues on the wiki 21:29:18 Created ACTION-3556 - Summarise sizing issues on the wiki [on Brian Birtles - due 2014-01-16]. 21:29:27 My connection just timed out... 21:29:46 birtles: I won't promise to add any examples there, don't have time to do that, but I'll at least summarise the discussion 21:30:19 Zakim, end telcon 21:30:19 I don't understand 'end telcon', ed 21:30:34 trackbot, end telcon 21:30:34 Zakim, list attendees 21:30:34 As of this point the attendees have been Doug_Schepers, Thomas_Smailus, krit, [IPcaller], birtles, ed, heycam, stakagi, nikos_, Tav, cabanier 21:30:42 RRSAgent, please draft minutes 21:30:42 I have made the request to generate http://www.w3.org/2014/01/09-svg-minutes.html trackbot 21:30:43 RRSAgent, bye 21:30:43 I see 1 open action item saved in http://www.w3.org/2014/01/09-svg-actions.rdf : 21:30:43 ACTION: Brian to summarise sizing issues on the wiki [1] 21:30:43 recorded in http://www.w3.org/2014/01/09-svg-irc#T21-29-17