New issue
Advanced search Search tips

Issue 654805 link

Starred by 1 user

Issue metadata

Status: Available
Merged: issue 644148
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature



Sign in to add a comment

Transition of the custom property doesn't do the 50% flip on duration

Reported by gwhi...@gmail.com, Oct 11 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.14942

Steps to reproduce the problem:
1. Open http://jsbin.com/huxisomisa/edit?html,css,output
2. Mouse over the red box

What is the expected behavior?
The animation cannot be interpolated because you don't know the type of --prop, but you should still transition the custom property following the spec and flipping at 50% between that of red and green.

What went wrong?
The custom properties are not being transitioned since the type is not known.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 53.0.2785.143  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

Here is the text from the specification regarding custom properties:

"Notably, they can even be transitioned or animated, but since the UA has no way to interpret their contents, they always use the "flips at 50%" behavior that is used for any other pair of values that can’t be intelligently interpolated"
 

Comment 1 by shans@chromium.org, Oct 11 2016

Mergedinto: 644148
Status: Duplicate (was: Unconfirmed)
Labels: -OS-Windows -Type-Bug -Pri-2 Objective OS-All Pri-3 Type-Feature
Status: Available (was: Duplicate)
This is a separate feature request to transition on non-interpolable properties with a 50% flip.
Spec: https://drafts.csswg.org/css-transitions/#step-types

Resolving  issue 644148  will help us achieve this but we should be implementing this for all properties, not just custom properties.
Labels: -Objective
Labels: Update-Quarterly
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 13 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
Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Oct 16

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.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment