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

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