[html5] r3025 - [] (0) Define the task sources used for WebStorage; define that 'storage' events [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Apr 29 01:02:40 PDT 2009


Author: ianh
Date: 2009-04-29 01:02:39 -0700 (Wed, 29 Apr 2009)
New Revision: 3025

Modified:
   index
   source
Log:
[] (0) Define the task sources used for WebStorage; define that 'storage' events are queued not synchronous. (Also: Add some v4 notes for <canvas>.)

Modified: index
===================================================================
--- index	2009-04-29 06:20:58 UTC (rev 3024)
+++ index	2009-04-29 08:02:39 UTC (rev 3025)
@@ -22905,6 +22905,24 @@
 
   </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>
@@ -23859,6 +23877,12 @@
   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

Modified: source
===================================================================
--- source	2009-04-29 06:20:58 UTC (rev 3024)
+++ source	2009-04-29 08:02:39 UTC (rev 3025)
@@ -25022,6 +25022,24 @@
 
   <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
@@ -26177,6 +26195,12 @@
   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
@@ -53011,13 +53035,17 @@
   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
   title="dom-Storage-removeItem">removeItem()</code> methods, the
@@ -53616,7 +53644,11 @@
 
   </ol>
 
+  <p>The <span>task source</span> for these tasks is the <dfn>database
+  access task source</dfn>.</p>
 
+
+
   <h5>Synchronous database API</h5>
 
   <pre class="idl">interface <dfn>DatabaseSync</dfn> {




More information about the Commit-Watchers mailing list