W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2011

[Bug 4514] Check XHTML 1.0 Documents served as text/html against HTML Compatibility Guidelines (Appendix C)

From: <bugzilla@jessica.w3.org>
Date: Sun, 09 Oct 2011 22:17:44 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RD1gm-0002Th-Bt@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4514

--- Comment #2 from Mark <majuki@yahoo.com> 2011-10-09 22:17:43 UTC ---
Related to this bug/bug 14306 the validator should warn of issues with file
type.  When mime control is not used by default (opening local file) a Strict
DTD + text/html media type will render as HTML 4 in all browsers when the .html
file type is used.  

Simple test (when used with above doctype/media type):

<html>
<head>
</head>
<body>
<textarea />
</body>
</html>

When saved as .html renders as html 4 and </body></html> render inside the text
element.  When saved as .xhtml it renders as XHTML and renders as expected. 
Currently the validator does not address this in any way.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 9 October 2011 22:17:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:47 UTC