[Webkit-unassigned] [Bug 9316] REGRESSION: text field width shrinks on first keystroke

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Jun 23 04:09:38 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9316





------- Comment #11 from hyatt at apple.com  2006-06-23 04:09 PDT -------
Ok, I get the bug.  Normally floating object lists are cleared during layout so
that as a floating object does a layout, it can consume the appropriate amount
of line width accounting for remaining space on the line.

However, I think there's a better fix.  If you are the subtree root then your
width is never allowed to change.  Therefore you can optimize out calcWidth and
not call it at all if you are the subtree root.  (It would be better I think to
patch calcWidth itself to check if you are the subtree root, and if you are, it
can just immediately return).


-- 
Configure bugmail: http://bugzilla.opendarwin.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