20:04:08 RRSAgent has joined #svg 20:04:08 logging to http://www.w3.org/2011/03/02-svg-irc 20:04:10 RRSAgent, make logs public 20:04:12 Zakim, this will be GA_SVGWG 20:04:12 ok, trackbot; I see GA_SVGWG(SVG1)2:30PM scheduled to start 34 minutes ago 20:04:13 Meeting: SVG Working Group Teleconference 20:04:13 Date: 02 March 2011 20:04:33 RRSAgent, this meeting spans midnight 20:05:46 GA_SVGWG(SVG1)2:30PM has now started 20:05:53 + +1.649.363.aaaa 20:06:14 jwatt has joined #svg 20:07:02 birtles has joined #svg 20:08:16 shepazu has joined #svg 20:08:52 anthony_nz has joined #svg 20:10:51 http://www.w3.org/Graphics/SVG/WG/wiki/F2F/Auckland_2011/Animation_improvements 20:13:12 +tbah 20:13:33 Presentation: http://brian.sol1.net/svg/pres/SVG 2 Animation.html 20:13:43 Presentation: http://brian.sol1.net/svg/pres/SVG%202%20Animation.html 20:15:19 roc has joined #svg 20:29:21 AD has joined #svg 20:29:40 Scribe: Cameron 20:29:44 ScribeNick: heycam 20:29:50 Topic: overflow auto 20:29:59 RO: the spec currently says that overflow:auto should be treated as visible 20:30:04 ... that is incorrect 20:30:12 ... in non SVG contexts, overflow:auto clips 20:30:17 ... scrollbars if necessary, btu always clips 20:30:23 ... for consistency, overflow:auto should be interpreted as clipping 20:30:29 ... I don't think we should add scrollbars in SVG 20:30:32 ... it's a pain 20:30:39 ... we don't have that feature currently, don't want to add it now 20:30:46 ... so we should make overflow:auto clip to be consistent with HTML 20:30:58 ED: are the use cases for HTML and SVG different? 20:31:03 ... for us, implementation wise it's cheaper to not clip 20:31:05 ... but that's a detail 20:31:09 ... in that sense I don't really care 20:31:16 ... it makes it easier for people not to clip 20:31:19 RO: auto is not the default value 20:31:22 ... the default is visible 20:31:31 ... so it only affects people who say overflow:auto 20:31:48 ... people setting overflow:auto and expecting it to have no effect is unlikely 20:31:51 DS: what about scroll? 20:31:59 RO: the spec says treat it as hidden 20:32:20 ... I'm saying treat overflow: auto, scroll, hidden all the same 20:32:43 ... we provide scrollbars on the viewport 20:32:47 ... but this is for a non-root element 20:32:50 ... the root element is special 20:32:51 DS: ah ok 20:33:07 RO: css defines that, and we do that for svg 20:33:09 ... which makes sense 20:33:13 ... this is for non-root SVG elements 20:33:24 CM: how does this relate to markers? 20:33:46 ED: markers are overflow:hidden by default 20:34:07 RO: so that would be totally unaffected 20:34:39 ED: we probably need more tests around overflow 20:35:00 RO: CSS is reinterpreting overflow as a shorthand for overflow-x and overflow-y 20:35:08 ... if one of them is not visible, then the other one is treated as hidden 20:35:13 ... so you can't clip in one axis only 20:35:24 ... SVG should probably change that, but that's a separate issue 20:35:42 ... so we need to add text to say that overflow: auto, hidden and scroll should all clip 20:36:24 RESOLUTION: overflow:auto will be treated as hidden 20:38:33 Topic: shorthand presentation attributes 20:40:10 CM: if overflow becomes a shorthand, then what happens to the overflow="" presentation attribute? 20:40:24 ... we have rules to say that we don't have presentation attributes for shorthands 20:40:27 ... I think that should change 20:48:38 ACTION: Cameron to write a proposal for allowing shorthand presentation attributes 20:48:38 Created ACTION-2992 - Write a proposal for allowing shorthand presentation attributes [on Cameron McCormack - due 2011-03-09]. 20:49:23 Scribe: Anthony 20:49:27 ScribeNick: anthony_nz 20:49:28 http://www.w3.org/Graphics/SVG/WG/wiki/F2F/Auckland_2011/Animation_improvements 20:49:54 Presentation: http://brian.sol1.net/svg/pres/SVG%202%20Animation.html 20:49:56 Topic: Animation improvements 20:50:15 BB: The presentation is pretty much the same as what's on the wiki 20:50:28 ... The topic is "what we are going to do with SMIL" 20:50:33 ... want to keep it high level 20:50:43 ... and decide on what direction we want to head 20:51:00 ... What are we trying to solve with declarative animation? 20:51:14 ... The presentation is just to give some background 20:51:19 ... for discussion later on 20:51:38 ... the question is what we want to do with SMIL: drop it, patch it or something in between 20:52:00 ... [goes through presentation] 20:53:41 ROC: If you're creating the image from scratch, but if you want to import some other animated image and your tool doesn't understand the JS library that was used 20:53:44 ... then you're stuck 20:54:02 ... one thing that SMIL gives you is a standard vocabulary 20:54:23 BB: The trouble is what tools 20:54:30 ... and I don't think that hasn't been realised yet 20:54:38 DS: We know we need tools for animation 20:54:44 ... and that is going to emerge 20:54:56 ... and it is important that we keep the facility in there to keep that interchange 20:55:22 ED: Wanted to say something about the first point. There is small possibility to optimise things if you know what's going to happen in the document 20:55:30 ... with script it is a bit more difficult 20:55:47 ... in animation it is more possible to do some optimisations 20:56:33 CM: There is probably still more chances for bridges between JS and animation 20:56:38 eseidel has joined #svg 20:56:51 ... have the timing done in the animation but have the values fed by script 20:57:08 DS: That actually comes close to defining a script library defined by animation 20:57:25 BB: [continues with presentation] 20:58:01 -tbah 20:58:27 eseidel has joined #svg 20:58:28 +tbah 20:59:02 DS: One thing that SMIL can't do is get the mouse position. So perform animation based on mouse position 20:59:40 ... you frequently want to move something around with the mouse and you want to be able to do that declaratively 20:59:58 BB: [Continues with presentation] 21:00:20 ... [Slide: But SMIL isn't perfect...] 21:01:07 ... [Slide: SMIL is complicated by syncbase timing] 21:02:14 ED: Between fragments you mean between separate SVG paths? 21:02:26 ... I don't think it's defined in the spec or in CDF 21:02:33 s/paths/files/ 21:02:51 s/svg paths/svg fragments/ 21:02:57 BB: [Slide: SMIL is complicated by syncbase timing contd.] 21:03:28 ... [Slide: Remove syncbase timing and replace with time containers] 21:03:55 ... [Slide: SMIL 3 time containers - ] 21:04:41 ... [Slide: SMIL 3 time containers - ] 21:04:55 ... [Slide: SMIL 3 time containers - nested contd.] 21:05:08 ... [Slide: Wins] 21:05:37 DH: What do you mean cancel the group? 21:06:17 BB: If you have all these animations grouped together and you end that group then all the children will end as well 21:06:26 ... so allows you to cancel that chain which you previously couldn't do 21:06:44 ... so that's one of the advantages of having time containers and sync based timing 21:06:54 ... [Slide: Challenges] 21:07:04 ... [Slide: Challenges contd.] 21:07:47 AG: You mean deprecating? 21:08:29 BB: Might be a bit harsh, just say somethings don't work with the new containers 21:08:44 DS: I basically deprecating, means we recommend don't using this feature 21:09:26 BB: One of the issues with sync based timing you need to go through all the events when you do a sync 21:09:57 ... we can keep event based timing, because that would allow you to do a lot of the current use cases 21:09:59 s/do a sync/do a seek/ 21:10:41 DS: If you had them in the same time container, then you'd be guaranteed of syncronisation. I like that you can syncronise multiple resources 21:10:56 ... then if event based timing doesn't guarantee that, then I'd be worried 21:12:10 BB: You can still syncronise event based timing using a time stamp 21:13:18 ED: Another point with sync based thing, is that if you have an SVG image would that impose some restrictions 21:14:22 BB: Some complex interactions would not be supported 21:14:35 ... where two different elements can trigger the animation 21:15:25 ED: There is a repeat event which is event based 21:15:34 BB: But it describes a qualified repeat event 21:16:20 s/would that impose some restrictions/would that impose some restrictions, because it's being suggested that eventbase timing wouldn't be allowed in svg-in-img/ 21:16:52 BB: ... [Slide: Limiting the scope] 21:17:32 CM: In SVG you use structure alot to control the rendering. If you introduce the containers control the timing 21:17:39 s/There is a repeat event which is event based/There is a repeat event which is event based, but there's also repeat-value which isn't the same exactly as event-base/ 21:18:35 BB: As it stands that is an issue, and you would need to redo where you are putting all your animations and all that 21:19:16 DS: Bitflash based on one of their customers needs, added a state machine, I noticed one of the things you were going to talk about was reversing animations 21:19:22 ... specifically they added SCXML 21:19:44 ... the state machine was attractive because you could define how things interact under changed conditions 21:19:55 ... if you're in this state do this thing, etc 21:20:03 ... I authored to it and I found it very handy 21:20:18 ... their extension of it would allow you keep the history of what had gone one 21:20:44 ... navigating around a UI using the state machine would allow the reuse of animations 21:20:57 ... it was completely declarative 21:21:07 ... not sure where that fits with your proposal 21:21:30 BB: There is a whole bunch of stuff in the SMIL state and I was thinking about that recently 21:21:41 ... because I thought it would be good to be able to track state more 21:22:08 DS: When we are talking about the animation use case, I think the state machine would be very useful for handling the sync for UI stuff 21:22:21 ... I think we should take a serious look at it 21:22:56 http://www.w3.org/TR/scxml/ 21:23:07 BB: [Slide: Limiting the scope] 21:23:18 pdengler has joined #svg 21:23:37 ... [Slide: Structural manipulations need specification] 21:23:46 ... not defined in SMIL so we need to 21:23:54 DS: They didn't anticipate script 21:24:10 CL: They were very much looking at authoring tools, because of the people involved 21:26:05 ... One of the guys that really understands it has joined this working group now and he's interested in reworking it 21:26:23 -tbah 21:26:43 - +1.649.363.aaaa 21:26:44 GA_SVGWG(SVG1)2:30PM has ended 21:26:46 Attendees were +1.649.363.aaaa, tbah 21:26:53 Zakim, room for 4 21:26:53 I don't understand 'room for 4', heycam 21:26:54 Zakim, room for 4? 21:26:55 ok, heycam; conference Team_(svg)21:26Z scheduled with code 26631 (CONF1) for 60 minutes until 2226Z 21:27:03 Team_(svg)21:26Z has now started 21:27:10 + +1.649.363.aaaa 21:27:27 +tbah 21:28:34 (15min break) 21:28:41 -tbah 21:29:05 BB: [Slide: Structural manipulations need specifications] 21:31:22 I'm done for the night so Patrick could dial in direct (it was a better connection than through the bridge). 21:37:03 - +1.649.363.aaaa 21:37:05 Team_(svg)21:26Z has ended 21:37:05 Attendees were +1.649.363.aaaa, tbah 21:37:34 Zakim, room for 3? 21:37:36 ok, heycam; conference Team_(svg)21:37Z scheduled with code 26633 (CONF3) for 60 minutes until 2237Z 21:38:35 Team_(svg)21:37Z has now started 21:38:41 + +1.649.363.aaaa 21:41:53 pdengler_home has joined #svg 21:45:19 Zakim, who is on the call? 21:45:19 On the phone I see +1.649.363.aaaa 21:45:38 that's me 21:47:27 + +1.425.868.aabb 21:47:56 http://www.w3.org/Graphics/SVG/WG/wiki/F2F/Auckland_2011/Animation_improvements 21:48:00 Presentation: http://brian.sol1.net/svg/pres/SVG%202%20Animation.html 21:48:28 BB: [Slide: Structural manipulations need specification] 21:48:59 ed has left #svg 21:49:01 ... [Slide: Specify and test structural manipulations] 21:49:06 ed has joined #svg 21:49:37 ... [Slide: Discrete to-animation is counter-intuitive] 21:50:21 ... [Slide: Fix discrete to-animation] 21:50:39 karl has joined #svg 21:50:51 ... [Slide: Frozen to-animation is broken] 21:53:33 ... [Slide: The requirement for an end-instance time is confusing] 21:54:36 - +1.649.363.aaaa 21:55:11 + +1.649.363.aacc 21:55:23 Zakim, who is on the call? 21:55:23 On the phone I see +1.425.868.aabb, +1.649.363.aacc 21:57:01 BB: Basically if doesn't find an end instance it just sits there 21:57:07 AD: It never starts 21:57:14 CM: Doesn't create the interval? 21:57:30 BB: After that first interval it will never find the end time 21:57:44 ... [Slide: Fix end-instance condition] 21:58:13 ... [Slide: min/max aren't necessary useful] 21:58:22 CM: Can you explain what the use cases are? 21:58:45 BB: Just put a cap on the length on your child animations without knowing anything about them 21:59:17 CL: If you have all these time animations and you want them to end a certain point then you specify the ending time for them 21:59:20 ... then they all stop 21:59:30 BB: [Slide: animateTransform] 22:00:47 DS: One of the things I hate is the term "fill" on animations 22:01:04 ... you had to determine by the context what "fill" meant 22:01:14 CM: In CSS it is animation-fill-mode 22:01:23 JW: What are the values? 22:01:28 CM: Before, after, both 22:01:41 ... both means to fill backwards before the animation 22:02:03 ... the property value you can't understand it in isolation 22:02:14 BB: [Slide: Reversing animations] 22:03:38 CL: So you had the mouse over the button and it grew as big as it could then went back to the original size 22:03:44 ... SMIL doesn't have this concept 22:04:01 ... [Slide: Add a reverse feature to time containers] 22:04:29 s/... [Slide: Add a reverse feature to time containers]/BB: [Slide: Add a reverse feature to time containers]/ 22:04:38 JW: Maybe call it rewind? 22:04:50 BB: [Slide: Add a reverse feature to time containers contd.] 22:06:12 ... need to work out if want to do an ease in then an ease out or an ease in then an ease in going in reverse 22:06:21 ... might need to do the exact reverse 22:06:28 AD: I think that would be the logical thing to do 22:06:43 ... running the clock backwards 22:07:54 ... would need to work out how to specify it 22:08:04 BB: [Slide: Re-use animations] 22:08:54 BB: [Slide: Re-use animations contd.] 22:09:38 ... [Slide: Brief overview of SMIL Timesheets] 22:10:18 CL: That would be really nice with :target 22:10:46 BB: [Slide: Selectors can be nested] 22:11:12 ... [Slide: Other features introduced by SMIL Timesheets] 22:12:12 DS: Can I trigger something manually for when I'm making a presentation 22:12:21 CL: You'd want two triggers in that case 22:12:35 ... When the time hits or when I press the mouse 22:12:38 BB: Not sure 22:12:59 ... [Slide: Consider integrating SMIL Timesheets] 22:14:20 CL: If you're animating class it's a discrete animation 22:14:38 BB: Need to define how it all gets resolved 22:14:55 ... [Slide: Migration path] 22:15:59 CL: So the first one has a slight risks regarding confusions 22:16:06 ... the second one is more what we are doing 22:16:18 pdengler_home2 has joined #svg 22:16:34 ... the third seems somewhat drastic but if we are combining SMIL and CSS animation then we are harmonising it 22:16:48 ... At the end of the day it's also about animating HTML as well 22:17:18 ... So I can see the third option as long as it does right 22:17:57 DS: I think using the word SMIL is somewhat dangerous, because SMIL can mean different things to different people 22:18:42 ... There is also the case where people will compare it to SMIL 22:19:01 ... There are some people out there that dislike SMIL so it might not be as friendly to them 22:19:15 ... If we are going to change it dramatically, I'm not sure the second way makes sense 22:19:27 ... We could have backwards compatibility with SVG 1.1 22:19:34 I don't think I have been bashful about this. This is a great presentation. I believe we should focus on one animation engine/syntax. I thought this is what we exited Lyon with. Why would we continue to enhance something that no web developer is looking at? Let's take these ideas/proposals to CSS :) 22:20:40 AD has joined #svg 22:20:49 DS: One concern I have is as flawed as it is, and if we are going to reinvent the wheel we should be careful about what we do 22:20:54 ... we may introduce new problems 22:21:04 ... so we need to be careful about what we do with the new stuff 22:21:05 I don't disagree; just like in other areas (gradients, transforms, etc) this group has a lot of experience. We can contribute to a single effort and spread the knowledge more quickly. 22:22:11 AD: In terms of web animations 1.0. One of the things we want to achieve is harmony between CSS and SVG. We take the things that we think are good in SMIL 22:22:23 ... and add that to Web 1.0 along with the new stuff 22:22:49 ... I'm not talking about breaking with the syntax, I'm talking about taking a subset 22:22:58 ... and adding that to Web animation 1.0 22:23:38 ... We kind of deprecate the SMIL stuff we say is not useful but provide better alternatives 22:23:53 CL: It's a gradual already ramp up 22:24:01 ... to a certain extent the process has already started 22:24:11 ... it will be more widely available when we have first working draft 22:24:18 DS: I am curious about time lines 22:24:26 ... when do we realistically think this could be done 22:24:39 ... I'd like to see some of this stuff in the next releases of web browsers 22:24:44 ... these time lines are important 22:25:53 Scribe: Cameron 22:25:55 ScribeNick: heycam 22:26:23 JW: if there are resources available in the css animation community, and those in smil, and can collaborate in the short term, maybe it can happen quickly 22:26:28 ... but I don't know if that will happen 22:26:32 AD: i really like the reverse stuff 22:26:49 JW: i'm more concerned about if we're chopping up smil, or doing something else, we should do it pretty soon 22:27:05 DS: i'm also concerned with having 3 major vendors here, with 1 mobile vendor, all on the same page 22:27:11 ... we don't have google/webkit people here 22:27:18 ... authoring tool people? 22:27:41 CL: authoring tool people would be unwise to start now, if we're going to change things 22:27:47 ... unless you're right in the discussions 22:27:53 DS: so they should participate in the discussions 22:27:56 ... content creators, too 22:30:16 Scribe: Anthony 22:30:21 ScribeNick: anthony_nz 22:39:37 For this proposal, my key contributions are the scenarios and the properties/attributes that I think we need to animate to satisfy them. 22:39:58 My approach is to keep the list of attributes/properties constrained also to simple types so as to no introduce complicated interpolation issues. 22:40:11 http://www.w3.org/Graphics/SVG/WG/wiki/F2F/Auckland_2011/CSS_Animation 22:40:14 This should is consistent with my original proposal last year to keep SVG 2.0 scenario and use case driven, and incremental. 22:40:24 PD: This is to reduce complexity 22:40:24 Also, supports Jonathon’s desire to move quickly. 22:40:35 Further simplification attempts to avoid the discussion of animVal by using the CSS model. 22:40:47 Though there is a recommended proposal for promoting attributes to properties I was sufficiently convinced for good reasons why this is not a wise idea and these are indicate by Cameron here: http://www.w3.org/Graphics/SVG/WG/wiki/Talk:F2F/Auckland_2011/CSS_Animation 22:41:10 I like these proposals and could live with any that satisfy the scenarios put forth, and that don’t push us into a corner. 22:41:23 The key is to also recognize the imperative need to coordinate with the CSS working group. I’ve tried contacting Dean with this proposal but I do not believe I got a response. 22:41:54 As a group we should decide as to whether or not we should be doing this (obviously I think yes), if yes, then choose a model which does not paint us into a corner, and get it socialized quickly with CSS. 22:42:47 PD: I believe my proposal doesn't quite work given Cameron's comments 22:43:09 http://www.w3.org/Graphics/SVG/WG/wiki/Talk:F2F/Auckland_2011/CSS_Animation 22:43:12 CM: All this is based on that you should be able to use the CSS Animation syntax to target things which are currently not properties in SVG 22:43:25 ... Section 1 presents a few different ways in achieving that goal 22:44:08 ... Simplest on the surface would be to convert all these attributes we think are worth animating into properties 22:44:09 jwatt has left #svg 22:44:11 jwatt has joined #svg 22:44:26 ... then naturally they will animatable with CSS animations 22:45:01 ... [Reads downsides from wiki] 22:45:46 CL: The definition in CSS 2.1 is very precise for width and height 22:46:00 ... could run into problems with inheriting 22:46:32 CM: So this proposal is promoting to properties and using the exact names we have for attributes 22:47:30 ... A major issue is that changes the distinction between attributes and properties 22:48:04 ... There is a chance here to allow that sort of distinction to say which are styling attributes and which are presentation attributes 22:48:57 CL: We were thinking about this and we'd ask what would make sense to re-style on a graphic 22:49:07 ... geometry ended up being content in that way 22:50:25 DS: One of the most important semantics about SVG is about how it is interpreted by accessibility agents 22:50:42 ... and how SVG can be made accessible is not defined 22:50:59 CM: The next point against this proposal is the whole SVG DOM interface 22:51:31 ROC: We can have them reflect the CSS animated values 22:51:35 ... and we can keep them 22:51:51 CM: Another issue is which particular set of attributes we'd promote to properties 22:52:07 ... in this proposal I think you should convert all the animatable attributes 22:52:18 The only objection I have to that is staging/timing 22:52:21 ... this is so we have the same functionality between CSS animations 22:52:47 ... I think Patrick argument is starting with a smaller set is it is achievable goal 22:52:49 homata_ has joined #svg 22:53:09 Interopolation is the item I worry about, but they may already be well specified with SMIL 22:53:41 CL: If we do a certain subset and they don't scale across then we've painted ourselves into a corner 22:53:56 ... If we were going to promote things to properties then we'd do them all at once 22:53:56 Either way we should nail the syntax that CSS animations and transitions need to pick up to target attributes and start there, yes? 22:54:01 ... but I still think that is a bad idea 22:54:10 ... because it has a lot problems 22:54:57 CM: This is probably the fundamental issue about how to target these attributes 22:55:11 ... the biggest argument against this proposal is the names these attributes have 22:55:29 ... we have attributes that have name as existing properties 22:55:41 ... and we may limit CSS from expanding into certain areas 22:56:27 CL: One of the other differences between properties and attributes 22:56:36 ... is properties can apply to all elements 22:56:51 ... so if we have a circle radius, it means that every element has a circle radius 22:57:08 Isn't that already the case with stop-color for example? 22:57:12 ... it's pointless to have a radius on all elements 22:57:25 ... In CSS they want to restrict the property set 22:58:13 ... so if look at proposals they normally choose the proposal that has the least number of properties 22:58:38 ROC: We should actually check to see how many properties we have 22:58:42 ... and what can be grouped together 22:58:54 ... it is a lot of properties but you're adding more leverage to CSS 22:59:07 DS: Some people want to do more of what we do in SVG in CSS 23:00:35 I thought it was generally agreed upon in Lyon that animating attributes in CSS was a goal. I agree that introducing more properties / aligning properties could take time. Could we start with attributes and worry about what’s a property and what does inheritance mean later (I realize this is against my proposal) 23:00:54 CM: So there already are CSS properties that only apply to certain SVG elements 23:00:58 ... and like wise for HTML 23:02:00 ... Second proposal is the same as the first 23:02:10 ... but giving new names 23:02:18 CL: So it's really an alias 23:02:37 CM: They are given unique names to avoid conflicts and short names e.g. "r' 23:02:46 s/"r'/"r"/ 23:03:21 CM: You could introduce a circle radius attribute to maintain consistency and say how they both work 23:03:41 ... and secondly you could break the naming correspondence 23:04:05 CL: I'd prefer to have a table that has the correspondence between the properties and the attributes 23:04:24 ... I guess people may start putting it in as an attribute and wondering why it's not working 23:04:33 CM: Third is to not do an promotion 23:04:38 Me too! 23:04:54 ... and make attributes animatable by CSS Animations 23:05:01 Yes, I changed my mind; I never came up with a syntax that worked but Cameron did. 23:06:10 CM: The simple way is to just allow the attribute names where you can put property name inside the key sets 23:06:23 ... then it's unclear if it's a property name or attribute name 23:06:52 ... you're stepping on the namespace area again 23:07:16 YES! Perfect Chris! 23:07:52 CL: CSS has rect { transition: (attr x) 0.5s; animation: a 0.5s both infinite } 23:07:55 rect { transition: attr(x) 05.s ... 23:08:21 ship it 23:08:49 ROC: attr() seems like the right thing to me 23:09:06 ... because it's existing syntax and it's already there 23:09:33 CM: Downside is the animation attributes is quite different about how you specify properties 23:10:20 ... The third code snippet is a different proposal in this domain 23:10:52 CL: How would you evaluate that one compared to attr() 23:11:51 ... currently attr is used on the right hand-side of the ":" 23:12:10 CM: I don't think CSS people would be happy with using that in normal rule sets 23:13:24 ... These last few code snippets have the same idea 23:13:59 ... Why do I prefer promoting properties - it seems less of a hack 23:14:03 ... doesn't require new syntax 23:14:14 ... I like the idea of extending the scope of properties 23:14:20 ... the downside is quite a small set 23:14:41 DS: I don't particularly care for the semantics argument 23:14:53 ... the semantics argument is not a strong one in my opinion 23:15:23 CM: If we can animate these things with CSS animations why wouldn't you want style these things regularly 23:15:39 Whether or not we want to style them, IMHO is a seperate argument. I don't want to style stdDeviation 23:15:41 DS: Because of all the problems with promoting them to properties 23:16:51 CM: Rest of the page is timing and interpolation functions and features that are missing 23:17:05 ... and also how the sandwiches interact 23:17:19 ... and a lot more so questions rather specific answers 23:19:19 ROC: First of all, David Barron will be implementing CSS Animations in Gecko 23:19:32 s/Barron/Baron/ 23:19:40 ... he's got a lot of knowledge in Transitions and Animations 23:20:12 DS: So Chris do you predict any issues with putting attr on the left-hand side 23:20:21 CL: Some 23:20:45 ROC: In the context of animations it's doable 23:21:03 ... in the context of actually doing it, it's probably not doable 23:21:10 CL: It depends on why we would be doing this 23:21:31 ... if the point is to get CSS Animation to work 23:21:39 ... if the point is to style anything 23:22:00 ROC: In the key frame stuff, it would work 23:22:04 ... not for general stuff 23:22:26 PD: Is this also Transitions? 23:22:29 CL: Yes 23:23:35 CM: So you don't have a problem with attr() on the left-hand side of the ":" 23:23:42 ... because you need that for Transitions 23:23:45 ROC: Why? 23:24:52 CL: Transitions are triggered by certain things - changes attribute 23:25:05 ROC: All Transitions says, when something changes make the change smooth 23:25:33 CM: [Writes on the board] 23:25:56 ... rect {transition: attr(x) 1s} 23:26:02 homata_ has joined #svg 23:26:10 ... rect: hover {attr(x): 50x} 23:26:19 ROC: We shouldn't allow rect: hover 23:26:35 CM: So you're saying that CSS Transitions can never change attributes 23:27:53 ... Patrick do you have any thoughts about transitions not working CSS styled transition animations? 23:28:06 ... the second rule is a straight style rule 23:28:15 ... what if you change the x in the DOM 23:28:19 ... would that cause a Transition? 23:28:23 ROC: Yes 23:30:07 DS: If you already have the underlaying model, then changing the parser to set up the model seems trivial 23:30:12 CL: I agree 23:30:22 ... it's the core animation stuff and how you do your display 23:31:25 so attr() works on transitions, animations and selectors? 23:31:32 ROC: I would like to run it by David Baron 23:31:37 ED: I will ask the people at Opera 23:32:54 CM: The result of this discussion is that putting attr() in regular style rules on the left-hand side wouldn't work 23:33:09 ... but the attr() in the Transition would still work 23:33:12 rect:hover{attr(x): 50px} 23:33:21 PD: That's not supported? 23:33:24 CL: Correct 23:33:35 ... you'd thrash the DOM doing it that way 23:33:42 CM: The work around is to make a CSS Animation 23:34:05 ... because you can make the animation apply on the :hover 23:35:50 ... We can discuss the proposal at the next FX call 23:36:10 ... in two weeks 23:36:11 next fx telcon will be in two weeks time 23:36:27 CL: Get it finialised if we meet in June with CSS Working Group 23:38:56 RESOLUTION: We prefer to use the attr() solution that allows CSS animations to target SVG attributes directly rather promoting attributes to properties 23:39:08 (break for lunch) 23:39:57 - +1.425.868.aabb 23:40:04 - +1.649.363.aacc 23:40:06 Team_(svg)21:37Z has ended 23:40:07 Attendees were +1.649.363.aaaa, +1.425.868.aabb, +1.649.363.aacc 00:21:51 I sent some of you an email with files to support our intrinsic sizing discussion. If I am late, please begin without me and I will catch up. See the agenda page for clear information about what we discovered. 00:22:03 Jonathan has been working on this for a while and shared his tests with all of us a long time ago. 00:22:17 We wanted to share some tests back and perhaps we can use them as a test bed for the test framework discussed on Monday. 00:22:23 We believe that these tests are accurate to the specification and where we believe the spec to be ambiguous, is within the spirit of the specification and/or interoperable. 00:22:26 So we can start with what we found (http://www.w3.org/Graphics/SVG/WG/wiki/F2F/Auckland_2011/Intrinsic_sizing_tests) and I can post a test page with images. 00:22:30 For the tests, you will notice that indeed IE9 passes all of them; this is because we used these tests to develop our platform. 00:22:43 As indicated on the email DL, after our latest platform preview we caught some sizing discrepancies between our implementation and the spec; we subsequently made adjustments 00:22:53 At the time of the change we aligned with Firefox beta. I think Firefox made adjustments for interop based upon our implementation (I think that’s what Rob said). 00:22:59 My apologies on this and my lack of communication on our last minute updates. They were fast and furious and as I promised these tests we want to contribute and believe that they accurately reflect the specification. 00:23:52 (be back shortly0 00:37:40 birtles has joined #svg 00:41:44 Zakim, room for 3? 00:41:46 ok, heycam; conference Team_(svg)00:41Z scheduled with code 26631 (CONF1) for 60 minutes until 0141Z 00:42:11 Team_(svg)00:41Z has now started 00:42:17 + +1.649.363.aaaa 00:43:32 i see that the examples patrick mailed out uses preserveAspectRatio="None" (caveat being that svg attributes are case-sensitive) 00:44:01 the keyword value that is 00:45:45 just one of the files: test_svg_viewbox_preserveratio.svg 00:49:26 scribe: Jonathan Watt 00:49:29 scribenick: jwatt 00:50:01 topic: Animation Improvements 00:51:09 BB: do we want a new spec for Web Animations, or to continue work on SVG animation? 00:51:31 CM: so would Web Animations be an abstract spec about the model? 00:51:38 DS: I think a single spec 00:52:09 BB: I think we want this to apply to CSS properties in HTML, so have it separate to SVG 00:52:11 - +1.649.363.aaaa 00:52:12 Team_(svg)00:41Z has ended 00:52:12 Attendees were +1.649.363.aaaa 00:52:44 Team_(svg)00:41Z has now started 00:52:51 + +1.649.363.aaaa 00:53:38 CM: would that allow et. al. in HTML documents? 00:54:03 ...or just have those elements being in SVG fragments but being allowed to target CSS properties in HTML documents? 00:54:29 BB: defined in a way to allow HTML X to pull it in 00:54:58 ...to target attributes if they wanted to do that 00:55:20 DS: I think DOM bindings should be defined in that spec 00:56:06 CM: separate spec sounds similar to the way we have separate SMIL specs now 00:56:40 ...would it define elements that a host language can put it its own namespace? 00:58:05 BB: I don't want to make in so abstract that we're not giving elements with names 00:59:17 DH: it worries me slightly that we'll end up with four separate animation specs which people implement subsets of 00:59:33 ...it seems like it might make more sense to keep in in the SVG spec 00:59:49 s/in in/it in/ 01:00:38 ...to deserve the name "Web Animations" it would have to be a super-model to rule them all 01:01:01 BB: getting CSS animations in the same spec 01:02:35 DS: having a distinct and short name for the spec would have value 01:04:22 ...I suggest we put something on paper as a single spec, try that, and split it if we have to 01:07:41 ROC: first I want to get everyone together to figure out what browsers currently do with SMIL and CSS animation integration 01:08:05 ...and transitions 01:10:57 ...how they interact 01:10:58 DS: it seems like the CSS stuff should override 01:11:13 ROC: having CSS animations override SMIL animVals makes sense to me 01:11:27 heycam has joined #svg 01:11:32 anthony_nz has joined #svg 01:11:32 birtles has joined #svg 01:11:55 roc has joined #svg 01:12:30 ROC: I would put everything in one spec 01:12:57 DH: so scrap the CSS-animations spec its current incarnation? 01:13:11 ROC: I think so 01:13:54 s/so scrap the CSS-animations spec its current incarnation/so integrate the existing CSS animations spec into a single unified spec/ 01:14:31 ACTION: Jonathan to Get Daniel to talk to David about making a new harmonized animations spec 01:14:31 Created ACTION-2993 - Get Daniel to talk to David about making a new harmonized animations spec [on Jonathan Watt - due 2011-03-10]. 01:18:28 RESOLUTION: Try to bring the existing declarative animation spec work together into a single spec, with separate sections for CSS animation and SVG animation 01:20:31 ACTION: Erik to bring up the one true animation spec on the fx call 01:20:31 Created ACTION-2994 - Bring up the one true animation spec on the fx call [on Erik Dahlström - due 2011-03-10]. 01:26:09 AD has joined #svg 01:28:04 + +1.425.868.aabb 01:28:28 scribenick: birtles 01:28:35 Scribe: Brian 01:29:09 can't understand 01:29:19 Filters 01:29:31 How about filters 01:29:41 I have some text I wrote 01:29:53 topic: SVG 2 / CSS Filters Module 01:30:35 jwatt has left #svg 01:34:33 are we all on the same chat now? 01:34:44 I'm here 01:34:52 heycam, can you see me? :) 01:35:00 ACTION: Cameron to bring up the CSS-animations-targetting-SVG-attribtues in the next FX telcon 01:35:01 Created ACTION-2995 - Bring up the CSS-animations-targetting-SVG-attribtues in the next FX telcon [on Cameron McCormack - due 2011-03-10]. 01:35:03 (heycam says 'yes') 01:36:30 roc has joined #svg 01:36:34 jwatt has joined #svg 01:36:46 AD has joined #svg 01:37:04 birtles has joined #svg 01:37:04 anthony_nz has joined #svg 01:37:08 scribenick: birtles 01:37:10 ChrisL has joined #svg 01:37:11 Scribe: Brian 01:37:18 ED: I did some updates to the filter spec 01:37:18 http://dev.w3.org/Graphics-FX/modules/filters/publish/SVGFilter.html 01:37:29 rrsagent, here 01:37:29 See http://www.w3.org/2011/03/02-svg-irc#T01-37-29 01:37:32 I added some wording for handling filters applied to HTML thru CSS 01:37:40 homata_ has joined #svg 01:37:45 ... based on what roc wrote up 01:37:55 ... taking part of the spec from Mozilla and integrating it into this filter spec 01:38:10 AD has joined #svg 01:39:02 We need to distinguish what the filter is being applied to. From my simple understanding, the SVG Filters apply to graphical elements and paint underneath. 01:39:10 HTML “filters” (box-shadow, text-shadow) target different parts. 01:39:15 I suggest we add a ‘filter-target’ property to target different things (“box|text”) or (“content|whole”). 01:39:42 PD: need to differentiate between targetting background content vs content itself 01:40:22 yes i can hear you 01:40:33 RO: I think the best way to do that is to add new images 01:40:44 ... right now you have SourceAlpha etc. 01:40:55 ... ContentImage, ContentAlpha etc. 01:41:18 ED: I added into the spec some wording in red about this 01:41:33 RO: I don't think it's difficult to add new image names here 01:41:45 ED: So what do we want to add Border? Background? 01:41:54 RO: Border, Background, Outline are the 3 main ones 01:41:59 ... Content would be everything else 01:42:07 ... that includes everything their child can containa 01:42:16 ... that would be really powerful, and easy to undersatnd 01:42:20 ... let's do it 01:42:27 ED: Does that map to something in SVG 01:42:30 RO: no 01:42:46 s/containa/contain, including their borders and backgrounds 01:43:46 CM: What are you thinking of? 01:43:54 CL: Of those, SVG only has Content 01:44:03 ... Content would apply to SVG and HTML equally 01:44:13 PD: So I want to be able to only target the background of a table 01:44:30 ... I want to take a SVG filter and target it to the text in this page, the background in another 01:44:36 ... so it shouldn't be on the filter 01:44:45 filter-target="background" 01:44:53 CM: So it should be on the property not the filter 01:45:12 CL: But sometimes you want more than one 01:45:18 CM: But for the simple case you only need one 01:45:49 RO: one thing that's missing is how to interpret user space units 01:45:53 filter-target="border|background|content(default)" 01:46:00 ED: it's there 01:46:39 PD: I'm talking about targetting a div 01:47:16 CM: we're talking about things (1) inside the filter introduce new filter primitive keywords (2) targetting a whole filter to only one aspect of a box 01:47:23 s/about things/about two things/ 01:47:42 CL: there's always going to be a limit to what you can do with shorthand properties 01:47:49 ED: keep the canned filters as simple as possible 01:47:59 CM: I'd be happy with a feature like that 01:48:04 PD: I agree 01:48:20 ... the shorthand lets people doing something quickly 01:48:29 ... but if you want to do something more complex you have to dig deeper 01:48:41 ... and that's in a new spec where you start talking about new sources 01:49:09 So how do we get that to the CSS working group? Next FX call 01:49:31 ED: Dino has an action to come up with the proposed syntax for the shorthands 01:49:37 ... he's the co-editor of the spec 01:49:44 ... it's moved to the public fx taskforce 01:49:54 ... I'll get in touch with him to see how it's going 01:50:02 Sounds great, for my ability to track this can you create an issue on that 01:50:19 ED: If he's too busy I'll propose something 01:50:28 ... I'd like to remove the margin attribute 01:50:40 ... and figure out the filter regions so we don't get clipping by default 01:50:57 All of this sounds great Eric 01:51:12 ... the margins were in the original SVG 1.1 which was suppose to address blur margins 01:51:24 ... but all implementations are doing optimisations to address the slow cases anyway 01:51:31 ... so they need to optimise the regions anyway 01:51:40 CM: was there other stuff you'd like to rip out 01:51:46 ED: they were the major things 01:51:47 I was going to say we clamp, but....we don't do filters... 01:51:53 ... the next step would be new filter primitive 01:52:02 http://www.w3.org/Graphics/fx/wiki/Filter_effects 01:52:25 CM: experience shows explicit clamping in there didn't prove to be a useful optimisation 01:52:31 ... people don't do it properly 01:52:55 PD: if we were to do clamping it would be nice to have specific properties 01:53:19 ... e.g. to what extent to you extend to infinite regions 01:53:39 ... i'd like a story that says you can shoot yourself in the foot, but this is as far as you can go 01:53:44 RO: can you give us an example? 01:53:53 ... what are you talking about clamping? 01:53:58 i'm talking about clamping the combination of dx, stddeviation etc. don't worry 01:54:06 i prefer the margin proposal 01:54:10 CM: we're talking about different things 01:54:13 Sorry 01:54:52 ED: in those cases it might make sense to have limits 01:55:01 ... although it needn't necessarily be in the spec 01:55:09 ... but implementations should probably have limits 01:55:41 CL: shorthand properties (canned filters) should say that here is an SVG filter that is equivalent 01:55:49 ... but make clear you don't have to implement it like that 01:55:53 ... as long as it has the same effect 01:56:03 ... but authors shouldn't expect that SVG filter to show up in the DOM 01:56:13 ... that allows hardware/platform acceleration to be used 01:56:28 Sure 01:56:54 ED: could you explain a bit more about the point: "Support the inclusing of SVG as part of in HTML" 01:57:21 . 01:57:26 PD: I often end up with fairly large filters which I'd like to link externally 01:57:49 CM: the current way you reference filters is in this way: url # something 01:57:54 . 01:58:02 url() 01:58:13 ED: how does import work? 01:58:59 PD: it's difficult to import gradient, image definitions 01:59:10 RO: you can reference all of those with URL # references 01:59:15 ... what's wrong with that? 01:59:28 PD: i don't have a bit complaint 01:59:33 s/bit/big/ 02:00:17 RO: there's one situation: people writing stylesheets would like to reference filters without requiring yet another document 02:00:27 ... one proposal is allowing CSS to contain XML 02:00:37 ... so you can put the filter directly in the stylesheet 02:00:44 ... I don't think it's a bad idea 02:00:55 ... but for now the URL syntax seems to work 02:01:06 PD: yeah, that makes sense 02:01:14 ... let's leave it 02:01:37 AD has joined #svg 02:01:38 CL: in SVG we were very careful to use URI refs rather than ID ID-refs 02:01:46 ... since that doesn't work for other docs 02:01:55 ... so it gives us flexibility to address that 02:02:31 ED: in this draft here I have one filter primitive that's not defined yet 02:02:35 ... feCustom 02:02:47 ... it's for defining shaders with SVG filters 02:03:04 ... one possible way is to allow people to write filter primitives with open CL 02:03:10 ... or perhaps WebGL 02:03:21 ... it's lower level but gives you a lot of power 02:03:33 CL: previously we proposed javascript callbacks for this 02:03:37 ED: that would be slow 02:03:45 CL: yeah, so this looks like more practical 02:03:57 ED: so do you want to allow software-only engines to run shaders? 02:04:36 PD: before we go to far down this path... is WebGL going to be brought into the W3C 02:04:38 ? 02:04:48 RO: WebGL may not be W3C but it is a standard 02:05:05 Is webgl under the same patent policy as w3c? 02:05:23 http://en.wikipedia.org/wiki/WebGL 02:05:35 ... on any platform that can run WebGL you should be able to use WebGL in a shader 02:05:40 ED: could be a feature string 02:05:48 ... so if you can run this, do this, otherwise do that 02:06:03 CL: or we could use another language feature 02:06:13 DS: what's the license? 02:06:21 RO: not sure 02:06:29 ... but the Chronos group has dealt with IP a lot 02:06:52 s/Chronos/Khronos/ 02:07:12 ED: so if we do that it would be good to pull into filter input images 02:07:17 ... and integrate with the rest of the filter spec 02:07:22 http://en.wikipedia.org/wiki/HLSL 02:07:27 ... means some definition of how it integrates with the shader language 02:07:35 http://en.wikipedia.org/wiki/Cg_%28programming_language%29 02:07:37 ... how SVG filters integrate 02:07:53 ... otherwise you could have just the shader and some fallback 02:08:07 CM: so you want 1/2 inputs just like you do with filter primitives? 02:08:14 ED: what does the shader look for? 02:08:27 CM: mapping from the SVG buffer to whatever the shader takes 02:08:33 ED: same for the output from the shader too 02:08:53 CL: Cg lang can output different types of shaders 02:09:04 ... so it could provide different shaders depending on the platform 02:09:12 RO: Google provide ANGLE 02:09:41 "almost native" 02:10:12 PD: will you pull that stuff out in the next week or so? 02:10:13 http://code.google.com/p/angleproject/issues/detail?id=35 02:10:20 ED: in the coming weeks 02:10:41 CL: I want some language in the spec about the canned effects 02:10:55 ... that you don't actually need the equivalent SVG in the DOM as long as you get the same result 02:11:15 Did we solve the issue I brought up before with filter-target on HTML elements? 02:11:40 ACTION: Erik to work on removing the margins and put some proposed text for how to deal with the proposed filter regions into the filters spec 02:11:41 Created ACTION-2996 - Work on removing the margins and put some proposed text for how to deal with the proposed filter regions into the filters spec [on Erik Dahlström - due 2011-03-10]. 02:12:17 ACTION: Erik to follow up Dino about the shorthand syntax for filter effects 02:12:18 Created ACTION-2997 - Follow up Dino about the shorthand syntax for filter effects [on Erik Dahlström - due 2011-03-10]. 02:12:21 actually http://code.google.com/p/angleproject/ is a better pointer for angle 02:13:06 my phone failed 02:13:12 - +1.425.868.aabb 02:13:14 I don't have my machine configured 02:13:18 to check into W3C 02:13:34 I emailed them, can someone please do that for me (my apologies) 02:13:40 (Did you get them in email?) 02:13:54 Ok I will get another phone and meet back after your break 02:14:16 s/yes we did/yes at least erik did and he is checking them in/ 02:17:49 http://dev.w3.org/SVG/profiles/1.1F2/ua-tests/svg_size/svg_size.html 02:18:12 disconnecting the lone participant, +1.649.363.aaaa, in Team_(svg)00:41Z 02:18:16 Team_(svg)00:41Z has ended 02:18:18 Attendees were +1.649.363.aaaa, +1.425.868.aabb 02:22:26 pdengler_home2, so it looks like your page ^ is pairs of [svg testcase] [raster expected-rendering], right? 02:30:28 *should* be a test with the expected rendering next to it in a raster format 02:34:33 Zakim, room for 3? 02:34:35 ok, heycam; conference Team_(svg)02:34Z scheduled with code 26631 (CONF1) for 60 minutes until 0334Z 02:34:56 Team_(svg)02:34Z has now started 02:35:03 + +1.649.363.aaaa 02:36:25 + +1.425.868.aabb 02:38:39 we overloaded the server with .5MB? :) 02:50:51 birtles has joined #svg 02:50:55 anthony_ has joined #svg 02:50:59 Zakim, who is on the call? 02:51:00 On the phone I see +1.649.363.aaaa, +1.425.868.aabb 02:51:21 scribenick: birtles 02:51:21 anthony_nz has joined #svg 02:51:25 Scribe: Brian 02:51:28 topic: Intrinsic sizing 02:51:36 AD has joined #svg 02:51:53 jwatt has joined #svg 02:52:36 Jonathan has been working on this for a while and shared his tests with all of us a long time ago. 02:52:49 http://dev.w3.org/SVG/profiles/1.1F2/ua-tests/svg_size/svg_size.html 02:53:52 ED: I've made some fixes (doctype, preserveAspectRatio="none" <-- lowercase "none") 02:55:56 roc has joined #svg 02:57:37 ChrisL has joined #svg 02:57:51 rrsagent, here 02:57:51 See http://www.w3.org/2011/03/02-svg-irc#T02-57-51 02:58:49 http://dev.w3.org/SVG/profiles/1.1F2/ua-tests/svg_size/svg_size.html 03:00:11 (for completeness, here are the unmodified files from patrick: http://dev.w3.org/SVG/profiles/1.1F2/ua-tests/svg_size-patd-original/svg_size.html ) 03:00:19 homata has joined #svg 03:01:29 We wanted to share some tests back and perhaps we can use them as a test bed for the framework discussed on Monday. 03:01:43 We believe that these tests are accurate to the specification and where we believe the spec to be ambiguous, is within the spirit of the specification and/or interoperable. 03:02:19 For the tests, you will notice that indeed IE9 passes all of them; this is because we used these tests to develop our platform. 03:02:46 As indicated on the email DL, after our latest platform preview we caught some sizing discrepancies between our implementation and the spec; we subsequently made adjustments. 03:02:53 At the time of the change we aligned with Firefox beta. I think Firefox made adjustments for interop based upon our implementation (I think that’s what Rob said). 03:03:05 (http://www.w3.org/Graphics/SVG/WG/wiki/F2F/Auckland_2011/Intrinsic_sizing_tests) 03:04:23 PD: Let's see if we can agree on what the spec says, or if the tests are wrong 03:04:36 JW: I think the 7th and 8th images are not being sized correctly on IE 03:04:56 JW: "SVG sizing with 'viewbox' specified while 'width' and 'height' is percentage inside an 'object' tag." 03:05:16 JW: the 4th set of images 03:05:47 JW: from my understanding, the object element ends up with width 50%, height: auto because the containing block, the body, has height auto 03:06:07 ... which gets you to section 10.6.2 of CSS 2 03:06:10 http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height 03:06:49 JW: Otherwise, if 'height' has a computed value of 'auto', and the element has an intrinsic ratio then the used value of 'height' is: 03:06:51 JW: (used width) / (intrinsic ratio) 03:07:16 ... since the height is not resolvable you end up using the intrinsic dimensions of SVG (100x100) --> ratio 1:1 03:07:27 ... so the height of the object tag should be given the same computed value as its width 03:07:34 ... so you should end up with square 03:07:42 s/square/a square/ 03:08:26 PD: so firefox ends up with a square on this one? 03:08:36 JW: previously you might have been testing firefox in quirks mode 03:08:46 ... but if you run the test again you'll see it is a square in firefox 03:09:28 PD: Erik, what's your interpretation 03:09:36 ED: Jwatt is probably right 03:09:44 ... what does the P1, P2, P2 mean in the wiki page 03:09:54 pdengler_3 has joined #svg 03:09:58 PD: ignore that 03:10:11 RRSAgent: make minutes 03:10:11 I have made the request to generate http://www.w3.org/2011/03/02-svg-minutes.html jwatt 03:10:34 ED: The P3 might have only been wrong because of the capitilisation of preserveAspectRatio 03:10:45 PD: do you agree with jwatt's assessment that it should be 1:1 03:10:48 ED: yeah, I think so 03:10:53 PD: what does Opera do? 03:11:19 DH: Opera matches the bitmap on my computer 03:11:25 PD: it's the same as IE9 on my computer 03:11:46 DH: could it be that they're using the viewBox to generate an aspect ratio? 03:11:52 ... in this case there's a width and a height 03:12:38 ED: jwatt is probably correct here 03:12:48 ... I think the spec says the width/height takes precedence in this case 03:12:57 ... and viewBox is used if there's no width/height 03:13:07 My understanding is that the viewBox would take precidence as the percentage is 100% correct? 03:13:34 height/width are both 100px 03:13:40 JW: I'm pretty sure I'm right 03:13:49 there's no percentage 100%, IIUC 03:14:07 CL: 1.1F2 should have the same wording as Tiny 03:14:08 ED: so width/height should have precedence 03:14:58 PD: I want to make sure we're on the same page and it seems Erik and Jonathan are agreed 03:15:09 ... I think this would be a good set of tests to formalise 03:15:18 ... into the test bed 03:15:32 ... where else do you think our interpretation might be incorrect? 03:16:19 ... bear in mind that these tests are hot off the press 03:18:00 JW: I think FF currently handles "SVG sizing without 'viewbox' specified while 'width' and 'height' is percentage inside an 'object' tag." incorrectly 03:18:06 I agree 03:18:34 JW: it doesn't override the width/height on the SVG tag 03:18:37 "SVG sizing with 'viewbox' specified while 'width' and 'height' is percentage inside an 'object' tag." 03:18:56 ED: the first example says the width/height is % but the test case doesn't use % -- was the test case wrong 03:19:00 ... oh it refers to the object element 03:20:21 Eric, do you mean the very first test? 03:20:44 http://dev.w3.org/SVG/profiles/1.1F2/publish/coords.html#IntrinsicSizing 03:21:16 ED: yes, so I just wasn't sure where the percentages were, but it's ok 03:22:35 pdengler_home5 has joined #svg 03:23:27 ED: So, is Firefox's handling of the first case is incorrect? 03:23:30 JW: no not the first case 03:24:15 JW: "SVG sizing without 'viewbox' specified while 'width' and 'height' is percentage inside an 'object' tag." - half way down the page 03:25:05 ED: sorry, misread it, a bit confused by the similar text descriptions 03:25:27 JW: So those are the only two cases I would point out 03:25:36 DH: Looks like we match the reference on everything else 03:25:40 Ok, and that's the same issue as the 4th one right? 03:25:56 ED: you mean just the SVG part, not the dotted lines 03:26:10 DH: I mean including the dotted lines 03:26:18 ... but ignoring the padding 03:26:35 JW: Are the images supposed to match in size and position as well? 03:26:51 PD: I believe Opera had some differences with the stylesheet 03:27:12 JW: In IE9 after adding the doctype the rendering and bitmaps don't seem to be the same 03:27:26 That' because we made changes since PPB7 in RC to match Firefox :) 03:27:39 and the spirit and letter of the spec (I hope) 03:28:16 PD: They all match for me on my build 03:28:46 SVG sizing without 'viewbox' specified while 'width' and 'height' is percentage inside an 'object' tag." 03:29:19 JW: Mozilla needs to fix that 03:29:30 DH: Firefox does that incorrectly 03:29:33 The only issue is then that we have #4 incorrect 03:29:52 (aside from the preserveAspectRatio casing) 03:30:07 JW: For the examples on this page, the first one I pointed out you don't do correctly, but the second one you and Opera do correctly and Mozilla does not 03:30:31 ED: I think we should try to forward this to the WebKit guys 03:31:00 ... our next step would be to try to collect these test cases into a test framework 03:31:09 ... but it sounds like we're mostly on the same page 03:31:22 PD: maybe contact with WebKit will really get us online 03:32:01 JW: on the wiki page, under Firefox 4 there are 5 bullet points 03:32:24 ... referring to the third one 03:32:43 ... I think this is the correct thing to do 03:33:12 ... did you remove viewBox logic? 03:33:44 ... talking about it in terms of a viewBox is just to get the desired result 03:33:51 ... to give the same effect as for raster images 03:34:22 The point in question is "Next Firefox 4 beta will have Opera’s viewBox logic." 03:34:36 DH: I think the problem is when you have a non-percent width/height and NO viewbox 03:34:46 ... we've changed it to synthesize a viewBox in that case 03:34:46 I think we all recognize that this is probably desirable, but I definitely want to raise the issue that injecting a missing attribute might be considered "quirks" 03:34:50 ... that's what Opera does 03:35:32 ... this is for scaling 03:36:05 ... the straightforward thing to do is to clip but what Opera does and what we think authors expect is to have the image scale 03:36:09 ... like with a raster image 03:36:16 ... an author can add a viewBox to get that behaviour 03:36:26 ... but authoring tools generally don't do that 03:36:45 CL: but then you can't get the image to be the size you desire anymore 03:37:04 JW: if that's what you want just put width/height auto on your image tag 03:37:22 DH: it's only when the SVG width/height doesn't match the image width/height 03:37:33 shepazu has joined #svg 03:37:40 That was our concern; it may make sense, but it is assuming an attribute that is not there 03:37:47 ... we do it on the image tag, list style image (CSS images), but not on the SVG:image tag because it's well defined there 03:37:52 ED: we don't do it there either 03:38:23 DS: Tab Atkins wrote on www-style that he found the intrinsic sizing discussion a bit confusing 03:38:55 ... we sorted out what was confusing him -- it wasn't clear to him that the SVG canvas extended infinitely on all sides 03:39:06 ... he thought we could make that more clear 03:39:23 ... and that if we talked about % width/height as a transformation 03:39:32 CL: it's fairly easy to explain 03:39:37 q+ 03:39:42 ... e.g. 30% each transform="scale(0.3)" 03:41:02 DS: I thought it would be harmless to explain in those terms 03:41:27 ACTION: Doug to add some additional clarification to the intrinsic sizing part of the spec 03:41:27 Created ACTION-2998 - Add some additional clarification to the intrinsic sizing part of the spec [on Doug Schepers - due 2011-03-10]. 03:42:20 eseidel_ has joined #svg 03:42:34 CL: (re Patrick's concern about the "quirk" of adding a viewBox attribute) 03:42:53 DH: it doesn't match object 03:43:00 PD: it doesn't match the spec 03:43:11 DH: it doesn't match the spirit of the spec 03:43:22 CL: is there anything in the HTML spec regarding this behaviour for PNG images etc. 03:43:32 ... we could see if we're consistent with that 03:43:42 DH: I'm sure it's in the CSS spec for raster images / replaced elements 03:43:59 ... but I think a lot of the CSS spec text about this stuff doesn't expect images that react to their viewport 03:44:13 JW: the bottom line is that without this viewBox insertion behaviour is unexpected for authors 03:44:15 until recently, that was certainly true 03:44:28 ... with this they get what they expect 03:44:48 PD: I'm not sure, it's tough 03:44:59 JW: some very loose spec text that daniel and I came up with while trying to get images to behave as authors expect: "for SVG-as-an-image, if the /embedding/ element doesn't implement preserveAspectRatio and the root in the image doesn't have a viewBox, resolve the 's width/height to pixels values and use viewBox="0,0,resolvedwidth,resolvedheight" and preserveAspectRatio=none... 03:45:01 ...(ignoring any preserveAspectRatio on the )" 03:45:11 DH: I acknowledge our current behaviour makes me uncomfortable given the lack of clarity in the spec 03:45:19 ... I'd be more comfortable if we had something in the spec 03:45:27 PD: it does say that for image 03:45:39 ... but not when used as an 03:46:39 DH: the SVG image has different behaviour than the HTML element for raster images 03:46:49 ... so it's not unexpected that it would be different for SVG images either 03:48:20 CL: Well we shouldn't define it in terms of faking a viewBox, but rather by analogue with raster images 03:48:39 JW: maybe we can express it in terms of inserting an extra transform 03:48:47 ... actually that's what we do 03:49:10 ... we talk about viewBox to make it easier for an author to understand 03:49:54 CL: if an image has an intrinsic size / fixed size and you want to make it bigger 03:50:09 ... for raster images you scale it up 03:50:16 ... and same for SVG but it just happens to scale nicely 03:50:32 ... it's not SVG, it's about CSS replaced content 03:50:45 ... it has an intrinsic size and we scale it up because the context in which it's being used says to 03:50:59 DH: but you can find tune that scaling with a viewBox and preserveAspectRatio 03:51:06 ... that's why we "add a viewBox" 03:51:17 s/find tune/fine tune/ 03:51:35 JW: we'd say more than just scaling, but some other wording that didn't mention "viewBox" 03:52:01 ... which will be more complicated but avoids talking about fake viewBoxs 03:52:07 ED: as long as we get the same behaviour 03:52:22 ... I think jwatt's text is more clear 03:55:47 ACTION: Patrick to consider intrinsic sizing behavior (particularly when a viewBox is not provided) and follow-up test cases 03:55:48 Created ACTION-2999 - Consider intrinsic sizing behavior (particularly when a viewBox is not provided) and follow-up test cases [on Patrick Dengler - due 2011-03-10]. 03:56:05 JW: another set of tests for sizing: https://jwatt.org/svg/tmp/embedded-sizing/embedded.html 03:56:30 JW: we seem to diverge widely on these tests 03:57:10 ED: can we put these in the UA sizing? 03:57:17 JW: yes 03:58:05 ... Patrick, those tests seem to show that IE's implementation of the CSS replaced elements stuff seems wrong 03:58:15 ... especially further down where everything just collapses to nothing 03:59:10 ... we've run out of time to talk about individual ones there 03:59:22 ... but if you disagree with our implementation on any of those can you get back to me and I'll explain 04:01:11 Topic: Automatic image sizing 04:02:06 JW: currently the SVG tag if you don't specify width/height they default to 0 and nothing is shown 04:02:11 ... they're required 04:02:15 - +1.425.868.aabb 04:02:21 ... no way to get the width/height to automatically resize to the image you're embedding 04:02:31 ... we should do what CSS embedding algorithm 04:02:33 ... but simpler 04:02:52 ... one or both of width/height can be specified and we determine the width/height 04:03:03 CL: is this for SVG 2nd ed or 2? 04:03:07 JW: SVG2 04:03:20 JW: I'd like the attributes to be optional 04:03:48 ... we use the image aspect ratio to calculate the width/height 04:03:56 DS: it's a breaking change 04:04:15 CL: only if you're linking to images without specifying width/height 04:04:22 DS: which I've done 04:04:41 JW: I think the value of this is high enough that we should just go ahead and do this 04:05:02 DS: I did that to force preload of images 04:05:19 JW: Use visibility: hidden in future 04:05:56 CM: I can imagine someone relying on that behaviour because they're going to animate it out 04:06:16 ... (i.e. relying on it becoming 0, 0) 04:06:30 DS: I usually make the attributes 0, 0 04:07:15 disconnecting the lone participant, +1.649.363.aaaa, in Team_(svg)02:34Z 04:07:16 ... this does break the idea of a rect with no width/height is 0,0 04:07:19 Team_(svg)02:34Z has ended 04:07:21 Attendees were +1.649.363.aaaa, +1.425.868.aabb 04:07:38 Zakim, room for 3? 04:07:40 ok, heycam; conference Team_(svg)04:07Z scheduled with code 26631 (CONF1) for 60 minutes until 0507Z 04:07:46 JW: but rectangles don't embed resources 04:08:00 DS: I think your rationale is perfectly reasonable 04:08:20 ... I think this will be much more user-friendly 04:08:22 CM: I agree 04:08:32 ... is this for rasters and SVGs? 04:08:44 JW: anything that can be embedded by an image tag that has an intrinsic size 04:08:47 AD has joined #svg 04:08:55 DS: how about an SVG with % width/height 04:09:02 ... would it act the same as an HTML img element? 04:09:09 JW: yes, but I need to look into it 04:09:14 ... I want to simplify what CSS is doing 04:09:29 ED: what does Tiny say about %s, are they intrinsic? 04:10:01 s/ED: what/JW: what/ 04:10:43 JW: I don't particularly like the idea of resources that don't know what they're getting put into 04:10:55 ACTION: Jonathan to come up with text for automatic image sizing 04:10:55 Created ACTION-3000 - Come up with text for automatic image sizing [on Jonathan Watt - due 2011-03-10]. 04:11:14 kiriban! 04:13:15 RESOLUTION: For SVG missing an explicit width/height we will take in account the intrinsic dimensions/aspect ratio of the resource being embedded 04:13:31 ED: this is not just for image 04:13:38 ... there's feImage and potentially other places 04:13:42 ... animation element 04:14:16 DS: so bbox will clearly get the width/height 04:14:18 foreignObject too 04:14:33 ... however, what about getting the attribute 04:14:38 ... 0? null? undefined? 04:14:51 CM: you'd get empty 04:14:58 ... it wouldn't affect the DOM 04:15:39 ... it should do whatever we do for other automatic values 04:16:18 ED: currently we'd just create an object on the fly for cases like that 04:16:48 DS: if you change the href if would also change 04:16:57 ... do we need to put that in the spec? 04:17:01 s/cases like that/cases like image without width, and you tried to fetch image.width.baseVal.../ 04:17:18 JW: I don't think that's necessary but it might be helpful as a note 04:17:30 ... but you should apply the same rule with a new image 04:17:41 DS: "even if the resource should change" 04:18:19 trackbot, end telcon 04:18:19 Zakim, list attendees 04:18:19 sorry, trackbot, I don't know what conference this is 04:18:20 RRSAgent, please draft minutes 04:18:20 I have made the request to generate http://www.w3.org/2011/03/02-svg-minutes.html trackbot 04:18:21 RRSAgent, bye 04:18:21 I see 9 open action items saved in http://www.w3.org/2011/03/02-svg-actions.rdf : 04:18:21 ACTION: Cameron to write a proposal for allowing shorthand presentation attributes [1] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T20-48-38 04:18:21 ACTION: Jonathan to Get Daniel to talk to David about making a new harmonized animations spec [2] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T01-14-31 04:18:21 ACTION: Erik to bring up the one true animation spec on the fx call [3] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T01-20-31 04:18:21 ACTION: Cameron to bring up the CSS-animations-targetting-SVG-attribtues in the next FX telcon [4] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T01-35-00 04:18:21 ACTION: Erik to work on removing the margins and put some proposed text for how to deal with the proposed filter regions into the filters spec [5] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T02-11-40 04:18:21 ACTION: Erik to follow up Dino about the shorthand syntax for filter effects [6] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T02-12-17 04:18:21 ACTION: Doug to add some additional clarification to the intrinsic sizing part of the spec [7] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T03-41-27 04:18:21 ACTION: Patrick to consider intrinsic sizing behavior (particularly when a viewBox is not provided) and follow-up test cases [8] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T03-55-47 04:18:21 ACTION: Jonathan to come up with text for automatic image sizing [9] 04:18:21 recorded in http://www.w3.org/2011/03/02-svg-irc#T04-10-55