Fieldset unexpectedly stretches to minimum intrinsic width
[WebKit-https.git] / Source / WebCore / ChangeLog
index 11fe2a9b5caac750f9a7dbc4714a863f64b751c7..3ce610c3dc91cd479fe3f9e37b3a168cf4c9f7aa 100644 (file)
@@ -1,3 +1,23 @@
+2012-03-22  SravanKumar Sandela  <ssandela@innominds.com>
+
+        Fieldset unexpectedly stretches to minimum intrinsic width
+        https://bugs.webkit.org/show_bug.cgi?id=79128
+
+        Reviewed by Julien Chaffraix.
+
+        Fieldset element width will now check if css width is specified explicitly
+        before stretching to minimum intrinsic width. The reference
+        can be taken from IE9, instead of FF(FF acknowledged the broken behavior). 
+
+        Tests: fast/forms/fieldset-width-nostretch-ifspecified-expected.html
+               fast/forms/fieldset-width-nostretch-ifspecified.html
+
+        * rendering/RenderFieldset.cpp:
+        (WebCore::RenderFieldset::stretchesToMinIntrinsicLogicalWidth):
+        (WebCore):
+        * rendering/RenderFieldset.h:
+        (RenderFieldset):
+
 2012-03-22  Shawn Singh  <shawnsingh@chromium.org>
 
         [chromium] Target surface should be damaged for a new layers even when layer had no changes