[html5] r2965 - [e] (0) Add a note that omitting a start tag doesn't omit the element. (credit: fs)
whatwg at whatwg.org
whatwg at whatwg.org
Sat Apr 18 16:56:29 PDT 2009
Author: ianh
Date: 2009-04-18 16:56:29 -0700 (Sat, 18 Apr 2009)
New Revision: 2965
Modified:
index
source
Log:
[e] (0) Add a note that omitting a start tag doesn't omit the element. (credit: fs)
Modified: index
===================================================================
--- index 2009-04-18 23:29:25 UTC (rev 2964)
+++ index 2009-04-18 23:56:29 UTC (rev 2965)
@@ -51984,10 +51984,17 @@
whose names are an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for
each other.</p>
+
<h5 id=optional-tags><span class=secno>8.1.2.4 </span>Optional tags</h5>
<p>Certain tags can be <dfn id=syntax-tag-omission title=syntax-tag-omission>omitted</dfn>.</p>
+ <p class=note>Omitting an element's <a href=#syntax-start-tag title=syntax-start-tag>start tag</a> does not mean the element
+ is not present; it is implied, but it is still there. An HTML
+ document always has a root <code><a href=#the-html-element>html</a></code> element, even if the
+ string <code title=""><html></code> doesn't appear anywhere in
+ the markup.</p>
+
<!-- <html> -->
<p>An <code><a href=#the-html-element>html</a></code> element's <a href=#syntax-start-tag title=syntax-start-tag>start tag</a> may be omitted if the
first thing inside the <code><a href=#the-html-element>html</a></code> element is not a <a href=#syntax-comments title=syntax-comments>comment</a>.</p>
@@ -61233,6 +61240,7 @@
support the 'clear' property on inline elements (in order to render
<code><a href=#the-br-element>br</a></code> elements with <code title=attr-br-clear>clear</code> attributes) in the manner
described in the non-normative note to this effect in CSS2.1.</p>
+ <!-- section 9.5.2 of CSS2.1 -->
<p>The user agent is expected to hide <code><a href=#the-noscript-element>noscript</a></code> elements
for whom <a href=#concept-n-script title=concept-n-script>scripting is enabled</a>,
@@ -63697,6 +63705,7 @@
Evan Prodromou,
fantasai,
Felix Sasaki,
+ Francesco Schwarz,
Franck 'Shift' Quélain,
Garrett Smith,
Geoffrey Garen,
Modified: source
===================================================================
--- source 2009-04-18 23:29:25 UTC (rev 2964)
+++ source 2009-04-18 23:56:29 UTC (rev 2965)
@@ -63982,11 +63982,19 @@
whose names are an <span>ASCII case-insensitive</span> match for
each other.</p>
+
<h5>Optional tags</h5>
<p>Certain tags can be <dfn
title="syntax-tag-omission">omitted</dfn>.</p>
+ <p class="note">Omitting an element's <span
+ title="syntax-start-tag">start tag</span> does not mean the element
+ is not present; it is implied, but it is still there. An HTML
+ document always has a root <code>html</code> element, even if the
+ string <code title=""><html></code> doesn't appear anywhere in
+ the markup.</p>
+
<!-- <html> -->
<p>An <code>html</code> element's <span
title="syntax-start-tag">start tag</span> may be omitted if the
@@ -71905,6 +71913,7 @@
<code>br</code> elements with <code
title="attr-br-clear">clear</code> attributes) in the manner
described in the non-normative note to this effect in CSS2.1.</p>
+ <!-- section 9.5.2 of CSS2.1 -->
<p>The user agent is expected to hide <code>noscript</code> elements
for whom <span title="concept-n-script">scripting is enabled</span>,
@@ -74697,6 +74706,7 @@
Evan Prodromou,
fantasai,
Felix Sasaki,
+ Francesco Schwarz,
Franck 'Shift' Quélain,
Garrett Smith,
Geoffrey Garen,
More information about the Commit-Watchers
mailing list