W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: collapsible property

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 11 Feb 2010 00:25:25 -0800
Message-ID: <4B73BEF5.3090509@terrainformatica.com>
To: Daniel Danilatos <danilatos@google.com>
CC: Patrick Garies <pgaries@fastmail.us>, www-style@w3.org, Julie Parent <jparent@chromium.org>, fantasai <fantasai.lists@inkedblade.net>, Ojan Vafai <ojan@chromium.org>
Daniel Danilatos wrote:
> Inferring orthogonal behaviour from line height or similar properties 
> seems kinda hacky and potentially leading to all kinds of corner cases. 
> I think it's clearer and simpler to have a property that defines exactly 
> the desired behaviour (keep the block element open) and leave things 
> like line height and min height to their independent meanings, without 
> having to complicate them with extended interpretations


Could you define the meaning of "the block element open"?

When element is "open" what height/width it should have?

> 
>> On 10 Feb 2010 21:30, "Patrick Garies" <pgaries@fastmail.us 
>> <mailto:pgaries@fastmail.us>> wrote:
>>
>> On 2010-02-10 7:59 PM, Ojan Vafai wrote:
>> >
>> > Does this work? You want the height to be the line-heig...
>>
>> I don't know of any way to get the line-height, but you can estimate
>> (e.g., |1.2em|) or explicitly specify it then match the height to it.
>>
>>
>>
>> > Also, what if you want some divs to be <1em?
>>
>> Use a |class| attribute?
> 


-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Thursday, 11 February 2010 08:25:51 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:43 UTC