[webkit-changes] cvs commit: WebCore/khtml/rendering
render_replaced.cpp
Timothy
thatcher at opensource.apple.com
Fri Nov 11 12:27:23 PST 2005
thatcher 05/11/11 12:27:23
Modified: khtml/rendering Tag: Safari-1-3-branch render_replaced.cpp
Log:
Build fix. isVariable should be used on the branch.
Revision Changes Path
No revision
No revision
1.75.6.2 +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.6.1
retrieving revision 1.75.6.2
diff -u -r1.75.6.1 -r1.75.6.2
--- render_replaced.cpp 11 Nov 2005 18:24:18 -0000 1.75.6.1
+++ render_replaced.cpp 11 Nov 2005 20:27:22 -0000 1.75.6.2
@@ -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