Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Add a note that omitting a start tag doesn't omit the element…
…. (credit: fs)

git-svn-id: http://svn.whatwg.org/webapps@2965 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 18, 2009
1 parent a7ca049 commit 0910d4b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index
Expand Up @@ -51984,10 +51984,17 @@ interface <dfn id=messageport>MessagePort</dfn> {
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="">&lt;html&gt;</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>
Expand Down Expand Up @@ -61233,6 +61240,7 @@ rt { display: ruby-text; }
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>,
Expand Down Expand Up @@ -63697,6 +63705,7 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
Evan Prodromou,
fantasai,
Felix Sasaki,
Francesco Schwarz,
Franck 'Shift' Qu&eacute;lain,
Garrett Smith,
Geoffrey Garen,
Expand Down
10 changes: 10 additions & 0 deletions source
Expand Up @@ -63982,11 +63982,19 @@ interface <dfn>MessagePort</dfn> {
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="">&lt;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
Expand Down Expand Up @@ -71905,6 +71913,7 @@ rt { display: ruby-text; }
<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>,
Expand Down Expand Up @@ -74697,6 +74706,7 @@ interface <dfn>TimeoutHandler</dfn> {
Evan Prodromou,
fantasai,
Felix Sasaki,
Francesco Schwarz,
Franck 'Shift' Qu&eacute;lain,
Garrett Smith,
Geoffrey Garen,
Expand Down

0 comments on commit 0910d4b

Please sign in to comment.