Skip to content

Commit 5c7cf94

Browse files
committed
[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 git-svn-id: http://svn.whatwg.org/webapps@4730 340c8d12-0b0e-0410-8428-c7bf67bfef74
1 parent 19ef204 commit 5c7cf94

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

complete.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10633,7 +10633,7 @@ <h4 id=the-head-element-0><span class=secno>4.2.1 </span>The <dfn><code>head</co
1063310633
<dt>Contexts in which this element may be used:</dt>
1063410634
<dd>As the first element in an <code><a href=#the-html-element-0>html</a></code> element.</dd>
1063510635
<dt>Content model:</dt>
10636-
<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>
10636+
<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>
1063710637
<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>
1063810638
<dt>Content attributes:</dt>
1063910639
<dd><a href=#global-attributes>Global attributes</a></dd>
@@ -10675,6 +10675,12 @@ <h4 id=the-head-element-0><span class=secno>4.2.1 </span>The <dfn><code>head</co
1067510675

1067610676
</div>
1067710677

10678+
<p class=note>The <code><a href=#the-title-element-0>title</a></code> element is a required child
10679+
in most situations, but when a higher-level protocol provides title
10680+
information, e.g. in the Subject line of an e-mail when HTML is used
10681+
as an e-mail authoring format, the <code><a href=#the-title-element-0>title</a></code> element can be
10682+
omitted.</p>
10683+
1067810684

1067910685

1068010686
<h4 id=the-title-element-0><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>

index

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10532,7 +10532,7 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;
1053210532
<dt>Contexts in which this element may be used:</dt>
1053310533
<dd>As the first element in an <code><a href=#the-html-element-0>html</a></code> element.</dd>
1053410534
<dt>Content model:</dt>
10535-
<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>
10535+
<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>
1053610536
<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>
1053710537
<dt>Content attributes:</dt>
1053810538
<dd><a href=#global-attributes>Global attributes</a></dd>
@@ -10574,6 +10574,12 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;
1057410574

1057510575
</div>
1057610576

10577+
<p class=note>The <code><a href=#the-title-element-0>title</a></code> element is a required child
10578+
in most situations, but when a higher-level protocol provides title
10579+
information, e.g. in the Subject line of an e-mail when HTML is used
10580+
as an e-mail authoring format, the <code><a href=#the-title-element-0>title</a></code> element can be
10581+
omitted.</p>
10582+
1057710583

1057810584

1057910585
<h4 id=the-title-element-0><span class=secno>4.2.2 </span>The <dfn><code>title</code></dfn> element</h4>

source

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10947,7 +10947,7 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
1094710947
<dt>Contexts in which this element may be used:</dt>
1094810948
<dd>As the first element in an <code>html</code> element.</dd>
1094910949
<dt>Content model:</dt>
10950-
<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>
10950+
<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>
1095110951
<dd>Otherwise: One or more elements of <span>metadata content</span>, of which exactly one is a <code>title</code> element.</dd>
1095210952
<dt>Content attributes:</dt>
1095310953
<dd><span>Global attributes</span></dd>
@@ -10991,6 +10991,12 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
1099110991

1099210992
</div>
1099310993

10994+
<p class="note">The <code>title</code> element is a required child
10995+
in most situations, but when a higher-level protocol provides title
10996+
information, e.g. in the Subject line of an e-mail when HTML is used
10997+
as an e-mail authoring format, the <code>title</code> element can be
10998+
omitted.</p>
10999+
1099411000

1099511001

1099611002
<h4>The <dfn><code>title</code></dfn> element</h4>

0 commit comments

Comments
 (0)