Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0036708 | Openbravo ERP | A. Platform | public | 2017-08-23 18:52 | 2017-09-21 16:49 |
|
Reporter | dbaz | |
Assigned To | dbaz | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q4 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0036708: CSSMinimizer does not work well with "transform-origin" property |
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 [^] |
Steps To Reproduce | Include in any CSS loaded within the application.
transform-origin: 100% 100%;
With the modules NOT in development, notice that the compressed CSS has only "transform-origin: 100%;". (As explained before, this simplification is equivalent to "transform-origin: 100% 50% 0") |
Proposed Solution | Avoid the function "simplifyParameters" of CSSMinimizer be executed if the property is "transform-origin" |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0036683 | | closed | caristu | Openbravo ERP | CSS minifier breaks @font-face directives | related to | defect | 0036710 | | closed | dbaz | Openbravo ERP | CSSMinimizer does not work well with "background-size" property | related to | feature request | 0036014 | | new | jorge-garcia | Retail Modules | Include source maps for our javascript files | related to | defect | 0036724 | | closed | dbaz | Openbravo ERP | CSSMinimizer does not work well with "quotes" property |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-08-23 18:52 | dbaz | New Issue | |
2017-08-23 18:52 | dbaz | Assigned To | => dbaz |
2017-08-23 18:52 | dbaz | Modules | => Core |
2017-08-23 18:52 | dbaz | Triggers an Emergency Pack | => No |
2017-08-23 18:52 | dbaz | Review Assigned To | => caristu |
2017-08-23 18:56 | hgbot | Checkin | |
2017-08-23 18:56 | hgbot | Note Added: 0098620 | |
2017-08-23 18:56 | hgbot | Status | new => resolved |
2017-08-23 18:56 | hgbot | Resolution | open => fixed |
2017-08-23 18:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cc4fe6664e1b584b212307032a5d7096dda5842a [^] |
2017-08-24 08:31 | caristu | Relationship added | related to 0036683 |
2017-08-24 09:09 | caristu | Note Added: 0098624 | |
2017-08-24 09:09 | caristu | Status | resolved => closed |
2017-08-24 09:09 | caristu | Fixed in Version | => 3.0PR17Q4 |
2017-08-24 11:13 | dbaz | Issue cloned | 0036710 |
2017-08-24 11:27 | dbaz | Relationship added | related to 0036710 |
2017-08-24 12:30 | caristu | Description Updated | bug_revision_view_page.php?rev_id=15699#r15699 |
2017-08-24 12:31 | caristu | Description Updated | bug_revision_view_page.php?rev_id=15700#r15700 |
2017-08-25 18:05 | dbaz | Issue cloned | 0036724 |
2017-08-25 18:05 | dbaz | Relationship added | related to 0036724 |
2017-08-28 09:56 | alostale | Relationship added | related to 0036014 |
2017-09-04 16:06 | caristu | Note Added: 0098816 | |
2017-09-21 16:49 | hudsonbot | Checkin | |
2017-09-21 16:49 | hudsonbot | Note Added: 0099321 | |