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

Change parameters order to avoid YUI Compressor bug #1680

Merged
merged 1 commit into from
Nov 17, 2020

Conversation

berinhard
Copy link
Contributor

@berinhard berinhard commented Nov 17, 2020

The previous code lead to an invalid value for the left property:

left: calc(-50vw+50%);

This was being caused due to a bug in YUI Compressor (used by Django pipeline).
You can read a detailed explanation about it in this issue:

yui/yuicompressor#59

This is fixed since version 2.4.9-BSI-2. But, until we don't update
prod's YUI Compressor, this PR work as a bugfix since it changes the
parameters order to one properly understood by the bugged version.
More aboute this in this issue comment:

yui/yuicompressor#59 (comment)

The previous code lead to an invalid value for the left property:

`left: calc(-50vw+50%);`

This was being caused due to a bug in YUI Compressor. You can read
a detailed explanation about it in this issue:

yui/yuicompressor#59


This is fixed since version 2.4.9-BSI-2. But, until we don't update
prod's YUI Compressor, this PR work as a bugfix since it changes the
parameters order to one properly understood by the bugged version.
More aboute this in this issue comment:

yui/yuicompressor#59 (comment)
@ewdurbin ewdurbin merged commit c5f0671 into master Nov 17, 2020
@ewdurbin ewdurbin deleted the topic/css-bugfix branch November 17, 2020 15:00
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.

2 participants