| Author |
Multiple rendering modes for same page
|
|
| Karl Smith 2004-02-26, 1:29 am |
| This page:
http://users.tpg.com.au/karl6740/css/multi-mode_1.html
- uses "CSS1Compat" mode in Opera 7.23 but "BackCompat" mode in MSIE 6
and "QuirksMode" in Mozilla 1.6.
Whereas this page:
http://users.tpg.com.au/karl6740/css/multi-mode_2.html
- uses "CSS1Compat" mode in MSIE 6 and Mozilla 1.6 but "QuirksMode"
mode in Opera 7.23.
Can anyone tell me why it is provoking the same mode in Mozilla as it
is MSIE?
--
Karl Smith.
(Yes folks, I'm doing my bit to make the situation even more
complicated than it is already. Why should Meyer and Hickson have all
the fun?)
| |
| Steve Pugh 2004-02-26, 6:29 am |
| google-2003-03@kjsmith.com (Karl Smith) wrote:
>http://users.tpg.com.au/karl6740/css/multi-mode_2.html
>
>- uses "CSS1Compat" mode in MSIE 6 and Mozilla 1.6 but "QuirksMode"
>mode in Opera 7.23.
>
>Can anyone tell me why it is provoking the same mode in Mozilla as it
>is MSIE?
Looks like Moz is somehow using the doctype inside the conditional
comment to determine the rendering mode.
<!--[if IE]>
<!DOCTYPE html PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup
Language//EN">
<![endif]-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Triggers CSS1Compat.
<!--[if IE]>
<![endif]-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Triggers BackCompat.
<!--
<!DOCTYPE html PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup
Language//EN">
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Triggers BackCompat.
Looks like a bug. If I had the energy I'd search Bugzilla for it.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
| |
| Karl Smith 2004-02-27, 5:28 am |
| Steve Pugh <steve@pugh.net> wrote:
> Looks like a bug. If I had the energy I'd search Bugzilla for it.
It's bug 235798 now.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |