New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 637056 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocking:
issue 529938



Sign in to add a comment

Filters with no visible content don't render with rtree patch.

Project Member Reported by wkorman@chromium.org, Aug 11 2016

Issue description

While attempting to reland http://crrev.com/2225563002, sample failure:

https://storage.googleapis.com/chromium-layout-test-archives/linux_precise_blink_rel/716/layout-test-results/results.html

Affected tests:

css3/filters/effect-reference-image.html
css3/filters/empty-element-with-filter.html
css3/filters/effect-reference-on-transparent-element.html
css3/filters/effect-reference-image-lazy-attach.html
css3/filters/filterRegions.html

Perhaps we'll need to special-case filters in some manner, since we just recently intentionally restructured visual rects so that paired items such as filters adopt a visual rect comprising the union of contained drawings, and if there are none, then I would expect them to have no visual rect and paint nothing.
 
Status: Assigned (was: Unconfirmed)
Cc: pdr@chromium.org
Components: Blink>SVG
Affected test cases are all svg filter usage. These seem general enough that investigation is warranted, in particular css3/filters/filterRegions.html encompasses many tests that appear to define basic functionality.

As expected there are no drawing items and the visual rects on the individual filter display items are now irrelevant, so in cc display item list we're probably just rastering nothing. Not yet sure what best solution to this general issue may be.
Believe we need to modify cc visual rect calculation to, in addition to building visual rects based on drawing display items, also incorporate filter bounds. Since filters 'draw actual content' in analogous manner to a drawing.

We could generalize drawing/filter display items to something like 'drawsContent' and override cc filter display item visual rect to produce via the filter bounds.
Status: Fixed (was: Assigned)

Sign in to add a comment