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

Re: Fwd: Re: Display

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 27 Apr 2010 16:56:26 -0400
Message-ID: <4BD74F7A.3040404@mit.edu>
To: Markus Ernst <derernst@gmx.ch>
CC: www-style@w3.org
On 4/27/10 4:28 PM, Markus Ernst wrote:
>> It's not clear to me how "default" would be defined.  Care to suggest a
>> definition?
>
> The element's "natural" display value, if no value is set in a style sheet or the style attribute - "block" for a div or p element, "table-row" for a tr element

Those are all set in stylesheets.

> There are such keywords for other kinds of values, such as "normal" for the line-height property.

That's not what "normal" means for line-height, at all.  Or more 
precisely, "normal" is to line-height as "inline" is to display.  It's 
the default value of the property.

> I assume it is the same Aryeh Gregor refers to in his post, saying "A magic value meaning 'ignore all author rules and use whatever the UA stylesheet says'". This would IMO be helpful

Why?  What's a use case?

What about user stylesheets?

What about presentational hints?

> As mentioned above, the value that applies if the property is removed from the style attribute.

That's not the same thing as "ignore all author rules".

> Anyway, as removing the property is no problem, this suggestion might be obsolete indeed.

OK.  Seems to me what people want to do is just remove the property, not 
try to define some sort of magic new value....

-Boris
Received on Tuesday, 27 April 2010 20:57:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:26 GMT