[html5] r1859 - [e] (0) oops, defined CanvasPattern twice.

whatwg at whatwg.org whatwg at whatwg.org
Thu Jul 10 11:52:18 PDT 2008


Author: ianh
Date: 2008-07-10 11:52:18 -0700 (Thu, 10 Jul 2008)
New Revision: 1859

Modified:
   index
   source
Log:
[e] (0) oops, defined CanvasPattern twice.

Modified: index
===================================================================
--- index	2008-07-10 17:37:04 UTC (rev 1858)
+++ index	2008-07-10 18:52:18 UTC (rev 1859)
@@ -19881,8 +19881,8 @@
            attribute DOMObject <a href="#fillstyle" title=dom-context-2d-fillStyle>fillStyle</a>; // (default black)
   <a href="#canvasgradient">CanvasGradient</a> <a href="#createlineargradient" title=dom-context-2d-createLinearGradient>createLinearGradient</a>(in float x0, in float y0, in float x1, in float y1);
   <a href="#canvasgradient">CanvasGradient</a> <a href="#createradialgradient" title=dom-context-2d-createRadialGradient>createRadialGradient</a>(in float x0, in float y0, in float r0, in float x1, in float y1, in float r1);
-  <a href="#canvaspattern0">CanvasPattern</a> <a href="#createpattern" title=dom-context-2d-createPattern>createPattern</a>(in <a href="#htmlimageelement">HTMLImageElement</a> image, in DOMString repetition);
-  <a href="#canvaspattern0">CanvasPattern</a> <a href="#createpattern" title=dom-context-2d-createPattern>createPattern</a>(in <a href="#htmlcanvaselement">HTMLCanvasElement</a> image, in DOMString repetition);
+  <a href="#canvaspattern">CanvasPattern</a> <a href="#createpattern" title=dom-context-2d-createPattern>createPattern</a>(in <a href="#htmlimageelement">HTMLImageElement</a> image, in DOMString repetition);
+  <a href="#canvaspattern">CanvasPattern</a> <a href="#createpattern" title=dom-context-2d-createPattern>createPattern</a>(in <a href="#htmlcanvaselement">HTMLCanvasElement</a> image, in DOMString repetition);
 
   // line caps/joins
            attribute float <a href="#linewidth" title=dom-context-2d-lineWidth>lineWidth</a>; // (default 1)
@@ -20309,24 +20309,24 @@
 
   <p>Both attributes can be either strings, <code><a
    href="#canvasgradient">CanvasGradient</a></code>s, or <code><a
-   href="#canvaspattern0">CanvasPattern</a></code>s. On setting, strings must
+   href="#canvaspattern">CanvasPattern</a></code>s. On setting, strings must
    be parsed as CSS <color> values and the color assigned, and <code><a
    href="#canvasgradient">CanvasGradient</a></code> and <code><a
-   href="#canvaspattern0">CanvasPattern</a></code> objects must be assigned
+   href="#canvaspattern">CanvasPattern</a></code> objects must be assigned
    themselves. <a href="#refsCSS3COLOR">[CSS3COLOR]</a> If the value is a
    string but is not a valid color, or is neither a string, a <code><a
    href="#canvasgradient">CanvasGradient</a></code>, nor a <code><a
-   href="#canvaspattern0">CanvasPattern</a></code>, then it must be ignored,
+   href="#canvaspattern">CanvasPattern</a></code>, then it must be ignored,
    and the attribute must retain its previous value.
 
   <p>On getting, if the value is a color, then the <a href="#serialization"
    title="serialization of a color">serialization of the color</a> must be
    returned. Otherwise, if it is not a color but a <code><a
    href="#canvasgradient">CanvasGradient</a></code> or <code><a
-   href="#canvaspattern0">CanvasPattern</a></code>, then the respective
-   object must be returned. (Such objects are opaque and therefore only
-   useful for assigning to other attributes or for comparison to other
-   gradients or patterns.)
+   href="#canvaspattern">CanvasPattern</a></code>, then the respective object
+   must be returned. (Such objects are opaque and therefore only useful for
+   assigning to other attributes or for comparison to other gradients or
+   patterns.)
 
   <p>The <dfn id=serialization>serialization of a color</dfn> for a color
    value is a string, computed as follows: if it has alpha equal to 1.0, then
