[Webkit-unassigned] [Bug 71335] feColorMatrix can't parse leading space in the values list
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 1 16:26:23 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=71335
Dirk Schulze <krit at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |krit at webkit.org
--- Comment #2 from Dirk Schulze <krit at webkit.org> 2011-11-01 16:26:23 PST ---
Do you mean kernelMatrix? That is a really good question. I'd expect the following rule counts, even if it is not specified in SVG Filters directly:
<list-of-Ts>
(Where T is a type other than <string> and <family-name>.) A list consists of a separated sequence of values. Unless explicitly described differently, lists within SVG's XML attributes can be either comma-separated, with optional white space before or after the comma, or white space-separated.
White space in lists is defined as one or more of the following consecutive characters: "space" (U+0020), "tab" (U+0009), "line feed" (U+000A), "carriage return" (U+000D) and "form-feed" (U+000C).
The following is a template for an EBNF grammar describing the <list-of-Ts> syntax:
list-of-Ts ::= T
| T comma-wsp list-of-Ts
comma-wsp ::= (wsp+ ","? wsp*) | ("," wsp*)
wsp ::= (#x20 | #x9 | #xD | #xA)
Within the SVG DOM, values of a <list-of-Ts> type are represented by an interface specific for the particular type T. For example, a <list-of-lengths> is represented in the SVG DOM using an SVGLengthList or SVGAnimatedLengthList object.
http://www.w3.org/TR/SVG/types.html#DataTypeNumber
So yes, I think leading spaces are not allowed for kernelMatrix as well.
--
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