[webkit-changes] cvs commit: WebCore/khtml/rendering
render_replaced.cpp
Timothy
thatcher at opensource.apple.com
Fri Nov 11 12:26:35 PST 2005
thatcher 05/11/11 12:26:34
Modified: khtml/rendering Tag: Safari-2-0-branch render_replaced.cpp
Log:
Build fix. isVariable should be used on the branch.
Revision Changes Path
No revision
No revision
1.75.8.4 +1 -1 WebCore/khtml/rendering/render_replaced.cpp
Index: render_replaced.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/rendering/render_replaced.cpp,v
retrieving revision 1.75.8.3
retrieving revision 1.75.8.4
diff -u -r1.75.8.3 -r1.75.8.4
--- render_replaced.cpp 11 Nov 2005 18:21:06 -0000 1.75.8.3
+++ render_replaced.cpp 11 Nov 2005 20:26:34 -0000 1.75.8.4
@@ -98,7 +98,7 @@
#endif
int width = calcReplacedWidth() + paddingLeft() + paddingRight() + borderLeft() + borderRight();
- if (style()->width().isAuto() && style()->height().isPercent()) {
+ if (style()->width().isVariable() && style()->height().isPercent()) {
m_minWidth = 0;
m_maxWidth = width;
} else
More information about the webkit-changes
mailing list