Bug 129555

Summary: Investigate possible regressions on maximum processed filtered elements
Product: WebKit Reporter: Adenilson Cavalcanti Silva <savagobr>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: krit, mvujovic
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 130794    
Attachments:
Description Flags
PoC
none
Better PoC.
none
100px kernel none

Description Adenilson Cavalcanti Silva 2014-03-01 13:33:42 PST
The use of buffers are a tad different now, in theory, all filters should run fine independent of size.

This bug is for investigating a possible regression for filters that extend the maximum current area.
Comment 1 Adenilson Cavalcanti Silva 2014-03-11 09:26:37 PDT
Created attachment 226432 [details]
PoC
Comment 2 Adenilson Cavalcanti Silva 2014-03-21 11:39:20 PDT
There is no spoon, I mean, regression.
Comment 3 Dirk Schulze 2014-03-21 12:11:36 PDT
Why is that not an issue anymore?
 I thought filters that take image buffer bigger than 4096 will not run? They should.
Comment 4 Adenilson Cavalcanti Silva 2014-03-21 12:58:53 PDT
SVG filters won't run. CSS filters will.
Comment 5 Dirk Schulze 2014-03-21 13:08:15 PDT
(In reply to comment #4)
> SVG filters won't run. CSS filters will.

so

<div style="width: 4096px; height: 4096px; blur(100px);">

works?

Also, do we have a bug report for SVG filters?
Comment 6 Adenilson Cavalcanti Silva 2014-03-21 13:22:31 PDT
Created attachment 227480 [details]
Better PoC.
Comment 7 Adenilson Cavalcanti Silva 2014-03-21 13:29:38 PDT
Created attachment 227481 [details]
100px kernel
Comment 8 Adenilson Cavalcanti Silva 2014-03-21 13:35:36 PDT
Explaining the test case: it will draw 2 elements (red and filtered green on top).

If the filtered element failed to be draw, we should expect to see a red background.

Using either 1px or 100px blur kernel will still run fine (even though the later one will run slower). 

Which proves that CSS filters are working with big regions/elements.
Comment 9 Adenilson Cavalcanti Silva 2014-03-21 13:36:44 PDT
We don't have a bug report for SVGs.
Comment 10 Dirk Schulze 2014-03-22 05:06:05 PDT
(In reply to comment #9)
> We don't have a bug report for SVGs.

Could you open one please? Thanks.