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>

--- 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):

<textarea />

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.4.0 : Friday, 17 January 2020 23:02:51 UTC