20:57:32 RRSAgent has joined #fx 20:57:32 logging to http://www.w3.org/2012/12/10-fx-irc 20:57:34 RRSAgent, make logs world 20:57:34 Zakim has joined #fx 20:57:36 Zakim, this will be 3983 20:57:36 ok, trackbot; I see GA_FXTF()4:00PM scheduled to start in 3 minutes 20:57:37 Meeting: CSS-SVG Task Force Teleconference 20:57:37 Date: 10 December 2012 20:58:19 GA_FXTF()4:00PM has now started 20:58:26 + +1.415.832.aaaa 20:58:45 zakim, aaaa is me 20:58:45 +krit; got it 20:58:51 +Doug_Schepers 20:59:14 +Lea 20:59:21 +plinss 20:59:51 smfr has joined #fx 21:00:04 + +1.408.636.aabb 21:00:11 Zakim, aabb is me 21:00:11 +smfr; got it 21:00:25 +cabanier 21:00:35 +??P13 21:00:40 cabanier has joined #fx 21:00:53 Zakim, ??P13 is me 21:00:53 +ed; got it 21:01:12 chair: ed 21:01:18 +nikos 21:01:20 Agenda: http://lists.w3.org/Archives/Public/public-fx/2012OctDec/0071.html 21:01:50 smfr has changed the topic to: http://lists.w3.org/Archives/Public/public-fx/2012OctDec/0071.html 21:02:01 +??P15 21:02:27 heycam|away has joined #fx 21:02:27 dino has joined #fx 21:03:45 +??P19 21:03:47 Zakim, ??P19 is me 21:03:47 +heycam|away; got it 21:04:10 Chair: Erik 21:04:13 Scribe: Cameron 21:04:15 ScribeNick: heycam 21:04:34 Topic: filter effects, new syntax proposal for custom filter function 21:04:36 http://lists.w3.org/Archives/Public/public-fx/2012OctDec/0070.html 21:04:49 krit: summary of the different proposals here 21:04:54 number 0 is in the working draft now 21:04:58 url inside the custom function 21:05:06 … the problem with that one is that it's not very future proof 21:05:21 … if you have new shader languages, the syntax won't work any more 21:05:30 … I think we should think about a new syntax for this 21:05:40 … proposal #1 is a custom filter at-rule 21:05:51 … different descriptors that match the particular shader language format 21:06:13 … proposal #2 is something similar to @font-face 21:06:22 … a generic @filter rule, with a url and format 21:06:51 … issues with #1 is that you need different descriptor definitions for different shader types 21:06:55 s/types/languages/ 21:07:09 … it's a bit of a burden in my opinion 21:07:15 … I prefer the generic src descriptor with url/format 21:07:27 … and the shader language would be described by a new format 21:07:33 … could be done with XML or whatever 21:07:43 … but it is something different, outside the style sheet 21:07:54 hober has joined #fx 21:07:58 … on the mailing list it seems an at-rule would be ok, just a question of how it looks like 21:08:00 krit has joined #fx 21:08:00 cabanier has joined #fx 21:08:06 … I'd like to have more people involved in the proposal and get more feedback on that 21:08:13 … and get to a resolution soon 21:08:22 dino: I suggest putting something in the WD using an at-rule 21:08:25 … and then wait for comments 21:08:48 … I think ultimately the idea of a separate format to describe a shader package is a good one, except we run into the problem of it being really hard to adopt tnew formats on the web 21:08:59 … I think we should start with the step of having the at-rule 21:09:02 … in the draft 21:09:12 krit: the editors have started some work on the at-rule proposal 21:09:20 … do we want to differ between fragment/vertex shaders? 21:09:27 paul___irish has joined #fx 21:09:33 … I agree it's harder to handle a new external format 21:09:39 … there'll be disagreement about the format 21:09:46 dino: I suggest we head towards #2 to start with 21:10:09 … without using terms like "fragment", "vertex", etc. 21:10:14 … at least initially 21:10:23 … I think we should publish something as a WD and see what happens 21:10:36 ed: I agree, proposal #2 is the one that feels more natural to me, most CSS-y 21:11:00 will Filter Effects 1.0 still define the mesh/blending operational model? why will these semantics be absent from CSS? 21:11:05 krit: would anyone say that we should never ever try to create an external shading language description language? 21:11:32 heycam: I think we should try to avoid it if we can 21:11:55 ed: it depends on what you want to put in the files 21:12:07 … if you just take a fragment shader, it's just a text string, that's what you feed to the implementation 21:12:20 … it depends how much structure you want to have in that external file 21:12:32 krit: the XML format we came up with as a first draft was quite simple 21:12:40 … you have a and element and it's cdata, that's all 21:12:46 and does not support many important use cases 21:12:50 elements would let you specify the params for the shading langauge 21:13:04 smfr: can you post a link to the example file? 21:13:05 and would be have CSS override analogs 21:13:22 http://lists.w3.org/Archives/Public/public-fx/2012OctDec/0054.html 21:14:07 krit: I don't need a resolution now, but I'd encourage people to contribute to the discussion 21:15:15 heycam: I think it's less controversial to just stick it all in the at rule instead of coming up with a new format 21:15:24 +1 21:15:30 a new format can always be compiled to the at-rule 21:15:44 XML -> CSS easy, CSS -> XML harder 21:15:51 Topic: blending and compositing 21:16:19 links: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#box-shadow-mix-color 21:16:26 https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#text-shadow-mix-color 21:16:34 q+ 21:16:35 cabanier: I've put placeholders in the spec right now 21:16:46 … most shadows, in our products, don't use the regular compositing when they are drawn 21:16:56 … people like to do multiply or other effects to make the shadows more pleasing 21:17:11 … right now those properties are in the compositing spec, but I think they would be better in the text/background/borders specs 21:17:23 … that would let you write them in the same shadow syntax 21:17:32 … but with the spec today you'd need two properties 21:17:46 krit: we have the same issue with filter effects and CSS masking, you might want to just target the background 21:17:54 … fantasai asked for a general solution extensible for the future 21:17:58 … but no proposal for that yet 21:18:16 http://lists.w3.org/Archives/Public/www-style/2012Dec/0005.html 21:18:18 leaverou: I posted to the CSS/FX lists 21:18:30 … I really disagree with the mix-color nam 21:18:40 … anything ending with -color looks like it takes a colour value 21:18:53 … I also think we're tring to keep modules decoupled 21:19:08 … we'd need to add properties in at least background/borders and text 21:19:17 … if we want different filters for these things, we'd need even more properties 21:19:35 … I think this is trying to accommodate a rare use case with a syntax that's not elegant 21:19:45 cabanier: which is the non elegant syntax? 21:19:51 leaverou: adding more css properties is inelegant 21:20:13 … from discussions with implementors, it sounded like more properties is worse for performance, takes more memory per element 21:20:32 … I think it would be better to have a property like transition, that takes a comma separated list, saying which part the effect applies to 21:20:50 … you couldn't have different effects applying to different parts of the box 21:20:55 … but I think that's a rare enough use case 21:21:12 … different effects for different background images on the one element 21:21:18 cabanier: I can only speak to how it's done in photoshop/illustrator 21:21:28 … you can overlay shadows and they don't use the default blend mode 21:21:35 … the stuff that adobe generates it's common 21:21:51 leaverou: I agree, but in photoshop you can only apply one shadow per layer, there's no other way to do it 21:22:03 … you can't use different shadows to the one layer with different effects 21:22:18 … you can actually do it, if you need different blending modes for different background images, you can split it up into separate elements 21:22:30 cabanier: WebKit has different compositing modes for different background images, even though it's not really documented 21:22:38 … there is quite a bit of content out there that uses it 21:22:49 … I'm not sure how useful it is, but it seems like some people would use it 21:23:03 … I think an at-rule would make it more confusing 21:23:31 smfr: I think that was added as a hack for dashboard 21:23:38 … I would be surprised if it's widely used on the web 21:23:46 … I don't think we should go by the usage of that particular property 21:23:54 cabanier: even though it's not well document, I think some people are using it 21:24:00 … but not advocating for it one way or the other 21:24:20 leaverou: as an author, I think I'd use a multiply on a shadow for the entire thing, not different modes to different layers of shadows 21:24:25 cabanier: I think it's reasonable, I agree 21:24:45 … so it might be useful for a text shadow, but to all the shadows at once 21:24:55 … the syntax I wrote doesn't allow for that 21:25:02 krit: how do we combine these in the future? 21:25:06 … compositing, blending, filters... 21:25:13 cabanier: that was the original question 21:25:18 … do we split it up into multiple specs? 21:25:44 krit: I think it's a bad idea to split this up into the other specs 21:25:54 … if it's affecting background and borders, it should be in that spec 21:26:00 cabanier: and masking and filters? 21:26:11 krit: or we find one specification to define it for everything 21:26:16 cabanier: I think B&B could refer to another spec 21:26:26 … there are examples of that in there already, e.g. for box-shadow's syntax 21:26:37 … we can just say "see these specs" for what the compositing/filtering means 21:27:02 krit: so we are opposed to having new properties for all these features? 21:27:05 cabanier: looks like it 21:27:13 … so new arguments to the existing properties 21:27:19 krit: or new properties to take these arguments? 21:27:23 cabanier: the fewer properties the better 21:27:45 … if nobody has a strong opinion, we can leave it in the spec for now and continue on the mailing list? 21:28:08 smfr: I'm not sure I understand the behaviour of these properties 21:28:13 … background-mix-compositing 21:28:22 … does it describe how it composites with things behind it on the page? 21:28:30 cabanier: only on backgrounds compositing with each other 21:28:37 … I think that's how WebKit does it too 21:28:48 smfr: for the other ones, like box-shadow-mix-color? 21:28:55 cabanier: it would blend with everything in the same stacking context 21:29:07 smfr: some of these will be extremely hard to implement without a lot of memory 21:29:15 q+ 21:29:18 cabanier: the spec says the default has non-isolated groups 21:29:23 … but I think that's too memory intensive 21:29:32 … so I've made it blending only within a stacking context 21:29:40 smfr: authors don't necessarily know what stacking contexts are 21:29:58 … even implementing it relative to the stacking context, we might end up with a compositing layer between it and the stacking context 21:30:05 cabanier: there is a compositing layer that is not a stacking context? 21:30:09 smfr: yes, if you have overflow for example 21:30:21 cabanier: would that create problems with z-index? 21:30:30 smfr: it does for clipping 21:30:41 … but it's just an implementation bug 21:30:54 … it concerns me how we'll work out how these things work 21:31:06 … I'd be happy if they only affect compositing between bits of the same element 21:31:15 … borders compositing on top of the background, for example 21:31:23 cabanier: for box shadow? there's no background behind it 21:31:36 smfr: yes, so you can't easily change how that's composited 21:31:45 cabanier: we have an example implementation, I'd like to see how it would go wrong 21:32:02 … are you just generally worried about blending of shadows/boxes, not the element itself? 21:32:20 smfr: I'm worried about blending across elements, in such a way that the element itself uses different blending modes 21:32:26 cabanier: every blending mode creates a stacking context 21:32:44 smfr: but for a given element, you have box shadow blending with color-dodge, then text shadow in the same element blending with color-burn say 21:32:53 … is that text shadow blending on top of the box shadow? 21:33:01 cabanier: yes it should be, they're not compounding operations 21:33:16 … you would draw the box shadow, then you'd draw the text shadow on top of that 21:33:24 smfr: maybe I need to understand these better 21:33:27 q- 21:33:43 smfr: I agree with Lea that these would be obscure use cases 21:33:48 … I could understand tools outputting them 21:33:55 cabanier: I think authors will want to multiply shadows 21:34:04 … it'll look much more pleasing than multiply 21:34:19 leaverou: right now authors don't any blending modes 21:34:33 … if the authors ask for more behaviour can't we give it to them alter? 21:34:35 cabanier: definitely 21:34:52 leaverou: it seems if you apply blending mode to the topmost image, not the others, and it blends only with the underneath images 21:34:55 … is that right? 21:35:01 cabanier: that is how it's currently defined 21:35:05 leaverou: I think that will be confusing 21:35:07 cabanier: I don't disagree 21:35:13 … there's also the point about whether it's implementable 21:35:25 … tools are less concerned about memory footprint and performance than browsers do 21:35:39 … we can ask for the more natural mode, but it requires a lot of work to implement 21:35:44 … but it probably won't get implemented in browsers 21:35:51 … we can definitely start with the simple stuff and add more things later 21:35:54 leaverou: I think that sounds reasonable 21:36:05 cabanier: do you believe people would expect to blend the background and not blend within the backgrounds? 21:36:21 leaverou: I think if people apply the blending modes to the top background layer, they would expect to blend with whatever is below it 21:36:28 … authors don't understand the implementation restrictions 21:36:37 … they would expect it to blend with whatever is below the element 21:36:46 cabanier: I think it could be done, but it'd be yet another property to define 21:36:53 … if you believe it's more common, I can update the spec for that as well 21:37:03 leaverou: I don't have statistics to back it up, but it's my impression as an author 21:37:19 cabanier: there was another question about mix-color 21:37:23 … people didn't like the name 21:37:32 ACTION: cabanier to update box shadow to apply to the whole shadow 21:37:32 Created ACTION-84 - Update box shadow to apply to the whole shadow [on Rik Cabanier - due 2012-12-17]. 21:37:42 smfr: is there a reason mix-color isn't called blend mode? 21:37:49 cabanier: there is a shorthand "mix" 21:38:04 … and I think Tab Atkins suggested to break it up into mix-color, mix-composite 21:38:16 … Dirk suggested mix-blend, but I think those words mean the same thing 21:38:31 krit: I agree with Lea that the prefix/suffix color is normally used for color values 21:38:39 … I would expect mix-color takes a color 21:38:52 cabanier: it used to be called blend-mode 21:39:06 krit: I don't have a problem with mix-blend 21:39:09 cabanier: mix-blend-modes? 21:39:12 smfr: that sounds ok 21:39:13 leaverou: yeah 21:39:29 … maybe mix-blending? I think all those suggested ones are better 21:39:44 cabanier: I think Tab said that "-ing" isn't used in property names 21:39:48 leaverou: ok mix-blend-modes then 21:39:55 Topic: CSS Masking 21:40:04 ed: first question, trying to resolve mask images on url functions 21:40:13 krit: the problem is we have the mask property already 21:40:23 … it will be a shorthand for SVG masking and for the WebKit-style masking 21:40:31 … WebKit masking is like the background-image, but now mask-image 21:40:34 … a list of real CSS3 Images 21:40:36 http://lists.w3.org/Archives/Public/www-style/2012Oct/0766.html 21:40:40 … that's in conflict with the mask property from SVG 21:40:43 … both can take url() 21:40:56 … but just from that url(), you don't know if its' a CSS Image value or an SVG mask element reference 21:41:02 … we had some discussions on how to fix this issue 21:41:09 … we came up with ways to distinguish them 21:41:25 … if there is a fragment, then treat it as a reference to an SVG mask element, if you don't then treat it as a CSS Image value 21:41:42 … I think the question is, do we want to have the same rule for all things that take url()s? 21:42:03 … we have this issue not only for mask, but fill/stroke in SVG, and it could be used for border/background-image in the future 21:42:12 … if they can in the future reference an SVG paint server element 21:42:17 smfr: I think that's a good long term goal 21:42:24 … you risk changing behaviour of existing content 21:42:34 … I think it's unlikely people will have used fragments in a CSS SVG image 21:42:51 krit: there is this SVG Stacks 21:43:05 ed: a technique where you reference a subpart of an SVG, like a sprite sheet 21:43:11 … using IDs to select elements inside the SVG 21:43:15 krit: this is similar to media fragments 21:43:25 … if we use this technique, we can't use media fragments with url() 21:43:45 http://www.w3.org/TR/css3-images/#image-notation 21:43:45 … but CSS Images 3 already suggests to use image() if you want to use media fragments 21:44:02 … because all the browser might not be able to use media fragments on the url() function 21:44:16 … I don't think that's an issue at the moment, no browser supports media fragments on images anyway 21:44:29 … but we'd need to make sure this rule about distinguishing by fragment goes into the Images spec 21:44:45 smfr: isn't there a risk for server-side image generation using the fragments as parameters? 21:45:18 heycam: shouldn't they be using query parameters? 21:45:25 … not sure the fragments are sent in the request 21:45:38 ed: personally I'm fine if there is a way to reference parts of an SVG like this 21:46:14 krit: I prefer this proposal that just looks at the fragment 21:46:23 smfr: initially this was a proposal to just apply to the mask property? 21:46:31 … if that were a general approach I think I'm happy with it 21:46:44 krit: people on the mailing list seem to be fine with this as a general approach 21:46:58 smfr: is the intrinsic size of an image well documented/understood when it's a reference like this?' 21:47:02 s/'// 21:47:26 krit: we use the object bounding box of the element 21:47:36 … if you apply mask-image on an element, it uses the bounding box of the image 21:47:41 … that's in the spec already 21:47:45 smfr: do you have a size? or an intrinsic ratio 21:47:55 … the SVG document itself isn't laid out in a known size, right? 21:47:58 krit: we have two ways 21:48:11 … there's the viewport size relative or object bounding box 21:48:18 … both can be applied in an HTML context as well 21:48:24 … I don't see an issue with HTML content at the moment 21:48:27 smfr: ok 21:48:48 ed: sounds like this proposal is not meeting any resistance 21:50:44 RESOLUTION: We will use fragments in url()s to distinguish between SVG resource element references and CSS Image values as general approach. 21:51:19 Topic: renaming none to no-clip on the mask-clip property 21:51:20 http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#the-mask-clip 21:51:32 krit: this question came from elika 21:51:39 … we decided to have none for when you don't want to clip the mask 21:51:46 … none is already used for mask-image 21:51:53 … so it causes problems with the shorthand 21:52:02 … for this reason I suggest renaming none to no-clip 21:52:12 … suggestion from Elika 21:52:17 smfr: sounds fine to me 21:52:48 heycam: you would normally leave that value out of the shorthand, it's the default? 21:52:52 smfr: no the default is border-box 21:53:14 RESOLUTION: Renmae none to no-clip in the mask-clip property. 21:53:17 s/Renmae/Rename/ 21:53:49 Topic: new keyword for mask-origin 21:53:52 Topic: New keyword for 'mask-origin' to move mask out of the border-box on the left and top when 'no-clip' was specified 21:54:11 krit: at the moment you have border-box, padding-box, etc. 21:54:16 … you can't go more left/top than border-box 21:54:20 … do we want a way to make this possible? 21:54:40 smfr: seems reasonable, but wonder if you could have an auto value that does that? 21:54:55 … that'd be the bounding client rect 21:55:05 … it's a little fuzzy, I don't think bounding client rect is defined for SVG 21:55:07 krit: yeah 21:55:17 … there is some text that suggests what to happen for SVG 21:55:28 smfr: it's a bit ugly too since as your children lay out and potentially move around, the position of your mask might change 21:55:35 krit: there's also mask-position 21:55:40 … so it's more just where you put the origin 21:55:48 … it might be fine to just have these three keywords 21:55:56 … you can still move it around with mask-position 21:56:04 … it's allowed to have negative values 21:56:09 smfr: ok sounds find 21:56:12 s/find/fine/ 21:56:58 Topic: new name for paint-order from SVG 2 21:57:22 krit: CSS WG decided that we can have this feature, but don't use paint-order, it could be misleading 21:57:45 … "paint order" is already used as a term 21:58:26 heycam: so paint-order is to change the rendering order of fill/stroke/markers on a single SVG element 21:58:37 krit: but it could be used in the future for CSS boxes if we wanted 21:58:53 ed: were there any suggestions for different names? 21:58:55 krit: no 21:59:08 … maybe just discuss on the list 22:00:56 krit: how do we move forward with the Attributes as Properties proposal? 22:01:11 -dino 22:01:19 heycam: I think the last time we discussed it, having sensible looking CSS properties was the preferred approach from the CSS WG 22:01:28 … I was meant to create a repo for Jen to write something up 22:01:32 … but didn't get to do that 22:01:47 ACTION: Dirk to contact Jen about the SVG attribtues as CSS properties proposal 22:01:47 Created ACTION-85 - Contact Jen about the SVG attribtues as CSS properties proposal [on Dirk Schulze - due 2012-12-17]. 22:02:03 -ed 22:02:04 -cabanier 22:02:04 -krit 22:02:05 -heycamaway 22:02:05 -smfr 22:02:07 -nikos 22:02:09 -Lea 22:02:17 -plinss 22:02:46 -Doug_Schepers 22:02:48 GA_FXTF()4:00PM has ended 22:02:48 Attendees were +1.415.832.aaaa, krit, Doug_Schepers, Lea, plinss, +1.408.636.aabb, smfr, cabanier, ed, nikos, dino, heycam|away 22:02:55 Present: Erik, Rik, Dirk, Cameron, Simon, Nikos, Lea, Peter, Doug 22:03:02 RRSAgent: make minutes 22:03:02 I have made the request to generate http://www.w3.org/2012/12/10-fx-minutes.html heycam 22:04:32 krit has joined #fx 22:12:46 fantasai has joined #fx 23:09:05 dbaron has joined #fx