- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 10 Jul 2008 18:52:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv31610 Modified Files: Overview.html Log Message: oops, defined CanvasPattern twice. (whatwg r1859) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1047 retrieving revision 1.1048 diff -u -d -r1.1047 -r1.1048 --- Overview.html 10 Jul 2008 17:37:09 -0000 1.1047 +++ Overview.html 10 Jul 2008 18:52:22 -0000 1.1048 @@ -19943,8 +19943,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) @@ -20371,24 +20371,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="#references">[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 @@ -20569,8 +20569,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 @@ -20589,7 +20589,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 @@ -22244,7 +22244,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 @@ -22254,14 +22254,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" @@ -22272,7 +22272,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.
Received on Thursday, 10 July 2008 18:53:00 UTC