Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) Define the task sources used for WebStorage; define that 'stor…
…age' events are queued not synchronous. (Also: Add some v4 notes for <canvas>.)

git-svn-id: http://svn.whatwg.org/webapps@3025 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 29, 2009
1 parent e0d863e commit 0282986
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 6 deletions.
24 changes: 24 additions & 0 deletions index
Expand Up @@ -22905,6 +22905,24 @@ idea from Mihai:

</dl><div class=impl>

<!-- v4 feature requests:

* Getting and setting colours by component to bypass the CSS value parsing.

Either:
context.fillStyle.red += 1;

Or:
var array = context.fillStyle;
array[1] += 1;
context.fillStyle = array;

* fill rule for deciding between winding and even-odd algorithms.
SVG has fill-rule: nonzero | evenodd
http://www.w3.org/TR/SVG/painting.html#FillProperties

-->

<p>The <dfn id=dom-context-2d-strokestyle title=dom-context-2d-strokeStyle><code>strokeStyle</code></dfn>
attribute represents the color or style to use for the lines around
shapes, and the <dfn id=dom-context-2d-fillstyle title=dom-context-2d-fillStyle><code>fillStyle</code></dfn>
Expand Down Expand Up @@ -23859,6 +23877,12 @@ notes on what would need to be defined for dashed lines:
a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>


<!-- v4 feature request:
* points as a primitive shape
http://home.comcast.net/~urbanjost/canvas/vogle4.html
-->


<p>The <dfn id=dom-context-2d-fill title=dom-context-2d-fill><code>fill()</code></dfn>
method must fill all the subpaths of the current path, using
<code title=dom-context-2d-fillStyle><a href=#dom-context-2d-fillstyle>fillStyle</a></code>, and using
Expand Down
44 changes: 38 additions & 6 deletions source
Expand Up @@ -25022,6 +25022,24 @@ idea from Mihai:

<div class="impl">

<!-- v4 feature requests:

* Getting and setting colours by component to bypass the CSS value parsing.

Either:
context.fillStyle.red += 1;

Or:
var array = context.fillStyle;
array[1] += 1;
context.fillStyle = array;

* fill rule for deciding between winding and even-odd algorithms.
SVG has fill-rule: nonzero | evenodd
http://www.w3.org/TR/SVG/painting.html#FillProperties

-->

<p>The <dfn
title="dom-context-2d-strokeStyle"><code>strokeStyle</code></dfn>
attribute represents the color or style to use for the lines around
Expand Down Expand Up @@ -26177,6 +26195,12 @@ notes on what would need to be defined for dashed lines:
title="">y</var>) as the only point in the subpath.</p>


<!-- v4 feature request:
* points as a primitive shape
http://home.comcast.net/~urbanjost/canvas/vogle4.html
-->


<p>The <dfn title="dom-context-2d-fill"><code>fill()</code></dfn>
method must fill all the subpaths of the current path, using
<code title="dom-context-2d-fillStyle">fillStyle</code>, and using
Expand Down Expand Up @@ -53011,12 +53035,16 @@ user reload must be equivalent to .reload()
storage</a>, <a href="#localStorageEvent">for local
storage</a>).</p>

<p>When this happens, the user agent must dispatch an event with the
name <code>storage</code>, with no namespace, which does not bubble
and is not cancelable, and which uses the <code>StorageEvent</code>
interface, at each <code>Window</code> object whose
<code>Document</code> object both has a <code>Storage</code> object
that is affected, and is <span>fully active</span>.</p>
<p>When this happens, the user agent must <span>queue a task</span>
to fire an event with the name <code>storage</code>, with no
namespace, which does not bubble and is not cancelable, and which
uses the <code>StorageEvent</code> interface, at each
<code>Window</code> object whose <code>Document</code> object both
has a <code>Storage</code> object that is affected, and is
<span>fully active</span>.</p>

<p>The <span>task source</span> for this task is the <span>DOM
manipulation task source</span>.</p>

<p>If the event is being fired due to an invocation of the
<code title="dom-Storage-setItem">setItem()</code> or <code
Expand Down Expand Up @@ -53616,6 +53644,10 @@ interface <dfn>SQLStatementErrorCallback</dfn> {

</ol>

<p>The <span>task source</span> for these tasks is the <dfn>database
access task source</dfn>.</p>



<h5>Synchronous database API</h5>

Expand Down

0 comments on commit 0282986

Please sign in to comment.