Bug 275843 - [LBSE] Invalid filter effects should not render
Summary: [LBSE] Invalid filter effects should not render
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks: 265134
  Show dependency treegraph
 
Reported: 2024-06-25 01:48 PDT by Rob Buis
Modified: 2024-07-07 23:29 PDT (History)
4 users (show)

See Also:


Attachments
tesy-invalid-filters (730 bytes, text/html)
2024-07-02 10:12 PDT, Said Abou-Hallawa
no flags Details
safari display (567.59 KB, image/png)
2024-07-02 10:17 PDT, Said Abou-Hallawa
no flags Details
chrome display (564.41 KB, image/png)
2024-07-02 10:17 PDT, Said Abou-Hallawa
no flags Details
firefox display (550.22 KB, image/png)
2024-07-02 10:17 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2024-06-25 01:48:06 PDT
Invalid filter effects should not render.
Comment 1 Rob Buis 2024-06-25 01:48:35 PDT
An example of this is svg/filters/feConvolveMatrix-invalid-targetX.svg.
Comment 2 Radar WebKit Bug Importer 2024-07-02 01:49:13 PDT
<rdar://problem/130951885>
Comment 3 Said Abou-Hallawa 2024-07-02 10:12:18 PDT
Created attachment 471789 [details]
tesy-invalid-filters

HTML elements with invalid CSS filters or referenced SVG filters are displayed without the filter. But SVG elements with invalid SVG filters are not displayed at all. See the attached test case. Where did we get this weird behavior? Is this speced somewhere?
Comment 4 Said Abou-Hallawa 2024-07-02 10:14:58 PDT
I personally prefer to see the element displayed without the filter more than displaying nothing.
Comment 5 Said Abou-Hallawa 2024-07-02 10:17:20 PDT
Created attachment 471790 [details]
safari display
Comment 6 Said Abou-Hallawa 2024-07-02 10:17:33 PDT
Created attachment 471791 [details]
chrome display
Comment 7 Said Abou-Hallawa 2024-07-02 10:17:48 PDT
Created attachment 471792 [details]
firefox display
Comment 8 Said Abou-Hallawa 2024-07-02 10:18:29 PDT
Safari, Chrome and Firefox disagree in displaying the attached test case.
Comment 9 Said Abou-Hallawa 2024-07-02 10:29:21 PDT
Submitted https://github.com/whatwg/html/issues/10455
Comment 10 Said Abou-Hallawa 2024-07-03 10:21:12 PDT
I filed https://github.com/w3c/fxtf-drafts/issues/564.