[html5] r1193 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Jan 31 22:46:43 PST 2008


Author: ianh
Date: 2008-01-31 22:46:39 -0800 (Thu, 31 Jan 2008)
New Revision: 1193

Modified:
   index
   source
Log:
[e] (0) move the colour spaces section above the security section -- oops

Modified: index
===================================================================
--- index	2008-02-01 06:41:50 UTC (rev 1192)
+++ index	2008-02-01 06:46:39 UTC (rev 1193)
@@ -718,11 +718,11 @@
             </span>Drawing model</a>
           </ul>
 
-         <li><a href="#security1"><span class=secno>3.14.11.2.
+         <li><a href="#color"><span class=secno>3.14.11.2. </span>Color
+          spaces and color correction</a>
+
+         <li><a href="#security1"><span class=secno>3.14.11.3.
           </span>Security with <code>canvas</code> elements</a>
-
-         <li><a href="#color"><span class=secno>3.14.11.3. </span>Color
-          spaces and color correction</a>
         </ul>
 
        <li><a href="#the-map"><span class=secno>3.14.12. </span>The
@@ -17782,7 +17782,32 @@
   <p class="big-issue">Well, one day.</p>
 -->
 
-  <h5 id=security1><span class=secno>3.14.11.2. </span>Security with <code><a
+  <h5 id=color><span class=secno>3.14.11.2. </span>Color spaces and color
+   correction</h5>
+
+  <p>The <code><a href="#canvas">canvas</a></code> APIs must perform colour
+   correction at only two points: when rendering images with their own gamma
+   correction information onto the canvas, to convert the image to the color
+   space used by the canvas (e.g. using the <code
+   title=dom-context-2d-drawImage><a href="#drawimage">drawImage()</a></code>
+   method with an <code><a
+   href="#htmlimageelement">HTMLImageElement</a></code> object), and when
+   rendering the actual canvas bitmap to the output device.
+
+  <p>Thus, in the 2D context, colors used to draw shapes onto the canvas will
+   exactly match colors obtained through the <code
+   title=dom-context-2d-getImageData><a
+   href="#getimagedata">getImageData()</a></code> method.
+
+  <p>The <code title=dom-canvas-toDataURL><a
+   href="#todataurl">toDataURL()</a></code> method must not include color
+   space information in the resource returned.
+
+  <p>In user agents that support CSS, the color space used by a <code><a
+   href="#canvas">canvas</a></code> element must match the color space used
+   for processing any colors for that element in CSS.
+
+  <h5 id=security1><span class=secno>3.14.11.3. </span>Security with <code><a
    href="#canvas">canvas</a></code> elements</h5>
 
   <p><strong>Information leakage</strong> can occur if scripts from one
@@ -17838,31 +17863,6 @@
    <i>origin-clean</i> flag is set to false is called, the method must
    immediately raise a security exception.
 
-  <h5 id=color><span class=secno>3.14.11.3. </span>Color spaces and color
-   correction</h5>
-
-  <p>The <code><a href="#canvas">canvas</a></code> APIs must perform colour
-   correction at only two points: when rendering images with their own gamma
-   correction information onto the canvas, to convert the image to the color
-   space used by the canvas (e.g. using the <code
-   title=dom-context-2d-drawImage><a href="#drawimage">drawImage()</a></code>
-   method with an <code><a
-   href="#htmlimageelement">HTMLImageElement</a></code> object), and when
-   rendering the actual canvas bitmap to the output device.
-
-  <p>Thus, in the 2D context, colors used to draw shapes onto the canvas will
-   exactly match colors obtained through the <code
-   title=dom-context-2d-getImageData><a
-   href="#getimagedata">getImageData()</a></code> method.
-
-  <p>The <code title=dom-canvas-toDataURL><a
-   href="#todataurl">toDataURL()</a></code> method must not include color
-   space information in the resource returned.
-
-  <p>In user agents that support CSS, the color space used by a <code><a
-   href="#canvas">canvas</a></code> element must match the color space used
-   for processing any colors for that element in CSS.
-
   <h4 id=the-map><span class=secno>3.14.12. </span>The <dfn
    id=map><code>map</code></dfn> element</h4>
 

Modified: source
===================================================================
--- source	2008-02-01 06:41:50 UTC (rev 1192)
+++ source	2008-02-01 06:46:39 UTC (rev 1193)
@@ -15384,6 +15384,34 @@
 -->
 
 
+
+
+  <h5>Color spaces and color correction</h5>
+
+  <p>The <code>canvas</code> APIs must perform colour correction at
+  only two points: when rendering images with their own gamma
+  correction information onto the canvas, to convert the image to the
+  color space used by the canvas (e.g. using the <code
+  title="dom-context-2d-drawImage">drawImage()</code> method with an
+  <code>HTMLImageElement</code> object), and when rendering the actual
+  canvas bitmap to the output device.</p>
+
+  <p>Thus, in the 2D context, colors used to draw shapes onto the
+  canvas will exactly match colors obtained through the <code
+  title="dom-context-2d-getImageData">getImageData()</code>
+  method.</p>
+
+  <p>The <code title="dom-canvas-toDataURL">toDataURL()</code> method
+  must not include color space information in the resource
+  returned.</p>
+
+  <p>In user agents that support CSS, the color space used by a
+  <code>canvas</code> element must match the color space used for
+  processing any colors for that element in CSS.</p>
+
+
+
+
   <h5>Security with <code>canvas</code> elements</h5>
 
   <p><strong>Information leakage</strong> can occur if scripts from
@@ -15437,31 +15465,6 @@
 
 
 
-  <h5>Color spaces and color correction</h5>
-
-  <p>The <code>canvas</code> APIs must perform colour correction at
-  only two points: when rendering images with their own gamma
-  correction information onto the canvas, to convert the image to the
-  color space used by the canvas (e.g. using the <code
-  title="dom-context-2d-drawImage">drawImage()</code> method with an
-  <code>HTMLImageElement</code> object), and when rendering the actual
-  canvas bitmap to the output device.</p>
-
-  <p>Thus, in the 2D context, colors used to draw shapes onto the
-  canvas will exactly match colors obtained through the <code
-  title="dom-context-2d-getImageData">getImageData()</code>
-  method.</p>
-
-  <p>The <code title="dom-canvas-toDataURL">toDataURL()</code> method
-  must not include color space information in the resource
-  returned.</p>
-
-  <p>In user agents that support CSS, the color space used by a
-  <code>canvas</code> element must match the color space used for
-  processing any colors for that element in CSS.</p>
-
-
-
   <h4>The <dfn><code>map</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list