HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3025

SVNBugCommentTime (UTC)
3025Define the task sources used for WebStorage; define that 'storage' events are queued not synchronous. (Also: Add some v4 notes for <canvas>.)2009-04-29 08:02
Index: source
===================================================================
--- source	(revision 3024)
+++ source	(revision 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> {

|