Project

General

Profile

Actions

Bug #63974

closed

CSS concatination and compression failes with font

Added by Armin Vieweg over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-12-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using font in css like this:

.whatever {
    font:12px/15px 'Alright Sans Alt', Verdana, Sans;
}
it breakes after concatination and compression and looks like:
.whatever {
    font:12px/15px'Alright Sans Alt',Verdana,Sans;
}
The difference is slightly, all spaces has been removed. Unfortunately also the spaces after the line-height. All browsers are able to compensate this wrong css, except IE (tested with 8-11).

A work arround is to split this line to its single definitions:

.whatever {
    font-size: 12px;
    line-height: 15px;
    font-family: 'Alright Sans Alt', Verdana, Sans;
}
But of course it would be better if the compressor would keep the spaces in this case.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #60675: CSS compressor is removing white spaces (font directive)ClosedJigal van Hemert2014-07-30

Actions
Actions

Also available in: Atom PDF