- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Mon, 4 Oct 2010 15:39:22 -0700
- To: "Geoffrey Sneddon" <gsneddon@opera.com>
- Cc: "Simon Fraser" <smfr@me.com>, "Public CSS 2.1 test suite mailing list" <public-css-testsuite@w3.org>, "Daniel Schattenkirchner" <crazy-daniel@gmx.de>, "David Hammond" <dhammond@webdevout.net>
> On 04/10/10 21:41, "Gérard Talbot" wrote: >>> On 03/10/10 20:19, "Gérard Talbot" wrote: >>>> [Addendum: Opera 10.62 passes >>>> http://test.csswg.org/suites/css2.1/20101001/html4/content-type-000.htm >> and >>>> http://test.csswg.org/suites/css2.1/20101001/html4/content-type-001.htm >> but fails >>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/content-type-000.html >> and >>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/content-type-001.html >> so these 2 still requires investigation. >>>> ] >>> The tests have different DOCTYPEs on your site compared with those as >> built in the testsuite; without the system identifier in the DOCTYPE >> (as >>> they are on your site) the pages are in quirks mode. >> >> Geoffrey, >> >> I do not understand this. This doctype declaration >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> >> >> should trigger web standards compliant rendering mode in all browsers, >> including Opera 10.62. > > Alternatively to what I said above, my memory of what triggers quirks > mode is wrong. :) (The HTML 4.0 public identifier without the system > identifier should trigger quirks mode Geoffrey, Even what you say here is questionable ... otherwise contradicting what other browsers do. http://hsivonen.iki.fi/doctype/#handling reports that Opera 10 will trigger standards compliant rendering mode if <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> is used. Also, Mozilla Firefox[1] and Microsoft IE6+ will trigger standards compliant rendering mode if <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> is used. { Both of the declarations in the following example specify conformance to the HTML 4.0 DTD. The first declaration does not specify a Definition. The second declaration specifies the StrictDefinition of this DTD. Neither declaration specifies the URL. Both of these declarations switch on standards-compliant mode. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"> } http://msdn.microsoft.com/en-us/library/bb250395.aspx [1] https://developer.mozilla.org/en/Mozilla%27s_DOCTYPE_sniffing#Full_Standards_Mode Again, this webpage should be updated: http://www.opera.com/docs/specs/presto26/doctypes/ All examples in CSS 2.1 use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC2; October 1st 2010): http://test.csswg.org/suites/css2.1/20101001/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Monday, 4 October 2010 22:40:06 UTC