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

Issue 738745 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

CSS Filter caues thin line during transition around element

Reported by thejared...@gmail.com, Jul 2 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36

Steps to reproduce the problem:
1. Add a CSS filter with sepia and blur to an element (other combos may also work)
2. apply a css animation or hover transition
3. hover over the element and see a thin line around it's edge

What is the expected behavior?
no line

What went wrong?
Line shows up. the line is the same size at all zoom levels, but on a few of them it isn't visible.

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 59.0.3071.104  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

tested in FF and worked fine.
 
bug.html
942 bytes View Download
bug.png
16.4 KB View Download

Comment 1 by kochi@chromium.org, Jul 3 2017

Cc: kochi@chromium.org
Components: Internals>Skia Internals>Compositing>Animation
Status: Untriaged (was: Unconfirmed)
I copied the reported bug.html to live demo (jsbin).
http://jsbin.com/revejabuma/edit?html,output

Is this any issue with CSS, painting, or skia?

Comment 2 by enne@chromium.org, Jul 6 2017

Owner: senorblanco@chromium.org
Status: Assigned (was: Untriaged)
senorblanco: could you take a look?
Cc: jbroman@chromium.org enne@chromium.org
Bisect sez: 

You are probably looking for a change made after 440528 (known good), but no later than 440531 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/693b76e2b6c18a668f14df50316548214e316663..7c176719b12185d6ddbf531d825884dfb457e755

Which pretty much has to be https://chromium.googlesource.com/chromium/src/+/d52ae8cb7575fab9f7904475299e872e6c013570
Here's a bit smaller repro:

http://jsbin.com/cuwofihaco/1/edit?html,output

Doesn't need hover or animation; just will-change transform to trigger composited layer. Note that you do need to mess with the page zoom.

I'm speculating wildly that this has something to do with recomputing layer sizes on page zoom change.
There seems to be something "sticky" about the problem: the above repro only works in a window which has had the problem before; starting a new one doesn't have the problem.

Here's a better repro that works consistently (page zoom down once): http://jsbin.com/tusunimomi/edit?html,output
Note: the above repro uses only sepia and grayscale, not blur (because the blur implementation is more complex and I wanted to keep things simple for myself).

Interestingly, the bug goes away if you remove either the sepia or the grayscale. It only repros with both.
The original source of this came from the first image on this page: http://thejaredwilcurt.com

It seems to have a different weird bug every month. Right now only the bottom ~20% of the image shows up, but if you hover over it, the whole image shows up momentarily during the animation transition, then at the end of it the top portion of the image is gone again. And of course, the weird boxed pixels.


example.gif
416 KB View Download
Components: -Internals>Compositing>Animation
As far as I understand currently, this bug does not have anything to do with animations; they were simply the trigger for the element to become composited. As such, removing Internals>Compositing>Animation; please re-add if I was mistaken.

Sign in to add a comment