Options:
- # Session Start: Tue May 06 00:00:00 2014
- # Session Ident: #css
- # [00:05] * Joins: dbaron (~dbaron@public.cloak)
- # [00:23] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [00:23] * Joins: zcorpan (~zcorpan@public.cloak)
- # [00:30] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [00:32] * Joins: jcraig (~jcraig@public.cloak)
- # [00:53] * Joins: zcorpan (~zcorpan@public.cloak)
- # [00:53] * Joins: adenilson (~anonymous@public.cloak)
- # [01:00] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [01:01] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [01:03] * Joins: lmclister (~lmclister@public.cloak)
- # [01:11] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [01:12] * Joins: lmclister (~lmclister@public.cloak)
- # [01:16] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [01:54] * Joins: zcorpan (~zcorpan@public.cloak)
- # [02:01] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [02:09] * Joins: dauwhe_ (~dauwhe@public.cloak)
- # [02:10] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [02:15] * Joins: plh (plehegar@public.cloak)
- # [02:23] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [02:33] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [02:35] * Quits: adenilson (~anonymous@public.cloak) (adenilson)
- # [02:54] * Joins: jcraig (~jcraig@public.cloak)
- # [02:55] * Joins: zcorpan (~zcorpan@public.cloak)
- # [03:02] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [03:17] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [03:17] * Quits: dbaron (~dbaron@public.cloak) ("8403864 bytes have been tenured, next gc will be global.")
- # [03:29] * Joins: lmclister (~lmclister@public.cloak)
- # [03:38] * Quits: jet (~junglecode@public.cloak) (jet)
- # [03:56] * Joins: zcorpan (~zcorpan@public.cloak)
- # [04:03] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [04:04] * Joins: dbaron (~dbaron@public.cloak)
- # [04:56] * Joins: zcorpan (~zcorpan@public.cloak)
- # [05:03] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [05:57] * Joins: zcorpan (~zcorpan@public.cloak)
- # [05:59] * Joins: zcorpan_ (~zcorpan@public.cloak)
- # [06:04] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [06:06] * Quits: zcorpan_ (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [07:00] * Joins: zcorpan (~zcorpan@public.cloak)
- # [07:07] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [08:01] * Joins: zcorpan (~zcorpan@public.cloak)
- # [08:08] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [08:12] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [08:19] * Quits: lmclister (~lmclister@public.cloak) ("")
- # [08:48] * Joins: zcorpan (~zcorpan@public.cloak)
- # [08:54] * Joins: rodneyrehm (~rrehm@public.cloak)
- # [09:19] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [09:28] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [09:34] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [09:45] * Quits: achicu___ (~sid13301@public.cloak) (Client closed connection)
- # [09:45] * Joins: achicu____ (~sid13301@public.cloak)
- # [09:45] * Quits: TabAtkins (~sid11559@public.cloak) (Client closed connection)
- # [09:45] * Quits: cbiesinger_ (~sid8099@public.cloak) (Client closed connection)
- # [09:46] * Joins: TabAtkins (~sid11559@public.cloak)
- # [09:47] * Joins: cbiesinger_ (~sid8099@public.cloak)
- # [09:53] * Quits: rodneyrehm (~rrehm@public.cloak) ("This computer has gone to sleep")
- # [09:55] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [10:37] * Joins: glazou (~glazou@public.cloak)
- # [10:54] * Joins: plh (plehegar@public.cloak)
- # [10:57] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [11:00] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [11:22] * Quits: Garbee (~uid21171@public.cloak) (Client closed connection)
- # [11:23] * Joins: Garbee (~uid21171@public.cloak)
- # [11:23] * Quits: cabanier__ (~sid15093@public.cloak) (Client closed connection)
- # [11:23] * Joins: cabanier__ (~sid15093@public.cloak)
- # [11:56] * Joins: rodneyrehm (~rrehm@public.cloak)
- # [12:30] * Quits: rodneyrehm (~rrehm@public.cloak) ("This computer has gone to sleep")
- # [12:51] * Joins: darktears (~darktears@public.cloak)
- # [12:57] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [13:08] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [13:19] * Joins: rodneyrehm (~rrehm@public.cloak)
- # [13:56] * Quits: Bert (bbos@public.cloak) (Ping timeout: 180 seconds)
- # [14:01] * Joins: Bert (bbos@public.cloak)
- # [14:10] * Quits: dauwhe_ (~dauwhe@public.cloak) (Client closed connection)
- # [15:00] * Joins: dauwhe (~dauwhe@public.cloak)
- # [15:10] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [16:12] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [16:12] * Joins: zcorpan (~zcorpan@public.cloak)
- # [16:18] * Joins: dbaron (~dbaron@public.cloak)
- # [16:19] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [16:35] * Joins: dauwhe (~dauwhe@public.cloak)
- # [16:39] * Joins: antonp (~Thunderbird@public.cloak)
- # [17:06] * Quits: glazou (~glazou@public.cloak) (glazou)
- # [17:11] * Joins: shepazu (schepers@public.cloak)
- # [17:13] * Joins: zcorpan (~zcorpan@public.cloak)
- # [17:20] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [17:37] * Joins: lmclister (~lmclister@public.cloak)
- # [17:42] * Quits: darktears (~darktears@public.cloak) (Client closed connection)
- # [18:06] * Joins: glazou (~glazou@public.cloak)
- # [18:08] * Joins: darktears (~darktears@public.cloak)
- # [18:12] * Joins: adenilson (~anonymous@public.cloak)
- # [18:13] * Joins: zcorpan (~zcorpan@public.cloak)
- # [18:14] * Quits: glazou (~glazou@public.cloak) (glazou)
- # [18:21] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [18:27] * Joins: zcorpan (~zcorpan@public.cloak)
- # [18:35] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [18:44] * Quits: darktears (~darktears@public.cloak) (Client closed connection)
- # [18:44] * Joins: darktears (~darktears@public.cloak)
- # [18:51] * Joins: rhauck (~Adium@public.cloak)
- # [19:28] * Joins: zcorpan (~zcorpan@public.cloak)
- # [19:35] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [19:46] * Quits: rodneyrehm (~rrehm@public.cloak) ("leaving planet earth")
- # [20:03] * Joins: jcraig (~jcraig@public.cloak)
- # [20:09] <fantasai> “Problems with Percentage Stretching”
- # [20:10] <fantasai> http://lists.w3.org/Archives/Public/www-style/2014Apr/0062.html
- # [20:10] <fantasai> Greg Whitworth
- # [20:10] <fantasai> Issue 1
- # [20:10] * trackbot doesn't understand that ISSUE command.
- # [20:10] <fantasai> response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0073.html
- # [20:11] <fantasai> Issue 2
- # [20:11] * trackbot doesn't understand that ISSUE command.
- # [20:11] <fantasai> “Typos”
- # [20:12] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0090.html
- # [20:12] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0091.html
- # [20:12] <fantasai> Response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0100.html
- # [20:12] <fantasai> Resolved: Editorial
- # [20:12] <fantasai> Closed: Accepted
- # [20:16] <fantasai> Issue 3
- # [20:16] * trackbot doesn't understand that ISSUE command.
- # [20:16] <fantasai> “Excessive recalculation of free space”
- # [20:16] <fantasai> http://lists.w3.org/Archives/Public/www-style/2014Apr/0097.html
- # [20:16] <fantasai> Daniel Holbert
- # [20:17] <fantasai> Response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0098.html
- # [20:18] <fantasai> Verified: http://lists.w3.org/Archives/Public/www-style/2014Apr/0099.html
- # [20:19] <fantasai> “Mishandling of zero free space”
- # [20:19] <fantasai> dholbert
- # [20:19] <fantasai> http://lists.w3.org/Archives/Public/www-style/2014Apr/0106.html
- # [20:20] <fantasai> Respone: http://lists.w3.org/Archives/Public/www-style/2014Apr/0113.html
- # [20:20] <fantasai> “Change flex animatability to yes, always“
- # [20:20] <fantasai> http://lists.w3.org/Archives/Public/www-style/2014Apr/0169.html
- # [20:20] <fantasai> Response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0175.html
- # [20:20] <fantasai> (dholbert)
- # [20:21] <fantasai> “Use inline size for block-axis percentag padding”
- # [20:21] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0184.html
- # [20:21] <fantasai> Christian Biesinger
- # [20:22] * Joins: rhauck1 (~Adium@public.cloak)
- # [20:23] * Quits: rhauck (~Adium@public.cloak) (Client closed connection)
- # [20:24] <fantasai> “Alternate wording for resolving flex lengths”
- # [20:24] <fantasai> Daniel Holbert
- # [20:24] <fantasai> Comment:
- # [20:24] <fantasai> I'm wondering whether it'd be better for me to just tweak my
- # [20:24] <fantasai> er, wrong paste
- # [20:24] <fantasai> http://lists.w3.org/Archives/Public/www-style/2014Apr/0223.html
- # [20:24] <fantasai> Response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0252.html
- # [20:24] <fantasai> Closed: Retracted
- # [20:25] <fantasai> “Alternate wording for resolving flex lengths Take II”
- # [20:25] <fantasai> Daniel Holbert
- # [20:25] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0253.html
- # [20:27] <fantasai> “Better handling of max-height on flex containers”
- # [20:27] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0292.html
- # [20:27] <fantasai> Response: http://lists.w3.org/Archives/Public/www-style/2014Apr/0293.html
- # [20:28] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0294.html
- # [20:28] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0297.html
- # [20:28] <fantasai> Open
- # [20:29] * Joins: zcorpan (~zcorpan@public.cloak)
- # [20:30] <fantasai> “Regression in flex resolution algorithm”
- # [20:30] <fantasai> Daniel Holbert
- # [20:30] <fantasai> Comment:http://lists.w3.org/Archives/Public/www-style/2014Apr/0311.html
- # [20:30] <fantasai> Proposal: http://lists.w3.org/Archives/Public/www-style/2014Apr/0397.html
- # [20:32] <fantasai> Add this URL as a comment to the Take II issue above... http://lists.w3.org/Archives/Public/www-style/2014Apr/0398.html
- # [20:32] <fantasai> “Missing negation in description of 'auto'”
- # [20:32] <fantasai> Greg Whitworth
- # [20:32] <fantasai> Comment: http://lists.w3.org/Archives/Public/www-style/2014Apr/0430.html
- # [20:32] <fantasai> Resolved: Bugfix
- # [20:34] * Quits: lmclister (~lmclister@public.cloak) (Client closed connection)
- # [20:34] * Joins: lmclister (~lmclister@public.cloak)
- # [20:35] <fantasai> s/Missing/Excessive/
- # [20:36] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [20:38] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
- # [20:38] * Joins: dauwhe (~dauwhe@public.cloak)
- # [20:39] <fantasai> percentage paddings response: http://lists.w3.org/Archives/Public/www-style/2014May/0015.html
- # [20:39] <fantasai> missing not response (last issue) : http://lists.w3.org/Archives/Public/www-style/2014May/0016.html
- # [20:55] * Joins: dholbert (~dholbert@public.cloak)
- # [20:57] * Joins: zcorpan (~zcorpan@public.cloak)
- # [21:05] * Quits: rhauck1 (~Adium@public.cloak) ("Leaving.")
- # [21:05] * Joins: rhauck (~Adium@public.cloak)
- # [21:16] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [21:16] * Quits: darktears (~darktears@public.cloak) (Client closed connection)
- # [21:19] * Joins: darktears (~darktears@public.cloak)
- # [21:31] * Joins: rhauck (~Adium@public.cloak)
- # [21:45] * Quits: jcraig (~jcraig@public.cloak) (jcraig)
- # [22:00] * Joins: jcraig (~jcraig@public.cloak)
- # [22:13] * Joins: jet (~junglecode@public.cloak)
- # [22:19] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
- # [22:25] <dholbert> fantasai / TabAtkins, I noticed you're going through flexbox stuff today. If you get to my "resolving flexible lengths" algorithm posts & have any questions/clarifications that would be better-suited to IRC, feel free to ping me.
- # [22:26] <TabAtkins> Yup, that's what we're doing now.
- # [22:26] <TabAtkins> We were fixing everything else first.
- # [22:26] <TabAtkins> So we can page in your issues.
- # [22:26] <dholbert> cool
- # [22:26] <TabAtkins> (Sorry for ignoring them for a bit - having to page in the algo is a significant time investment.)
- # [22:26] <dholbert> no worries, I agree & understand
- # [22:37] <dholbert> TabAtkins / fantasai: if it helps for testing/comparison, current Firefox Nightly has my suggested tweak to the original algorithm implemented, from http://www.w3.org/mid/53597E2F.6070501@mozilla.com
- # [22:37] <dholbert> so that we get smooth transitions on e.g. http://people.mozilla.org/~dholbert/tests/flexbox/flex-transition-1.html
- # [22:47] <TabAtkins> dholbert: In your thread about how the new algo disagrees with the old algo when the free space flips from positive to negative, you've made a mistake (unless I'm wrong about how clear the algo is in the relevant case).
- # [22:47] <dholbert> TabAtkins, looking
- # [22:47] <TabAtkins> You posit an item with a very large flex-basis, but a small max-main-size, and assume this will mean that we have negative free space when we enter the flex distribution algo.
- # [22:48] <TabAtkins> But the effect of min/max on flex-basis is already figured into the hypothetical main size, determined much earlier in the algo before you ever get to flex distribution.
- # [22:48] <dholbert> It's figured into the *hypothetical* main-size, yes
- # [22:48] <dholbert> but then we temporarily ignore it, to start things out at their flex basis & grow/shrink from there, and correct if they violate their min/max
- # [22:49] <TabAtkins> Oh whoops, you're right.
- # [22:49] <dholbert> TabAtkins, specifically, step 3 of the new algo subtracts out the "outer flex base size", when calculating the free space
- # [22:49] <TabAtkins> Okay, back to thinking about this.
- # [22:49] <dholbert> cool
- # [23:02] <dholbert> TabAtkins, (generalizing from that negative-to-positive situation: Whichever version of the algorithm we use, I think we need to allow the "original free space" to grow (more positive if we're using flex-grow, more negative if we're using flex-shrink), or else we'll have a discontinuity in the "flex item going from 0.99 to 1.0" example that I described in my post today, http://www.w3.org/mid/536932FD.8070800@mozilla.com )
- # [23:02] <TabAtkins> Yeah, I'm working through some examples in this vein.
- # [23:11] <TabAtkins> dholbert: I think the fix for that problem is to look, when clamping, to see if a max-clamp reduces it to below its base size (or a min-clamp above its base size); if so, that means that original free space was incorrect, and you should recalculate.
- # [23:11] <TabAtkins> This seems to work correctly for flex both above and below 1, for cases when the free space changes sign *or* just gets bigger than originally anticipated.
- # [23:14] <TabAtkins> I wonder if this can be done more simply be calculating the originally desired free space for each element based on the hypothetical main sizes rather than flex base sizes.
- # [23:14] <TabAtkins> I'd have to run more examples.
- # [23:15] <dholbert> TabAtkins, [back now, was afk for a bit]
- # [23:16] <dholbert> TabAtkins, yeah, I think something like that is correct
- # [23:16] <TabAtkins> Without running examples, thinking about it makes me more sure that we can just calculate the originally desired free space from the hypothetical sizes and get the right behavior.
- # [23:16] * Joins: jcraig_ (~jcraig@public.cloak)
- # [23:16] <dholbert> TabAtkins, hmm, not so sure about that
- # [23:17] <dholbert> TabAtkins, I think if we're doing "flex-grow", any max violation should make us adjust that item's contribution to the free size, for subsequent loops of the algorithm
- # [23:17] <dholbert> sorry, "contribution to the original free space"
- # [23:18] <dholbert> That's a more robust formulation of my most recent www-style post (about letting original free space grow in magnitude), I think
- # [23:18] * Quits: jcraig (~jcraig@public.cloak) (Client closed connection)
- # [23:18] * jcraig_ is now known as jcraig
- # [23:19] <dholbert> TabAtkins, But I don't think we want to use hypothetical sizes to get orig free space, or else we'll end up distributing too little in cases where there are no violations
- # [23:21] <TabAtkins> But isn't it true that, by definition, if the hypothetical size is less than the base size, it's because there's *going* to be a violation?
- # [23:21] <dholbert> nope
- # [23:21] <dholbert> we can flex such that we don't violate
- # [23:21] <dholbert> e.g. "flex: 1 100px; min-width: 110px"
- # [23:22] <dholbert> if the first round of flexing gets that item more than 10px, then there won't be a violation
- # [23:22] <TabAtkins> Oh right. I'd have to recalc the hypothetical size clamping by only max *or* min, not both.
- # [23:22] <TabAtkins> That's too complex.
- # [23:22] <TabAtkins> (Note that I said "if the hypothetical size is *less than* the base size".)
- # [23:22] <dholbert> yeah, just realized that, sorry
- # [23:23] <dholbert> I believe you are correct on that (assuming we're using flex-grow)
- # [23:23] <TabAtkins> But your point is well-posed regardless, because I was ignoring the other case.
- # [23:24] <dholbert> I could imagine your "too complex" version would work, but I'm not sure
- # [23:24] <TabAtkins> I just ran through all my examples, and it does.
- # [23:24] <dholbert> (using the "half-hypothetical main size")
- # [23:24] <TabAtkins> But I don't want to write it.
- # [23:24] <dholbert> heh
- # [23:25] <TabAtkins> (I'm looking at four examples, covering {hypo size sum > container, hypo size sum < container}x{flexes >= 1, flexes < 1}.)
- # [23:26] <dholbert> gotcha
- # [23:27] <dholbert> TabAtkins, so..
- # [23:27] <TabAtkins> I'm writing the adjustment to the clamping section.
- # [23:27] <dholbert> TabAtkins, we could add an "early freeze" step
- # [23:27] <TabAtkins> AT the end of the flex ago.
- # [23:27] <dholbert> for "hey, look at all these things that obviously can't grow. Let's freeze them right away, and then have a correct original free space"
- # [23:27] <TabAtkins> If you max-violate and drop below your base size, recalculate.
- # [23:28] <TabAtkins> Oh hm, that might be even simpler.
- # [23:30] <dholbert> yeah
- # [23:31] <TabAtkins> Okay, pushing now.
- # [23:31] <dholbert> nice!
- # [23:31] <TabAtkins> Oh, wait, I can make this sligthly more elegant. One sec.
- # [23:36] <TabAtkins> Okay, it's now split out into an explicit pre-freeze step. This makes the "calculate free space" step work correctly, since it already treats frozen items correctly. (I've just removed the note that there are initially no frozen items.)
- # [23:38] <TabAtkins> dholbert: ^^^
- # [23:38] <dholbert> TabAtkins, nice!
- # [23:41] * Quits: adenilson (~anonymous@public.cloak) (adenilson)
- # [23:42] <dholbert> TabAtkins, hmm. I'm not sure https://dvcs.w3.org/hg/csswg/rev/0bc536c848fe is quite right
- # [23:42] <dholbert> TabAtkins, er, maybe it is
- # [23:42] <dholbert> oh, sorry, missed the next cset
- # [23:43] <dholbert> TabAtkins, never mind, yeah, the "rephrase" commit looks good.
- # [23:55] <TabAtkins> dholbert: Found a mistake in my stuff - if you're growing, and your base size is greater than your max size, I say to clamp to the max size.
- # [23:55] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
- # [23:55] <TabAtkins> But that ignores the fact that min-size wins over max-size, so if min-size was greater than max-size here, it would give the wrong result.
- # [23:55] <TabAtkins> So I changed both to just check if the main size is less than/greater than the hypo size, depending.
- # [23:56] <TabAtkins> (This still only hits the cases we want; if you're growing and the min-size is greater than your base size, this has no effect.)
- # [23:59] <dholbert> TabAtkins, cool
- # Session Close: Wed May 07 00:00:00 2014
The end :)