W3C home > Mailing lists > Public > www-style@w3.org > March 2006

Re: [css21] height: [percent]

From: Ignacio Javier <ijavier@efenet.com>
Date: Tue, 7 Mar 2006 12:24:03 +0100
Message-ID: <005f01c641d9$a407ef90$2301a8c0@dominio.local>
To: "Boris Zbarsky" <bzbarsky@mit.edu>, <www-style@w3.org>

Thanks for the replay Boris, its clear now.
But is curious the link between 10.6.2 ( 
http://www.w3.org/TR/2005/WD-CSS21-20050613/visudet.html#inline-replaced-height ) 
and 6.4.4 ( http://www.w3.org/TR/2005/WD-CSS21-20050613/cascade.html#q13 ). 
Is curious because an instrinsic specified percentage value in html can get 
to the CSS via 6.4.4 and then could be computed as auto, and then remain 
unresolved, or not, but I think is really honoring the property, not a value 
(percentage of intrinsic dimensions). But since semantic of percentage width 
values are not specified in html....


6.4.4 Precedence of non-CSS presentational hints

The UA may choose to honor presentational attributes in an HTML source
document. If so, these attributes are translated to the corresponding CSS
rules with specificity equal to 0, and are treated as if they were inserted
at the start of the author style sheet. They may therefore be overridden by
subsequent style sheet rules. In a transition phase, this policy will make
it easier for stylistic attributes to coexist with style sheets.
....
(img width, height are presentational)
....

----- Original Message ----- 
From: "Boris Zbarsky" <bzbarsky@mit.edu>
To: "Ignacio Javier" <ijavier@efenet.com>
Cc: <www-style@w3.org>
Sent: Monday, March 06, 2006 5:24 PM
Subject: Re: [css21] height: [percent]

.....
>
>
>> Percentage intrinsic heights are evaluated with respect to the containing
>> block's height, if that height is specified explicitly, or if the
>> replaced element is absolutely positioned. If neither of these conditions
>> is met, then percentage values on such replaced elements can't be
>> resolved and such elements are assumed to have no intrinsic height.
>
> That's for intrinsic heights, not for percentage values of the "height"
> property.
>
> -Boris
> 
Received on Tuesday, 7 March 2006 11:26:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:44 GMT