Skip to content

Commit

Permalink
[e] (0) Change occurances of <em> that to <i> where that would be mor…
Browse files Browse the repository at this point in the history
…e applicable per HTML5.

git-svn-id: http://svn.whatwg.org/webapps@2196 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 16, 2008
1 parent d131a84 commit adff023
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 128 deletions.
141 changes: 70 additions & 71 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -2601,13 +2601,12 @@
stating that it does not apply to the other format, as in "for HTML, ...
(this does not apply to XHTML)".

<p>This specification uses the term <em>document</em> to refer to any use
of HTML, ranging from short static documents to long essays or reports
with rich multimedia, as well as to fully-fledged interactive
applications.
<p>This specification uses the term <i>document</i> to refer to any use of
HTML, ranging from short static documents to long essays or reports with
rich multimedia, as well as to fully-fledged interactive applications.

<p>For simplicity, terms such as <em>shown</em>, <em>displayed</em>, and
<em>visible</em> might sometimes be used when referring to the way a
<p>For simplicity, terms such as <i>shown</i>, <i>displayed</i>, and
<i>visible</i> might sometimes be used when referring to the way a
document is rendered to the user. These terms are not meant to imply a
visual medium; they must be considered to apply to other media in
equivalent ways.
Expand Down Expand Up @@ -2701,18 +2700,18 @@
actually an interface, is sometimes used instead of the more accurate "an
object implementing the interface <code>Foo</code>".

<p>A DOM attribute is said to be <em>getting</em> when its value is being
retrieved (e.g. by author script), and is said to be <em>setting</em> when
a new value is assigned to it.
<p>A DOM attribute is said to be <i>getting</i> when its value is being
retrieved (e.g. by author script), and is said to be <i>setting</i> when a
new value is assigned to it.

<p>If a DOM object is said to be <dfn id=live>live</dfn>, then that means
that any attributes returning that object must always return the same
object (not a new object each time), and the attributes and methods on
that object must operate on the actual underlying data, not a snapshot of
the data.

<p>The terms <em>fire</em> and <em>dispatch</em> are used interchangeably
in the context of events, as in the DOM Events specifications. <a
<p>The terms <i>fire</i> and <i>dispatch</i> are used interchangeably in
the context of events, as in the DOM Events specifications. <a
href="#refsDOM3EVENTS">[DOM3EVENTS]</a>

<h4 id=plugins><span class=secno>2.1.4 </span>Plugins</h4>
Expand Down Expand Up @@ -4833,8 +4832,8 @@
state, in which case some of the keywords are synonyms of each other;
additionally, some of the keywords can be said to be non-conforming, and
are only in the specification for historical reasons). In addition, two
default states can be given. The first is the <em>invalid value
default</em>, the second is the <em>missing value default</em>.
default states can be given. The first is the <i>invalid value
default</i>, the second is the <i>missing value default</i>.

<p>If an enumerated attribute is specified, the attribute's value must be
an <a href="#ascii">ASCII case-insensitive</a> match for one of the given
Expand All @@ -4845,27 +4844,27 @@
case-insensitively</span> match for one of the given keywords then that
keyword's state is the state that the attribute represents. If the
attribute value matches none of the given keywords, but the attribute has
an <em>invalid value default</em>, then the attribute represents that
state. Otherwise, if the attribute value matches none of the keywords but
there is a <em>missing value default</em> state defined, then
<em>that</em> is the state represented by the attribute. Otherwise, there
is no default, and invalid values must be ignored.
an <i>invalid value default</i>, then the attribute represents that state.
Otherwise, if the attribute value matches none of the keywords but there
is a <i>missing value default</i> state defined, then <em>that</em> is the
state represented by the attribute. Otherwise, there is no default, and
invalid values must be ignored.

