Skip to content

Commit

Permalink
[e] (0) Change 'unless' to 'except where' in cases where that reduces…
Browse files Browse the repository at this point in the history
… ambiguity.

git-svn-id: http://svn.whatwg.org/webapps@4006 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 27, 2009
1 parent 371c583 commit 432bf14
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 143 deletions.
138 changes: 69 additions & 69 deletions index
Expand Up @@ -1731,8 +1731,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
element in that namespace, and thus refers to both HTML and XHTML
elements.</p>

<p>Unless otherwise stated, all elements defined or mentioned in
this specification are in the
<p>Except where otherwise stated, all elements defined or mentioned
in this specification are in the
<code>http://www.w3.org/1999/xhtml</code> namespace, and all
attributes defined or mentioned in this specification have no
namespace.</p>
Expand Down Expand Up @@ -2217,14 +2217,14 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
required for conforming IDL fragments, as described in the Web IDL
specification. <a href=#refsWEBIDL>[WEBIDL]</a></p>

<p id=float-nan>Unless otherwise specified, if an IDL attribute
that is a floating point number type (<code title="">float</code>)
is assigned an Infinity or Not-a-Number (NaN) value, a
<code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception must be raised.</p>
<p id=float-nan>Except where otherwise specified, if an IDL
attribute that is a floating point number type (<code title="">float</code>) is assigned an Infinity or Not-a-Number
(NaN) value, a <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception must be
raised.</p>

<p>Unless otherwise specified, if a method with an argument that
is a floating point number type (<code title="">float</code>) is
passed an Infinity or Not-a-Number (NaN) value, a
<p>Except where otherwise specified, if a method with an argument
that is a floating point number type (<code title="">float</code>)
is passed an Infinity or Not-a-Number (NaN) value, a
<code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception must be raised.</p>

</dd>
Expand Down Expand Up @@ -7642,9 +7642,9 @@ interface <dfn id=htmlunknownelement>HTMLUnknownElement</dfn> : <a href=#htmlele
<li><code title=attr-style><a href=#the-style-attribute>style</a></code></li>
<li><code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code></li>
<li><code title=attr-title><a href=#the-title-attribute>title</a></code></li>
</ul><hr><p>Unless otherwise specified, the following <a href=#event-handler-content-attributes>event handler
content attributes</a> may be specified on any <a href=#html-elements title="HTML
elements">HTML element</a>:</p>
</ul><hr><p>The following <a href=#event-handler-content-attributes>event handler content attributes</a> may
be specified on any <a href=#html-elements title="HTML elements">HTML
element</a>:</p>

