- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Dec 2011 08:17:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/canvas-extensions In directory hutz:/tmp/cvs-serv27913 Modified Files: Overview.html Log Message: updated Index: Overview.html =================================================================== RCS file: /sources/public/html5/canvas-extensions/Overview.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Overview.html 14 Dec 2011 07:47:16 -0000 1.1 +++ Overview.html 14 Dec 2011 08:17:18 -0000 1.2 @@ -76,11 +76,6 @@ specStatus: "ED", shortName: "ime-api", edDraftURI: "http://dev.w3.org/html5/canvas-extensions", // FIXME - editors: [ - { name: "Michael[tm] Smith", - mailto: "sideshowbarker@gmail.com" - }, - ], wgURI: "http://www.w3.org/html/wg/", wg: "HTML Working Group", wgPublicList: "public-html-comments", @@ -268,7 +263,7 @@ interface <dfn id="textmetrics">TextMetrics</dfn> { readonly attribute double <a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-textmetrics-width" title="dom-textmetrics-width">width</a>; - readonly attribute double <a href="#dom-textmetrics-width" title="dom-textmetrics-width">baseline</a>; + readonly attribute double <a href="#dom-textmetrics-baseline" title="dom-textmetrics-baseline">baseline</a>; }; interface <dfn id="imagedata">ImageData</dfn> { @@ -358,7 +353,7 @@ <!-- <p class="XXX annotation"><b>Status: </b><i>Ideally setCaretSelectionRect() and caretBlinkRate() should be managed under the covers by canvas methods that draw carets or content selections. If <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10248">defect 10248</a> and <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10249">defect 10249</a> are accepted with the provisions for supporting accessibility services we can operate off those methods to complete to address the caret and selection position tracking component of Issue-74. </i></p> --> -<p>The <code title="dom-context-2d-setCaretSelectionRect"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-setCaretSelectionRect">setCaretSelectionRect()</a></code> method should be used +<p>The <code title="dom-context-2d-setCaretSelectionRect"><a href="#dom-context-2d-setCaretSelectionRect">setCaretSelectionRect()</a></code> method should be used to indicate the location of the last rendered <a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#caretpos" title="caret position">caret position</a> or <a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#selectionpos" title="selection position">selection position</a> on the canvas, passing it the canvas fallback element associated with the last drawn of either the caret position or the selection.</p> @@ -374,11 +369,12 @@ When drawing a blinking caret the author must adhere to the blink rates in systems that support this feature. User agents must provide the system caret blink rate to content authors. Default system caret blink rate settings are roughly once every 500 milliseconds. </p> <p>To access the system caret blink rate in canvas use the - <code title="dom-context-2d-caretBlinkRate"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-caretBlinkRate">caretBlinkRate()</a></code> method</p> + <code title="dom-context-2d-caretBlinkRate"><a href="#dom-context-2d-caretBlinkRate">caretBlinkRate()</a></code> method</p> <p> - <dl class="domintro"><dt><var title="">success</var> = <var title="">context</var> . <code title="dom-context-2d-setCaretSelectionRect"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-setCaretSelectionRect">setCaretSelectionRect</a></code>(<var title="">element</var>, <var title="">x</var>, <var title="">y</var>, <var title="">w</var>, <var title="">h</var>)</dt> + <dl class="domintro"><dt><var title="">success</var> = <var title="">context</var> . + <code title="dom-context-2d-setCaretSelectionRect"><a href="#dom-context-2d-setCaretSelectionRect">setCaretSelectionRect</a></code>(<var title="">element</var>, <var title="">x</var>, <var title="">y</var>, <var title="">w</var>, <var title="">h</var>)</dt> <dd> @@ -390,7 +386,7 @@ --> </dd> - <dt><var title="">rate</var> = <var title="">context</var> . <code title="dom-context-2d-caretBlinkRate"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-caretBlinkRate">caretBlinkRate</a></code>()</dt> + <dt><var title="">rate</var> = <var title="">context</var> . <code title="dom-context-2d-caretBlinkRate"><a href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-caretBlinkRate">caretBlinkRate</a></code>()</dt> <dd> @@ -444,7 +440,7 @@ <p class="note">High blink rates may cause epileptic seizures in some users.</p> - <p>The <dfn id="dom-context-2d-blinkRate" title="dom-context-2d-blinkRate"><code>caretBlinkRate()</code></dfn> + <p>The <dfn id="dom-context-2d-caretBlinkRate" title="dom-context-2d-blinkRate"><code>caretBlinkRate()</code></dfn> method, when invoked, must run the following steps:</p> @@ -471,13 +467,13 @@ <h2 id="Text">Extension to the TextMetrics interface</h2> <p>This specification extends the -<code><a href="#textmetrics">TextMetrics</a></code> +<code><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#textmetrics">TextMetrics</a></code> interface used for the objects - returned from <code title="dom-context-2d-measureText"><a href="#dom-context-2d-measuretext">measureText()</a></code>. + returned from <code title="dom-context-2d-measureText"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-measuretext">measureText()</a></code>. This specification adds a <dfn id="dom-textmetrics-baseline" title="dom-textmetrics-baseline"><code>baseline</code></dfn> attribute to the -<code><a href="#textmetrics">TextMetrics</a></code> +<code><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#textmetrics">TextMetrics</a></code> interface, for the purpose of returning the vertical offset of a text anchor point.</p> <dl class=domintro> @@ -485,7 +481,7 @@ <code title="dom-textmetrics-baseline"><a href="#dom-textmetrics-baseline">baseline</a></code></dt> <dd> <p>Returns the vertical offset of the <var title="">anchor point</var> for the text that was passed to the - <code title="dom-context-2d-measureText"><a href="#dom-context-2d-measuretext">measureText()</a></code> + <code title="dom-context-2d-measureText"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-measuretext">measureText()</a></code> method.</p> </dd> </dl> @@ -499,12 +495,12 @@ containing the text <var title="">text</var>, with all the properties at their initial values except the 'font' property of the inline element set to the current font of the context, as given by - the <code title="dom-context-2d-font"><a href="#dom-context-2d-font">font</a></code> attribute, and - must then return a new <code><a href="#textmetrics">TextMetrics</a></code> object with its - <code title="dom-textmetrics-width"><a href="#dom-textmetrics-width">width</a></code> attribute set to + the <code title="dom-context-2d-font"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-font">font</a></code> attribute, and + must then return a new <code><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#textmetrics">TextMetrics</a></code> object with its + <code title="dom-textmetrics-width"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-textmetrics-width">width</a></code> attribute set to the width of that inline box, in CSS pixels and its <code title="dom-textmetrics-baseline"><a href="#dom-textmetrics-baseline">baseline</a></code> attribute set to the <var title="">anchor point</var>'s vertical position as determined by the current - <code title="dom-context-2d-textBaseline"><a href="#dom-context-2d-textbaseline">textBaseline</a></code> value, + <code title="dom-context-2d-textBaseline"><a class="upstream-link" href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-textbaseline">textBaseline</a></code> value, in CSS pixels. [[!CSS21]]</p> </section>
Received on Wednesday, 14 December 2011 08:17:22 UTC