Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Ingo Chao
Thanks a lot, David, for this clarification, and for linking to the discussion in #24186 (10 years ago!) Thanks again to all who helped. Ingo __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinf

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread L. David Baron
On Monday 2010-01-04 15:22 +0100, Ingo Chao wrote: > In Strict mode, the red span encloses the text - in transitional mode, > it dosn't. What's happening here is that you have one inline-block within another, and it is vertical-align:baseline. However, you've set line-height and height on the inn

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread L. David Baron
On Tuesday 2010-01-05 23:24 +1100, Alan Gresley wrote: > Maybe transitional mode is showing pre Firefox 3 rendering. It was > Firefox 3 which first supported display: inline-block. > > No, we (as for all browsers other than IE, I t

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Bruno Fassino
On Tue, Jan 5, 2010 at 1:21 PM, Philippe Wittenbergh wrote: > > On Jan 5, 2010, at 5:53 PM, Ingo Chao wrote: > >> 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 he

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Alan Gresley
Ingo Chao wrote: (snip) > 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 I'm late. Maybe transitional mode is showing

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Philippe Wittenbergh
On Jan 5, 2010, at 5:53 PM, Ingo Chao wrote: > 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. Yes that is right, and what I would expect

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Gabriele Romanato
Honestly, I don't see the point in using a transitional DTD in order to use an iframe. I stumbled on the same problem while developing a recent web site that makes use of a Google Map. I decided to create the iframe through JavaScript, providing a textual description of the map for assistive techno

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-05 Thread Ingo Chao
2010/1/5 Philippe Wittenbergh : > > 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 mod

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-04 Thread Philippe Wittenbergh
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

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-04 Thread Ingo Chao
2010/1/4 Bruno Fassino : ... > 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 dir

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-04 Thread Bruno Fassino
On Mon, Jan 4, 2010 at 3:22 PM, Ingo Chao 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

Re: [css-d] strict vs. transitional doctype and rendering differences

2010-01-04 Thread Bill Braun
For starters...http://www.w3schools.com/tags/tag_doctype.asp. Ingo Chao wrote: > Hi > > can someone point me to a reference about rendering differences > between strict and transitional doctype? > > or: what would you expect? > > >"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

[css-d] strict vs. transitional doctype and rendering differences

2010-01-04 Thread Ingo Chao
Hi can someone point me to a reference about rendering differences between strict and transitional doctype? or: what would you expect? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> strict vs. transitional span {