W3C home > Mailing lists > Public > wai-xtech@w3.org > October 2007

Re: DOCTYPE URL in Firefox

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sun, 21 Oct 2007 21:25:05 +0300
Message-Id: <2125C5F0-FC98-480D-88BB-1EB76883348E@iki.fi>
Cc: W3C WAI-XTECH <wai-xtech@w3.org>
To: Jon Gunderson <jongund@uiuc.edu>

On Oct 15, 2007, at 18:54, Jon Gunderson wrote:

> The PF working group would like to know what would happen if the  
> URL to in a html DOCTYPE declaration changed for a document being  
> delivered with the MIMETYPE "text/html".
>
> Would this in anyway affect the rendering of the document?

Not to my knowledge.

> For example what if the following declaration:
>
> <!DOCTYPE html
>   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// 
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> was changed to:
>
> <!DOCTYPE html
>   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// 
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional-aria.dtd">
>
> Would FF or any other browser you know of change the rendering of  
> the document?

Firefox 2.0.0.8, Minefield trunk, Safari 2.0.4, WebKit trunk and  
Opera 9.5 alpha do not change the rendering.

I'm unable to test Windows IE at this time, but here are text/html  
test cases:
http://hsivonen.iki.fi/doctype/test-quirks.php?doctype=%3C%21DOCTYPE 
+html+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+XHTML+1.0+Transitional%2F%2FEN%22+ 
%22http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1- 
transitional.dtd%22%3E
http://hsivonen.iki.fi/doctype/test-quirks.php?doctype=%3C%21DOCTYPE 
+html+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+XHTML+1.0+Transitional%2F%2FEN%22+ 
%22http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-transitional- 
aria.dtd%22%3E

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Sunday, 21 October 2007 18:25:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 13:15:43 GMT