[Webkit-unassigned] [Bug 11607] New: Possible optimization in RenderBlock::calcMinMaxWidth()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 15 15:24:46 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11607
Summary: Possible optimization in RenderBlock::calcMinMaxWidth()
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Keywords: EasyFix
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: mitz at webkit.org
CC: hyatt at apple.com, sam.weinig at gmail.com
RenderBlock::calcMinMaxWidth() shouldn't call
calcInlineMinMaxWidth/calcBlockMinMaxWidth (which iterate over all children) if
it's not a table cell and has fixed positive width, since in that case it
overwrites m_minWidth and m_maxWidth anyway. This is a fairly common case, and
a very easy fix that could improve performance.
I think this also applies to RenderFlexibleBox.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list