result.append(')');
} else {
result.appendLiteral("color-stop(");
- result.append(String::number(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER)));
+ result.appendNumber(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER));
result.appendLiteral(", ");
result.append(stop.m_color->cssText());
result.append(')');
result.append(')');
} else {
result.appendLiteral("color-stop(");
- result.append(String::number(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER)));
+ result.appendNumber(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER));
result.appendLiteral(", ");
result.append(stop.m_color->cssText());
result.append(')');