This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25234 - HTML email should be rendered in no-quirks mode even if DOCTYPE is omitted or quirky
Summary: HTML email should be rendered in no-quirks mode even if DOCTYPE is omitted or...
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P1 editorial
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL: http://www.w3.org/html/wg/drafts/html...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-02 16:45 UTC by Leif Halvard Silli
Modified: 2016-04-25 18:23 UTC (History)
5 users (show)

See Also:


Attachments

Description Leif Halvard Silli 2014-04-02 16:45:20 UTC
SITUATION: 

 For HTML mail, the effect of DOCTYPE falls in 3 categories,
   with well known implementations in each category:

   A) DOCTYPE ignored, falling back to no-quirks, is implemented by
      * Web mail apps (because app itself is in no-quirks) Examples: 
        # Microsoft Outlook.com
        # Google Gmail
      * Mozilla Gaia of Firefox OS (because it’s a offline Webmail app?)

   B) DOCTYPE ignored, falling back to quirks mode. Implemented by:
      * Mozilla Thunderbird 
        (https://bugzilla.mozilla.org/show_bug.cgi?id=335499)
      * Microsoft Email app for Windows 8.1

   C) DOCTYPE treated same as in Web browsers:
      * Microsoft Windows Live Mail 2012 (latest release: 2014)
      * Microsoft Windows Mail,
      * Microsoft Outlook Express,
      * Apple Mail for OSX
      * Apple mail for iOS

PROPOSAL:

For HTML mail, the DOCTYPE should be ignored, falling back to no-quirks rendering. THus doctype should not be required. This should be said in new section somewhere in the spec.

COMMMENT:

 Mail is a "date stamped" format that is stored inside private mailboxes. Thus legacy issues are probably seldom.  For online webmail, the rendering mode probably almost always depends on the rendering mode of the Web app.

Thus, all in all, the only reliable way forward is to make all HTML mail use no-quirks mode and only no-quirks mode. HTML mail is the number one production equipment for HTML and we gotta make it so that mail applications by default and with ease can produce conforming HTML. For many Web authors, it would be a benefit if it this way became simpler to get the same rendering mode etc across email readers.

Please see bug 25232, which proposes a general approach for de-emphasizing the DOCTYPE and instead emphasizing the rendering mode.
Comment 1 Michael[tm] Smith 2015-06-16 11:08:05 UTC
Re-prioritizing per implementer feedback but also noting this simply editorial.
Comment 2 Travis Leithead [MSFT] 2016-04-25 18:23:05 UTC
HTML5.1 Bugzilla Bug Triage: Moved to https://github.com/w3c/html/issues/255

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!