Patch forthcoming.
Created attachment 12138 [details] Optimize
Comment on attachment 12138 [details] Optimize No layout test regressions.
Comment on attachment 12138 [details] Optimize I started trickling support for the intrinsic and min-intrinsic keywords into flexible boxes. min-width: intrinsic, for example, would mean you need to check the kids still. I'm not sure we need to deal with this now... but a FIXME reminding us that we need to deal with this issue when fully implementing these keywords might be helpful.
This optimization is valid for flexible boxes too.
Another point to make is that I would like to eventually exclude "self-width/min-width/max-width" checks and only use them for your children (and not yourself). As long as they are included in self-calculations, flexible boxes will be broken. Anyway, just getting my thoughts down where someone else can absorb them. :)
Comment on attachment 12138 [details] Optimize r=me
Committed revision 18497.