- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 30 Oct 2011 18:46:24 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv360
Modified Files:
sections.html spec.html the-canvas-element.html
Log Message:
Go back to ignoring document.domain changes for the purposes of canvas tainting. (whatwg r6789)
[updated by splitter]
Index: the-canvas-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-canvas-element.html,v
retrieving revision 1.921
retrieving revision 1.922
diff -u -d -r1.921 -r1.922
--- the-canvas-element.html 28 Oct 2011 20:47:13 -0000 1.921
+++ the-canvas-element.html 30 Oct 2011 18:46:21 -0000 1.922
@@ -744,9 +744,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="embedded-content-1.html#htmlimageelement">HTMLImageElement</a></code> or an
<code><a href="the-iframe-element.html#htmlvideoelement">HTMLVideoElement</a></code> whose <a href="origin-0.html#origin">origin</a> is not the
- <a href="origin-0.html#same-origin" title="same origin">same</a> as the <span>effective
- origin</span> of the <code><a href="infrastructure.html#document">Document</a></code> object that owns the
- <code><a href="#the-canvas-element">canvas</a></code> element.</p></li>
+ <a href="origin-0.html#same-origin" title="same origin">same</a> as that of the
+ <code><a href="infrastructure.html#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
+ element.</p></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
@@ -756,9 +756,9 @@
to a <code>CanvasPattern</code> object that was created from an
<code><a href="embedded-content-1.html#htmlimageelement">HTMLImageElement</a></code> or an <code><a href="the-iframe-element.html#htmlvideoelement">HTMLVideoElement</a></code>
whose <a href="origin-0.html#origin">origin</a> was not the <a href="origin-0.html#same-origin" title="same
- origin">same</a> as the <span>effective origin</span> of the
- <code><a href="infrastructure.html#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
- element when the pattern was created.</p></li>
+ origin">same</a> as that of the <code><a href="infrastructure.html#document">Document</a></code> object
+ that owns the <code><a href="#the-canvas-element">canvas</a></code> element when the pattern was
+ created.</p></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
@@ -769,9 +769,9 @@
set to a <code>CanvasPattern</code> object that was created from an
<code><a href="embedded-content-1.html#htmlimageelement">HTMLImageElement</a></code> or an <code><a href="the-iframe-element.html#htmlvideoelement">HTMLVideoElement</a></code>
whose <a href="origin-0.html#origin">origin</a> was not the <a href="origin-0.html#same-origin" title="same
- origin">same</a> as the <span>effective origin</span> of the
- <code><a href="infrastructure.html#document">Document</a></code> object that owns the <code><a href="#the-canvas-element">canvas</a></code>
- element when the pattern was created.</p></li>
+ origin">same</a> as that of the <code><a href="infrastructure.html#document">Document</a></code> object
+ that owns the <code><a href="#the-canvas-element">canvas</a></code> element when the pattern was
+ created.</p></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
@@ -780,11 +780,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-0.html#origin">origin</a>
- that is not the <a href="origin-0.html#same-origin" title="same origin">same</a> as the
- <span>effective origin</span> of the <code><a href="infrastructure.html#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.)</p></li>
+ that is not the <a href="origin-0.html#same-origin" title="same origin">same</a> as that of
+ the <code><a href="infrastructure.html#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.)</p></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="infrastructure.html#securityerror">SecurityError</a></code>
@@ -799,10 +799,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-0.html#origin">origin</a> that is not the <a href="origin-0.html#same-origin" title="same
- origin">same</a> as the <span>effective origin</span> of the
- <code><a href="infrastructure.html#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="infrastructure.html#securityerror">SecurityError</a></code>
- exception.</p>
+ origin">same</a> as that of the <code><a href="infrastructure.html#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="infrastructure.html#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
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1764
retrieving revision 1.1765
diff -u -d -r1.1764 -r1.1765
--- spec.html 30 Oct 2011 17:46:26 -0000 1.1764
+++ spec.html 30 Oct 2011 18:46:21 -0000 1.1765
@@ -349,7 +349,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.5435.
+This is revision 1.5437.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Index: sections.html
===================================================================
RCS file: /sources/public/html5/spec/sections.html,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- sections.html 29 Oct 2011 05:46:27 -0000 1.63
+++ sections.html 30 Oct 2011 18:46:21 -0000 1.64
@@ -631,7 +631,7 @@
<p><a href="news.html">News</a> -
<a href="blog.html">Blog</a> -
<a href="forums.html">Forums</a></p>
- <p>Last Modified: <data itemprop="dateModified">2009-04-01</data></p>
+ <p>Last Modified: <span itemprop="dateModified">2009-04-01</span></p>
<nav>
<h1>Navigation</h1>
<ul>
Received on Sunday, 30 October 2011 18:46:26 UTC