Skip to content

Commit

Permalink
[e] (0) Elaborate that .globalAlpha ignores Infinity and NaN values.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3375 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 8, 2009
1 parent 81da9b0 commit 3ba8502
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions index
Expand Up @@ -22936,8 +22936,9 @@ idea from Mihai:
before they are composited onto the canvas. The value must be in the
range from 0.0 (fully transparent) to 1.0 (no additional
transparency). If an attempt is made to set the attribute to a value
outside this range, the attribute must retain its previous
value. When the context is created, the <code title=dom-context-2d-globalAlpha><a href=#dom-context-2d-globalalpha>globalAlpha</a></code> attribute must
outside this range (including Infinity and NaN values), the
attribute must retain its previous value. When the context is
created, the <code title=dom-context-2d-globalAlpha><a href=#dom-context-2d-globalalpha>globalAlpha</a></code> attribute must
initially have the value 1.0.</p>

<p>The <dfn id=dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation><code>globalCompositeOperation</code></dfn>
Expand Down
5 changes: 3 additions & 2 deletions source
Expand Up @@ -24938,8 +24938,9 @@ idea from Mihai:
before they are composited onto the canvas. The value must be in the
range from 0.0 (fully transparent) to 1.0 (no additional
transparency). If an attempt is made to set the attribute to a value
outside this range, the attribute must retain its previous
value. When the context is created, the <code
outside this range (including Infinity and NaN values), the
attribute must retain its previous value. When the context is
created, the <code
title="dom-context-2d-globalAlpha">globalAlpha</code> attribute must
initially have the value 1.0.</p>

Expand Down

0 comments on commit 3ba8502

Please sign in to comment.