RESOLVED DUPLICATE of bug 215602192507
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
Radar WebKit Bug Importer
Comment 2 2025-08-05 15:15:31 PDT
Said Abou-Hallawa
Comment 3 2025-08-06 14:27:45 PDT
This is a duplicate of bug 215602 which was fixed in 228661@main. *** This bug has been marked as a duplicate of bug 215602 ***
Note You need to log in before you can comment on or make changes to this bug.