Bug 275843

Summary: [LBSE] Invalid filter effects should not render
Product: WebKit Reporter: Rob Buis <rbuis>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: karlcow, maggotfish, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 265134    
Attachments:
Description Flags
tesy-invalid-filters
none
safari display
none
chrome display
none
firefox display none

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.