Re: Fwd: Re: Display

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 UTC