07:16:25 RRSAgent has joined #svg 07:16:25 logging to http://www.w3.org/2014/04/07-svg-irc 07:16:27 RRSAgent, make logs public 07:16:27 Zakim has joined #svg 07:16:29 Zakim, this will be GA_SVGWG 07:16:29 I do not see a conference matching that name scheduled within the next hour, trackbot 07:16:30 Meeting: SVG Working Group Teleconference 07:16:30 Date: 07 April 2014 07:16:49 zakim, remind us in 8 hours to go home 07:16:49 ok, ChrisL 07:18:57 interesting font demo http://www.babelstone.co.uk/Fonts/ThrorsMap.html 07:24:06 http://libregraphicsmeeting.org/2014/program/ 07:26:14 davvel has joined #svg 07:27:11 Chair: Cameron 07:27:22 Agenda: https://www.w3.org/Graphics/SVG/WG/wiki/F2F/Leipzig_2014/Agenda 07:30:53 Tav has joined #svg 07:31:06 Scribenick: birtles 07:31:13 Scribe: birtles 07:31:31 Topic: Charter 07:31:38 http://www.w3.org/Graphics/SVG/2012/charter 07:31:41 ChrisL: our charter has expired just recently 07:31:48 ... that's not a problem 07:32:04 ... it was pointed out that it was expiring 07:32:11 ... but there seemed to be no concern 07:32:21 ... I suggest we ask for the same charter as the current but with minor updates 07:32:34 ... if we've added/dropped specs, changed WG liaisons 07:32:44 ... we need update that 07:32:50 ... I suggest we drop liaison from XML Core 07:33:01 ... they're not developing any new features, at least none we care about 07:33:07 ... we might want to add some new liaisons 07:33:14 ... now sure about Oasis, not sure if we're doing anything there 07:33:23 ... we've got EPUB but we might want to add the interest group 07:33:34 ... there seems to be a lot of activity there at the moment 07:33:40 ... we should get requirements from them 07:33:50 ... they are mostly feeding into CSS but they might have some for us 07:33:57 ... most of the other groups are still going 07:34:07 ... we have ICC but I wonder if we should have OpenICC too 07:34:12 satakagi has joined #svg 07:34:22 ... it's an organisation but not as formal as ICC 07:34:34 ... we have MPEG listed (for SVG-in-OpenType) 07:34:48 ... but the rest looks ok but we can drop the Hypertext Coordination group 07:35:02 heycam: not sure about the P&F WG 07:35:09 ChrisL: we should keep that liasion 07:35:16 s/not sure about/what about/ 07:35:29 ... the work on accessibility in happenning in the SVG WG 07:35:56 krit: our charter is not compatible with the PF WG 07:36:05 ... the work should go on there, our goals are not aligned 07:36:11 heycam: we discussed that recently in the telcon 07:36:21 ... and said it doesn't really matter where it happens 07:36:40 ... but some on the mailing list said that it would be better if those specs where published by bother groups 07:36:45 ... like we do for FXTF 07:36:48 ... for patent coverage 07:36:55 stakagi has joined #svg 07:38:12 heycam: the proposal was for there to be a join TF but the documents would be published under the PF WG 07:38:18 ChrisL: what was the reason? 07:38:27 heycam: for simplicity and since that item isn't under our current charter 07:38:32 ... but given we're rechartering... 07:38:40 ChrisL: we do have an item like that under our charter 07:38:43 krit: yes 07:38:59 ChrisL: there has been other work on accessibility that is going into the SVG spec itself 07:39:04 ... what do they want? another note? 07:39:22 ... does their document add new features? 07:39:42 heycam: I think the primary purpose is to describe the mapping of SVG features when you don't use aria-role 07:39:47 ... in HTML they have a table for that 07:39:51 ... I think they want that for SVG 07:40:00 ChrisL: why don't we just add it to SVG? 07:40:07 krit: for HTML I think it's a separate spec 07:40:13 cabanier: I think they have both 07:40:19 krit: there is some separate document 07:40:44 ChrisL: if they want to write a non-normative document with guidelines that's fine 07:40:53 ... I'm concerned about them changing SVG 07:40:59 heycam: I think it would be normative text 07:41:12 krit: I would be concerned if we need to join PF WG just to work on this doc 07:41:24 heycam: if there's a TF there should be public mailing list 07:41:36 ChrisL: it should be a public mailing list 07:42:33 heycam: so should we go back and add this to our charter since we're rechartering? 07:42:41 ChrisL: I think that sounds good 07:42:54 ... what's the title of the document 07:43:05 heycam: SVG2 Accessibility User Agent Implementation Guide 07:43:46 ... there is a stub document 07:43:58 https://github.com/SVG-access-W3CG/new-note-draft/blob/master/svgaccess.html 07:44:41 ACTION: ChrisL to update the charter 07:44:42 Created ACTION-3601 - Update the charter [on Chris Lilley - due 2014-04-14]. 07:44:56 ACTION: ChrisL to talk to Michael Cooper about UAG 07:44:56 deliverables www.w3.org/Graphics/SVG/2012/charter 07:44:56 Created ACTION-3602 - Talk to michael cooper about uag [on Chris Lilley - due 2014-04-14]. 07:45:10 ChrisL: here's a link to the previous charter's deliverables 07:45:14 ... it listed SVG2 07:45:22 ... what about SVG Parameters 07:45:30 ... has that gone away since CSS variables came about? 07:45:45 heycam: SVG parameters can do slightly more but I'm not sure there's enough push to do SVG parameters as well 07:45:54 ... can be have a section on things we might work on 07:46:04 ChrisL: yes, we can have "will work on if time" specs 07:46:14 ... SVG integration: we still haven't published that 07:46:23 ... there has been discussion of that recently 07:46:43 krit: I don't think it has sufficient security support to publish a FPWD yet 07:46:52 ... we need to fix the issues first then we should publish it 07:46:56 heycam: so it should stay in the list 07:47:48 ChrisL: for color management we will keep it in SVG2 for now since the separate spec hasn't been taken up by CSSWG yet 07:48:41 ... join work recommendations... 07:49:18 ... what about css animations and web animations, does one replace the other or do both get published in parallel? 07:49:25 krit: yes, both in parallel 07:49:32 ChrisL: then we should add web animations here 07:49:57 nikos: we should update the links to the compositing spec 07:50:05 http://www.w3.org/TR/compositing-1/ 07:50:54 birtles: we should also probably add animation elements: https://svgwg.org/specs/animation-elements/ 07:51:03 ... it's paused at the moment 07:51:20 ... but we decided it should go under the SVGWG 07:51:53 ChrisL: tiling and layering, did that get added to SVG2? 07:52:02 heycam: part of it has, like the iframe stuff 07:52:16 ... the media query stuff has been shunted off to the CSS working group 07:52:34 stakagi: the zooming module is yet to be added 07:52:42 heycam: I think that is covered by the media query work 07:52:51 ... is there anything else? 07:52:56 stakagi: that's all 07:53:06 heycam: so there's no separate document for tiling and layering since it is all in other specs? 07:53:34 stakagi: not at this stage 07:54:06 heycam: do we need to say where previous items have ended up? 07:54:14 ChrisL: that can be in a separate document linked to from the charter 07:54:18 ... how about vector effects? 07:54:26 ... nothing has happened in the last two years 07:54:35 ... are implementors interested in it? 07:55:29 pdr: what about the non-scaling stroke discussion 07:56:10 ChrisL: we currently have that as the only vector effect, less interest from browsers in doing the full flexible syntax 07:57:00 krit: I don't think it's going to happen in the near future 07:57:13 ... the current priorities are performance and interoperability 07:58:01 (discussing the element-based syntax for vector effects from SVG 1.2 full) 07:58:11 ed: there is a standalone spec for this too 07:58:22 http://dev.w3.org/SVG/modules/vectoreffects/master/SVGVectorEffects.html 07:58:44 ChrisL: there are a number of new elements similar to fe but ve 07:59:01 krit: but many of these things can be done with vector-effects/paint-order 07:59:12 ChrisL: we seem to be carving off canned effects and putting those in directly 07:59:16 ... which is better than nothing 07:59:27 krit: we have currentFill etc. are now in SVG2 right? 07:59:30 heycam: yes 07:59:37 ChrisL: so should we just drop this for now? 07:59:44 heycam: my preference it to keep pushing forward with canned effects 07:59:53 ... since it's easier to handle from an implementation point of view 08:00:10 ... the element syntax feels heavy weight and I think has held back filter effects adoption 08:00:15 krit: I agree, the elements worry me 08:00:33 ChrisL: is it easier to implement... 08:00:52 heycam: it's easier to implement both because the set of features covered is smaller but also you don't have to track changes to all these different elements 08:01:33 ed: so the path reversal is in Path2D? 08:01:45 ... I think having a javascript API for this is useful I think 08:01:52 krit: does that need to be native though? 08:02:37 Tav: it would be good to be able to share path edges in a declarative way 08:02:55 ... the other thing we most often get asked for is offsetting the stroke 08:03:09 heycam: last time we discussed path referencing was at TPAC last year 08:03:18 ... and Cyril had a proposal for a piece command using an ID reference 08:03:25 nikos: that didn't actually give you shared edges 08:03:44 ... it let you re-use path edges but it didn't actually share them 08:04:04 ChrisL: so let's remove vector effects as a separate work item 08:04:41 ... rename SVG accessbility item to the SVG2 User Agent Implementation Guide 08:04:46 ... about graphics API? 08:05:25 heycam: I think that was Doug's idea of an API like canvas that could either produce immediate canvas or declarative graphics 08:05:34 ChrisL: that's clearing not happenning so let's drop it 08:05:37 ... connectors? 08:05:52 Tav: I worked on it a little bit 08:05:59 ChrisL: should we keep it around? 08:06:02 Tav: yes, I'd like to 08:06:08 ChrisL: layout (new)? 08:06:27 heycam: I wrote up the requirements but I haven't had a chance yet... might do in the next 2 years though, I'd like to keep it 08:06:36 ChrisL: SVG Glyphs for OpenType Font 08:06:54 ... the group has formed and passed its work onto the ISO group and then shut down 08:07:05 ... so we should just keep it as a liaison 08:08:41 ... so remove SVG Glyphs for OpenType Font line item 08:08:47 ... pagination and slides? 08:08:59 heycam: that was part of the SVG print spec? 08:09:11 ChrisL: I saw something about that in the Inkscape meeting 08:09:22 Tav: I had a number of people asking about multi-page SVG 08:09:26 ... there's demand for it 08:09:52 ... I did my presentation with JessyInk which splits up the graphic into slides 08:11:39 ChrisL: there is clearly a need for it 08:12:00 Tav: I might work on it 08:12:16 http://dev.w3.org/SVG/modules/mae/master/MediaAccessEvents.html 08:12:18 heycam: if someone might work on it, we should keep it 08:12:28 ChrisL: media access events 08:12:32 ... none of the editors are in the WG 08:12:40 ... the spec hasn't been updated for 6 years 08:12:50 ... it appears to be totally different to what's happenning in the WebApps WG 08:12:55 ... we should drop it 08:13:12 heycam: should we publish as a note? 08:13:24 ChrisL: yes, publish as a note and drop 08:14:37 ACTION: Cameron to publish media access events as a note 08:14:38 Created ACTION-3603 - Publish media access events as a note [on Cameron McCormack - due 2014-04-14]. 08:14:47 ChrisL: we have Japanese text layout requirements 08:14:54 ... that is now published and is finished 08:15:04 ... I don't think it needs to be on the charter now since it's done 08:15:32 ... since there are now other requirements docs that are coming out (Latin text - EPUB, Indic etc.) 08:15:56 ... I think it's difficult to get all the requirements 08:16:04 ... but we're not involved in these 08:16:19 heycam: are these mostly to do with text or do they involve graphics too? 08:16:28 ChrisL: it's mostly text 08:17:14 ... anything else to add? 08:17:21 heycam: what about the maintenance ones? 08:17:27 ... should they continue to be there? 08:17:31 ChrisL: yes, they will 08:17:41 heycam: can we remove the completed ones? 08:17:50 ChrisL: we should keep them since we might need to publish updated versions 08:18:07 ... any other documents to add? 08:18:12 krit: what about the geometry API? 08:18:33 ... Rik, someone from Opera, and I are working on another API 08:18:45 ... it hasn't been published as a WD yet 08:18:48 s/someone from Opera/Simon Pieters from Opera/ 08:18:52 ... it's an FXTF spec 08:19:01 Geometry interfaces module: http://dev.w3.org/fxtf/geometry/Overview.html 08:19:05 heycam: in the decision policy section in the charter 08:19:18 ... we talked about asynchronous decision making recently 08:19:28 ChrisL: I have wording prepared for that 08:19:43 ... would that be suitable? 08:19:46 heycam: sounds good 08:20:15 ChrisL: there's a roadmap page on the wiki 08:20:52 ChrisLilley has joined #svg 08:20:54 https://www.w3.org/Graphics/SVG/WG/wiki/Roadmap 08:24:03 ChrisL: we need to, as a group, keep it up to date 08:24:11 ChrisL has joined #svg 08:25:04 Topic: ISSUE-2364: SVG2 has not yet defined whether a root element can act as a proximal event target 08:25:30 ed: the question is "should the SVG root be a target for pointer events" 08:25:33 ... we never defined it 08:25:44 ... we purposely made it undefined in 1.1 08:25:57 ... we said "we should define it properly in SVG2" 08:26:11 ... (it relates to whether you can click the viewport) 08:26:18 https://svgwg.org/svg2-draft/interact.html#PointerEventsProp 08:26:41 https://svgwg.org/svg2-draft/interact.html#hit-testing 08:26:46 ... actually section 17.5.1 ^ 08:26:48 ... last paragraph 08:27:12 "This specification does not define the behavior of pointer events on the rootmost ‘svg’ element for SVG images which are embedded by reference or inclusion within another document, e.g., whether the rootmost ‘svg’ element embedded in an HTML document intercepts mouse click events; future specifications may define this behavior, but for the purpose 08:27:12 of this specification, the behavior is implementation-specific." 08:27:19 ... this wording is from the 1.1 spec 08:27:47 krit: is SVG image something you embed in the HTML document? 08:28:12 heycam: for the whole rectangle it needs to capture clicks on the whole rectangle 08:28:19 ed: this is about inline sVG 08:28:39 ChrisL: clearly the wording here is confusing 08:28:48 heycam: we should define both scenarios anyway 08:29:08 iframe? 08:29:54 ed: we need to define the behavior for all scenarios 08:30:10 krit: should this definition go into SVG2 or is it fine to have in the SVG2 integration spec? 08:30:24 heycam: some stuff still should go in SVG2 such as standalone SVG documents 08:32:02 ... the other cases (inline, reference by image, iframe etc.) should probably be covered in the SVG integration spec 08:32:25 ... what do implementations do at the moment for top-level document? 08:32:41 ed: I think it differs... I think you can use pointer-events but the default setting is different 08:32:52 ... I've mostly tested inline 08:33:44 ACTION: Erik to prepare spec text for pointer-events on root SVG elements for SVG2 and SVG Integration spec and make edits 08:33:44 Created ACTION-3604 - Prepare spec text for pointer-events on root svg elements for svg2 and svg integration spec and make edits [on Erik Dahlström - due 2014-04-14]. 08:33:58 ed: do we need to introduce new keyword values? 08:34:06 ... bounding box is probably not the right word 08:34:08 heycam: probably 08:34:57 ... would it be safe to have pointer-events on the root SVG element catch events by default? 08:35:11 ed: it's currently not defined 08:35:21 krit: It might already work like that 08:35:29 ed: we need spec text anyway 08:35:53 ... if I find we need a new keyword I'll propose one but I think it's preferable if we don't 08:36:22 heycam: looks like it already does that in Firefox and Chrome 08:36:25 krit: and webkit 08:36:32 ed: so we just need to define that 08:36:39 (break) 08:45:08 topic: SVG Sizing 08:46:56 presentation https://docs.google.com/presentation/d/1POUiroOBbLmXYlQKf0pIR8zVkHWH9jRVN-w8A4aNsIk/ 08:48:44 davvel (David Vest): I prepared some slides to introduce the problem 08:48:59 ... it's about integration of SVG/CSS, how to compute the viewport size 08:49:06 ... both the inline case and the external case 08:49:14 (goes through the slides) 08:49:50 ... case 1: SVG has no fixed width/height, but has a fixed size container 08:50:32 ChrisL: I understand what Firefox does, but not why the other browsers using the containing block 08:50:54 davvel: I think it's because the default width/height of the SVG is 100% 08:51:09 ChrisL: so they're assuming the percentages are CSS percentages when the spec says they're not 08:51:33 davvel: Case 2: width only with viewbox 08:51:53 ... (i.e. intrinsic ratio) 08:52:28 ChrisL: I think Firefox is doing what the spec says 08:52:34 pdr: the specs are inconsistent here 08:52:59 ... there's no correct solution since there are several contradictory specs 08:54:05 davvel: Case 3: external reference, intrinsic ratio, specified height 08:54:14 heycam: did you test with iframe (test case uses object)? 08:54:18 ... it might differ 08:54:34 davvel: I did test with iframe and yes, the behavior was different but I think it should not be 08:54:55 ... the results here are totally different 08:55:44 ... I've been using the CSS replaced element algorithm as the starting point and SVG and providing input to this algorithm 08:56:45 (goes through slides about intrinsic size, ratio etc.) 08:57:18 pdr: how do browsers calculate the intrinsic ratio? using the viewBox as you say? 08:57:25 davvel: mostly, IE sometimes doesn't always 08:58:56 s/sometimes doesn't always/sometimes doesn't/ 09:00:12 (discussion about the Web compatibility of percentage width/height and why these percentages were defined to be different to CSS percenatges) 09:05:30 Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=668163 09:06:54 pdr: I think this proposal is based on the assumption that NOT mapping SVG width/height to CSS properties is not web-compatible 09:07:00 ... and I'm not sure if that's still the case 09:09:22 ChrisL: there was also a push to map more attributes to properties for animation purposes 09:10:12 davvel: it would be good if we don't have to map width/height to properties 09:10:46 (continuing with presentation) 09:14:22 krit: with your proposal, the SVG inline case is the same as the SVG image case 09:14:40 heycam: what of the comments Jonathan Watt made was, "does that really make sense"? 09:15:04 ... for externally referenced files is it sensible to say "this document should take up such-and-such a percentage of where it is embedded" 09:15:14 ... since you might embed it in different places 09:15:31 ... I think this proposal makes it eaiser for authors to understand what's going on 09:15:41 ... but I'm not sure it makes sense 09:16:27 davvel: in the Webkit/Blink test suite if you have a percentage on an externally referenced SVG it uses it twice 09:16:36 ... IE does it too 09:16:49 krit: I like that this proposal lets you choose between the different behaviors 09:17:18 ChrisL: also auto is a new value so there shouldn't be a compatibility issue 09:17:33 pdr: I think auto is somewhat confusing but if this gets us consistent behavior I'm in favour 09:18:19 ... I actually support the presentation mapping. I *didn't* agree with your reasoning for it, but I support the mapping 09:20:37 (discussion about the original problem case) 09:21:07 heycam: I think in this case the author doesn't want the image to fill up the whole containing block, they should have to mark that up specifically 09:21:23 pdr: do you think they wanted 350px150px in that case? 09:21:35 heycam: no, I think they didn't say what they wanted 09:21:52 davvel: but in that case an iframe would be 350px150px 09:21:59 heycam: and it would be good to be consistent with that 09:22:08 s/350px150px/300x150 px/ 09:22:31 ... there are no other cases where without an explicit indication the content fills up the whole containing block 09:23:29 pdr: there seems to be consensus that davvel's proposal seems good 09:24:05 birtles: I find the mapping of width/height to be helpful from a authoring point of view 09:24:27 ChrisL: I want SVG to be scalable by default 09:24:47 pdr: so this proposal is different is that by default it would fit to 350px x x150px 09:25:15 s/is that/in that/ 09:26:27 krit: I think the behavior is not always great for the user but the consistency is important 09:26:45 pdr: what changes are required for this to happen? any changes to CSS? 09:26:52 davvel: no 09:27:40 ed: what about the changes to CSS 2.1 where it is currently suggestion but should be a requirement? 09:28:32 (currently the used value of width in 10.3.2 is undefined and then subsequently defined) 09:29:01 ChrisL: I'd like to run it by Tab since I've heard him talk about this before 09:29:36 davvel has joined #svg 09:29:51 ACTION: ChrisL (or pdr) to get Tab's feedback on davvel's SVG sizing proposal 09:29:51 Created ACTION-3605 - (or pdr) to get tab's feedback on davvel's svg sizing proposal [on Chris Lilley - due 2014-04-14]. 09:33:39 heycam: if percentages can be resolved to something, can they give you the intrinsic size of the SVG? 09:33:46 davvel: no, that's what we want to get rid of 09:34:17 heycam: can percentages in an external document be sensibly used when you don't know where it will be embedded? 09:35:22 ... it might not always make sense, but I think it's preferable to be consistent 09:35:34 ... I don't think there's any other reasonable thing to make those percentages mean 09:36:42 ChrisL: if you want to make some SVG is scalable, then you put a viewbox and you either say nothing for width/height or use width:auto;height:auto 09:36:48 davvel: that's right 09:37:09 ... for the width it will go as big as it can 09:37:15 ... and for the height it will use the intrinsic ratio to calculate it 09:37:52 ChrisL: if you want to make something a fixed size then you simple say width:3.5in etc. and it will work as expected 09:37:55 davvel: right 09:38:18 ChrisL: they are the only use cases that matter 09:38:28 ... percentages other than 100% never made sense 09:40:12 ... the third use case is to make stuff which does not preserve its aspect ratio (e.g. backgrounds) 09:41:56 (discussion how this is possible with preserveAspectRatio and 100% width/height etc.) 09:42:03 ChrisL: we need a test suite with all the permutations 09:42:15 davvel: I already have that 09:42:47 birtles: are they in a format we can automate? 09:43:02 davvel: I've used the web platform system for tests 09:43:51 ChrisL: are you familiar with the CSS system (Shepherd etc.)? It's pretty neat 09:44:30 ... I've spoken to Peter Linss about this to do one-off conversions so that the database of properties includes SVG properties 09:44:37 heycam: I think he may have already done this 09:44:54 ChrisL: then you can go from properties to the tests that cover them 09:46:19 heycam: for the case where containing div has width/height auto (and auto all the way up), and SVG has no width/height but has a viewbox, what is the behavior? 09:46:34 davvel: it will use the viewport width 09:47:54 ChrisL has joined #svg 09:48:03 davvel has joined #svg 09:49:32 heycam: how far is IE from this proposal? 09:49:44 davvel: currently pretty far 09:50:30 RESOLUTION: Unless there is feedback to the contrary (e.g. from Tab), accept David Vest's SVG sizing proposal 09:51:18 Topic: overflow, clip on viewport creating SVG elements 09:51:30 ed: this came from from a webkit bug 09:51:42 ... it relates to whether or not you can specify overflow:visible on inline SVG 09:51:49 ... which I think IE does by default 09:51:59 ... which is different to other browsers which clip by default 09:52:05 heycam: what is the initial value for overflow? 09:52:10 ed: it's complicated 09:52:19 ... lots of cases 09:52:34 https://svgwg.org/svg2-draft/masking.html#OverflowProperty 09:53:19 ... if you have a standalone SVG document, currently all browsers clip to the viewport 09:55:43 ... do we want to allow SVG to apply overflow to standalone documents? 09:55:54 heycam: does HTML have an equivalent? 09:56:10 ... if you replace the SVG document with a paragraph that has some overflow 09:56:22 ... what if you put width/height properties on the root 09:56:34 ... what does that mean for things rendered outside that? 09:56:41 davvel: the default is visible 09:56:44 ed: that's the default in CSS 09:56:58 heycam: then we should do that same 09:57:28 pdr: is that Web compatible? 09:57:47 krit: the question is really whether it should be controllable or not, not what the default should be 09:59:52 ... in SVG we have clip and overflow and the clip property clips to the viewport as its initial value 10:00:18 ed: I think it only applies with overflow:hidden etc. 10:00:24 krit: I think they're independent 10:01:29 ... so even if you say overflow:visible it will still be clipped due to the clip property 10:01:43 ... and CSS masking removes this 10:02:01 ... so it allows the use case ed brought up 10:02:18 ... so we need to do more work on the definition of the overflow property 10:02:42 davve has joined #svg 10:03:18 ed: the second thing I wanted to ask was about overflow:auto in SVG is defined to mean visible 10:03:43 ... but in CSS it is suggested to clip to the region and use scrollbars 10:04:14 heycam: it makes more sense to treat it as hidden rather than visible since in CSS you never paint outside the region since you have scrollable regions 10:04:47 ed: how do we want to treat overflow-x/y? 10:05:06 ... these are independent so you can have overflow in just one direction 10:05:17 heycam: CSS defined some combinations of overflow that don't make sense 10:05:25 ... do we want those in SVG? 10:05:59 ... I think you can have both visible/hidden but some combinations of scrollable don't make sense 10:06:27 ... I would like overflow-x/y to be useable in SVG 10:07:43 (break, lunch: 1hr) 10:14:54 Tavmjong has joined #svg 10:45:19 nikos has joined #svg 10:49:59 ChrisL has joined #svg 10:51:10 scribenick: cabanier 10:52:19 ed: IE has the root as visible 10:52:39 ... other say SVG root overflow should be hidden 10:53:27 in Firefox's UA style sheet: svg:not(:root) { overflow: hidden; } 10:53:40 krit: that is strange because the spec says overflow hidden 10:53:54 ... we should say that all svg should say hidden 10:54:16 heycam: I think if we can get away with adding new rules 10:54:29 ChrisL: it's the only way to add a new value 10:54:51 heycam: so IE allows overflow visible on the root? 10:55:15 Blink's UA styleshee as wellt: svg:not(:root) { overflow: hidden } 10:55:16 ... for outer most svg elements that are inline 10:57:19 krit: the spec says that the root should be visible so IE is correct 10:57:29 https://svgwg.org/svg2-draft/masking.html#OverflowProperty 10:57:51 https://svgwg.org/svg2-draft/intro.html#TermRootmostSVGElement 10:57:52 ed: no, this is for the root-most/outer-most element 10:57:54 Previous discussion on this from 2008: http://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0347.html 10:58:16 ... it doesn't necessarily mean the same thing 10:59:45 ... we want to be able to allow to override overflow 11:00:10 ... at the moment, firefox, chrome and webkit all do overflow: hiddne 11:00:18 cabanier: can you override it? 11:00:22 ed: yes 11:00:38 ... in IE you can say 11:01:01 ... in other browser you can specify it but it doesn't work 11:02:12 heycam: exactly how the spec defines this will depend on the next topic 11:02:30 resolution 11:02:37 s/resolution/ 11:03:52 RESOLUTION: outer-most svg elements of inline fragments will be overflow: hidden by default 11:05:44 RESOLUTION: overflow should not be ignored for outer-most SVG elements for both inline and standalone cases 11:06:50 heycam: we talked about scrollable viewport in switserland 11:06:59 ... to do zoom and pan 11:07:09 ... to have scrollable viewport 11:07:34 krit: we had requests from google to have scrollable content 11:07:53 pdr: how is this applicable to mobile browser 11:08:47 heycam: this is for all elements 11:08:53 cabanier: so not just the root? 11:09:07 heycam: inner SVG elements 11:09:23 krit: not on symbol for instance, only viewport creating elements 11:09:45 pdr: my concern is that this is a graphics format 11:09:58 heycam: you can do this to with foreignobject 11:10:47 ChrisL: scrollable has historically been a difference between css and html 11:10:52 pdr: I agree 11:11:07 ChrisL: it would be good to be able to request scroll bar 11:11:22 ... I've seen people create scrollbars in svg 11:11:53 heycam: maybe people used to write whole applications in svg 11:12:37 ed: today scroll and hidden means the same 11:13:29 ... if we allow scrollbars, does CSS do anything with that 11:13:41 heycam: the specs don't say anything 11:13:58 ed: maybe it's up to the user agent to decide 11:14:16 krit: it's up to the UA to decide 11:15:10 pdr: will the width have the ... (?) 11:15:29 krit: filters can paint outside the boundingbox 11:15:34 The issue of what determines the width: which bounding box do we use? 11:16:05 heycam: if you have contents that will scroll, you'd have to anticipate that 11:16:28 ... today you can have scrollbars on a standalone doc 11:16:43 ed: but not inside the document 11:17:20 davve: there is something with background 11:18:04 heycam: is anyone thinking it's bad idea to have scrollable viewport 11:18:29 ed: would it ever be a pannable viewport, or would it be the default 11:19:31 heycam: css needs a way for viewports to scroll beyond their viewport region 11:19:47 ... that might be a way to do arbitrary panning 11:20:11 ... panning could use viewport scrolling, but not just yet 11:20:17 ed: can we put that off? 11:20:23 heycam: that's ok for me 11:24:14 RESOLUTION: svg:svg elements should allow overflow: scroll to create scrollbars 11:25:33 krit: where does the origin of this viewbox come from 11:25:55 pdr: I don't think there's a way to set it to negative 11:26:10 heycam: if you have a viewbox [10 10 20 20] 11:26:29 krit: maybe we don't want scrolling but panning 11:27:01 cabanier: how about the size of the scrollable area 11:27:08 krit: yes, that needs to be decided 11:27:23 pdr: what is the bounding box of this thing? 11:27:32 ... html has the inner and outer box 11:27:54 ... or something to that effect 11:28:35 heycam: we still need to define what those CSS properties such as offset width means for SVG 11:28:55 krit: maybe take viewport? 11:29:31 heycam: maybe we don't need to delve into the details 11:31:12 heycam: how about for outermost inline SVG elements? 11:31:27 ed: every browser clips today 11:35:22 heycam: maybe overflow isn't the right thing to cause this clipping to happen 11:35:44 ... maybe there should be no way to affect the rendering 11:35:54 ed: do we want allow that to happen? 11:36:19 heycam: if scrollbars can appear (?) 11:36:38 ed: is there ever a use case to not have scroll bar 11:36:56 heycam: would you ever want the content outside of a short SVG to be painted? 11:37:15 ChrisL: maybe if you have a symbol? 11:37:30 Tavmjong: we talked about this in a telecon 11:37:43 ... andreasa asked for that 11:38:00 ChrisL: scroll bars in symbols would be bad 11:38:17 heycam: we need to have some wording there 11:38:47 ed: today we imply that there should be scroll bars for standalone svg elements 11:39:03 heycam: we still need some wording for short svg's to be clipped 11:41:33 RESOLUTION: overflow property on root svg elements still controls if there should be scrollbars but there should be a clipping rectangle that 11:42:12 ... is the size of the svg element's viewport 11:43:04 ed: the current spec says that within SVG content the value 'auto' means visible 11:43:09 ... should we change that 11:43:43 heycam: it might be if we can come up with a solution 11:44:05 ... for instance if the appearance of scrollbars makes things narrower 11:44:25 ... noone's using auto today so it would be safe to use it 11:44:44 ed: do we want to keep the spec or should we change it? 11:45:03 heycam: if we allow for scrollable viewports it makes sense to change it 11:46:58 ... for viewport establishing elements where scroll bars don't make sense, overflow:auto would be visible 11:47:33 ... for svg:svg, auto will mean scrollbars will appear if the overflow region is bigger than the viewport 11:48:08 pdr: why are marker and pattern different? 11:48:36 tbah has joined #svg 11:48:39 ... we are adding special cases for certain elements 11:49:00 heycam: one reason is that these elements are not rendered directly 11:49:48 krit: it makes it more compex for instance on patterns. because you have to calculate how you tile them 11:51:50 heycam: how about mask? 11:51:58 pdr: yes, that wouldn't make much sense 11:52:39 krit: how about 'element()' in firefox, would it copy the scroll bars? 11:52:50 heycam: I believe so ye 11:52:56 s/ye/yes 11:54:18 heycam: we need to add a bunch of spec text to make sure that a pattern with overflow:hidden does the right thing 11:55:04 heycam: I worry about getting the coordinate system right 11:55:19 pdr: maybe it's best to get some implementor feedback 11:55:30 heycam: you can have an issue in the spec and wait for that 11:56:49 ACTION: ed to figure out the overflow behavior in SVG 11:56:49 Created ACTION-3606 - Figure out the overflow behavior in svg [on Erik Dahlström - due 2014-04-14]. 11:58:22 heycam: we need to work out or put an issue in the spec whether that patterns have scrollable viewports 11:59:13 topic: bbox for text calculations 11:59:21 http://lists.w3.org/Archives/Public/www-svg/2014Mar/0030.html 11:59:27 ed: we discussed this on a call but didn't come to a conclusion 11:59:34 ChrisL: I had some comments 12:01:13 ... the full glyph cell is not the ink bounding box 12:01:28 heycam: is it origin + ascent + descent 12:02:00 ChrisL: full glyph cell is adding rectangles, is to use all 12:03:09 ... do we need bounding boxes for hit detection and text selection? I think not 12:03:31 nikos_: how about negative advances? 12:04:05 ChrisL: the advance is separate from that 12:06:56 ... 12:08:15 heycam: it sounds like we do need different bbox's because some glyphs might go over and you don't want to select them 12:08:38 ChrisL: in practice people put transparent rects on top of the text 12:08:39 http://jsfiddle.net/L7pgW/18/ 12:08:44 ed: I made some examples 12:09:21 krit: the italic is the browser? 12:09:29 ed: yes. 12:11:03 http://jsfiddle.net/L7pgW/22/ 12:13:17 ed: this is a case where the gradient is started where the character starts 12:14:22 ... filters have this issue too 12:17:45 heycam: we talked about these for stroke/mask bbox 12:18:10 ... should we extend this to extent for ink coverage 12:18:52 tbah: what you might want it the bbox and the (?) 12:23:54 ... (conversation about using em to size a gradient) 12:28:47 ed: as an author I would expect the gradient to fill the bounding box 12:29:12 heycam: do we have interoperable behavior? 12:29:27 ... for what the size of the bbox is? 12:29:30 ed: no 12:30:15 heycam: the dictionary to getbbox can included stroke and markers but not for the ink coverage 12:30:40 ... one option is to union the ink region and the glyph cell 12:31:01 ... the other is just to get the tight bounding box 12:32:08 ... it's possible to extend the dict for horizontal and vertical 12:40:35 ... 12:40:48 ed: I would like getbbox to return the ink coverage 12:41:04 ... most of the time you want to know what is drawn 12:41:14 heycam: we already have that information 12:41:27 ed: yes, you need to know where things were 12:41:40 heycam: we use the lose ink bounds 12:41:50 ... which might be more expensive 12:42:35 s/which might be more expensive/the tight glyph bounds might be more expensive/ 12:45:26 ... 12:46:18 heycam: we should do the union of the glyph boxes and the ink coverage 12:47:02 tbah: that should catch the majority of the use cases 12:48:16 how about japanese text 12:48:30 ... all glyphs are the same size 12:49:54 ACTION: getBBox and resource bounding box (for gradients, mask, etc) to return the union of the glyph cells and ink extends by default. 12:49:54 Error finding 'getBBox'. You can review and register nicknames at . 12:50:12 RESOLUTION: getBBox and resource bounding box (for gradients, mask, etc) to return the union of the glyph cells and ink extends by default. 12:50:33 heycam: do we allow control to get just the ink extends? 12:52:00 ed: can we reuse the same method? 12:52:14 ... we have a method called getTextExtend 12:52:55 https://svgwg.org/svg2-draft/text.html#__svg__SVGTextContentElement__getExtentOfChar 12:54:27 ... do we need to make getBBox more complex or rely on these methods 12:55:14 heycam: are you leaning towards not extending getbbox? 12:56:39 ed: if so, we should be able to do the same on gradients, for instance gradientUnits="some_new_value" 12:57:31 ... 12:57:58 heycam: maybe we can ignore that for now since it complicates the API 12:59:35 nikos: most cases where you want the tight box, you might want to hit test against it too 13:00:04 ed: I could go with a clarification 13:01:44 RESOLUTION: for now we won't provide APIs for a tight ink bounding box on text for getBBox or gradient object bounding box or hit detection 13:02:35 ed: are text decoration part of the bbox? 13:03:25 krit: CSS had discussions on this 13:03:47 ... right now css doesn't gradients, just color 13:04:24 heycam: the boundingbox in that case is the element 13:04:39 ... an underline could go outside of the element 13:05:20 ... it makes sense to include them 13:05:36 krit: then there would be 2 definitions of bounding box 13:05:50 heycam: I don't want decoration to be painted differently 13:06:45 https://svgwg.org/svg2-draft/text.html#TextDecoration 13:10:32 RESOLUTION: text decoration to be included in the bounding box calculations 13:12:40 http://wiki.apache.org/xmlgraphics-fop/LineLayout/AlignmentHandling 13:14:37 http://dev.w3.org/csswg/css-inline/ 13:14:47 (krit discussing issue with text baselines, etc) 13:15:40 ACTION: ed to do spec edits for bounding boxes of text elements: give the union of full glyph cells and the painted area, and include text decorations in the bbox (change for getBBox too) 13:15:40 Created ACTION-3607 - Do spec edits for bounding boxes of text elements: give the union of full glyph cells and the painted area, and include text decorations in the bbox (change for getbbox too) [on Erik Dahlström - due 2014-04-14]. 13:15:53 ideographic = descender depth 13:15:53 alphabetic = 0 13:15:53 central = (ascender height - descender depth) / 2 13:15:53 middle = x height / 2 13:16:10 these seem good fallback definitions we could reuse 13:18:44 ACTION: krit to talk to Alan Stearns about adding fallback baseline calculations to the CSS line layout spec and if they will stay in the spec 13:18:44 Created ACTION-3608 - Talk to alan stearns about adding fallback baseline calculations to the css line layout spec and if they will stay in the spec [on Dirk Schulze - due 2014-04-14]. 13:34:51 nikos has joined #svg 13:40:51 Scribe: Cameron 13:40:53 ScribeNick: heycam 13:41:03 Topic: white space in attributes 13:41:07 https://www.w3.org/Graphics/SVG/WG/wiki/Proposals/AttributeWhitespace 13:41:28 ed: I went through all the attribute types we use in SVG, made a big table summarising 13:41:41 ... I was looking for whether trailing/leading white space is allowed and ignored 13:41:43 ... comparing with HTML5 13:42:02 ... it's inconsistent, but at least for some of the numerical types it should be possible to make it consistent 13:42:15 ... we discussed this in a telcon, and I went over it once more to add test cases for each of the subsections 13:42:25 ... we could go through each type by type and see the test cases 13:42:32 http://jsfiddle.net/wxJa9/ 13:42:40 ... this is for 13:42:49 ... there aren't many of these in HTML 13:42:57 ... the only ones I could find are on 13:43:23 ChrisL: is HTML5 the right thing to be comparing to here? 13:43:35 ... and not CSS properties? 13:43:43 heycam: these are all non-CSS property attributes we're looking at 13:44:13 ed: this example is inconsistently handled across browsers 13:44:21 ... HTML5 has different constraints for validators vs browsers 13:44:39 ... for the content to be valid, it has to be a proper number in the right format and without any garbage or white space 13:44:48 ... but for display, it strips away the white space and junk 13:44:58 ... and returned in a correct form if you ask for it in the DOM 13:45:09 ... even in HTML5 this example doesn't work the same way across browsers 13:45:15 ... for integer values it's a bit more consistent 13:45:32 ... in the first section I listed the browsers I tested 13:45:54 ... Firefox/Chrome/Presto did not allow white space and garbage; IE did allow white space and garbage 13:47:00 http://jsfiddle.net/hxz46/ 13:47:04 ... that's the SVG test case 13:47:25 ... here Firefox/Chrome do not allow the white space and garbage; IE allows white space but not garbage, Presto allows both 13:47:34 works 13:47:39 pdr: in these examples this is not stripping white space in the middle 13:47:49 ... so only leading and trailing white space 13:47:54 ... is that your intention? 13:48:43 ed: we could add tests for those 13:49:29 ... so the first question is do we want to allow white space and garbage 13:49:57 ChrisL: for garbage, that would probably have different levels of support 13:50:01 ed: the HTML5 parsing algorithm does allow it 13:50:13 heycam: so IE is the only one following the spec 13:50:54 krit: for things that just take numbers, WebKit/Blink are accepting 13:51:03 ... that's how we do the parsing in SVG 13:51:16 ed: I looked at the functions in Blink, and it's passing a flag whether to allow it 13:51:36 ChrisL: if HTML5 defines what to do with numeric attributes, then following the exact same algorithm makes it convenient 13:51:48 ... it's slightly worrying that only one browser implements that 13:52:03 ed: there are only a handful of HTML attributes that take a float 13:52:19 ... for integers it was much more consistent 13:52:19 http://jsfiddle.net/6BQGF/ 13:52:32 ChrisL: the thing that worries me is that if there's only one browser implementing it properly, that requirement will be dropped 13:52:58 ed: that is the test for integers 13:53:20 ... white space and garbage is allowed across all browsers 13:54:28 ... negative values for width doesn't work in some browsers, but that's different from the white space handling 13:54:37 ... anyway, all browsers allowed white space / garbage 13:54:40 pdr: HTML doesn't have lists like SVG 13:54:48 ... is there any danger there? 13:54:50 ed: for SVG lists, I think generally white space is allowed 13:55:12 pdr: I'm wondering if we use that algorithm for a specific number, but for a list that doesn't allow commas...? 13:55:34 krit: I would be in favour of allow leading / trailing white space 13:55:43 ... to allow garbage at the end is a bit strange 13:55:52 ChrisL: it means you constrain what you can later add 13:56:05 ed: I guess that's why there are different conformance classes in HTML? 13:56:14 krit: do we want to allow browsers to be less restrictive 13:56:21 ... we don't need to enforce it... 13:56:33 Tav: I'd like to avoid the situation where it renders well in the browser but then imported in Inkscape it doesn't work 13:56:50 ed: I think the main thing I found was that there are some minor inconstencies whether leading white space is allowed in SVG 13:56:59 ... so it seemed like a good thing to check everything 13:57:09 pdr: for the trailing garbage, I disagree 13:57:22 ... why follow something different from HTML? 13:58:00 ChrisL: what if we have an attribute like x="4e10" and we start off as an integer, what if we want to extend that later? 13:58:06 ... to accept scinot? 13:58:22 ed: note that you still get the "4" 13:58:23 pdr: I see 13:59:41 ... when the HTML folks made this decision, how did they handle this future constraint? 13:59:52 ChrisL: maybe since it's only a handful of elements it wasn't a problem 14:00:43 heycam: what is the benefit here? 14:00:48 ... simplifies implementations slightly 14:00:52 ... what about for authors? 14:01:01 ed: had a bug reported where white space was allowed in firefox but not in chrome 14:01:11 ... can't remember which attribute it was 14:01:15 pdr: I think it makes sense to align 14:01:30 cabanier: if you only want one algorithm, then you're going to need to accept trailing garbage then 14:01:48 ChrisL: to be clear, the two objections aren't "no I'll tie myself to the mast" objections, they're just worries 14:02:04 ... worry about it being dropped from HTML, and future constraining extensions 14:02:13 ... but if the group agrees they want to do that I'm fine with it 14:02:51 ed: next is length values 14:03:00 ... IE allowed white space, no garbage; others don't allow anything 14:03:09 ... for enumerated values, everyone agrees no white space or garbage 14:03:53 heycam: I feel like length parsing is more like CSS parsing 14:04:03 ... so white space seems good to allow 14:04:07 ... what about CSS comments? 14:05:43 ed: so for number and integer, stripping leading/trailing white space and trailing garbage, being consistent with HTML5, is my first proposal 14:06:04 krit: who doesn't allow garbage in SVG integer attributes? 14:07:52 http://jsfiddle.net/Gaw2P/ 14:08:37 ed: compare to the bottom right subtest 14:08:41 ... which is numOctaves="1" 14:09:31 krit: in Safari we don't render the 5th one 14:09:34 ... what does that indicate? 14:09:38 ed: it doesn't use any fallback value 14:11:17 heycam: I think if we have some implementations that accept the white space and garbage and others not, then we'll eventually all converge to that behaviour 14:11:22 ... so may as well jump to that state now 14:11:29 krit: I'm OK with accepting leading/trailing white space 14:14:57 pdr: go for browser compatibility instead of parser compatibility? 14:15:08 krit: well, the browser uses a parser... 14:15:11 pdr: spec parsers 14:15:37 ed: I think it's mostly consistent in disallowing the garbage 14:15:41 ... in transform lists for example 14:15:52 krit: for numbers I would be skeptical because of that exponential number example 14:15:58 ... for integers we only have a few attributes 14:16:02 ... so is it worth it? 14:16:13 ed: there are other cases where white space is allowed when the spec says no 14:16:21 krit: I am supporting the white space 14:16:36 ed: to be clear, I don't want to allow white space everywhere 14:16:45 ... for enumerated values, like accumulate="none | sum" 14:16:53 ... I guess we could allow white space 14:16:55 Tav: but HTML does not 14:17:12 http://jsfiddle.net/eT7jz/ 14:17:29 ed: all browsers agree there not to allow white space 14:18:45 krit: safari allows the white space there 14:18:50 pdr: I wouldn't have expected that to be different from chrome 14:19:00 krit: but the HTML spec doesn't want white space 14:19:18 ... I think it's strange, but acceptable, to not allow white space in enumerated attributes 14:19:39 ed: we imported a few attributes from HTML5, the boolean values for controls="", default="", etc. on