W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2011

html5/spec Overview.html,1.5436,1.5437

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 30 Oct 2011 18:16:14 +0000
To: public-html-commits@w3.org
Message-Id: <E1RKZva-0007vY-V3@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30456

Modified Files:
	Overview.html 
Log Message:
Go back to ignoring document.domain changes for the purposes of canvas tainting. (whatwg r6789)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5436
retrieving revision 1.5437
diff -u -d -r1.5436 -r1.5437
--- Overview.html	30 Oct 2011 17:49:47 -0000	1.5436
+++ Overview.html	30 Oct 2011 18:16:10 -0000	1.5437
@@ -28151,9 +28151,9 @@
   <ul><li><p>The element's 2D context's <code title="dom-context-2d-drawImage">drawImage()</code> method is
    called with an <code><a href="#htmlimageelement">HTMLImageElement</a></code> or an
    <code><a href="#htmlvideoelement">HTMLVideoElement</a></code> whose <a href="#origin">origin</a> is not the
-   <a href="#same-origin" title="same origin">same</a> as the <span>effective
-   origin</span> of the <code><a href="#document">Document</a></code> object that owns the
-   <code><a href="#the-canvas-element">canvas</a></code> element.</li>
+   <a href="#same-origin" title="same origin">same</a> as that of the
+   <code><a href="#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
+   element.</li>
 
    <li><p>The element's 2D context's <code title="dom-context-2d-drawImage">drawImage()</code> method is
    called with an <code><a href="#htmlcanvaselement">HTMLCanvasElement</a></code> whose
@@ -28163,9 +28163,9 @@
    to a <code>CanvasPattern</code> object that was created from an
    <code><a href="#htmlimageelement">HTMLImageElement</a></code> or an <code><a href="#htmlvideoelement">HTMLVideoElement</a></code>
    whose <a href="#origin">origin</a> was not the <a href="#same-origin" title="same
-   origin">same</a> as the <span>effective origin</span> of the
-   <code><a href="#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
-   element when the pattern was created.</li>
+   origin">same</a> as that of the <code><a href="#document">Document</a></code> object
+   that owns the <code><a href="#the-canvas-element">canvas</a></code> element when the pattern was
+   created.</li>
 
    <li><p>The element's 2D context's <code title="dom-context-2d-fillStyle">fillStyle</code> attribute is set
    to a <code>CanvasPattern</code> object that was created from an
@@ -28176,9 +28176,9 @@
    set to a <code>CanvasPattern</code> object that was created from an
    <code><a href="#htmlimageelement">HTMLImageElement</a></code> or an <code><a href="#htmlvideoelement">HTMLVideoElement</a></code>
    whose <a href="#origin">origin</a> was not the <a href="#same-origin" title="same
-   origin">same</a> as the <span>effective origin</span> of the
-   <code><a href="#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
-   element when the pattern was created.</li>
+   origin">same</a> as that of the <code><a href="#document">Document</a></code> object
+   that owns the <code><a href="#the-canvas-element">canvas</a></code> element when the pattern was
+   created.</li>
 
    <li><p>The element's 2D context's <code title="dom-context-2d-strokeStyle">strokeStyle</code> attribute is
    set to a <code>CanvasPattern</code> object that was created from an
@@ -28187,11 +28187,11 @@
 
    <li><p>The element's 2D context's <code title="dom-context-2d-fillText">fillText()</code> or <code title="dom-context-2d-fillText">strokeText()</code> methods are
    invoked and consider using a font that has an <a href="#origin">origin</a>
-   that is not the <a href="#same-origin" title="same origin">same</a> as the
-   <span>effective origin</span> of the <code><a href="#document">Document</a></code> object
-   that owns the <code><a href="#the-canvas-element">canvas</a></code> element. (The font doesn't even
-   have to be used; all that matters is whether the font was
-   considered for any of the glyphs drawn.)</li> 
+   that is not the <a href="#same-origin" title="same origin">same</a> as that of
+   the <code><a href="#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
+   element. (The font doesn't even have to be used; all that matters
+   is whether the font was considered for any of the glyphs
+   drawn.)</li> 
   </ul><p>Whenever the <code title="dom-canvas-toDataURL"><a href="#dom-canvas-todataurl">toDataURL()</a></code> method of a
   <code><a href="#the-canvas-element">canvas</a></code> element whose <i>origin-clean</i> flag is set to
   false is called, the method must throw a <code><a href="#securityerror">SecurityError</a></code>
@@ -28206,10 +28206,9 @@
   <p>Whenever the <code title="dom-context-2d-measureText">measureText()</code> method of
   the 2D context of a <code><a href="#the-canvas-element">canvas</a></code> element ends up using a font
   that has an <a href="#origin">origin</a> that is not the <a href="#same-origin" title="same
-  origin">same</a> as the <span>effective origin</span> of the
-  <code><a href="#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
-  element, the method must throw a <code><a href="#securityerror">SecurityError</a></code>
-  exception.</p>
+  origin">same</a> as that of the <code><a href="#document">Document</a></code> object that
+  owns the <code><a href="#the-canvas-element">canvas</a></code> element, the method must throw a
+  <code><a href="#securityerror">SecurityError</a></code> exception.</p>
 
   <p class="note">Even resetting the canvas state by changing its
   <code title="attr-canvas-width"><a href="#attr-canvas-width">width</a></code> or <code title="attr-canvas-height"><a href="#attr-canvas-height">height</a></code> attributes doesn't reset
Received on Sunday, 30 October 2011 18:16:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 30 October 2011 18:16:17 GMT