@@ -20507,8 +20507,8 @@
   must always return objects when passed valid arguments.</p>
 -->
 
-  <p>Patterns are represented by objects implementing the opaque <dfn
-   id=canvaspattern0><code>CanvasPattern</code></dfn> interface.
+  <p>Patterns are represented by objects implementing the opaque <code><a
+   href="#canvaspattern">CanvasPattern</a></code> interface.
 
   <p>To create objects of this type, the <dfn id=createpattern
    title=dom-context-2d-createPattern><code>createPattern(<var
@@ -20527,7 +20527,7 @@
    then the user agent must raise a <code>SYNTAX_ERR</code> exception. User
    agents must recognize the four values described above exactly (e.g. they
    must not do case folding). The method must return a <code><a
-   href="#canvaspattern0">CanvasPattern</a></code> object suitably
+   href="#canvaspattern">CanvasPattern</a></code> object suitably
    initialized.
 
   <p>The <var title="">image</var> argument must be an instance of an
@@ -22182,7 +22182,7 @@
    <li>
     <p>The element's 2D context's <code title=dom-context-2d-fillStyle><a
      href="#fillstyle">fillStyle</a></code> attribute is set to a <code><a
-     href="#canvaspattern0">CanvasPattern</a></code> object that was created
+     href="#canvaspattern">CanvasPattern</a></code> object that was created
      from an <code><a href="#htmlimageelement">HTMLImageElement</a></code>
      whose <a href="#origin0">origin</a> was not the <a href="#same-origin"
      title="same origin">same</a> as that of the <code>Document</code> object
@@ -22192,14 +22192,14 @@
    <li>
     <p>The element's 2D context's <code title=dom-context-2d-fillStyle><a
      href="#fillstyle">fillStyle</a></code> attribute is set to a <code><a
-     href="#canvaspattern0">CanvasPattern</a></code> object that was created
+     href="#canvaspattern">CanvasPattern</a></code> object that was created
      from an <code><a href="#htmlcanvaselement">HTMLCanvasElement</a></code>
      whose <i>origin-clean</i> flag was false when the pattern was created.
 
    <li>
     <p>The element's 2D context's <code title=dom-context-2d-strokeStyle><a
      href="#strokestyle">strokeStyle</a></code> attribute is set to a
-     <code><a href="#canvaspattern0">CanvasPattern</a></code> object that was
+     <code><a href="#canvaspattern">CanvasPattern</a></code> object that was
      created from an <code><a
      href="#htmlimageelement">HTMLImageElement</a></code> whose <a
      href="#origin0">origin</a> was not the <a href="#same-origin"
@@ -22210,7 +22210,7 @@
    <li>
     <p>The element's 2D context's <code title=dom-context-2d-strokeStyle><a
      href="#strokestyle">strokeStyle</a></code> attribute is set to a
-     <code><a href="#canvaspattern0">CanvasPattern</a></code> object that was
+     <code><a href="#canvaspattern">CanvasPattern</a></code> object that was
      created from an <code><a
      href="#htmlcanvaselement">HTMLCanvasElement</a></code> whose
      <i>origin-clean</i> flag was false when the pattern was created.

Modified: source
===================================================================
--- source	2008-07-10 17:37:04 UTC (rev 1858)
+++ source	2008-07-10 18:52:18 UTC (rev 1859)
@@ -17984,7 +17984,7 @@
 
 
   <p>Patterns are represented by objects implementing the opaque
-  <dfn><code>CanvasPattern</code></dfn> interface.</p>
+  <code>CanvasPattern</code> interface.</p>
 
   <p>To create objects of this type, the <dfn
   title="dom-context-2d-createPattern"><code>createPattern(<var




More information about the Commit-Watchers mailing list