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 descriptionChrome 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.
,
Nov 25 2016
,
Nov 28 2016
Looks like painting behaves differently based on layering. Repro'd without animations. https://jsfiddle.net/hcocn6g8/
,
Nov 28 2016
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.
,
Nov 29 2017
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
,
Nov 29 2017
Working now, or at least matching Firefox but with fewer filter artifacts. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ligim...@chromium.org
, Nov 23 2016Labels: -Pri-3 M-54 Needs-Feedback Needs-Triage-M54 Pri-1