Skip to content
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

Invalid transition and keyframes fix #312

Merged
merged 1 commit into from
May 22, 2019
Merged

Invalid transition and keyframes fix #312

merged 1 commit into from
May 22, 2019

Conversation

Tofandel
Copy link
Contributor

@Tofandel Tofandel commented Aug 6, 2018

We don't replace 0s and 0ms anymore the transitions will be considered invalid if for example the delay doesn't have an unit
We don't replace 0% on the start of the line as it is needed to be a valid keyframe
We replace the '100%' keyframe step for a 'to' which is 2 char shorter

We don't replace 0s and 0ms anymore the transitions will be considered invalid if for example the delay doesn't have an unit
We don't replace 0% on the start of the line as it is needed to be a valid keyframe
We replace the '100%' keyframe step for a 'to' which is 2 char shorter
@akshayraje
Copy link

Someone merge this please. This is a long standing bug which is patched thanks to @Tofandel

@Josh979
Copy link

Josh979 commented May 21, 2019

This is a huge bug... please merge!

@tml tml merged commit cf0497e into yui:master May 22, 2019
seyfahni added a commit to seyfahni/yuicompressor that referenced this pull request Jun 26, 2019
seyfahni added a commit to seyfahni/yuicompressor that referenced this pull request Jun 26, 2019
@melloware
Copy link

I think the regex needs to be...

p = Pattern.compile("(?i)(^|,|\\{) ?(?:100% ?\\{)");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants