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

View Revisions: Issue #36724 Back to Issue ]
Summary 0036724: CSSMinimizer does not work well with "quotes" property
Revision 2017-09-01 08:36 by caristu
Description CSSMinimizer does not work well with "quotes" property

This property accepts several arguments:
https://www.w3schools.com/cssref/pr_gen_quotes.asp [^]

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 "quotes", 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).
Revision 2017-09-01 08:33 by caristu
Description CSSMinimizer does not work well with "quotes" property

This property accepts several arguments:
https://www.w3schools.com/cssref/pr_gen_quotes.asp [^]

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 "quotes", 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-28 14:45 by caristu
Description CSSMinimizer does not work well with "quotes" property

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

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 "quotes", 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 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker