[
http://jira.nuxeo.org/browse/NXP-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59579#action_59579
]
Jean-Marc Orliaguet commented on NXP-4018:
------------------------------------------
The CSS text block is transformed into a CSS model using
com.steadystate.css.parser.CSSOMParser from cssparser-0.9.4-fix.jar
- some changes are not taken into account (adding a new property to some style
class, for instance), this may be due to NXP-4016 (?)
I noticed that empty declarations are not saved, for instance:
h1 {
}
will be cleared, otherwise it works.
- some * characters are added: for instance: <selector path=".printButton"> is
changed into <selector path="*.printButton">
that's true, I don't know why, I will check cssparser
- order of properties is changed => this order should be alphabetic so that
diff is easier to check.
this is due to the fact that order is important in css properties, however I'm
for using the alphabetic order as long as it doesn't modify the end result
- #000000 colors are changed into rgb notation (not a big issue)
that's cssparser too, I'm going to see if there's a newer version.
> Fix inconsistant changes when saving theme styles
> -------------------------------------------------
>
> Key: NXP-4018
> URL: http://jira.nuxeo.org/browse/NXP-4018
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Reporter: Anahide Tchertchian
> Assignee: Jean-Marc Orliaguet
> Fix For: 5.2.1
>
>
> When saving styles using the main "save changes" button (see NXP-4016: the
> save button does not work on the styles edit form), the theme contribution
> shows several problems:
> - some changes are not taken into account (adding a new property to some
> style class, for instance), this may be due to NXP-4016 (?)
> - some * characters are added: for instance: <selector path=".printButton">
> is changed into <selector path="*.printButton">
> - order of properties is changed => this order should be alphabetic so that
> diff is easier to check.
> - #000000 colors are changed into rgb notation (not a big issue)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets