[TYPO3-core] RFC #8070: Feature: CSS styled content / scalable rendering of images

Uschi Renziehausen typo3news at otherone.de
Fri Dec 12 06:38:34 CET 2008


Hi,

Martin Kutschker wrote:
> Franz Koch schrieb:
>> Hey guys,
>>
>>>> But the change should be easy. Anyway, to be forward compatible I advise
>>>> not to use any boolean switches like useEM, but something like
>>>> "dimUnit", "dimensionUnit" or simply "unit". The possible values are
>>>> "px" (the default), "em" and "ex".
>>> That would be a good thing, agreed.
>> I'd like to see typo3 beeing able to use any dimension unit for any size
>> value, like:
>>
>> width = 50%
>> space = 1em|1em
>>
>> so a parser determing the unit and calculate the rest based on it.
> 
> For the space there is nothing to calculate for TYPO3, right? I has just
> to apply it to the style attribute (instead of adding blindly "px" to
> integer). As em is based on the font size there is no point in
> calculating a pixel width from an em value on the server side.
>

Shall we have a special bt entry for the space units then?

Uschi


More information about the TYPO3-team-core mailing list