Index: Source/WebCore/css/StylePropertySet.cpp |
=================================================================== |
--- Source/WebCore/css/StylePropertySet.cpp (revision 115068) |
+++ Source/WebCore/css/StylePropertySet.cpp (working copy) |
@@ -382,13 +382,12 @@ |
for (unsigned i = 0; i < longhand.length(); ++i) { |
if (!isPropertyImplicit(longhand.properties()[i])) { |
RefPtr<CSSValue> value = getPropertyCSSValue(longhand.properties()[i]); |
- if (value && value->isInitialValue()) |
- continue; |
- if (!value) |
- return String(); |
- if (!res.isNull()) |
- res += " "; |
- res += value->cssText(); |
+ // FIXME: provide default value if !value or value is initial value |
+ if (value && !value->isInitialValue()) { |
+ if (!res.isNull()) |
+ res += " "; |
+ res += value->cssText(); |
+ } |
} |
} |
return res; |