Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #36708 All Revisions ] Back to Issue ]
Summary 0036708: CSSMinimizer does not work well with "transform-origin" property
Revision 2017-08-24 12:31 by caristu
Description CSSMinimizer does not work well with "transform-origin" property

This property can have up three arguments (one per axis)
https://www.w3schools.com/cssref/css3_pr_transform-origin.asp [^]

The default value is "50% 50% 0". CSSMinimizer has a feature to remove duplicated parameters if exist. This works ok with most of the properties, e.g. "margin", where "100% 100%" or "100% 100% 100% 100%" can be simplified to just "100%", but in the case of "transform-origin", having only one parameter does not assume that the remaining ones have the same value, so this simplification cannot be performed, and all the parameters should be declared in a explicit way (otherwise, the missing one will adopt the default value).

This issue has been reported to the owner of the CSSMin library: https://github.com/barryvan/CSSMin/issues/21 [^]
Revision 2017-08-24 12:30 by caristu
Description CSSMinimizer does not work well with "transform-origin" property

This property can have up three arguments (one per axis)
https://www.w3schools.com/cssref/css3_pr_transform-origin.asp [^]

The default value is "50% 50% 0". CSSMinimizer has a feature to remove duplicated parameters if exist. This works ok with most of the properties, e.g. "margin", where "100% 100%" or "100% 100% 100% 100%" can be simplified to just "100%", but in the case of "transform-origin", having only one parameter does not assume that the remaining ones have the same value, so this simplification cannot be performed, and all the parameters should be declared in a explicit way (otherwise, the missing one will adopt the default value).

This issue has been reported to the owner of the library: https://github.com/barryvan/CSSMin/issues/21 [^]
Revision 2017-08-24 11:27 by caristu
Description CSSMinimizer does not work well with "transform-origin" property

This property can have up three arguments (one per axis)
https://www.w3schools.com/cssref/css3_pr_transform-origin.asp [^]

The default value is "50% 50% 0". CSSMinimizer has a feature to remove duplicated parameters if exist. This works ok with most of the properties, e.g. "margin", where "100% 100%" or "100% 100% 100% 100%" can be simplified to just "100%", but in the case of "transform-origin", having only one parameter does not assume that the remaining ones have the same value, so this simplification cannot be performed, and all the parameters should be declared in a explicit way (otherwise, the missing one will adopt the default value).


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker