Skip to content

Commit

Permalink
[giow] (2) Change how canvas blur is calculated to be less quirky. Pl…
Browse files Browse the repository at this point in the history
…ease update your browsers accordingly. This affects all implementations.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10647

git-svn-id: http://svn.whatwg.org/webapps@5538 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 28, 2010
1 parent d56b5d6 commit 03ee473
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
7 changes: 2 additions & 5 deletions complete.html
Expand Up @@ -31671,11 +31671,8 @@ <h6 id=shadows><span class=secno>4.8.11.1.6 </span><dfn>Shadows</dfn></h6>
<li> <p>If <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code> is greater than
0:</p>

<ol><li> <p>If <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code> is less than
8, let <var title="">&sigma;</var> be half the value of <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code>; otherwise,
let <var title="">&sigma;</var> be the square root of multiplying
the value of <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code> by
2.</li>
<ol><li> <p>Let <var title="">&sigma;</var> be half the value of
<code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code>.</li>

<li> <p>Perform a 2D Gaussian Blur on <var title="">B</var>,
using <var title="">&sigma;</var> as the standard deviation.</p>
Expand Down
7 changes: 2 additions & 5 deletions index
Expand Up @@ -31651,11 +31651,8 @@ hairline width with transform. ack Shaun Morris.
<li> <p>If <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code> is greater than
0:</p>

<ol><li> <p>If <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code> is less than
8, let <var title="">&sigma;</var> be half the value of <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code>; otherwise,
let <var title="">&sigma;</var> be the square root of multiplying
the value of <code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code> by
2.</li>
<ol><li> <p>Let <var title="">&sigma;</var> be half the value of
<code title=dom-context-2d-shadowBlur><a href=#dom-context-2d-shadowblur>shadowBlur</a></code>.</li>

<li> <p>Perform a 2D Gaussian Blur on <var title="">B</var>,
using <var title="">&sigma;</var> as the standard deviation.</p>
Expand Down
11 changes: 3 additions & 8 deletions source
Expand Up @@ -34837,14 +34837,9 @@ hairline width with transform. ack Shaun Morris.

<ol>

<li> <p>If <code
title="dom-context-2d-shadowBlur">shadowBlur</code> is less than
8, let <var title="">&sigma;</var> be half the value of <code
title="dom-context-2d-shadowBlur">shadowBlur</code>; otherwise,
let <var title="">&sigma;</var> be the square root of multiplying
the value of <code
title="dom-context-2d-shadowBlur">shadowBlur</code> by
2.</p></li>
<li> <p>Let <var title="">&sigma;</var> be half the value of
<code
title="dom-context-2d-shadowBlur">shadowBlur</code>.</p></li>

<li> <p>Perform a 2D Gaussian Blur on <var title="">B</var>,
using <var title="">&sigma;</var> as the standard deviation.</p>
Expand Down

0 comments on commit 03ee473

Please sign in to comment.