[Webkit-unassigned] [Bug 62203] stroke-dasharray does not handle "none"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 07:30:28 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62203





--- Comment #1 from Rob Buis <rwlbuis at gmail.com>  2011-06-07 07:30:28 PST ---
Hi Dirk,

(In reply to comment #0)
> stroke-dasharray should handle value 'none' but doesn't. This is a parsing bug in parseSVGStrokeDasharray().
> See http://trac.webkit.org/browser/trunk/Source/WebCore/css/SVGCSSParser.cpp#L316
> I do not plan to work on that. Rob, isn't that something for you? Shouldn't be hard to fix.
> We just need a check like in CSSParser.cpp:
> if (value->id == CSSValueNone || (value->unit == CSSPrimitiveValue::CSS_STRING && equalIgnoringCase(value->string, "none"))) {
>             return primitiveValueCache()->createIdentifierValue(CSSValueNone);
> But because we have a comma separated list we have to check for something like "none,3" as well. This would be an invalid string.

Good find! Yes I'll take a look.
Cheers,

Rob.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list