Opened 11 years ago
Last modified 11 years ago
#13148 closed defect
Dojo CSS build removes too much whitespace — at Initial Version
Reported by: | Rob Retchless | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | BuildSystem | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In IBM Rational Jazz, one of our CSS files (PaginationControl?.css) is formatted so that each class is on a separate line. Example:
.jazz-ui-PaginationControl? .off:hover {
color: #666666; text-decoration: none;
}
.jazz-ui-PaginationControl? .on {
color: #3087B3; cursor: pointer;
}
This is a perfectly valid way to write child selectors, but the standard dojo compression removes new lines without preserving the whitespace, with the following result:
.jazz-ui-PaginationControl.off:hover{
color: #666666; text-decoration: none;
}
.jazz-ui-PaginationControl?.on{
color: #3087B3; cursor: pointer;
}
The resultant compressed CSS output should be:
.jazz-ui-PaginationControl? .off:hover {
color: #666666; text-decoration: none;
}
.jazz-ui-PaginationControl? .on {
color: #3087B3; cursor: pointer;
}