New issue
Advanced search Search tips

Issue 668241 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

layered filter: blur() makes the white edges stick to viewport even if element is bigger

Reported by will.s.t...@gmail.com, Nov 23 2016

Issue description

Chrome Version:54.0.2840.100
Is this the most recent version: Yes 
OS + version: Ubuntu 16.04 LTS
CPU architecture (32-bit / 64-bit): 64-bit
Window manager: Unity
URLs (if relevant):
Behavior in Linux Firefox:

Transition of filter: blur() shows white edges around the viewport even if the edges are hidden with a scale or negative margin.

This only affects the transition, after and before the transition, the edges are hidden.

Behavior in Windows Chrome (if you have access to it): As above

What steps will reproduce the problem?
(1) Create an parent element with overflow: hidden, width and height 100% of viewport.

(2) Add an image tag inside of the parent element with width and height 100%, transform: scale(1.05), filter: blur(5px), transition: 2s filter.
(3) Add a :hover psuedo-class to child with filter: none.

What is the expected result?
The image should come into focus with white edges being hidden outside of viewport.

What happens instead?
The image comes into focus but the white edges are sticking to the edges of the viewport for the duration of the transition, both before and after are fine. During animation is where the problem occurs.

Not replecatable in Firefox, no access to Safari.

 
Components: Blink
Labels: -Pri-3 M-54 Needs-Feedback Needs-Triage-M54 Pri-1
Please provide us with a sample testcase for the ease of finding regressions.
Components: -Blink Blink>Animation
Components: -Blink>Animation Blink>Paint
Labels: -Pri-1 -Needs-Feedback -Needs-Triage-M54 Hotlist-Interop Pri-2
Status: Available (was: Unconfirmed)
Summary: layered filter: blur() makes the white edges stick to viewport even if element is bigger (was: DURING TRANSITION, filter: blur() makes the white edges stick to viewport even if element is bigger)
Looks like painting behaves differently based on layering.
Repro'd without animations.

https://jsfiddle.net/hcocn6g8/
The blur implementation for the layer is incorrectly using white for the missing pixels outside the image bound, when it should (I think) be using the image border pixel value. Need to investigate the code paths for the two cases.
Project Member

Comment 5 by sheriffbot@chromium.org, Nov 29 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: WontFix (was: Untriaged)
Working now, or at least matching Firefox but with fewer filter artifacts.

Sign in to add a comment