Re: Request for adjustable font-size: line-fit



On 8/20/13 12:29 PM, "Anselm Hannemann" <info@anselm-hannemann.com> wrote:

>On 20.08.2013, at 21:18, Sylvain Galineau <galineau@adobe.com> wrote:
>
>> From:  Richard Fink <rfink@readableweb.com>
>> 
>>>>   On 8/20/2013 8:32 AM, Lea Verou wrote:
>>>>     What happens when the line width depends on the font-size,
>>>>       such as when width is specified in ems, ch or ex?
>>>   I would suppose that, based on the em value initially specified in
>>>   the style sheet, the browser would compute a line size corresponding
>>>   to that, and so that would become the boundaries of the box, so to
>>>   speak.
>> 
>> The issue Lea is referring to - I think - is that if the element has
>> width:30em, the em in that length refers to the font size of the element
>> the width property applies to. Thus if said font-size is in turn a
>> function of how wide the element is you have a circularity. And in CSS,
>> circularity is awkward.
>
>I understood that.
I know. I was trying to clarify the issue behind Lea's question for
Richard's benefit. 

Received on Tuesday, 20 August 2013 23:29:49 UTC