NEW 192507
Leading whitespaces in the "values" attribute of the feColorMatrix breaks its parsing
https://bugs.webkit.org/show_bug.cgi?id=192507
Summary Leading whitespaces in the "values" attribute of the feColorMatrix breaks its...
Said Abou-Hallawa
Reported 2018-12-07 11:26:19 PST
Created attachment 356826 [details] test case Open the attached test case. The circle with the feColorMatrix is not rendered. The "values" attribute of the feColorMatrix is written like that: values=" 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0" /> The leading whitespaces breaks the filter parsing and causes nothing to be rendered. Look at the SVGNumberListValues::parse() and you will find this comment: // The spec (section 4.1) strangely doesn't allow leading whitespace. We might choose to violate that intentionally. This test case works as expected in Chrome and FireFox.
Attachments
test case (558 bytes, image/svg+xml)
2018-12-07 11:26 PST, Said Abou-Hallawa
no flags
Note You need to log in before you can comment on or make changes to this bug.