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 I think :-), i haven't used transitional mode for years. PS - WebKit goes completely bonkers on the latter two test cases, even with a strict doctype Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ 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/
