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

Martin Kutschker masi-no at spam-typo3.org
Fri Dec 12 08:38:21 CET 2008


Uschi Renziehausen schrieb:
> 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?

No, at least not now. IMHO we should first determine what the
possibilities with HTML/CSS are and then see how these can be achieved
(in theory) with TYPO3. Only then we should make new tracker items.

Masi


More information about the TYPO3-team-core mailing list