Showing 1 - 4 of 4 items. (Page 1 of 1)
django-html - Google Code
Simon Willison's idea comes alive. django-html has 2 template tags: 1 to set and output a doctype template tag, with a doctype set, the next template tag will output proper HTML tags based on doctype. Brilliant.
#3568 (Add support for serializing newforms to HTML) - Django Code - Trac
A ticket with patch to output Django's newforms widgets as HTML4 compliant widgets. I hope this lands.
Activating the Right Layout Mode Using the Doctype Declaration
Explains how browsers use doctype sniffing to switch the layout mode between the quirks mode and the standards mode.
Mozilla's DOCTYPE sniffing
How mozilla determines whether to use quirks mode based on doctype.