-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-transitions] undesired behaviour - transition of inherited value happening in sequence. #5324
Comments
Seems a Chromium/WebKit bug to me. Firefox does it well. |
I have tested it on Chrome and Safari and it’s the same so I guess it's WebKit. However Firefox doesn’t handle the I think there is an ambiguity in the [css-transitions] spec regarding transition of inherited value, which caused this bug in the implementation. Could we add to the spec clear definition of what should happen? I will file a bug in WebKit as well. |
This seems because mid-way the transition you are stacking |
Thanks, I've added initial value |
Link to the WebKit bug https://bugs.webkit.org/show_bug.cgi?id=214352 Closing the issue. |
Transition of inherited value, such as
text-indent
, in nested elements, is happening in sequence and not simultaneously with the transition of the parent value.Here is a codepen demonstrates the issue: https://codepen.io/meirkoen/pen/mdVGRYj?editors=1100
On the left side you can see 3 variants of the issue.
On the right side you can see how it can be fixed - by specifying the values on the children as well.
I have tried to search the [css-transitions] spec for a definition of this behaviour but I did not see one.
My guess is that this is an undesired behaviour (bug) resulting by this section in the spec https://drafts.csswg.org/css-transitions/#starting that has left unhandled.
Before I will propose anything I wanted to post the issue to be sure that I'm not mistaken.
The text was updated successfully, but these errors were encountered: