Options:
- # Session Start: Tue Aug 19 00:00:01 2014
- # Session Ident: #css
- # [00:09] * Joins: dauwhe (~dauwhe@public.cloak)
- # [00:16] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [00:29] * Joins: jcraig_ (~jcraig@public.cloak)
- # [00:33] * Quits: jcraig (~jcraig@public.cloak) (Ping timeout: 180 seconds)
- # [00:33] * jcraig_ is now known as jcraig
- # [00:40] * Joins: jcraig_ (~jcraig@public.cloak)
- # [00:42] * Quits: jcraig (~jcraig@public.cloak) (Ping timeout: 180 seconds)
- # [00:42] * jcraig_ is now known as jcraig
- # [00:44] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [00:50] * Joins: jcraig (~jcraig@public.cloak)
- # [01:10] * Joins: dauwhe (~dauwhe@public.cloak)
- # [01:10] * Quits: jcraig (~jcraig@public.cloak) (Ping timeout: 180 seconds)
- # [01:15] * Joins: jcraig (~jcraig@public.cloak)
- # [01:17] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [01:20] * Joins: jcraig_ (~jcraig@public.cloak)
- # [01:23] * Quits: jcraig (~jcraig@public.cloak) (Ping timeout: 180 seconds)
- # [01:23] * jcraig_ is now known as jcraig
- # [01:47] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [02:10] * Joins: dauwhe (~dauwhe@public.cloak)
- # [02:12] <fantasai> TabAtkins: http://codepen.io/anon/pen/kzAKG
- # [02:13] * Joins: dholbert (~dholbert@public.cloak)
- # [02:14] * Joins: jdaggett (~jdaggett@public.cloak)
- # [02:17] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [02:19] <fantasai> dholbert: OK, so, do we need to fix anything in the spec or file bugs against IE/Chrome?
- # [02:19] <dholbert> fantasai, the latter, I think
- # [02:19] <dholbert> fantasai, I'm posting on www-style in response to my post that you sent me
- # [02:19] <fantasai> :)
- # [02:23] <dholbert> fantasai, sent. I'll file bugs later tonight
- # [02:24] <fantasai> Thanks
- # [02:30] * Joins: tantek (~tantek@public.cloak)
- # [02:30] <fantasai> dholbert: fwiw, I've updated the issues list - http://dev.w3.org/csswg/css-flexbox-1/issues-lc-20140325
- # [02:37] <dholbert> fantasai, (ah, never mind -- TabAtkins is gonna file a bug, he says on the list. Thanks, Tab!)
- # [02:37] <dholbert> (I'll file an IE bug, though)
- # [02:37] * dholbert going afk, commuting
- # [02:39] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [02:45] * fantasai kk
- # [03:08] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [03:11] * Joins: dauwhe (~dauwhe@public.cloak)
- # [03:12] * Joins: jdaggett_ (~jdaggett@public.cloak)
- # [03:17] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
- # [03:17] * jdaggett_ is now known as jdaggett
- # [03:21] * Joins: jdaggett_ (~jdaggett@public.cloak)
- # [03:22] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [03:24] * leaverou_away is now known as leaverou
- # [03:25] * Joins: tantek (~tantek@public.cloak)
- # [03:28] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
- # [03:28] * jdaggett_ is now known as jdaggett
- # [03:34] * leaverou is now known as leaverou_away
- # [03:42] * Joins: jcraig (~jcraig@public.cloak)
- # [03:44] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [04:01] * Joins: jdaggett_ (~jdaggett@public.cloak)
- # [04:06] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
- # [04:06] * jdaggett_ is now known as jdaggett
- # [04:11] * Joins: dauwhe (~dauwhe@public.cloak)
- # [04:18] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [04:20] * Quits: jdaggett (~jdaggett@public.cloak) (Ping timeout: 180 seconds)
- # [04:20] * Quits: dbaron (~dbaron@public.cloak) ("8403864 bytes have been tenured, next gc will be global.")
- # [04:21] * Joins: jdaggett (~jdaggett@public.cloak)
- # [04:23] * fantasai back online
- # [04:25] <fantasai> TabAtkins: http://dev.w3.org/csswg/bin/issuegen.pl
- # [04:25] <fantasai> TabAtkins: scroll to the bottom
- # [04:28] <TabAtkins> Yeah?
- # [04:34] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
- # [04:37] <fantasai> TabAtkins: copy-pasted into bikeshed for issuegen?
- # [04:37] <TabAtkins> Oh! That's what you meant.
- # [04:37] <TabAtkins> Sorry, spaced.
- # [04:37] <fantasai> :)
- # [04:37] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [04:41] <fantasai> dholbert: I think we need some help on http://lists.w3.org/Archives/Public/www-style/2014Jul/0009.html
- # [04:41] * fantasai and TabAtkins are taking off for the day, but will be back tomorrow
- # [04:49] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [05:08] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [05:08] * Joins: jcraig (~jcraig@public.cloak)
- # [05:08] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [05:09] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [05:10] * Joins: jcraig (~jcraig@public.cloak)
- # [05:11] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [05:11] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [05:12] * Joins: dauwhe (~dauwhe@public.cloak)
- # [05:13] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [05:19] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [05:21] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [05:21] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [05:26] * leaverou_away is now known as leaverou
- # [05:28] * Quits: tommyjtl (~tommyjtl@public.cloak) (Ping timeout: 180 seconds)
- # [05:35] * leaverou is now known as leaverou_away
- # [05:50] * Joins: jdaggett (~jdaggett@public.cloak)
- # [05:50] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
- # [05:54] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [06:12] * Joins: dauwhe (~dauwhe@public.cloak)
- # [06:13] * Joins: jdaggett (~jdaggett@public.cloak)
- # [06:19] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [06:39] * Joins: dbaron (~dbaron@public.cloak)
- # [06:51] * Quits: tommyjtl (~tommyjtl@public.cloak) (Ping timeout: 180 seconds)
- # [07:00] * leaverou_away is now known as leaverou
- # [07:13] * Joins: dauwhe (~dauwhe@public.cloak)
- # [07:18] * Joins: tantek (~tantek@public.cloak)
- # [07:20] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [07:27] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [07:37] * leaverou is now known as leaverou_away
- # [08:13] * Joins: dauwhe (~dauwhe@public.cloak)
- # [08:20] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [08:25] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [08:37] * leaverou_away is now known as leaverou
- # [08:43] * Joins: zcorpa___ (~zcorpan@public.cloak)
- # [08:49] * nikos is now known as nikos_office
- # [08:50] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [08:53] * Joins: anssik (~uid10742@public.cloak)
- # [09:13] * Joins: dauwhe (~dauwhe@public.cloak)
- # [09:20] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [09:31] * leaverou is now known as leaverou_away
- # [09:33] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [10:14] * Joins: dauwhe (~dauwhe@public.cloak)
- # [10:21] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [10:42] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
- # [11:02] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [11:14] * Joins: dauwhe (~dauwhe@public.cloak)
- # [11:14] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [11:21] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [11:54] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [11:54] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [12:01] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [12:01] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [12:06] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [12:13] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [12:15] * Joins: dauwhe (~dauwhe@public.cloak)
- # [12:17] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [12:22] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [12:47] * Joins: jdaggett (~jdaggett@public.cloak)
- # [13:15] * Joins: dauwhe (~dauwhe@public.cloak)
- # [13:22] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [13:51] * Joins: plh (plehegar@public.cloak)
- # [14:08] * Joins: tantek (~tantek@public.cloak)
- # [14:15] * Quits: tantek (~tantek@public.cloak) (Ping timeout: 180 seconds)
- # [14:16] * Joins: dauwhe (~dauwhe@public.cloak)
- # [14:23] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [14:39] * zcorpa___ is now known as zcorpan
- # [15:06] * leaverou_away is now known as leaverou
- # [15:14] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [15:16] * Joins: dauwhe (~dauwhe@public.cloak)
- # [15:17] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
- # [15:23] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [15:37] * leaverou is now known as leaverou_away
- # [15:41] * leaverou_away is now known as leaverou
- # [15:47] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [15:48] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [16:14] * Joins: tommyjtl_ (~tommyjtl@public.cloak)
- # [16:14] * Quits: tommyjtl (~tommyjtl@public.cloak) (Client closed connection)
- # [16:17] * Joins: dauwhe (~dauwhe@public.cloak)
- # [16:24] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [16:30] * leaverou is now known as leaverou_away
- # [16:33] * Quits: tommyjtl_ (~tommyjtl@public.cloak) (Client closed connection)
- # [16:33] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [16:40] * Joins: tommyjtl_ (~tommyjtl@public.cloak)
- # [16:41] * Quits: tommyjtl (~tommyjtl@public.cloak) (Ping timeout: 180 seconds)
- # [16:47] * leaverou_away is now known as leaverou
- # [17:17] * Joins: dauwhe (~dauwhe@public.cloak)
- # [17:24] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [17:24] * Joins: zcorpan (~zcorpan@public.cloak)
- # [17:24] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [17:31] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [17:44] * leaverou is now known as leaverou_away
- # [17:50] * Joins: dbaron (~dbaron@public.cloak)
- # [18:13] * leaverou_away is now known as leaverou
- # [18:18] * Joins: dauwhe (~dauwhe@public.cloak)
- # [18:25] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [18:25] * Joins: tommyjtl (~tommyjtl@public.cloak)
- # [18:30] * leaverou is now known as leaverou_away
- # [18:31] * Quits: tommyjtl_ (~tommyjtl@public.cloak) (Ping timeout: 180 seconds)
- # [18:49] * Joins: tommyjtl_ (~tommyjtl@public.cloak)
- # [18:54] * Quits: tommyjtl (~tommyjtl@public.cloak) (Ping timeout: 180 seconds)
- # [19:02] * leaverou_away is now known as leaverou
- # [19:05] * Joins: tantek (~tantek@public.cloak)
- # [19:18] * Joins: dauwhe (~dauwhe@public.cloak)
- # [19:26] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [19:40] <fantasai> dholbert: Thanks to one of your excellent emails, it seems we expanded "any definite size constraints" completely wrong
- # [19:41] <fantasai> dholbert: trying to fix now :)
- # [19:57] * Joins: zcorpan (~zcorpan@public.cloak)
- # [20:19] * Joins: dauwhe (~dauwhe@public.cloak)
- # [20:26] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [20:30] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [20:57] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [21:20] * Joins: dauwhe (~dauwhe@public.cloak)
- # [21:27] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [21:40] * leaverou is now known as leaverou_away
- # [21:40] * Joins: dbaron (~dbaron@public.cloak)
- # [21:50] * Joins: plh (plehegar@public.cloak)
- # [21:50] * plh is now known as plh-home
- # [22:15] <TabAtkins> dholbert: fantasai's composing an email to the list, but we just rewrote the min-width:auto conditions entirely, and *now* we're pretty sure they're correct. We did a chart on a whiteboard and everything.
- # [22:15] * plinss is now known as plinss_away
- # [22:15] * plinss_away is now known as plinss
- # [22:16] <Ms2ger> TabAtkins, put the chart in the spec ;)
- # [22:18] <fantasai> we compressed it a bit
- # [22:18] <fantasai> but it's in the spec
- # [22:18] <fantasai> http://dev.w3.org/csswg/css-flexbox-1/#min-size-auto
- # [22:19] <fantasai> the chart on the whiteboard expanded out some of the stuff that's folded into the definitions now
- # [22:20] * Joins: dauwhe (~dauwhe@public.cloak)
- # [22:24] <dholbert> fantasai / TabAtkins, sorry, apparently my IRC bouncer doesn't notify me about missed messages on this server! /me needs to look into that
- # [22:25] <dholbert> anyway, just saw fantasai's email to the list, and then rejoined irc.w3.org & saw the backscroll of your messages :)
- # [22:27] <fantasai> :)
- # [22:27] <dholbert> fantasai / TabAtkins, the new spec text has "height" in the definition of "transferred size" -- I think it wants s/height/cross-size/
- # [22:27] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [22:27] <TabAtkins> Already fixed.
- # [22:27] <dholbert> nice
- # [22:28] <dholbert> yup
- # [22:31] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [22:33] <fantasai> dholbert: yeah, so
- # [22:34] <fantasai> dholbert: I'm a bit unsure about the 'main-size' conditional in the first bit wrt clamped size
- # [22:36] * Joins: glenn_ (~gadams@public.cloak)
- # [22:37] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 180 seconds)
- # [22:38] <TabAtkins> dholbert: In particular, fantasai thinks we might want to honor the main size property in all cases, even if flex-basis is an explicit length.
- # [22:42] * Joins: glenn (~gadams@public.cloak)
- # [22:42] <dholbert> TabAtkins / fantasai, I can see the argument for that, but I'm not sure I agree... that adds some complexity
- # [22:43] <dholbert> I view the main-size conditional as a special-case, to prevent a particular footgun
- # [22:43] <dholbert> fantasai, doesn't the min-main-size property give the author exactly the same amount of expressiveness?
- # [22:44] <TabAtkins> dholbert: That was my argument. ^_^
- # [22:44] <dholbert> TabAtkins, good argument! :D
- # [22:45] <fantasai> mine is that, if the author specified a size, and the min-size is "auto", "auto" should not automatically violate that size :)
- # [22:45] <TabAtkins> (My counter there is that if flex-basis isn't main-size, then width/height isn't consulted at all in the flex layout algorithm, so it seems weird to consult it for this.)
- # [22:45] <dholbert> yeah, I was about to say something along those lines
- # [22:45] <fantasai> We already reference the cross-size property if there's an aspect ratio
- # [22:46] <dholbert> fantasai, that's because there's no cross-axis analog of "flex-basis"
- # [22:46] <fantasai> why are we doing that and not referencing the main-size property?
- # [22:46] <dholbert> if there was, we'd use that, presumably
- # [22:46] <fantasai> Still
- # [22:47] <fantasai> I don't think automatic min size should ever cause a specified size violation
- # [22:47] * Quits: glenn_ (~gadams@public.cloak) (Ping timeout: 180 seconds)
- # [22:49] <fantasai> TabAtkins: http://lists.w3.org/Archives/Public/www-style/2014May/0040.html
- # [22:49] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 180 seconds)
- # [22:50] <fantasai> dholbert: Help on http://lists.w3.org/Archives/Public/www-style/2014Jul/0009.html ? :)
- # [22:50] <dholbert> fantasai, (I'm leaning against it because this means that implementations have to resolve *both* "width" and "flex-basis" into pixel-values [/ app units / equivalent], which is extra work that's otherwise unnecessary)
- # [22:51] <fantasai> o_O?
- # [22:51] <fantasai> Isn't that just a line of arithmetic?
- # [22:51] <fantasai> and only if it's a percentage?
- # [22:51] <dholbert> fantasai, it means resolving calc(), percentages, intrinsic sizing keywords, etc.
- # [22:51] <fantasai> (since otherwise you've computed it already for the computed value)
- # [22:52] <fantasai> intrinsic sizing keywords wouldn't be resolved
- # [22:52] <fantasai> you don't care about them
- # [22:52] <fantasai> also none of them are ever smaller than min-content :)
- # [22:52] <dholbert> fantasai, (ok, but the general "resolve what this abstract <length> means" code doesn't know that :))
- # [22:53] <fantasai> k, then you do
- # [22:53] * Joins: glenn (~gadams@public.cloak)
- # [22:54] <fantasai> if size is not a keyword, resolve abstract length
- # [22:54] <fantasai> ?
- # [22:54] <fantasai> but seriously, if you put
- # [22:54] <fantasai> <img src=foo.png width=30 height=30>
- # [22:54] <fantasai> into a flexbox
- # [22:55] <fantasai> and the UA forces it to be 80px because that's your image size
- # [22:55] <fantasai> is that not weird?
- # [22:57] <dholbert> fantasai, Gecko honors the 30px/30px right now, FWIW, with my implementation of what I understood the most recent min-size:auto stuff to mean
- # [22:57] <fantasai> even if you specify "flex: 1"?
- # [22:57] <TabAtkins> Default flex is "auto", which'll honor that width.
- # [22:57] <dholbert> fantasai, no, if you specify flex:1, it stretches
- # [22:57] <dholbert> which I think makes sense
- # [22:57] <fantasai> yes, of course
- # [22:57] <fantasai> but does it shrink down to zero?
- # [22:58] <fantasai> or does it stop at 30px
- # [22:58] <fantasai> or does it stop at 80px (intrinsic size)?
- # [22:58] <dholbert> fantasai, mm, stops at intrinsic size
- # [22:58] <fantasai> dholbert: yeah
- # [22:58] <fantasai> dholbert: Like I said, I think that would be very surprising
- # [22:59] <dholbert> well, if someone is surprised by that, they'd equally be surprised by the fact that their "width" has no effect in any other situations, too...
- # [22:59] <dholbert> (With a larger container)
- # [23:00] <fantasai> no, what's surprising is that the intrinsic size is used in place of the specified size
- # [23:00] <fantasai> if neither were used, that would be unsurprising
- # [23:00] <fantasai> neither is used in the large container case
- # [23:01] <fantasai> so that's fine
- # [23:01] <dholbert> fantasai, sorry, "stops at intrinsic size" = "stops at specified height * intrinsic-ratio"
- # [23:01] <dholbert> i.e. that's what I meant to say
- # [23:02] * Joins: glenn_ (~gadams@public.cloak)
- # [23:03] <dholbert> I do agree that it'd be surprising if the intrinsic size stuck around, despite a completely different height & width being specified & despite the flex container trying to shrink the item to a smaller size
- # [23:04] <dholbert> but I'm not as sure it's as badly-surprising for the intrinsic ratio to stick around & have an influence if you've specified an explicit cross size... still perhaps a bit confusing, though
- # [23:04] <dholbert> anyway, /me looks at that message you linked above
- # [23:06] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 180 seconds)
- # [23:10] <fantasai> I think the basic idea we tried to follow was that we do an implied minimum of the content size
- # [23:10] <fantasai> but if various explicitly-specified things are smaller than that, we decrease the implied minimum accordingly
- # [23:11] <fantasai> we never increase it
- # [23:11] <fantasai> (since it's supposed to be a minimum. We take the minimum of the reasonably-useful minimums.)
- # [23:11] <dholbert> so the scenario we're worried about is something like this: https://pastebin.mozilla.org/6058633 ?
- # [23:12] <dholbert> (^ is w.r.t. the www-style post you linked above, http://lists.w3.org/Archives/Public/www-style/2014Jul/0009.html )
- # [23:14] <dholbert> in Gecko, we do a 2-pass layout to render that right now. (1 pass with synthesized auto-height to resolve the "min-height:auto", and 1 pass at its actual final height), FWIW
- # [23:15] <fantasai> I think the scenario is more like
- # [23:15] <fantasai> <div style="height: 50px; min-height: max-content">
- # [23:15] <fantasai> <div style="height: 50%">....</div>
- # [23:15] <fantasai> </div>
- # [23:16] * fantasai having a bit of trouble with the flex analogue atm
- # [23:16] <dholbert> fantasai, (this ^ is just blocks, yes? no flex?)
- # [23:16] <fantasai> yeah
- # [23:17] <fantasai> although the analogous case exists for flex
- # [23:17] <dholbert> right
- # [23:19] <dholbert> fantasai, presumably in any case, we don't care about the effects of the percentage on the container's max-content height, right?
- # [23:20] <dholbert> i.e. if "..." is 1000px tall, we don't want to end up with the container's max-content resolving to 2000px, do we?
- # [23:20] <dholbert> (I don't think that's in any of the proposals in that post; just want to be clear that this is a non-option)
- # [23:21] * Joins: dauwhe (~dauwhe@public.cloak)
- # [23:28] <fantasai> I'm not sure, maybe C was that option?
- # [23:28] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [23:28] <fantasai> oh, no it was something else
- # [23:28] <fantasai> yeah, i think that would be D. :)
- # [23:28] <dholbert> heh. :)
- # [23:29] <dholbert> anyway: I'm not sure / I don't have a strong preference
- # [23:29] <fantasai> I thin C. would be, make the item 500px tall
- # [23:29] <dholbert> I think so too, yeah. (and its contents would overflow its 500px height, which is probably fine)
- # [23:29] <fantasai> B. would result in 25px
- # [23:29] <dholbert> right
- # [23:30] <dholbert> and A would result in 1000px on the child (ignoring the 50%)
- # [23:30] <fantasai> A. would be 1000px (ignore percentage)
- # [23:30] <fantasai> yes
- # [23:30] <dholbert> yeah
- # [23:30] <dholbert> *jinx*
- # [23:30] <fantasai> heh
- # [23:30] <fantasai> K
- # [23:30] <fantasai> If you come up with an opinion, let us know =)
- # [23:31] <dholbert> C seems the most "correct", albeit with a perf cost
- # [23:31] <dholbert> but as long as it doesn't trigger stacked 2-pass layout *by default*, the cost doesn't seem too bad to me
- # [23:32] <fantasai> well
- # [23:32] <fantasai> we have the flex min-content case
- # [23:32] <fantasai> sorry
- # [23:33] <fantasai> min-size: auto
- # [23:34] <fantasai> so if you are nesting main-axis percentage inside a flex item, and your main-axis size is definite, you will run into this
- # [23:34] * fantasai is not sure how often a main-axis size is definite
- # [23:34] <dholbert> yeah... also if you're flexible, I think
- # [23:35] <dholbert> because then you have to (a) measure the min-content size, (b) flex, (c) re-layout at the resulting flexed size
- # [23:35] <dholbert> (er, sorry, I might be talking about something slightly different)
- # [23:36] <dholbert> I forget if a flexible main-size establishes a definite size for children to resolve percentages against... I think it does
- # [23:37] <fantasai> in general or just when the basis is non-auto?
- # [23:37] <fantasai> sorry, non-intrinsic
- # [23:37] <fantasai> indefinite
- # [23:37] <dholbert> in gecko, I think it does, in general
- # [23:37] <fantasai> interesting
- # [23:38] <dholbert> (I don't recall if that's been explicitly decided on anywhere though)
- # [23:38] <fantasai> I remember talking about it, actually
- # [23:38] <fantasai> but I don't remember where it would show up in the spec
- # [23:40] <dholbert> fantasai, looks like it might be in http://dev.w3.org/csswg/css-flexbox/#definite-sizes
- # [23:41] <dholbert> fantasai, item #2 there seems to say a flex item's main-size should be considered definite (for resolving percentages) if its flex-basis is definite
- # [23:41] <fantasai> eyp
- # [23:41] <dholbert> though it doesn't say what to do if the flex-basis is not definite
- # [23:42] <fantasai> I would assume that means the main size is not definite
- # [23:42] <dholbert> seems like it, yeah
- # [23:45] * Quits: plh-home (plehegar@public.cloak) ("Leaving")
- # [23:47] * Quits: tantek (~tantek@public.cloak) (tantek)
- # [23:49] * Joins: tantek (~tantek@public.cloak)
- # [23:55] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [23:58] * Quits: tantek (~tantek@public.cloak) (tantek)
- # Session Close: Wed Aug 20 00:00:00 2014
The end :)