[Webkit-unassigned] [Bug 17051] safari should treat "url()" as a valid CSS value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 30 14:21:48 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17051
------- Comment #11 from eric at webkit.org 2008-01-30 14:21 PDT -------
This is likely the code causing the bug:
bool CSSParser::parseBackgroundImage(CSSValue*& value)
{
if (valueList->current()->id == CSS_VAL_NONE) {
value = new CSSImageValue();
return true;
}
if (valueList->current()->unit == CSSPrimitiveValue::CSS_URI) {
String uri = parseURL(domString(valueList->current()->string));
if (!uri.isEmpty())
value = new
CSSImageValue(KURL(styleElement->baseURL().deprecatedString(),
uri.deprecatedString()).string(),
styleElement);
return true;
}
return false;
}
valueList->current()->string will be the empty string in this case.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list