New issue
Advanced search Search tips

Issue 899130 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: 2019-03-01
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

CSS Transitions Stop Working

Reported by arthury...@gmail.com, Oct 26

Issue description

Steps to reproduce the problem:
1. Go to site with that uses CSS transitions and scroll.
2. Go to a different tab.
3. Go back to site with with CSS transitions, fps will decrease.

Repeat the steps and the problem gets progressively worse.

See video recording.

Quitting the application fixes the problem temporarily. 

What is the expected behavior?
Smooth animations.

What went wrong?
CSS transitions stop working.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 70.0.3538.75  Channel: stable
OS Version: iOS 12.0
Flash Version: 

Easy to reproduce the issue in Chrome iOS.

In Safari haven't been able to reproduce or seen the problem.
 
bug-c.mp4
2.0 MB View Download
Cc: linds...@chromium.org ajuma@chromium.org eugene...@chromium.org
I cannot really see a big change in fps, but it seems like there's something. Eugene, Ali, WDYT? Lindsay, could someone on the test team see if they can get better steps here? 
Components: Mobile>iOSWeb>WebPlatform
It looks like it isn't so much that the fps is decreasing, but rather that the transform is updating instantly instead of being animated.

A simpler or more reliable test case would help a lot for debugging this.
Example 1 (on a timer):
https://s.codepen.io/ArthurYidi/debug/qJgKBb/bYrdyeWyQOpA

Example 2 (manual dragging):
https://s.codepen.io/ArthurYidi/debug/VEgxRj/RBMOJNmJaRzk

As you switch tabs in the browser, you will see the transition stops working.

I will note that this bug manifests itself to all subsequent new pages and existing pages that use CSS transition.


Tested on 71.0.3578.27 beta,  iPhoneX iOS 11.4.1, iPhoneX, iPhone7 iOS 12.1
Issue is reproducible.

followed the steps in comment#0
https://drive.google.com/file/d/1KxJVPXvSeyF3fiVzqCWMOesYnyikxNhv/view

The video starts with Chrome beta
and 0:28 sec I test safari.
Is this problem reproducible in Firefox? Do we know if this bug is a regression?
Owner: eugene...@chromium.org
Status: Assigned (was: Unconfirmed)
ajuma@, eugenebut@ If its a WKWebview only issue should we file a radar?


shbarezer@ can you confirm your repro case works on Safari?

Labels: -Pri-2 Pri-3
Owner: ----
Status: Available (was: Assigned)
We should file radar for this. Not sure if it's a hight priority.
Tested on 71.0.3578.31 beta,  iPhoneX iOS 11.4.1, iPhoneX, iPhone7 iOS 12.1
Issue seems to reproduce in safari as well. video added in comment#5 .
NextAction: 2019-03-01
It's possible that there are multiple bugs here, but the example where I find it easiest to see brokenness is the example 1 from comment 4 (https://codepen.io/ArthurYidi/full/qJgKBb). As pointed out above, after switching tabs, not only does the transition on that page break, but, bizarrely, so do transitions on all future tabs too.

However, testing with trunk WebKit and locally built Chrome (and getting past a couple other bugs, https://bugs.webkit.org/show_bug.cgi?id=191598 and https://bugs.webkit.org/show_bug.cgi?id=191700), this no longer reproduces. It's fixed by the WebAnimationsCSSIntegration feature in WebKit.

We should revisit this bug when that feature ships to verify that it's fixed.
Hi there, I've run into this same issue and CSS transitions do indeed stop working when changing tabs. Here is my device and browser info in case it helps:

- Chrome version: 71.0.3578.89  Channel: stable
- OS Version: iOS 12.1.2
- Simple reproducible example: https://codepen.io/anon/pen/oJeejX

Do we know when the WebAnimationsCSSIntegration feature mentioned above will land in Chrome? 


We have to wait for Apple to release that feature in WebKit on iOS. They typically update WebKit on iOS a couple times a year (in recent years, that's happened in March and in September).
Thank you for the super quick response @ajuma - your guy's work on Chromium is truly appreciated! I'm hoping Apple will release in March :praying as CSS transitions are such an important part of the Web platform these days.

Sign in to add a comment