- From: Sylvain Galineau <galineau@adobe.com>
- Date: Tue, 20 Aug 2013 12:18:04 -0700
- To: Richard Fink <rfink@readableweb.com>, Lea Verou <lea@verou.me>
- CC: Anselm Hannemann <info@anselm-hannemann.com>, "www-style@w3.org List" <www-style@w3.org>
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.
Received on Tuesday, 20 August 2013 19:23:17 UTC