[html5] r4730 - [act] (0) Make <title> optional in HTML e-mails and other such situations. Fixin [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Feb 14 02:43:00 PST 2010


Author: ianh
Date: 2010-02-14 02:42:58 -0800 (Sun, 14 Feb 2010)
New Revision: 4730

Modified:
   complete.html
   index
   source
Log:
[act] (0) Make <title> optional in HTML e-mails and other such situations.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8898

Modified: complete.html
===================================================================
--- complete.html	2010-02-14 10:25:40 UTC (rev 4729)
+++ complete.html	2010-02-14 10:42:58 UTC (rev 4730)
@@ -10633,7 +10633,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first element in an <code><a href=#the-html-element-0>html</a></code> element.</dd>
    <dt>Content model:</dt>
-   <dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
+   <dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a> or if title information is available from a higher-level protocol: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
    <dd>Otherwise: One or more elements of <a href=#metadata-content>metadata content</a>, of which exactly one is a <code><a href=#the-title-element-0>title</a></code> element.</dd>
    <dt>Content attributes:</dt>
    <dd><a href=#global-attributes>Global attributes</a></dd>
@@ -10675,8 +10675,14 @@
 
   </div>
 
+  <p class=note>The <code><a href=#the-title-element-0>title</a></code> element is a required child
+  in most situations, but when a higher-level protocol provides title
+  information, e.g. in the Subject line of an e-mail when HTML is used
+  as an e-mail authoring format, the <code><a href=#the-title-element-0>title</a></code> element can be
+  omitted.</p>
 
 
+
   <h4 id=the-title-element-0><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: index
===================================================================
--- index	2010-02-14 10:25:40 UTC (rev 4729)
+++ index	2010-02-14 10:42:58 UTC (rev 4730)
@@ -10532,7 +10532,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first element in an <code><a href=#the-html-element-0>html</a></code> element.</dd>
    <dt>Content model:</dt>
-   <dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
+   <dd>If the document is <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a> or if title information is available from a higher-level protocol: Zero or more elements of <a href=#metadata-content>metadata content</a>.</dd>
    <dd>Otherwise: One or more elements of <a href=#metadata-content>metadata content</a>, of which exactly one is a <code><a href=#the-title-element-0>title</a></code> element.</dd>
    <dt>Content attributes:</dt>
    <dd><a href=#global-attributes>Global attributes</a></dd>
@@ -10574,8 +10574,14 @@
 
   </div>
 
+  <p class=note>The <code><a href=#the-title-element-0>title</a></code> element is a required child
+  in most situations, but when a higher-level protocol provides title
+  information, e.g. in the Subject line of an e-mail when HTML is used
+  as an e-mail authoring format, the <code><a href=#the-title-element-0>title</a></code> element can be
+  omitted.</p>
 
 
+
   <h4 id=the-title-element-0><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: source
===================================================================
--- source	2010-02-14 10:25:40 UTC (rev 4729)
+++ source	2010-02-14 10:42:58 UTC (rev 4730)
@@ -10947,7 +10947,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first element in an <code>html</code> element.</dd>
    <dt>Content model:</dt>
-   <dd>If the document is <span>an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</span>: Zero or more elements of <span>metadata content</span>.</dd>
+   <dd>If the document is <span>an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</span> or if title information is available from a higher-level protocol: Zero or more elements of <span>metadata content</span>.</dd>
    <dd>Otherwise: One or more elements of <span>metadata content</span>, of which exactly one is a <code>title</code> element.</dd>
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
@@ -10991,8 +10991,14 @@
 
   </div>
 
+  <p class="note">The <code>title</code> element is a required child
+  in most situations, but when a higher-level protocol provides title
+  information, e.g. in the Subject line of an e-mail when HTML is used
+  as an e-mail authoring format, the <code>title</code> element can be
+  omitted.</p>
 
 
+
   <h4>The <dfn><code>title</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list