Skip to content
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
rgrove:masterfrom
danny6514:master
Open

Add special processing for transform-origin and mask-position#9
danny6514 wants to merge 2 commits into
rgrove:masterfrom
danny6514:master

Conversation

@danny6514

Copy link
Copy Markdown

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.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant