Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ow] (1) Change how canvas serialises alpha<1 colours to match CSS.
git-svn-id: http://svn.whatwg.org/webapps@5875 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 11, 2011
1 parent 1fe8435 commit 0973bde
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
11 changes: 7 additions & 4 deletions complete.html
Expand Up @@ -32561,10 +32561,13 @@ <h6 id=colors-and-styles><span class=secno>4.8.11.1.4 </span>Colors and styles</
to U+0039, in the shortest form possible), a literal U+002C COMMA
and U+0020 SPACE, an integer for the green component, a comma and a
space, an integer for the blue component, another comma and space, a
U+0030 DIGIT ZERO, a U+002E FULL STOP (representing the decimal
point), one or more digits in the range 0-9 (U+0030 to U+0039)
representing the fractional part of the alpha value, and finally a
U+0029 RIGHT PARENTHESIS.</p>
U+0030 DIGIT ZERO, if the alpha value is greater than zero then a
U+002E FULL STOP (representing the decimal point), if the alpha
value is greater than zero then one or more digits in the range 0-9
(U+0030 to U+0039) representing the fractional part of the alpha
value, and finally a U+0029 RIGHT PARENTHESIS.</p> <!-- if people
complain this is unreadable, expand it into a <dl> with two nested
<ol>s -->

<p>When the context is created, the <code title=dom-context-2d-strokeStyle><a href=#dom-context-2d-strokestyle>strokeStyle</a></code> and <code title=dom-context-2d-fillStyle><a href=#dom-context-2d-fillstyle>fillStyle</a></code> attributes must
initially have the string value <code title="">#000000</code>.</p>
Expand Down
11 changes: 7 additions & 4 deletions index
Expand Up @@ -32544,10 +32544,13 @@ idea from Mihai:
to U+0039, in the shortest form possible), a literal U+002C COMMA
and U+0020 SPACE, an integer for the green component, a comma and a
space, an integer for the blue component, another comma and space, a
U+0030 DIGIT ZERO, a U+002E FULL STOP (representing the decimal
point), one or more digits in the range 0-9 (U+0030 to U+0039)
representing the fractional part of the alpha value, and finally a
U+0029 RIGHT PARENTHESIS.</p>
U+0030 DIGIT ZERO, if the alpha value is greater than zero then a
U+002E FULL STOP (representing the decimal point), if the alpha
value is greater than zero then one or more digits in the range 0-9
(U+0030 to U+0039) representing the fractional part of the alpha
value, and finally a U+0029 RIGHT PARENTHESIS.</p> <!-- if people
complain this is unreadable, expand it into a <dl> with two nested
<ol>s -->

<p>When the context is created, the <code title=dom-context-2d-strokeStyle><a href=#dom-context-2d-strokestyle>strokeStyle</a></code> and <code title=dom-context-2d-fillStyle><a href=#dom-context-2d-fillstyle>fillStyle</a></code> attributes must
initially have the string value <code title="">#000000</code>.</p>
Expand Down
13 changes: 8 additions & 5 deletions source
Expand Up @@ -35761,10 +35761,13 @@ idea from Mihai:
to U+0039, in the shortest form possible), a literal U+002C COMMA
and U+0020 SPACE, an integer for the green component, a comma and a
space, an integer for the blue component, another comma and space, a
U+0030 DIGIT ZERO, a U+002E FULL STOP (representing the decimal
point), one or more digits in the range 0-9 (U+0030 to U+0039)
representing the fractional part of the alpha value, and finally a
U+0029 RIGHT PARENTHESIS.</p>
U+0030 DIGIT ZERO, if the alpha value is greater than zero then a
U+002E FULL STOP (representing the decimal point), if the alpha
value is greater than zero then one or more digits in the range 0-9
(U+0030 to U+0039) representing the fractional part of the alpha
value, and finally a U+0029 RIGHT PARENTHESIS.</p> <!-- if people
complain this is unreadable, expand it into a <dl> with two nested
<ol>s -->

<p>When the context is created, the <code
title="dom-context-2d-strokeStyle">strokeStyle</code> and <code
Expand Down Expand Up @@ -67425,7 +67428,7 @@ x === this; // true</pre>
<p>The <span>origin</span> of a downloadable Web font is equal to
the <span>origin</span> of the <span>absolute URL</span> used to
obtain the font (after any redirects). <a
href="#refsCSSFONTS">[CSSFONTS]</p>
href="#refsCSSFONTS">[CSSFONTS]</a></p>

<p>The <span>origin</span> of a locally installed system font is
equal to the <span>origin</span> of the <code>Document</code> in
Expand Down

0 comments on commit 0973bde

Please sign in to comment.