Reviewed by Darin, landed by ap.
[WebKit-https.git] / WebCore / ChangeLog
index 19bda3ae9b99538707e2c5e65263b2ffda8b1d37..83bc169ea9131bb6a89aee16c62a69a1af2443ce 100644 (file)
@@ -1,3 +1,21 @@
+2006-06-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
+
+        Reviewed by Darin, landed by ap.
+
+        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9316
+          REGRESSION: text field width shrinks on first keystroke
+
+        Test: fast/forms/floating-textfield-relayout.html
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::layoutRoot): Added. During subtree relayout, returns
+        the subtree root. Otherwise returns 0.
+        (WebCore::FrameView::layoutPending): Made const.
+        * page/FrameView.h:
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::calcWidth): Added early return if this is the root
+        of a subtree being laid out. 
+
 2006-06-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
 
         Reviewed by Hyatt.