2010/1/5 Philippe Wittenbergh <[email protected]>:
>
> On Jan 5, 2010, at 3:06 PM, Ingo Chao wrote:
>
>> So it is an "almost standards mode" problem, triggered by the
>> transitional doctype [2]?
>>
>> The inner inline-block is sitting on a baseline in strict, and in
>> transitional, it doesn't [3].
>
> With both modes, the baseline for an inline-block is the baseline from the 
> parent line-box.
> http://dev.l-c-n.com/_temp/ib-strict.html
> http://dev.l-c-n.com/_temp/ib-trans.html
>
> Once you add your over-constrained construction, the behaviour differs. Bruno 
> is correct in identifying the presence of a line-box on the outer span as the 
> reason, I think. In transitional mode, that one line-box is not generated and 
> explains the different rendering.
> http://dev.l-c-n.com/_temp/ib-strict2.html
> http://dev.l-c-n.com/_temp/ib-trans2.html
>
>

Thanks for the better reduction. In your first testcases,
http://dev.l-c-n.com/_temp/ib-strict.html
http://dev.l-c-n.com/_temp/ib-trans.html
the behavior differs when I add height:1em to the inner EM.

best,
Ingo
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to