<p>When the attribute is <em>not</em> specified, if there is a <em>missing
value default</em> state defined, then that is the state represented by
the (missing) attribute. Otherwise, the absence of the attribute means
that there is no state represented.
<p>When the attribute is <em>not</em> specified, if there is a <i>missing
value default</i> state defined, then that is the state represented by the
(missing) attribute. Otherwise, the absence of the attribute means that
there is no state represented.

<p class=note>The empty string can be one of the keywords in some cases.
For example the <code title=attr-contenteditable><a
href="#contenteditable0">contenteditable</a></code> attribute has two
states: <em>true</em>, matching the <code title="">true</code> keyword and
the empty string, <em>false</em>, matching <code title="">false</code> and
all other keywords (it's the <em>invalid value default</em>). It could
further be thought of as having a third state <em>inherit</em>, which
would be the default when the attribute is not specified at all (the
<em>missing value default</em>), but for various reasons that isn't the
way this specification actually defines it.
states: <i>true</i>, matching the <code title="">true</code> keyword and
the empty string, <i>false</i>, matching <code title="">false</code> and
all other keywords (it's the <i>invalid value default</i>). It could
further be thought of as having a third state <i>inherit</i>, which would
be the default when the attribute is not specified at all (the <i>missing
value default</i>), but for various reasons that isn't the way this
specification actually defines it.

<h4 id=syntax-references><span class=secno>2.4.8 </span>References</h4>

Expand Down Expand Up @@ -8233,9 +8232,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<p>The <code title=attr-dir><a href="#dir">dir</a></code> attribute
specifies the element's text directionality. The attribute is an <a
href="#enumerated">enumerated attribute</a> with the keyword <code
title="">ltr</code> mapping to the state <em>ltr</em>, and the keyword
<code title="">rtl</code> mapping to the state <em>rtl</em>. The attribute
has no defaults.
title="">ltr</code> mapping to the state <i>ltr</i>, and the keyword <code
title="">rtl</code> mapping to the state <i>rtl</i>. The attribute has no
defaults.

<p>The processing of this attribute is primarily performed by the
presentation layer. For example, CSS 2.1 defines a mapping from this
Expand All @@ -8254,10 +8253,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
the value of the <code title=attr-dir><a href="#dir">dir</a></code>
attribute on the element. Otherwise, if the element's <code
title=attr-dir><a href="#dir">dir</a></code> attribute has the state
<em>ltr</em>, the element's directionality is 'ltr' (left-to-right); if
the attribute has the state <em>rtl</em>, the element's directionality is
'rtl' (right-to-left); and oherwise, the element's directionality is the
same as its parent element, or 'ltr' if there is no parent element.
<i>ltr</i>, the element's directionality is 'ltr' (left-to-right); if the
attribute has the state <i>rtl</i>, the element's directionality is 'rtl'
(right-to-left); and oherwise, the element's directionality is the same as
its parent element, or 'ltr' if there is no parent element.

<p>The <dfn id=dir0 title=dom-dir><code>dir</code></dfn> DOM attribute on
an element must <a href="#reflect">reflect</a> the <code title=attr-dir><a
Expand Down Expand Up @@ -9092,7 +9091,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
start tag token with the tag name "pre", then set the <a
href="#html-0">HTML parser</a>'s <a
href="#tokenization0">tokenization</a> stage's <a
href="#content4">content model flag</a> to <em>PLAINTEXT</em>.</p>
href="#content4">content model flag</a> to <i>PLAINTEXT</i>.</p>

<p class=note>All other values are treated as <code>text/html</code>.</p>
<!--
Expand Down Expand Up @@ -20092,7 +20091,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
<h5 id=the-ready><span class=secno>4.7.10.6. </span>The ready states</h5>

<p><a href="#media7" title="media element">Media elements</a> have a
<em>ready state</em>, which describes to what degree they are ready to be
<i>ready state</i>, which describes to what degree they are ready to be
rendered at the <a href="#current0">current playback position</a>. The
possible values are as follows; the ready state of a media element at any
particular time is the greatest value describing the state of the element:
Expand Down Expand Up @@ -25614,39 +25613,39 @@ function AddCloud(data, x, y) { ... }</pre>

<dl>
<dt>The <dfn id=row title=attr-th-scope-row><code>row</code></dfn>
keyword, which maps to the <em>row</em> state
keyword, which maps to the <i>row</i> state

<dd>The <em>row</em> state means the header cell applies to all the
<dd>The <i>row</i> state means the header cell applies to all the
remaining cells in the row.

<dt>The <dfn id=col0 title=attr-th-scope-col><code>col</code></dfn>
keyword, which maps to the <em>column</em> state
keyword, which maps to the <i>column</i> state

<dd>The <em>column</em> state means the header cell applies to all the
<dd>The <i>column</i> state means the header cell applies to all the
remaining cells in the column.

<dt>The <dfn id=rowgroup
title=attr-th-scope-rowgroup><code>rowgroup</code></dfn> keyword, which
maps to the <em>row group</em> state
maps to the <i>row group</i> state

<dd>The <em>row group</em> state means the header cell applies to all the
<dd>The <i>row group</i> state means the header cell applies to all the
remaining cells in the row group.

<dt>The <dfn id=colgroup0
title=attr-th-scope-colgroup><code>colgroup</code></dfn> keyword, which
maps to the <em>column group</em> state
maps to the <i>column group</i> state

<dd>The <em>column group</em> state means the header cell applies to all
the remaining cells in the column group.
<dd>The <i>column group</i> state means the header cell applies to all the
remaining cells in the column group.

<dt>The <em>auto</em> state
<dt>The <i>auto</i> state

<dd>The <em>auto</em> state makes the header cell apply to a set of cells
<dd>The <i>auto</i> state makes the header cell apply to a set of cells
selected based on context.
</dl>

<p>The <code title=attr-th-scope><a href="#scope0">scope</a></code>
attribute's <em>missing value default</em> is the <em>auto</em> state.
attribute's <i>missing value default</i> is the <i>auto</i> state.

<p>The exact effect of these values is described in detail in the <a
href="#algorithm4">algorithm for assigning header cells to data cells</a>,
Expand Down Expand Up @@ -32112,7 +32111,7 @@ XXX selection ranges -->
<!--XXXDND
<h5>Drag and drop in <code>datagrid</code>s</h5>

<p><em>This section only applies to interactive user agents.</p>
<p><em>This section only applies to interactive user agents.</em></p>

<p class="big-issue">define drag and drop in datagrids; selectiondraggable, etc.</p>
-->
Expand Down Expand Up @@ -32387,7 +32386,7 @@ XXX selection ranges -->
href="#make-application">make application</a></i>
</table>

<p>The <span>missing value default</span> state is the <i
<p>The <i>missing value default</i> state is the <i
title=attr-bb-type-null-state><a href="#null">null</a></i> state.

<p>Each state has an <i>action</i> and a <i>relevance</i>, defined in the
Expand Down Expand Up @@ -33733,8 +33732,8 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
address</span><!-- XXXDOCURL
xref -->, then the current document's DOM
must be assumed to be that parsed DOM. While this loading and parsing is
in progress, the element is said to be <em>busy loading the template rules
or data</em>.
in progress, the element is said to be <i>busy loading the template rules
or data</i>.

<p>If the resource specified by the <code title=attr-template><a
href="#template">template</a></code> attribute is not the current
Expand Down Expand Up @@ -33857,8 +33856,8 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
address</span><!-- XXXDOCURL
xref -->, then the current document's DOM
must be assumed to be that parsed DOM. While this loading and parsing is
in progress, the element is said to be <em>busy loading the template rules
or data</em>.
in progress, the element is said to be <i>busy loading the template rules
or data</i>.

<p>If the resource specified by the <code title=attr-ref><a
href="#ref">ref</a></code> attribute is not the current
Expand Down Expand Up @@ -34008,8 +34007,8 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
content is being updated.

<li>
<p>If the <var title="">destination</var> element is <em>busy loading the
template rules or data</em>, then abort these steps. Either the steps
<p>If the <var title="">destination</var> element is <i>busy loading the
template rules or data</i>, then abort these steps. Either the steps
will be invoked again once the loading has completed, or the loading
will fail and the generated content will be removed at that point.

Expand Down Expand Up @@ -41523,9 +41522,9 @@ interface <dfn id=sqlstatementerrorcallback>SQLStatementErrorCallback</dfn> {
specification. This table is non-normative; the actual definitions for the
link types are given in the next few sections.

<p>In this section, the term <em>referenced document</em> refers to the
<p>In this section, the term <i>referenced document</i> refers to the
resource identified by the element representing the link, and the term
<em>current document</em> refers to the resource within which the element
<i>current document</i> refers to the resource within which the element
representing the link finds itself.

<p>To determine which link types apply to a <code><a
Expand Down Expand Up @@ -43455,10 +43454,10 @@ onActivate, onBeforeDeactivate, onDeactivate, document.hasFocus):
href="#enumerated">enumerated attribute</a> whose keywords are the empty
string, <code title="">true</code>, and <code title="">false</code>. The
empty string and the <code title="">true</code> keyword map to the
<em>true</em> state. The <code title="">false</code> keyword maps to the
<em>false</em> state. In addition, there is a third state, the
<em>inherit</em> state, which is the <em>missing value default</em> (and
the <em>invalid value default</em>).
<i>true</i> state. The <code title="">false</code> keyword maps to the
<i>false</i> state. In addition, there is a third state, the
<i>inherit</i> state, which is the <i>missing value default</i> (and the
<i>invalid value default</i>).

<p>If an <a href="#html-elements" title="HTML elements">HTML element</a>
has a <code title=attr-contenteditable><a
Expand Down Expand Up @@ -44711,10 +44710,10 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
href="#draggable">draggable</a></code> content attribute set. The <code
title=attr-draggable><a href="#draggable">draggable</a></code> attribute
is an <a href="#enumerated">enumerated attribute</a>. It has three states.
The first state is <em>true</em> and it has the keyword <code
title="">true</code>. The second state is <em>false</em> and it has the
keyword <code title="">false</code>. The third state is <em>auto</em>; it
has no keywords but it is the <em>missing value default</em>.
The first state is <i>true</i> and it has the keyword <code
title="">true</code>. The second state is <i>false</i> and it has the
keyword <code title="">false</code>. The third state is <i>auto</i>; it
has no keywords but it is the <i>missing value default</i>.

<p>The <dfn id=draggable0 title=dom-draggable><code>draggable</code></dfn>
DOM attribute, whose value depends on the content attribute's in the way
Expand All @@ -44725,17 +44724,17 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr

<p>If an element's <code title=attr-draggable><a
href="#draggable">draggable</a></code> content attribute has the state
<em>true</em>, the <code title=dom-draggable><a
<i>true</i>, the <code title=dom-draggable><a
href="#draggable0">draggable</a></code> DOM attribute must return true.

<p>Otherwise, if the element's <code title=attr-draggable><a
href="#draggable">draggable</a></code> content attribute has the state
<em>false</em>, the <code title=dom-draggable><a
<i>false</i>, the <code title=dom-draggable><a
href="#draggable0">draggable</a></code> DOM attribute must return false.

<p>Otherwise, the element's <code title=attr-draggable><a
href="#draggable">draggable</a></code> content attribute has the state
<em>auto</em>. If the element is an <code><a href="#img">img</a></code>
<i>auto</i>. If the element is an <code><a href="#img">img</a></code>
element, or, if the element is an <code><a href="#a">a</a></code> element
with an <code title=attr-hyperlink-href><a href="#href6">href</a></code>
content attribute, the <code title=dom-draggable><a
Expand Down
Loading

0 comments on commit adff023

Please sign in to comment.