- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 09 Sep 2010 23:06:02 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/2dcontext In directory hutz:/tmp/cvs-serv11407 Modified Files: Overview.html Log Message: give images sizes (whatwg r5456) Index: Overview.html =================================================================== RCS file: /sources/public/html5/2dcontext/Overview.html,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- Overview.html 8 Sep 2010 06:56:20 -0000 1.71 +++ Overview.html 9 Sep 2010 23:05:59 -0000 1.72 @@ -311,7 +311,7 @@ <h1>HTML Canvas 2D Context</h1> <h2 class="no-num no-toc" id="generatedID"></h2> - <h2 class="no-num no-toc" id="editor-s-draft-8-september-2010">Editor's Draft 8 September 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-9-september-2010">Editor's Draft 9 September 2010</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/2dcontext/">http://www.w3.org/TR/2dcontext/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -406,7 +406,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 8 September 2010 Editor's Draft. + This specification is the 9 September 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All @@ -2276,16 +2276,7 @@ </div><p>The <code title="dom-context-2d-textBaseline"><a href="#dom-context-2d-textbaseline">textBaseline</a></code> attribute's allowed keywords correspond to alignment points in the - font:<p><img alt="The top of the em square is - roughly at the top of the glyphs in a font, the hanging baseline is - where some glyphs like आ are anchored, the middle is half-way - between the top of the em square and the bottom of the em square, - the alphabetic baseline is where characters like Á, ÿ, - f, and Ω are anchored, the ideographic baseline is - where glyphs like 私 and 達 are anchored, and the bottom - of the em square is roughly at the bottom of the glyphs in a - font. The top and bottom of the bounding box can be far from these - baselines, due to glyphs extending far outside the em square." src="http://dev.w3.org/html5/spec/images/baselines.png"><p>The keywords map to these alignment points as follows:<dl><dt><dfn id="dom-context-2d-textbaseline-top" title="dom-context-2d-textBaseline-top"><code>top</code></dfn> + font:<p><img alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like आ are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like Á, ÿ, f, and Ω are anchored, the ideographic baseline is where glyphs like 私 and 達 are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square." height="300" src="http://dev.w3.org/html5/spec/images/baselines.png" width="738"><p>The keywords map to these alignment points as follows:<dl><dt><dfn id="dom-context-2d-textbaseline-top" title="dom-context-2d-textBaseline-top"><code>top</code></dfn> <dd>The top of the em square</dd> <dt><dfn id="dom-context-2d-textbaseline-hanging" title="dom-context-2d-textBaseline-hanging"><code>hanging</code></dfn> @@ -2647,7 +2638,7 @@ <p>Draws the given image onto the canvas. The arguments are interpreted as follows:</p> - <p><img alt="The sx and sy parameters give the x and y coordinates of the source rectangle; the sw and sh arguments give the width and height of the source rectangle; the dx and dy give the x and y coordinates of the destination rectangle; and the dw and dh arguments give the width and height of the destination rectangle." src="http://dev.w3.org/html5/spec/images/drawImage.png"></p> + <p><img alt="The sx and sy parameters give the x and y coordinates of the source rectangle; the sw and sh arguments give the width and height of the source rectangle; the dx and dy give the x and y coordinates of the destination rectangle; and the dw and dh arguments give the width and height of the destination rectangle." height="356" src="http://dev.w3.org/html5/spec/images/drawImage.png" width="356"></p> <p>If the first argument isn't an <code>img</code>, <code>canvas</code>, or <code>video</code> element, throws a
Received on Thursday, 9 September 2010 23:06:04 UTC