Commit a551c783 authored by hyatt's avatar hyatt
Browse files

Fix for 3116996. My hack to make selects ignore fixed CSS

	widths that are smaller than their intrinsic width was not
	good.  Remove the hack.

        Reviewed by darin

        * khtml/rendering/render_box.cpp:
        (RenderBox::calcReplacedWidth):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9c03760c
2002-12-10 David Hyatt <hyatt@apple.com>
Fix for 3116996. My hack to make selects ignore fixed CSS
widths that are smaller than their intrinsic width was not
good. Remove the hack.
Reviewed by darin
* khtml/rendering/render_box.cpp:
(RenderBox::calcReplacedWidth):
2002-12-10 Darin Adler <darin@apple.com>
Reviewed by John.
......
2002-12-10 David Hyatt <hyatt@apple.com>
Fix for 3116996. My hack to make selects ignore fixed CSS
widths that are smaller than their intrinsic width was not
good. Remove the hack.
Reviewed by darin
* khtml/rendering/render_box.cpp:
(RenderBox::calcReplacedWidth):
2002-12-10 Darin Adler <darin@apple.com>
Reviewed by John.
......
......@@ -738,12 +738,7 @@ short RenderBox::calcReplacedWidth(bool* ieHack) const
break;
}
case Fixed:
if (isFormElement() && element()->id() == ID_SELECT && w.value < intrinsicWidth())
// Disallow a CSS width that is too small to enclose the contents
// of the list.
width = intrinsicWidth();
else
width = w.value;
width = w.value;
break;
default:
width = intrinsicWidth();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment