16:06:00 RRSAgent has joined #css 16:06:00 logging to http://www.w3.org/2011/07/25-css-irc 16:06:07 Zakim has joined #css 16:06:41 rrsagent, make logs public 16:06:47 Is it david.baron on skype then? 16:06:57 dino has joined #css 16:07:04 smfr has joined #css 16:07:04 ScribeNick: nimbu 16:08:02 bradk, having trouble getting the thing to work 16:08:10 florian has joined #css 16:08:16 Topic: CSSOM 16:08:32 dbaron, OK, will wait for further instructions. 16:08:41 glazou: report whats going on with CSSOM, what are the stuff we need to add, change. 16:08:59 shans has joined #css 16:09:21 glazou: anne, tell us where you are right now, what you need to add, change, etc 16:09:37 bradk, see /query 16:09:43 kimberlyblessing has joined #css 16:09:47 anne: the OM covers how to serialize mediaq, selectors, stylesheets in general 16:09:59 http://dev.w3.org/csswg/cssom/ 16:10:06 anne: it has alt stylesheet api so people can control stylesheet sets from scripts. 16:10:17 JohnJansen has joined #css 16:10:23 anne: it def processing requirements for the link header so you can associate stylesheets with documents via http 16:10:35 anne: it then defines the "real" OM all the stylesheet rules and their apis 16:10:43 anne: e.g. @import, @media, font-face, etc 16:10:56 anne: there is a new thing called the values api, so far OM has been string based. 16:11:20 does somebody with a Mac want to try running skype on their machine for brad? 16:11:29 anne: in 2003 we obsoleted parts of DOM level2 style that were object based but never wrote a replacement, section 6.6 in CSSOM draft sketches out how Object based API would look 16:11:47 anne: lacking: implementors need to look at it to poke holes in idea before we formally define it. 16:12:00 anne: this was the case a year ago, so people have not gotten around to looking at it yet 16:12:08 http://dev.w3.org/csswg/cssom/ 16:12:30 anne: there is a priority of list of features, e.g. to get to results styles of elements. 16:12:50 s/results/resolved 16:13:25 konaya has joined #css 16:13:36 anne: I would like to not add too much features before current features are interoperably implemented. 16:13:57 anne: we need to find out a plan on how to, since css is fairly modularized, how we do the same for the OM 16:14:13 anne: if we get interfaces for components like callers, it would be best if they are defined in their respective drafts. 16:14:22 anne: it would mean those drafts would ahve some dependency on the OM 16:14:35 fantasai: could we split out the serialization into its own module 16:14:54 smfr: for css transforms we need to expose an api for matrix transformations. 16:15:07 s/callers/colors 16:15:11 anne: the color module needs to expose an api. 16:15:23 anne: its not just serialisation but the whole… 16:15:40 good morning 16:15:46 anne: each draft that defines a "bracketed new thing", needs to define an interface to it as well. 16:15:52 fantasai: two ways to do that 16:16:02 fantasai: have it paired with the module to define OM stuff 16:16:08 vhardy has joined #css 16:16:20 fantasai: for drafts that are advanced publish a .1 which includes OM stuff 16:16:43 fantasai: e.g. css color 3.1 or css color object model. 16:17:17 fantasai: in some cases the editor of the module can do the OM stuff but in other cases the editor might not have the expertise, so we need two editors or more. 16:17:29 florian: if we have 3 3.1 and 4 some people can get confused 16:17:35 anne: maybe we have it into 4. 16:17:53 anne: i think its best if its in same module as def and such will be tightly coupled 16:18:04 fantasai: going forward we can do that, but for some specs we cant do that 16:18:17 anne: maybe put them into 4 for current specs that you cant change. 16:18:29 florian: it might be quite a while before it becomes stable 16:18:49 arno has joined #css 16:18:58 fantasai: anther problem with OM is that it might hold back development of rest of the spec. 16:19:11 anne: we might have to separate them 16:19:17 fantasai: we can cross-link the documents 16:19:32 arno: we might have conformance problem too, as OM is not necessary for implementations 16:19:36 szilles has joined #css 16:19:59 s/arno/ aaronei 16:20:28 fantasai: suggestion to go with separate modules but paired, if we want to merge we can merge them later. 16:20:35 mollydotcom: what does it look like. 16:21:37 vhardy: for specs like css3 regions which have a little bit of OM in them, keep them in the spec rather than splitting 16:22:13 glazou: apart from css values, this doc is specification of current implementation, what are the plans for the future? 16:22:26 glazou: i am a heavy user of OM it is not practical at this point 16:22:35 anne: it needs improvements we need more tests for existing stuff first. 16:22:57 anne: it has better def for DOM level 2 styles, which lacked a lot of details 16:23:12 s/improvements we/improvements but we/ 16:23:37 glazou: everybody knows that OM is resolved, its probably time to push for new things. 16:23:56 anne: making it more interoperably and finding more stuff … 16:24:33 glazou: if we do stabilization for the next 3 years, it requires commitment from editors, implementors. it would be more than 2 years before we implement the new stuff 16:24:48 glazou: we are not able to serialise stylesheets, css text. 16:24:58 anne: those are minor features its not smthing developers really want 16:25:02 glazou: they are not minor 16:25:11 s/css text/cssText/ 16:25:22 arronei: they maybe minor for devs, but not for web browsers 16:25:43 glazou: people who are writing editors need to play with these things every day. we need to improve the OM for new services on the web 16:25:58 szilles has joined #css 16:26:04 anne: we have not defined serialization for most of the things. Just adding new things does not seem to be a good way forward. 16:26:21 glazou: i know, we should start collecting new things we are doing to the OM, and what are the expectations from web authors. 16:26:29 anne: sure getting feedback from web authors would be great 16:26:57 (another interesting thing might be font/text metrics: http://lists.w3.org/Archives/Public/public-svg-wg/2010OctDec/0004.html) 16:27:04 anne: better value api, once that is there, they want to have access to resolved vaules, there are various features browsers have added for their debugging tools, figure out which property calls current styles. 16:27:11 glazou: what are the rules that are being called at a given time 16:27:42 shepazu: in svg wg we have thought about adding font metric api, i thought it might be interesting 16:27:45 anne: like in canvas? 16:27:58 shepazu: the thing in canvas might be suitable why not generalize for genereal users 16:28:13 dino: you do not exactly know thats the font being used. 16:28:33 dino: all the canvas does is how long the piece of text was, does not tell you the ascenders, 16:28:41 szilles: or where the baselines are 16:28:48 shepazu: the things the canvas one does is useful 16:29:03 shepazu: i suspect chris saying web fonts working group will be interested in 16:29:23 anne: there have been requests for font loading api, but we have not figured out right way to do it 16:29:28 tantek has joined #css 16:29:33 vhardy: how do you capture requirements? do u have a place for that? 16:29:48 anne: there is a page in whatwg wiki. we should probably create a place in csswg 16:30:15 glazou: long ago we had a list of suggestions for css3 we can have the list of suggestions for cssom 16:30:17 http://wiki.csswg.org/spec/cssom 16:30:31 sylvaing: do we have use cases? 16:30:43 anne: it does not have much yet. 16:30:57 florian: anne says stabilize, glazou says new features 16:31:04 glazou: not new features now, but soon 16:31:17 anne: i am also curious what implementors think, last year, we discussed this 16:31:30 anne: TabAtkins said google was planning on experimenting on values api 16:31:35 TabAtkins: we are still planning on it 16:31:46 anne: it kinda depends on implementors as well how fast it will move forward 16:32:07 anne: if there is not sufficient interest there is no point in adding a bunch of things and spend time on this if there are other things more interesting 16:32:23 szilles has joined #css 16:32:32 kojiishi has joined #css 16:32:45 vhardy: would it make sense to get a list of features and get feedback from community. we have some input and prioritize which are important 16:33:19 glazou: microsoft has been doing online applications using formats that are not based on w3c standards. 16:33:35 ChrisL has joined #css 16:33:40 glazou: the cost for that [feedback] is low 16:33:46 glazou: anything else to decide o OM 16:34:16 rrsagent, here 16:34:16 See http://www.w3.org/2011/07/25-css-irc#T16-34-16 16:34:28 vhardy: first set of extensions and ask for feedback? 16:34:33 glazou: no just ask for feedback 16:34:45 shepazu: i would like people to see action to review it 16:34:53 anne: that is more problematic than community input 16:35:26 anne: we have got a few feedback like features like resolved value, authors want access to browser's proprietary extensions for their debugging tools 16:35:33 anne: problem is getting implementors attention. 16:35:44 anne: i work for an implementor but I dont think opera can really drive this. 16:36:04 glazou: user feedback can help. the feedback for css3 created traction. 16:37:22 anne, are there particular web applications that would be helped (e.g. made faster, or new higher fidelity features) by more CSSOM features? 16:37:43 arronei: you have unique knowledge in the room, so your feedback would be useful 16:38:10 glazou: cost of a single missing feature of OM can be about 2000 likes of code. as you start duplicating the cost becomes prohibitive. 2 or 3 lines in c++ for 1000 lines of js 16:38:39 ACTION: glazou collect feedback from webdev community for CSSOM and put it on the wiki http://wiki.csswg.org/spec/cssom 16:38:39 Created ACTION-349 - Collect feedback from webdev community for CSSOM and put it on the wiki http://wiki.csswg.org/spec/cssom [on Daniel Glazman - due 2011-08-01]. 16:38:58 alexmog has joined #css 16:39:13 anne: can we do one more item 16:39:19 let's get input from framework vendors as well (jQuery, Sencha, etc…) 16:39:31 anne: there is also the view module? can we publish it once more, so there is a link to the editor's draft 16:39:36 fantasai: its already in the module template 16:39:53 anne: since it is not published already, so it does not have that link 16:40:06 szilles: he says the view module does not have the new template 16:40:12 fantasai: we can publish then 16:40:27 RESOLVED: Publish the CSSOM View module 16:41:20 Topic: CSS Regions and CSS Exclusions Floats 16:41:25 possible classes of use-cases to drive CSSOM evolution: web app games, where greater responsiveness (speed) and higher fidelity experience are both desired. 16:41:34 vhardy: last meeting we decided to name it CSS Floats not Exclusions 16:41:49 vhardy: there is a ED that has resolution from last f2f there is a wd that was published after f2f as well 16:42:03 vhardy: wiki has a bunch of issues and usecases that we will go over 16:42:14 alan hooked up the test harness and the spec references it now 16:42:40 vhardy: next step is to go over the bunch of issues we have and pub together a new draft 16:42:53 vhardy: for css exclusions we have the original fraft same as kyoto 16:43:06 vhardy: ms sent a proposal and glazou sent one over email 16:43:32 vhardy: we tried to converge on the proposals and the next step is to resolve issue sand produce new ED to propose as WD 16:43:46 rrsagent, this meeting spans midnight 16:43:51 s/sand/and/ 16:44:35 http://wiki.csswg.org/spec/css3-regions 16:44:57 vhardy: we discussed there was no formal resolution in previous meeting. there was a q on the amiling list if css regions should allow copying from element into flow instead of moving content into flow. the editors agree this is something we should move to future release might be interesting but more complicated, so proposal is not to do it now and see if there is consensus in not adding this feature at this time 16:45:04 smfr: def agree on that 16:45:20 RESOLVED: Issue 4: Copying Flow Content is not something we are looking at right now. 16:45:25 lhnz has joined #css 16:45:55 vhardy: next issue is CSSOM issue. we dont have absility to find out which element is in a named flow 16:46:01 vhardy: there is no way to find that out right now. 16:46:23 vhardy: our proposal is to get an action item for alexmog and me to add to the next draft unless someone thinks this feature should not be in the draft 16:46:34 florian: are u going to do this programmatically or declaratively 16:46:42 smfr: that could be regions plural right 16:46:53 vhardy: programatically, plural 16:47:38 glazou: this will be useful for debugging tools 16:47:57 ACTION: vhardy alexmog to add an api to find out which element is in a named flow 16:47:57 Created ACTION-350 - Alexmog to add an api to find out which element is in a named flow [on Vincent Hardy - due 2011-08-01]. 16:48:33 vhardy: in css should you be able to set display on grid cell? 16:48:43 vhardy: how do we integrate with css grid 16:48:54 vhardy: one is to have a way to adress a gridcell to make it a region 16:48:56 Hixie: 16:49:17 vhardy: second, add an element as a child to the grid and declare it a region 16:49:46 alexmog: it would be interesting to have pseud elements for other virtual things like grid regions for really advanced scenarios. 16:50:54 alexmog: in pseudo elements you cant get a OM you need an entirely diff mechanism 16:51:14 alexmog: it has to be a parallel model. 16:51:15 So one HTML element to create a grid slot, and another inside it to hold a flow? 16:51:26 szilles: there needs to be a CSSOM module that gives us back the faciilities 16:51:29 correct Brad 16:52:16 RESOLVED: Change the grid to integrate with css regions through regular elements 16:52:56 vhardy: if you want to grab content from flow, you use content property with from-flow. 16:52:56 (in other words, not do anything special for grid) 16:53:22 vhardy: there was an alt proposal you should make two properties parallel and it should be separate from content use float from and use the flow name to get the content from the flow 16:53:36 vhardy: should we make it through two parallel properties 16:54:00 vhardy: after we have had more discussions we think this is more clear use flow-form: 16:54:09 smfr: would flow-from work on pseudo elemtn before / after 16:54:13 alexmog: vhardy yes 16:54:36 dbaron: i am uncomfortable making an additional property here. as it seems to do same thing as content. 16:55:08 alexmog: there are couple of considerations, content has a lot of baggage, there is content in css3 content, which is not where the spec is going. 16:55:23 alexmog: the flow-from applies to anything into a region. 16:55:38 alexmog: the content is somewhat different as it cant seem like it changes the nature of what it is applied to 16:56:08 fantasai: does that mean i cant have a table that accepts content from the region 16:56:26 vhardy: that is one of the issues, conceptually region is smthing that redirects content from somewhere else into this element. 16:56:33 s/vhardy/alexmog 16:57:03 fantasai: lets say i ahve a region and I want it to be a table row and I grab the contents of the table row and put it into regions what happens 16:57:09 alexmog: there is nothing in regions that wont work. 16:57:30 fantasai: so thats not display-inside region you are not overriding display inside just putting contents into it. 16:57:41 vhardy: we have a proposal to limit regions to display-inside block. 16:57:52 vhardy: otherwise it will become too complicated. 16:58:09 vhardy: we can resume discussion once we reach that. 16:58:25 alexmog: i dont feel very strongly about flow-from w.r.t content 16:58:38 alexmog: content has a history that does not make it designed for this. 16:58:51 arno: how would flow-from property how would it interact with content 16:59:00 alexmog: content would be overriden 16:59:30 vhardy: content is grabbing content from an element but flow-from is grabbing a segment not whole element. so its different 16:59:48 plinss: thats what you get from from-flow so i dont see why thats a problem, you just need to adapt that notion to the content. 17:00:08 alexmog: from the content property you can figure out what content is, from region that is not the same. 17:00:21 fantasai: having one property that overrides another causes problems with cascade 17:00:38 fantasai: which one wins? we should use the cascade as thats what it is for. 17:00:53 vhardy: other people felt it was good to add a property. 17:01:34 alexmog: content applies to inline flow-from doesn't. different compatibility. I am not sure it would always be that way. I am not sure if flow-from would always override. 17:01:46 vhardy: content would only apply to before and after in 2.1 17:01:52 fantasai: in css3 it would apply to all. 17:02:02 plinss: that has been the plan for 10/11 years at least 17:02:11 vhardy: the draft has the way you [fantasai] like it 17:02:21 vhardy: if majority feel we are good with content, I am okay with that. 17:02:27 alexmog: i dont have really strong feelings. 17:02:57 alexmog: having seperat property makes writing spec easier. Understanding easier. Not redefine content 17:03:30 RESOLVED: Stick to content property and content: from-flow() 17:03:57 vhardy: currently to put smthing in flow you use flow: 17:04:02 does tha mean content can have internal structure, now? 17:04:28 vhardy: alexmog pointed out flow could be short hand, so should we use flow-into and reserve flow for shorthand 17:04:29 or is it flattened text? 17:04:49 "rename flow into flow-into" needs to be written down to be comprehensible 17:05:07 smfr: flow-into does not work for me, how about flow-name 17:05:44 szilles it is doing two things naming and adding content to flow 17:06:00 smfr: which property is canonical in terms of naming of the flow 17:06:13 vhardy: the flows get their name from the first piece of content that is moved into the flow 17:06:21 smfr: it is a bit too magic for me 17:06:32 vhardy: we iterated over that and we ended ups ettling on this way to do it. 17:06:37 CSS _is_ magic anyway :-) 17:06:40 smfr: this is more like it is belonging to a flow. 17:06:45 smfr: make this part of a flow. 17:07:08 I prefer just 'flow:' 17:07:12 alexmog: we tried things like flow-source and flow-target and those were very confusing. 17:07:32 glazou: we need ar esolution to move from flow to smthing 17:07:50 szilleswhat it actually is flow-out-to rather than into as it is taking it out of normal flow 17:08:01 RESOLVED: change flow from flow-smthing 17:08:37 vhardy: alexmog asked for renaming from-flow to flow-from 17:08:57 jRESOLVED: rename content: from-flow to content: flow-from 17:09:07 RESOLVED: rename content: from-flow to content: flow-from 17:09:22 dbaron: it makes more sense to me the other way 17:09:42 alexmog: we have border-top-right 17:10:25 vhardy: auto sizing of regions. this has been called as intrinsic size. i am not sure if all the history we have we are using intrinsic as a term in our discussions 17:10:33 vhardy: intrinsic has only been used for replaced content 17:10:48 fantasai: there is terminology for that in writing modes draft. 17:11:02 http://www.w3.org/TR/css3-writing-modes/#intrinsic-sizing 17:11:15 vhardy: i tried to stay clear of intrinsic size coz of possible confusion 17:11:19 szilles has joined #css 17:11:27 vhardy: if we have auto-sizing in 1 or more dimensions how does it work 17:11:53 vhardy: we had a discussion with hyatt on mailing list, alexmog brought up more questions. this email is a summary of discussions at tha time 17:12:07 vhardy: the proposal was do we actually need to say anything about auto-sizing 17:12:31 vhardy: the main model i have been using for regions, the results should be identical if you have broken down regions into bits and pieces and moved them into regions 17:12:46 vhardy: so if I follow that model we dont need smthing 17:12:57 dbaron: the problem with that model is that the slicing depends on the size. 17:13:27 alan: if you have not specified height there wouldnt be any. 17:13:39 alexmog: paginating content in terms of flexible size is really complicated. 17:14:11 szilles: the two dimensions inline and block the rules are slightly different. in inline you would want it to be like a block, in block progression dimension you are going to use breaks to control… 17:14:39 alexmog: even more complicated is when width is undefined we can come up with a width measurement, the final layout is difficult to do if you dont know what the width to be. 17:15:08 alexmog: e.g. for float: right you need to figure out what the size is if it should be cleared or not. 17:15:19 dbaron: whats the proposal? 17:16:09 vhardy: start with region 1 and then put all content in region 1. if anything that does not fit, you have a first segment and reminder will flow into next regions. if you have regions with undefined height, it just gets all the content. 17:16:44 vhardy: at any point it would be like rest of the flow will be in the content. 17:16:58 smfr: say u have a bunch of ps and a 1000 px wide div. 17:17:15 smfr: the first region is flexible width wise 17:17:25 smfr: sounds like you would make first region 1000px wide 17:17:40 dbaron: what is the proposal for what intrinsic size would be? 17:17:54 dbaron: intrinsic size is not a function of layout 17:18:05 alexmog: intrinsic is not the right term here. 17:18:13 If the intrinsic width of a region is 0, the designer wins because their layout "fails fast" & they immediately know they need to specify a width 17:18:15 alan: the proposal is intrinsic size does not apply 17:19:03 alexmog: we should not be using the word intrinsic here. 17:19:28 dbaron: i sounds like you are talking about what the sizes of the regions are going to be. that is still a separate notion from intrinstic size 17:19:40 vhardy: intrinsic is used for replaced content 2.1 17:19:49 dbaron: we used for table, 17:19:51 arronei_ has joined #css 17:19:57 dbaron: i am talking about preferred width and min width 17:20:10 fantasai: we call it two diff things based on if we are on tables chapter or not 17:20:33 szilles: there are two situations, 1. normal flow 2. out of normal flow. the rules for width and height calc are diff in those. 17:20:47 szilles: u use intrinsic when you are out of normal flow and simple calc in normal flow 17:20:59 szilles: regions behave in exact same way. 17:21:38 alexmog: 3 options: 1. if region size is undefined it is zero. that option works very well the standard box model rules apply regardless of where region is. 17:21:52 the size will be calc using formula for box size. 17:22:08 problem is when accidentally size is not set on a region it has no visibility and it is difficult to understand where it is. 17:22:13 that's a feature, not a bug 17:22:40 2. if it has a specific intrinsic size, 3000 by 850 it would be seful as you might have forgotten to set a size and then you can see it and then make it right size. 17:22:49 maybe we need 'position:flow' or 'position:flow(ident)', and then all flows are non-floating blocks. 17:23:06 s/3000 by 850/300 by 150/ 17:23:16 normal box models wont apply. 17:23:20 and thats not helpful. 17:23:28 szilles has joined #css 17:24:15 alexmog: 3. size to content. we have to figure out what is going to fit into this region without exceeding max width max height if they are available. 17:24:34 alexmog: this is very complicated to implement, it would require more than 1 layout pass 17:25:05 alexmog: option 4. use normal box model calculations and if that ends up as still undefined with height, then use 300x850 intrinsic size. 17:25:14 vhardy: it is like replaced content right. 17:25:22 alexmog: it is not like the second option replaced content. 17:26:07 alexmog: the 4th option would be an implementation of normal box sizing where the box size is not considered at the point where it is on or not but at the end when it is resolved or not. 17:26:10 tantek_ has joined #css 17:26:25 s/850/150/ 17:26:33 thanks :) 17:27:41 i would expect devs to slice area into bunch of rectangles and use grid or flex box and then add content to the. 17:28:17 vhardy: the first proposal, the width and height would be set to 0 if you do not set height or width. 17:28:34 alexmog: this is a strong arg for default size to not be strict width/height 17:28:50 alexmog: if this region is going to have content in there, it wont have a size the flexbox and grid would give it. 17:29:04 alexmog: for the pruposes of flex or grid it has to have a default size of 0. 17:29:10 alexmog: then grid would give it size 17:31:09 ???: for e.g. auto width should be as wide as containing block so edges touch on normal flow. those rules would be ignored as per proposal 1, and width would be set to 0. 17:31:59 ???: the containers are typically well respected, we dont set to default size or width 0. so, which one is it that you are trying to achieve here. 17:32:10 vhardy: the general question is what happens with auto widths and heights on regions 17:32:46 vhardy: the point that smfr made is that if you layout everything then your widths maybe off. 17:33:10 vhardy: your usecase would naturally work, intrinsic height to default to 0 it is hard to make it work. 17:33:50 florian: in general resolving to 0 is smthing simple but not useful 17:34:11 mollydotcom: it is established and understood in devs, but now we are changing expectation. 17:34:16 s/???/rossen 17:34:45 alexmog: 0 is logical, if a region that is part of a chain of regions if it does not have any natural content, it creates 0 new rules for sizing it. 17:35:00 alexmog: it is a good default. 17:35:16 mollydotcom: default to 0 sounds to be very different from what you are saying 17:35:49 vhardy: i propose we actually tab this discussion and go back. the default behaviour is not useful, we need to consider usecases. 17:36:18 phil: I thought it worked with any kind of layout, some proposals sacrifice the notion that how the child layout will make use of available space given by parent layout 17:36:30 mmielke has joined #css 17:37:04 dbaron: vhardy's statement intrinsic size is 0 then size is 0 is incorrect 17:37:12 plenty cases otherwise 17:37:45 dbaron: for intrinsic widths, the obv sol do the intrinsic width computation do over entire contents of the flow. 17:38:13 dbaron: what we have not specified we have not specified intrinsic heights in block progression dimension. flexbox and this (some degree) depends on that concept. 17:38:43 dbaron: problem: they are a function of width not entirely intrinsic. 1 concept that is entirely intrinsic and another that is a function of width 17:39:21 dbaron: i can imagine a situation where you want to build heights in region by starting either from 1st or last. splitting at breaks and using as many regions from beginning or end to build some sort of intrinsics where you need them. It might give you useful behaviour for a bunch of htem 17:39:31 dbaron: there is a bunch of issues being conflated. 17:39:44 dbaron: we need def for intrinsic sizes and we need to specify what actual resolved sizes for regions are. 17:40:18 szilles i heard you say the cal of size algorithm it does occasionally use intrinsic size but not necessarily use intrinsic size. That is critical to making it work, and we have a def of intrinsic size. 17:40:34 cjon has joined #css 17:41:10 alexmog: if whereever in the cal we need the intrinsic size we consider all of the content or remainder of content from this to that. that makes it clear it might be expensive to calculate. it is really a fallback, so not going to be used all the time, so expensive should not be a problem there. 17:41:23 vhardy: that works for me 17:42:31 ACTION: vhardy Rework the issue of resolved sizes for regions and come up with an alt solution for the group along with use cases and examples 17:42:32 Created ACTION-351 - Rework the issue of resolved sizes for regions and come up with an alt solution for the group along with use cases and examples [on Vincent Hardy - due 2011-08-01]. 17:43:23 szilles has joined #css 17:44:07
17:47:56 tantek has joined #css 17:48:18 tantek_ has joined #css 17:50:05 tantek_ has joined #css 17:50:52 nimbupani has joined #css 17:54:53 miketaylr has joined #css 17:57:26 JohnJansen1 has joined #css 17:57:29 szilles has joined #css 17:58:45 JohnJansen1 has left #css 17:59:10 anne has joined #css 17:59:13 JohnJansen1 has joined #css 18:00:16 JohnJansen1 is JohnJansen 18:00:57 JohnJansen1 has left #css 18:01:48 JohnJansen has joined #css 18:04:30 szilles has joined #css 18:04:38 florian has joined #css 18:05:12 vhardy: region model, so the current spec has taken the approach that region is a general relation of an element relates to content 18:05:47 plinss_ has joined #css 18:06:33 mmielke has joined #css 18:06:38 vhardy: instead of working with children as source of generated boxes you would layout, you can get set of elements from source which will be used with layout algorithm 18:07:27 vhardy: looking at use cases, our thinking now is 1. they are like printed pages and lay it out from page box to page box. they are different viewport areas. 18:07:51 vhardy: mixing regions that have different type, region thats a table, a flex box and put them in a chain does not seem to make sense. 18:08:05 vhardy: as you would not know which kind of segment you get. 18:08:21 vhardy: limit regions to apply to things that are display-inside: block 18:08:31 it could be table-cell or anything that has display-inside: block. 18:08:57 vhardy: proposal restriction on regions to contain display-inside: block 18:09:15 fantasai: i can see reasons for display-inside of flexbox. 18:09:27 dbaron: the current flexbox is different from our implementation. 18:09:41 fantasai: i can see wanting to have two flexbox containers and have a flow on them. 18:10:01 dbaron: the way flexbox spec works is the container is display: flexbox, the items in it is display: block 18:10:03 mielke has joined #css 18:11:16 vhardy: the idea is to simplify the implementation. not limit the future. 18:11:22 vhardy: there are usecases for tables as well. 18:11:49 vhardy: then we have to deal with mixing different float types which are much more complicated. 18:11:58 fantasai: I am okay as long as we can expand it in that direction 18:12:24 fantasai: I can see why you would want other display types 18:12:31 alex: i want to keep the first version of spec simple. 18:12:51 vhardy: what we are doing is not painting us in a corner. we should have a note saying in future we would extend it. 18:13:08 RESOLVED: for this version we are limiting regions to be block containers 18:13:22 ACTION: vhardy add a note to expand this in the future for different types of containers 18:13:22 Created ACTION-352 - Add a note to expand this in the future for different types of containers [on Vincent Hardy - due 2011-08-01]. 18:14:03 szilles has joined #css 18:14:11 vhardy: region breaks. CSS 2.1 has page breaks that only work on paged media. css3 column breaks and page breaks. 18:14:32 vhardy: page breaks slices a column into two, the next column box moves to next page. 18:14:46 vhardy: how do you break content when you layout between regions 18:15:29 vhardy: those questions also arise for multicol 18:15:45 vhardy: if u have breaks in ur content and nesting what does it mean for heirarchy 18:16:18 vhardy: current spec: we will add a new type of break and thats what content will honor when it lays out content. alex objected to it so we came up with alt proposals 18:16:39 vhardy: instead of saying i need to have a new break, state which breaks you will honour 18:16:53 vhardy: as a region you state which breaks you honor 18:17:05 vhardy: what that means is content is break aware and container aware. 18:17:36 vhardy: the content can annotate myself, you can then have container types and associated break types. 18:18:10 alex: is this clear, or do we need a picture 18:18:20 picture 18:18:43 picture and photo 18:19:17 alex: using either column breaks or page breaks producing multicol layout with regions there is no way to define currently contents going from one column like region to another column like region if you have a columnbreak, but if you have a page break then you need to go to a new page with a new container 18:19:29 alex: we need to communicate this region is a column and another region is a page. 18:19:57 so, column-break would break to next region if both regions are each one-column blocks? 18:20:14 alex: if we decide we dont need that kind of precise control in regions coz that content would be designed in smaller pieces, with one kind of break. we would gravitate to never need column/page break difference. but only one kind of break. 18:20:30 unless a block is identified as a page somehow? 18:20:56 vhardy: one of the extensions is to generalise ideas and do named breaks 18:21:07 vhardy: my content should know what kind of container it is laid out on. 18:21:26 vhardy: another approach is if your content just wants to know where it should break. 18:21:43 vhardy: second approach content does not know about container types or what kind of breaks are being used. 18:22:03 vhardy: second one is a simplifying assumption and want feedback. 18:22:20 vhardy: 1. breaks are container agnostic 2. breaks are container aware. 18:22:33 smfr: there has to be a precedent here? what does page layout do. 18:22:54 alex: yes, they do different kinds of breaks. page break and section break. 18:23:01 vhardy: ur q is on existing tools? 18:23:05 smfr: existing tools 18:23:39 alex: columns are onlu possible as full-page columns or full section columns, so page break is always a column break. there is no such thing as breaking multi-col block … 18:23:52 alan: in indesign you have a column break, page break, frame-break 18:24:05 alex: whats the diff between frame/page break 18:24:12 alan: frame break is like a region 18:24:19 florian: can u have nested frames 18:24:25 frame breaks can jump across several pages to get to next frame to, right? 18:24:32 alan: I think so, i do not know if it makes a difference in the break scenario. 18:24:40 tantek has joined #css 18:24:51 vhardy: frames are more like regions 18:24:56 alan: yes 18:25:38 plinss: dont confuse column breaks with region breaks as column only breaks to another col not a region 18:25:53 plinss: i dont see why you should respect other kinds of break. 18:26:04 alex: so how do you know the region is in the next page? 18:26:10 plinss: from the pagination model. 18:26:38 alex: what is a page? 18:26:49 fantasai: a page in css is a page box 18:27:22 fantasai: in mozilla those are page boxes. particular kind of css box 18:27:36 alex: in IE they are also kind of a box. 18:28:18 fantasai: a page break requests a break between page boxes. 18:28:43 alex: i would like to be able to write page view in a standard way not just for print preview but also for page reading (like online magazine) 18:29:04 plinss: if you are doing with divs you are not doing anything with css box model. 18:29:29 alex: you can have multiple regions in every page. if you are going to do page break in content and requires it continue to next page, no way to determine what next page is. 18:30:00 florian: you need something that gets you to next page 18:30:28 florian: if we want to support that we need something like that. 18:31:01 alex: if some content that you place in to region has page-break: avoid, is that smthing regions will not be capable of satisfying, or would we have smthing different. 18:31:08 break-before: region(mycustompaginator) 18:31:10 nimbupani has joined #css 18:31:28 smfr: why dont u use normal paged media? 18:31:51 alex: if nothing more adv is available we would consider every region is a page from point of view of breaking 18:32:02 szilles: all the things u have said requires a content change. 18:32:40 szilles: the author wants to present this content if it were a page in the display he is presenting to the user 18:32:57 vhardy: if you want something foo, then you say break for 'foo' 18:33:15 karl has joined #CSS 18:33:25 hyatt has joined #css 18:33:38 alex: i dont get why you are objecting. moz has internally a special element to represent … 18:33:48 fantasai: we have a page box we have smthing in the rendering tree that represents a page box 18:33:58 alex: as an author how do you make an element a page box 18:34:00 fantasai: we cant 18:34:30 alex: with regions we are creating an opportunity for author to use page navigating algorithm. 18:34:45 plinss: do u want headers and footers to appear on random elements? 18:35:19 dbaron: there is an assumption that you should be able to do what you described without changing the content. i dont think thats true 18:35:57 florian: u might want to break sometimes on certain page breaks and not on some others. 18:36:21 vhardy: thats the intended functionality is to have more than 1 kind of breaks. 18:36:48 What about regions inside regions inside regions inside regions? You need to be able to indicate level 18:36:48 plinss: you really are talking about a region break to a higher level (in nested regions). 18:37:14 fantasai: e.g. break-before: region('named flow'); 18:38:16 You might not know the region you are in, but know that you want to break 2 levels up. break-before:region(-2) 18:38:18 vhardy: take an action to add the usecase alex is talking about and measure up the actions 18:38:36 alex: only region break is also generally okay. 18:40:10 mollydotcom has left #css 18:40:16 alan: before we got to pagination, it sounded like plinss was saying if we have col breaks and region breaks and i have flow going to regions that are not going to multicol elements you would prefer col break to not break to next region. 18:41:19 vhardy: if you got page break and not in paged media it does nothing 18:41:42 alan: if you have a region situation and u have a column break i prefer my text to go to next region from auth perspective each region is a single column 18:41:57 alan: we have usecases where regions to use multicol layout 18:42:19 alex: in multicol spec does it say in paged media each page should be considered a column? 18:42:38 ACTION: howcome to answer if paged media each page should be considered a column? 18:42:38 Created ACTION-353 - Answer if paged media each page should be considered a column? [on Håkon Wium Lie - due 2011-08-01]. 18:43:03 mollydotcom has joined #css 18:43:12 alexmog has joined #css 18:43:30 vhardy: option1 seems to be off the table. 18:43:59 vhardy: we agree we need breaks that are typed. 18:44:14 szilles has joined #css 18:44:24 plinss: if we have nested region flows we need ability to break a level. 18:46:12 plinss: the types of usecases that alex is taking about i think we should have to work on getting browsers to render a page in paginated mode. 18:46:48 There was a suggestion to add 'overflow-style: paged' a while ago. 18:46:51 Yes, some kind of explicit "I want paginated mode" switch is much cleaner 18:46:57 or a section of a page in paginated mode 18:48:13 alex: we are making it possible to create a webpage that gives you the same experience as looking at a magazine. give it same kind of control including control of column breaks and page breaks. we would need to create new break types 18:48:25 dsinger has joined #css 18:49:00 Martijnc has joined #css 18:49:07 alex: if we switch browser to switch to page mode, the ui browser provides to navigate pages is light years away from what designers would want in page navigation experience 18:49:51 RESOLVED: we need breaks that are specific to containers they are part of. 18:50:25 ACTION: vhardy come up with a proposal for breaks either a page-break or a general type of break or both and related use cases 18:50:25 Created ACTION-354 - Come up with a proposal for breaks either a page-break or a general type of break or both and related use cases [on Vincent Hardy - due 2011-08-01]. 18:50:44 smfr: we are not happy with behavior for iframe objects in spec 18:50:54 lhnz has joined #css 18:51:06 smfr: issue 5 18:51:08 http://dev.w3.org/csswg/css3-regions/#the-flow-property 18:51:26 alex: it is not an issue any more. I added it in. 18:51:32 "For an