<ul class=brief><li><code title=handler-onabort><a href=#handler-onabort>onabort</a></code></li>
<li><code title=handler-onblur><a href=#handler-onblur>onblur</a></code>*</li>
Expand Down Expand Up @@ -21605,9 +21605,9 @@ interface <dfn>CueRangeCallback</dfn> {

<div class=impl>

<p>Unless otherwise specified, the <a href=#task-source>task source</a> for all
the tasks <a href=#queue-a-task title="queue a task">queued</a> in this section
and its subsections is the <dfn id=media-element-event-task-source>media element event task
<p>Except where otherwise specified, the <a href=#task-source>task source</a>
for all the tasks <a href=#queue-a-task title="queue a task">queued</a> in this
section and its subsections is the <dfn id=media-element-event-task-source>media element event task
source</dfn>.</p>

</div>
Expand Down Expand Up @@ -24462,9 +24462,9 @@ interface <dfn id=canvaspixelarray>CanvasPixelArray</dfn> {
attribute must return the <code><a href=#the-canvas-element>canvas</a></code> element that the
context paints on.</p>

<p>Unless otherwise stated, for the 2D context interface, any method
call with a numeric argument whose value is infinite or a NaN value
must be ignored.</p>
<p>Except where otherwise specified, for the 2D context interface,
any method call with a numeric argument whose value is infinite or a
NaN value must be ignored.</p>

<!--
Philip Taylor wrote:
Expand Down Expand Up @@ -30815,7 +30815,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

<div class=impl>

<p>Unless otherwise specified by the following rules, a
<p>Except where otherwise specified by the following rules, a
<code><a href=#the-label-element>label</a></code> element has no <a href=#labeled-control>labeled control</a>.</p>

</div>
Expand Down Expand Up @@ -32165,10 +32165,11 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<a href=#value-sanitization-algorithm>value sanitization algorithm</a>, if the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's current state
defines one.</p>

<p>Each <code><a href=#the-input-element>input</a></code> element is either <dfn id=concept-input-mutable title=concept-input-mutable><i>mutable</i></dfn> or <dfn id=concept-input-immutable title=concept-input-immutable><i>immutable</i></dfn>. Unless
otherwise specified, an <code><a href=#the-input-element>input</a></code> element is always <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>. Unless otherwise
specified, the user agent should not allow the user to modify the
element's <a href=#concept-fe-value title=concept-fe-value>value</a> or <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a>.</p>
<p>Each <code><a href=#the-input-element>input</a></code> element is either <dfn id=concept-input-mutable title=concept-input-mutable><i>mutable</i></dfn> or <dfn id=concept-input-immutable title=concept-input-immutable><i>immutable</i></dfn>. Except where
otherwise specified, an <code><a href=#the-input-element>input</a></code> element is always <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>. Similarly, except where
otherwise specified, the user agent should not allow the user to
modify the element's <a href=#concept-fe-value title=concept-fe-value>value</a> or
<a href=#concept-fe-checked title=concept-fe-checked>checkedness</a>.</p>

<p>When an <code><a href=#the-input-element>input</a></code> element is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, it is <i title=concept-input-immutable><a href=#concept-input-immutable>immutable</a></i>.</p>

Expand Down Expand Up @@ -36689,8 +36690,8 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
of an <code><a href=#the-option-element>option</a></code> element is a boolean state, initially
false. If the element is <a href=#concept-option-disabled title=concept-option-disabled>disabled</a>, then the element's
<a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> is
always false and cannot be set to true. Unless otherwise specified,
when the element is created, its <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> must be set
always false and cannot be set to true. Except where otherwise
specified, when the element is created, its <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> must be set
to true if the element has a <code title=attr-option-selected><a href=#attr-option-selected>selected</a></code> attribute. Whenever an
<code><a href=#the-option-element>option</a></code> element's <code title=attr-option-selected><a href=#attr-option-selected>selected</a></code> attribute is added, its
<a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> must
Expand Down Expand Up @@ -38020,7 +38021,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme

<p>A <a href=#category-listed title=category-listed>listed form-associated
element</a> is a <dfn id=candidate-for-constraint-validation>candidate for constraint validation</dfn>
unless a condition has <dfn id=barred-from-constraint-validation title="barred from constraint
except when a condition has <dfn id=barred-from-constraint-validation title="barred from constraint
validation">barred the element from constraint
validation</dfn>. (For example, an element is <a href=#barred-from-constraint-validation>barred from
constraint validation</a> if it is an <code><a href=#the-output-element>output</a></code> or
Expand Down Expand Up @@ -44516,9 +44517,9 @@ document.body.appendChild(outer);</pre>
<code title=md-vcard-n-honorific-suffix><a href=#md-vcard-n-honorific-suffix>honorific-suffix</a></code>
properties.</p>

<p>Unless one of the conditions given below applies, exactly one
property with the name <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> must be
present within each <a href=#concept-item title=concept-item>item</a> with
<p>Except when one of the conditions given below applies, exactly
one property with the name <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> must
be present within each <a href=#concept-item title=concept-item>item</a> with
the type <code title=md-vcard><a href=#md-vcard>vcard</a></code>.</p>

<p>If one of the following conditions does apply, then the <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> may be omitted:</p>
Expand Down Expand Up @@ -46382,9 +46383,9 @@ document.body.appendChild(outer);</pre>

<h3 id=converting-html-to-other-formats><span class=secno>5.5 </span>Converting HTML to other formats</h3>

<p>In all these algorithms, unless otherwise stated, operations that
iterate over a series of elements (whether items, properties, or
otherwise) must do so in <a href=#tree-order>tree order</a>.</p>
<p>In all these algorithms, except where otherwise stated,
operations that iterate over a series of elements (whether items,
properties, or otherwise) must do so in <a href=#tree-order>tree order</a>.</p>

<p>A generic API upon which the vocabulary-specific conversions
defined below (vCard, iCalendar) can be built will need to provide
Expand Down Expand Up @@ -47855,7 +47856,7 @@ document.body.appendChild(outer);</pre>
<div class=impl>

<p>This section describes features that apply most directly to Web
browsers. Having said that, unless specified elsewhere, the
browsers. Having said that, except where specified otherwise, the
requirements defined in this section <em>do</em> apply to all user
agents, whether they are Web browsers or not.</p>

Expand Down Expand Up @@ -47952,9 +47953,9 @@ document.body.appendChild(outer);</pre>

<hr><p>A <a href=#browsing-context>browsing context</a> can have a <dfn id=creator-browsing-context>creator browsing
context</dfn>, the <a href=#browsing-context>browsing context</a> that was
responsible for its creation. <span class=impl>Unless otherwise
specified, a <a href=#browsing-context>browsing context</a> has no <a href=#creator-browsing-context>creator
browsing context</a>.</span></p>
responsible for its creation. <span class=impl>Except when
otherwise specified, a <a href=#browsing-context>browsing context</a> has no
<a href=#creator-browsing-context>creator browsing context</a>.</span></p>

<p>If a <a href=#browsing-context>browsing context</a> <var title="">A</var> has a
<a href=#creator-browsing-context>creator browsing context</a>, then the
Expand Down Expand Up @@ -48926,8 +48927,8 @@ interface <dfn id=window>Window</dfn> {
<code>Document</code> object in a <a href=#browsing-context>browsing
context</a>. Some of the user interface elements represented by
these objects might have no equivalent in some user agents; for
those user agents, unless otherwise specified, the object must act
as if it was present and visible (i.e. its <code title=dom-BarProp-visible><a href=#dom-barprop-visible>visible</a></code> attribute must return
those user agents, except when otherwise specified, the object must
act as if it was present and visible (i.e. its <code title=dom-BarProp-visible><a href=#dom-barprop-visible>visible</a></code> attribute must return
true).</p>

<dl><dt><dfn id=the-location-bar-barprop-object>The location bar <code>BarProp</code> object</dfn></dt>
Expand Down Expand Up @@ -49182,9 +49183,8 @@ interface <dfn id=window>Window</dfn> {
<dt>If a <code>Document</code> or image was returned by the
<code>XMLHttpRequest</code> API</dt>

<dd>The <a href=#origin>origin</a> and <a href=#effective-script-origin>effective script
origin</a> are equal to the <span>XMLHttpRequest origin</span>
of the <code>XMLHttpRequest</code> object. <a href=#refsXHR>[XHR]</a></dd>
<dd>The <a href=#origin>origin</a> is equal to the <span>XMLHttpRequest
origin</span> of the <code>XMLHttpRequest</code> object. <a href=#refsXHR>[XHR]</a></dd>


<dt>If a <code>Document</code> or image was generated from a
Expand Down Expand Up @@ -49239,10 +49239,9 @@ interface <dfn id=window>Window</dfn> {
<dd>The <a href=#origin>origin</a> is a globally unique identifier
assigned when the <code>Document</code> or image is created.</dd>

</dl><p>When a <code>Document</code> is created, unless stated
otherwise above, its <a href=#effective-script-origin>effective script origin</a> is
initialized to the <a href=#origin>origin</a> of the
<code>Document</code>. However, the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute can
</dl><p>When a <code>Document</code> is created, its <a href=#effective-script-origin>effective
script origin</a> is initialized to the <a href=#origin>origin</a> of
the <code>Document</code>. However, the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute can
be used to change it.</p>

</dd>
Expand Down Expand Up @@ -50157,9 +50156,9 @@ interface <dfn id=window>Window</dfn> {
which they are specified.</p>

<p>An <a href=#event-handler-attributes-0 title="event handler attributes">event handler
attribute</a>, unless otherwise specified, can either have the
value null or be set to a <code><a href=#function>Function</a></code> object. <span class=impl>Initially, an event handler attribute must be set to
null.</span></p>
attribute</a> can either have the value null or be set to a
<code><a href=#function>Function</a></code> object. <span class=impl>Initially, event
handler attributes must be set to null.</span></p>

<p>Event handler attributes are exposed in one or two ways.</p>

Expand Down Expand Up @@ -50473,21 +50472,22 @@ interface <dfn id=function>Function</dfn> {
the time the event is created.</p>

<p><dfn id=fire-a-simple-event title="fire a simple event">Firing a simple event called
<var title="">e</var></dfn> means that an event with the name <var title="">e</var>, with no namespace, which does not bubble (unless
otherwise stated) and is not cancelable (unless otherwise stated),
and which uses the <code>Event</code> interface, must be dispatched
at the given target.</p>
<var title="">e</var></dfn> means that an event with the name <var title="">e</var>, with no namespace, which does not bubble (except
where otherwise stated) and is not cancelable (except where
otherwise stated), and which uses the <code>Event</code> interface,
must be dispatched at the given target.</p>

<p><dfn id=fire-a-progress-event title="fire a progress event">Firing a progress event called
<var title="">e</var></dfn>, optionally in the context of a
particular instance of the <a href=#fetch title=fetch>fetching
algorithm</a>, means that an event with the name <var title="">e</var>, with no namespace, which does not bubble (unless
otherwise stated) and is not cancelable (unless otherwise stated),
and which uses the <code>ProgressEvent</code> interface, must be
dispatched at the given target element. If there is a <a href=#fetch title=fetch>fetching algorithm</a>, and the <a href=#url>URL</a>
being <a href=#fetch title=fetch>fetched</a> has the <a href=#same-origin>same
origin</a> as the <code>Document</code> of the target element,
then the <code title=dom-ProgressEvents-lengthComputable>lengthComputable</code>
algorithm</a>, means that an event with the name <var title="">e</var>, with no namespace, which does not bubble (except
where otherwise stated) and is not cancelable (except where
otherwise stated), and which uses the <code>ProgressEvent</code>
interface, must be dispatched at the given target element. If there
is a <a href=#fetch title=fetch>fetching algorithm</a>, and the
<a href=#url>URL</a> being <a href=#fetch title=fetch>fetched</a> has the
<a href=#same-origin>same origin</a> as the <code>Document</code> of the target
element, then the <code title=dom-ProgressEvents-lengthComputable>lengthComputable</code>
attribute must be set to true if the <a href=#fetch title=fetch>fetching
algorithm</a>'s subject has a known <a href=#concept-fetch-total title=concept-fetch-total>size</a>; the <code title=dom-ProgressEvents-total>total</code> attribute must be set
to the subject's <a href=#concept-fetch-total title=concept-fetch-total>size</a> if it
Expand All @@ -50498,7 +50498,7 @@ interface <dfn id=function>Function</dfn> {
attribute must be set to false, and the <code title=dom-ProgressEvents-total>total</code> and the <code title=dom-ProgressEvents-loaded>loaded</code> attributes must be
set to zero. <a href=#refsPROGRESS>[PROGRESS]</a></p>

<p>The default action of these event is to do nothing unless
<p>The default action of these event is to do nothing where where
otherwise stated.</p>

</div>
Expand Down Expand Up @@ -55505,8 +55505,8 @@ NETWORK:

</div>

<p>Unless otherwise specified, a keyword must not be specified more
than once per <code title=attr-rel-hyperlink>rel</code>
<p>Except where otherwise specified, a keyword must not be specified
more than once per <code title=attr-rel-hyperlink>rel</code>
attribute.</p>

<p>The link types are <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
Expand Down Expand Up @@ -59922,7 +59922,7 @@ NETWORK:

<p>There are three variants to this method, with one, two, and three
arguments respectively. The <var title="">showUI</var> and <var title="">value</var> parameters, even if specified, are ignored
unless otherwise stated.</p>
except where otherwise stated.</p>

<p>When <code title=dom-document-execCommand><a href=#execCommand>execCommand()</a></code>
is invoked, the user agent must follow the following steps:</p>
Expand Down Expand Up @@ -60410,13 +60410,13 @@ v2 (well, really v0):
<a href=#channel-messaging>channel messaging</a> the <code><a href=#messageportarray>MessagePortArray</a></code>
being sent, if any.</p>

<p>Unless otherwise specified, when the user agent creates and
<p>Except where otherwise specified, when the user agent creates and
dispatches a <code title=event-message><a href=#event-message>message</a></code> event in the
algorithms described in the following sections, the <code title=dom-MessageEvent-lastEventId><a href=#dom-messageevent-lasteventid>lastEventId</a></code> attribute
must be the empty string, the <code title=dom-MessageEvent-origin><a href=#dom-messageevent-origin>origin</a></code> attribute must be the
empty string, the <code title=dom-MessageEvent-source><a href=#dom-messageevent-source>source</a></code> attribute must be
null, and the <code title=dom-MessageEvent-ports><a href=#dom-messageevent-ports>ports</a></code> attribute
must be null.</p>
null, and the <code title=dom-MessageEvent-ports><a href=#dom-messageevent-ports>ports</a></code>
attribute must be null.</p>

</div>

Expand Down Expand Up @@ -71381,9 +71381,9 @@ document.body.appendChild(text);

<h4 id=introduction-7><span class=secno>11.2.1 </span>Introduction</h4>

<p>The CSS rules given in these subsections are, unless otherwise
specified, expected to be used as part of the user-agent level style
sheet defaults for all documents that contain <a href=#html-elements>HTML
<p>The CSS rules given in these subsections are, except where
otherwise specified, expected to be used as part of the user-agent
level style sheet defaults for all documents that contain <a href=#html-elements>HTML
elements</a>.</p>

<p>Some rules are intended for the author-level zero-specificity
Expand Down

0 comments on commit 432bf14

Please sign in to comment.