Bug 12049

Summary: RenderBlock::calcMinMaxWidth() should not examine children of fixed-width blocks
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Optimize hyatt: review+

Description mitz 2006-12-31 14:15:38 PST
Patch forthcoming.
Comment 1 mitz 2006-12-31 14:20:07 PST
Created attachment 12138 [details]
Optimize
Comment 2 mitz 2006-12-31 14:25:37 PST
Comment on attachment 12138 [details]
Optimize

No layout test regressions.
Comment 3 Dave Hyatt 2006-12-31 14:28:43 PST
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.
Comment 4 Dave Hyatt 2006-12-31 14:30:07 PST
This optimization is valid for flexible boxes too.


Comment 5 Dave Hyatt 2006-12-31 14:55:20 PST
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 6 Dave Hyatt 2006-12-31 14:55:43 PST
Comment on attachment 12138 [details]
Optimize

r=me
Comment 7 David Kilzer (:ddkilzer) 2006-12-31 17:05:03 PST
Committed revision 18497.