On Mon, Jan 4, 2010 at 3:22 PM, Ingo Chao <[email protected]> wrote: > > can someone point me to a reference about rendering differences > between strict and transitional doctype? > > or: what would you expect? > [...] > > In Strict mode, the red span encloses the text - in transitional mode, > it dosn't. > Why? >
I believe the difference in the rendering is related to the fact that in strict mode an element (in this case the red span) always generates an inline box (using its current font properties), like it always contained at least a character, even if it does not directly contain text. Indeed adding a character <div><span>a <em>Text</em></span></div> the difference in the rendering disappear. This Mozilla page [1], rather old, does not mention other differences caused by the "almost standard" mode. And I assume that the one that it mentions is the same I tried to describe (probably in a rather imprecise way...) Bruno [1] https://developer.mozilla.org/index.php?title=en/Gecko%27s_%22Almost_Standards%22_Mode -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ 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/
