This repository was archived by the owner on Nov 9, 2017. It is now read-only.
Add special processing for transform-origin and mask-position#9
Open
danny6514 wants to merge 2 commits into
Open
Add special processing for transform-origin and mask-position#9danny6514 wants to merge 2 commits into
danny6514 wants to merge 2 commits into
Conversation
Adding special handling code for transform-origin and mask-position. These two css properties require two values when used in numeric form. Example: transform-origin: 0 0; is NOT the same as transform-origin: 0; This commit adds checks to add back the two zeros.
Update cssmin.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As part of combining multiple zeroes into one, the properties of transform-origin and mask-position are incorrectly changed. This pull request adds special handling for these two cases by replacing 0 with 0 0.