[webkit-changes] cvs commit: WebCore/khtml/rendering render_box.cpp
David
hyatt at opensource.apple.com
Fri Oct 28 01:42:15 PDT 2005
hyatt 05/10/28 01:42:15
Modified: . ChangeLog
khtml/rendering render_box.cpp
Log:
Make sure positioned content works with width:intrinsic. Fixes positioned buttons. The bug
is bugzilla #5520.
Reviewed by mjs
fast/forms/positioned-button.html
* khtml/rendering/render_box.cpp:
(RenderBox::calcAbsoluteHorizontalValues):
Revision Changes Path
1.312 +12 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.311
retrieving revision 1.312
diff -u -r1.311 -r1.312
--- ChangeLog 28 Oct 2005 08:01:47 -0000 1.311
+++ ChangeLog 28 Oct 2005 08:42:11 -0000 1.312
@@ -1,3 +1,15 @@
+2005-10-28 David Hyatt <hyatt at apple.com>
+
+ Make sure positioned content works with width:intrinsic. Fixes positioned buttons. The bug
+ is bugzilla #5520.
+
+ Reviewed by mjs
+
+ fast/forms/positioned-button.html
+
+ * khtml/rendering/render_box.cpp:
+ (RenderBox::calcAbsoluteHorizontalValues):
+
2005-10-28 Adele Peterson <adele at apple.com>
Reviewed by Hyatt.
1.175 +1 -1 WebCore/khtml/rendering/render_box.cpp
Index: render_box.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/rendering/render_box.cpp,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- render_box.cpp 27 Oct 2005 09:00:32 -0000 1.174
+++ render_box.cpp 28 Oct 2005 08:42:14 -0000 1.175
@@ -1441,7 +1441,7 @@
else
width = style()->maxWidth();
- if (!width.isAuto())
+ if (!width.isIntrinsicOrAuto())
w = calcContentBoxWidth(width.width(cw));
else if (isReplaced())
w = intrinsicWidth();
More information about the webkit-changes
mailing list