WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-05-12 09:51:27 PDT
Possibly?
https://src.chromium.org/viewvc/blink?view=revision&revision=175785
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug