[html5] r8540 - [e] (0) Fix a bunch of typos in the most recent canvas commits Affected topics: [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Mar 12 15:21:34 PDT 2014
Author: ianh
Date: 2014-03-12 15:21:34 -0700 (Wed, 12 Mar 2014)
New Revision: 8540
Modified:
complete.html
index
source
Log:
[e] (0) Fix a bunch of typos in the most recent canvas commits
Affected topics: Canvas
Modified: complete.html
===================================================================
--- complete.html 2014-03-12 22:14:47 UTC (rev 8539)
+++ complete.html 2014-03-12 22:21:34 UTC (rev 8540)
@@ -54707,17 +54707,17 @@
};
dictionary <dfn id=hitregionoptions>HitRegionOptions</dfn> {
- <a href=#path>Path</a>? <span title=dom-HitRegionOptions-path>path</span> = null;
- <a href=#canvasfillrule>CanvasFillRule</a> <span title=dom-HitRegionOptions-fillRule>fillRule</span> = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>";
+ <a href=#path>Path</a>? <a href=#dom-hitregionoptions-path title=dom-HitRegionOptions-path>path</a> = null;
+ <a href=#canvasfillrule>CanvasFillRule</a> <a href=#dom-hitregionoptions-fillrule title=dom-HitRegionOptions-fillRule>fillRule</a> = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>";
<!-- <span>SVGMatrix</span>? <span title="dom-HitRegionOptions-transform">transform</span> = null;
---> DOMString <span title=dom-HitRegionOptions-id>id</span> = ""; <!-- "" is converted to null internally by addHitRegion() -->
- DOMString? <span title=dom-HitRegionOptions-parentID>parentID</span> = null;
- DOMString <span title=dom-HitRegionOptions-cursor>cursor</span> = "inherit";
+--> DOMString <a href=#dom-hitregionoptions-id title=dom-HitRegionOptions-id>id</a> = ""; <!-- "" is converted to null internally by addHitRegion() -->
+ DOMString? <a href=#dom-hitregionoptions-parentid title=dom-HitRegionOptions-parentID>parentID</a> = null;
+ DOMString <a href=#dom-hitregionoptions-cursor title=dom-HitRegionOptions-cursor>cursor</a> = "inherit";
// for control-backed regions:
- <a href=#element>Element</a>? <span title=dom-HitRegionOptions-control>control</span> = null;
+ <a href=#element>Element</a>? <a href=#dom-hitregionoptions-control title=dom-HitRegionOptions-control>control</a> = null;
// for unbacked regions:
- DOMString? <span title=dom-HitRegionOptions-label>label</span> = null;
- DOMString? <span title=dom-HitRegionOptions-role>role</span> = null;
+ DOMString? <a href=#dom-hitregionoptions-label title=dom-HitRegionOptions-label>label</a> = null;
+ DOMString? <a href=#dom-hitregionoptions-role title=dom-HitRegionOptions-role>role</a> = null;
};
[<a href=#dom-imagedata title=dom-imagedata>Constructor</a>(unsigned long sw, unsigned long sh),
@@ -54735,7 +54735,7 @@
[<a href=#dom-path title=dom-Path>Constructor</a>,
<a href=#dom-path-copy title=dom-Path-copy>Constructor</a>(<a href=#path>Path</a> path),
- <a href=#dom-path-merge title=dom-Path-merge>Constructor</a>(<a href=#path>Path</a>[] paths, <a href=#canvasfillrule>CanvasFillRule</a> <span title=dom-HitRegionOptions-fillRule>fillRule</span> = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>"),
+ <a href=#dom-path-merge title=dom-Path-merge>Constructor</a>(<a href=#path>Path</a>[] paths, <a href=#canvasfillrule>CanvasFillRule</a> fillRule = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>"),
<a href=#dom-path-withdata title=dom-Path-withdata>Constructor</a>(DOMString d), Exposed=Window,Worker]
interface <dfn id=path>Path</dfn> {
void <a href=#dom-path-addpath title=dom-path-addPath>addPath</a>(<a href=#path>Path</a> path, <a href=#svgmatrix>SVGMatrix</a>? transformation);
@@ -56817,13 +56817,13 @@
<p>Let <var title="">merged path</var> be a <a href=#concept-path title=concept-path>path</a> that
consists of a set of non-overlapping subpaths that exactly outline the points from which, in any
of the <a href=#concept-path title=concept-path>paths</a> in <var title="">glyph paths</var>, the number
- of times a half-infinite straight line drawn from that point crosses that path is even.</p>
+ of times a half-infinite straight line drawn from that point crosses that path is odd.</p>
- <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point in
- the path, the number of times a half-infinite straight line drawn from that point crosses a
- subpath is even if and only if number of times a half-infinite straight line drawn from that
- same point crosses a subpath going in one direction is equal to the number of times it crosses a
- subpath going in the other direction.</p>
+ <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point,
+ the number of times a half-infinite straight line drawn from that point crosses a subpath is
+ even if and only if the number of times a half-infinite straight line drawn from that same point
+ crosses a subpath going in one direction is equal to the number of times it crosses a subpath
+ going in the other direction.</p>
<div class=example>
@@ -56963,13 +56963,13 @@
consists of a set of non-overlapping subpaths that exactly outline the points from which, in any
of the <a href=#concept-path title=concept-path>paths</a> in <var title="">transformed path list</var>,
the number of times a half-infinite straight line drawn from that point crosses that path is
- even.</p>
+ odd.</p>
- <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point in
- the path, the number of times a half-infinite straight line drawn from that point crosses a
- subpath is even if and only if number of times a half-infinite straight line drawn from that
- same point crosses a subpath going in one direction is equal to the number of times it crosses a
- subpath going in the other direction.</p>
+ <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point,
+ the number of times a half-infinite straight line drawn from that point crosses a subpath is
+ even if and only if the number of times a half-infinite straight line drawn from that same point
+ crosses a subpath going in one direction is equal to the number of times it crosses a subpath
+ going in the other direction.</p>
<p class=note>See <a href=#mergeGlyphs>the equivalent step in the earlier algorithm</a> for
an example of this step. It's even more likely that there will be overlap with this method,
@@ -58569,53 +58569,53 @@
<p>Adds a hit region to the bitmap. The argument is an object with the following members:</p>
- <dl><dt><code title=dom-HitRegionOptions-path>path</code> (default null)
+ <dl><dt><dfn id=dom-hitregionoptions-path title=dom-HitRegionOptions-path><code>path</code></dfn> (default null)</dt>
<dd>A <code><a href=#path>Path</a></code> object that describes the pixels that form part of the region. If this
member is not provided or is set to null, the <a href=#current-default-path>current default path</a> is used
instead.</dd>
- <dt><code title=dom-HitRegionOptions-fillRule>fillRule</code> (default "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>")
+ <dt><dfn id=dom-hitregionoptions-fillrule title=dom-HitRegionOptions-fillRule><code>fillRule</code></dfn> (default "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>")</dt>
<dd>The <a href=#fill-rule>fill rule</a> to use when determining which pixels are inside the path.</dd>
<!--
- <dt><code title="dom-HitRegionOptions-transform">transform</code> (default null)
+ <dt><dfn title="dom-HitRegionOptions-transform"><code>transform</code></dfn> (default null)</dt>
<dd>An <code>SVGMatrix</code> object that describes a
transformation to apply to the path described by the <code
title="dom-HitRegionOptions-path">path</code> member.</dd>
-->
- <dt><code title=dom-HitRegionOptions-id>id</code> (default empty string) <!-- empty string is treated as null internally -->
+ <dt><dfn id=dom-hitregionoptions-id title=dom-HitRegionOptions-id><code>id</code></dfn> (default empty string) <!-- empty string is treated as null internally --></dt>
<dd>The ID to use for this region. This is used in <code><a href=#mouseevent>MouseEvent</a></code> events on the
<code><a href=#the-canvas-element>canvas</a></code> (<code title=dom-MouseEvent-region><a href=#dom-mouseevent-region>event.region</a></code>) and as a way to
reference this region in later calls to <code title=dom-context-2d-addHitRegion><a href=#dom-context-2d-addhitregion>addHitRegion()</a></code>.</dd>
- <dt><code title=dom-HitRegionOptions-parentID>parentID</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-parentid title=dom-HitRegionOptions-parentID><code>parentID</code></dfn> (default null)</dt>
<dd>The ID of the parent region, for purposes of navigation by accessibility tools and for
cursor fallback.</dd>
- <dt><code title=dom-HitRegionOptions-cursor>cursor</code> (default "<code title="">inherit</code>")
+ <dt><dfn id=dom-hitregionoptions-cursor title=dom-HitRegionOptions-cursor><code>cursor</code></dfn> (default "<code title="">inherit</code>")</dt>
<dd>The cursor to use when the mouse is over this region. The value "<code title="">inherit</code>" means to use the cursor for the parent region (as specified by the
- <code title=dom-HitRegionOptions-parentID>parentID</code> member), if any, or to use the
+ <code title=dom-HitRegionOptions-parentID><a href=#dom-hitregionoptions-parentid>parentID</a></code> member), if any, or to use the
<code><a href=#the-canvas-element>canvas</a></code> element's cursor if the region has no parent.</dd>
- <dt><code title=dom-HitRegionOptions-control>control</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-control title=dom-HitRegionOptions-control><code>control</code></dfn> (default null)</dt>
<dd>An element (that is a descendant of the <code><a href=#the-canvas-element>canvas</a></code>) to which events are to be
routed, and which accessibility tools are to use as a surrogate for describing and interacting
with this region.</dd>
- <dt><code title=dom-HitRegionOptions-label>label</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-label title=dom-HitRegionOptions-label><code>label</code></dfn> (default null)</dt>
<dd>A text label for accessibility tools to use as a description of this region, if there is no
control.</dd>
- <dt><code title=dom-HitRegionOptions-role>role</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-role title=dom-HitRegionOptions-role><code>role</code></dfn> (default null)</dt>
<dd>An ARIA role for accessibility tools to use to determine how to represent this region, if
there is no control.</dd>
@@ -58759,8 +58759,8 @@
<ol><li><p>Let <var title="">arguments</var> be the dictionary object provided as the method's
argument.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path>path</code> member is not null, let <var title="">source
- path</var> be the <code title=dom-HitRegionOptions-path>path</code> member's value. Otherwise,
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path><a href=#dom-hitregionoptions-path>path</a></code> member is not null, let <var title="">source
+ path</var> be the <code title=dom-HitRegionOptions-path><a href=#dom-hitregionoptions-path>path</a></code> member's value. Otherwise,
let it be the <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#current-default-path>current default
path</a>.</li>
@@ -58776,17 +58776,17 @@
-->
<li><p>Transform all the coordinates and lines in <var title="">source path</var> by the current
- transform matrix, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path>path</code> member is not null.</li>
+ transform matrix, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path><a href=#dom-hitregionoptions-path>path</a></code> member is not null.</li>
<li><p>Let <var title="">specified pixels</var> be the pixels contained in <var title="">source
- path</var>, using the <a href=#fill-rule>fill rule</a> indicated by the <code title=dom-HitRegionOptions-fillRule>fillRule</code> member.</li>
+ path</var>, using the <a href=#fill-rule>fill rule</a> indicated by the <code title=dom-HitRegionOptions-fillRule><a href=#dom-hitregionoptions-fillrule>fillRule</a></code> member.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id>id</code> member is the empty string, let it be null
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is the empty string, let it be null
instead.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id>id</code> member is not null, then let <var title="">previous
- region for this ID</var> be <a href=#the-region-identified-by-the-id>the region identified by the ID</a> given by the <code title=dom-HitRegionOptions-id>id</code> member's value in this <a href=#scratch-bitmap>scratch bitmap</a>, if
- any. If the <code title=dom-HitRegionOptions-id>id</code> member is null or no such region
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is not null, then let <var title="">previous
+ region for this ID</var> be <a href=#the-region-identified-by-the-id>the region identified by the ID</a> given by the <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member's value in this <a href=#scratch-bitmap>scratch bitmap</a>, if
+ any. If the <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is null or no such region
currently exists, let <var title="">previous region for this ID</var> be null.</li>
<li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-parent>parent</code> member is the empty string, let it be null
@@ -58796,7 +58796,7 @@
bitmap</a>, if any. If the <code title=dom-HitRegionOptions-parent>parent</code> member is
null or no such region currently exists, let <var title="">parent region</var> be null.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label>label</code> member is the empty string, let it be null
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member is the empty string, let it be null
instead.</li>
<li>
@@ -58808,19 +58808,19 @@
<li><p>The <var title="">arguments</var> object's <code
title="dom-HitRegionOptions-path">path</code> member is null, but its <code
title="dom-HitRegionOptions-transform">transform</code> member is not.</p></li>
---><li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> and <code title=dom-HitRegionOptions-label>label</code> members are both non-null.</li>
+--><li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> and <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> members are both non-null.</li>
- <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> and <code title=dom-HitRegionOptions-role>role</code> members are both non-null.</li>
+ <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> and <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> members are both non-null.</li>
<!--CLEANUP-->
- <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role>role</code> member's value is the empty string, and the <code title=dom-HitRegionOptions-label>label</code> member's value is either null or the empty
+ <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member's value is the empty string, and the <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member's value is either null or the empty
string.</li>
<li><p>The <var title="">specified pixels</var> has no pixels.</li>
<li>
- <p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not one of the following:</p>
+ <p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is not one of the following:</p>
<ul class=brief><li><p>null</li>
@@ -58871,11 +58871,11 @@
<p>If any of the following conditions are met, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and
abort these steps.</p>
- <ul class=brief><li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor>cursor</code> member is not null but is neither an
+ <ul class=brief><li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor><a href=#dom-hitregionoptions-cursor>cursor</a></code> member is not null but is neither an
<a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">inherit</code>", nor a
valid CSS 'cursor' property value. <a href=#refsCSSUI>[CSSUI]</a></li>
- <li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role>role</code> member is not null but its value is not an
+ <li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member is not null but its value is not an
<a href=#ordered-set-of-unique-space-separated-tokens>ordered set of unique space-separated tokens</a> whose tokens are all
<a href=#case-sensitive>case-sensitive</a> matches for names of non-abstract WAI-ARIA roles. <a href=#refsARIA>[ARIA]</a></li>
@@ -58900,7 +58900,7 @@
<dt><a href="#hit-region's-id">Hit region's ID</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id>id</code> member is not null: the value of the <code title=dom-HitRegionOptions-id>id</code> member. Otherwise, <var title="">region</var> has no
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member. Otherwise, <var title="">region</var> has no
<a href="#hit-region's-id" title="hit region's id">id</a>.
@@ -58923,19 +58923,19 @@
<dt><a href="#hit-region's-control">Hit region's control</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not null: the value of the <code title=dom-HitRegionOptions-control>control</code> member. Otherwise, <var title="">region</var> has no <a href="#hit-region's-control" title="hit region's control">control</a>.
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member. Otherwise, <var title="">region</var> has no <a href="#hit-region's-control" title="hit region's control">control</a>.
<dt><a href="#hit-region's-label">Hit region's label</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label>label</code> member is not null: the value of the <code title=dom-HitRegionOptions-label>label</code> member. Otherwise, <var title="">region</var>
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member. Otherwise, <var title="">region</var>
has no <a href="#hit-region's-label" title="hit region's label">label</a>.
<dt><a href="#hit-region's-aria-role">Hit region's ARIA role</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role>role</code> member is not null: the value of the <code title=dom-HitRegionOptions-role>role</code> member (which might be the empty string).
- Otherwise, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label>label</code> member is not null: the empty string.
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member (which might be the empty string).
+ Otherwise, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member is not null: the empty string.
Otherwise, <var title="">region</var> has no <a href="#hit-region's-aria-role" title="hit region's ARIA role">ARIA
role</a>.
@@ -58944,7 +58944,7 @@
<li>
- <p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor>cursor</code> member is not null, then act as if a CSS rule
+ <p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor><a href=#dom-hitregionoptions-cursor>cursor</a></code> member is not null, then act as if a CSS rule
for the <code><a href=#the-canvas-element>canvas</a></code> element setting its 'cursor' property had been seen, whose value was
the <a href="#hit-region's-cursor-specification">hit region's cursor specification</a>.</p>
@@ -58953,9 +58953,9 @@
</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not null, then let <var title="">previous region for the control</var> be <a href=#the-region-representing-the-control>the region representing the
- control</a> given by the <code title=dom-HitRegionOptions-control>control</code> member's
- value for this <a href=#scratch-bitmap>scratch bitmap</a>, if any. If the <code title=dom-HitRegionOptions-control>control</code> member is null or no such region currently
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is not null, then let <var title="">previous region for the control</var> be <a href=#the-region-representing-the-control>the region representing the
+ control</a> given by the <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member's
+ value for this <a href=#scratch-bitmap>scratch bitmap</a>, if any. If the <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is null or no such region currently
exists, let <var title="">previous region for the control</var> be null.</li>
<!-- the parent region can't have a control, because no region with a control can be a parent -
Modified: index
===================================================================
--- index 2014-03-12 22:14:47 UTC (rev 8539)
+++ index 2014-03-12 22:21:34 UTC (rev 8540)
@@ -54707,17 +54707,17 @@
};
dictionary <dfn id=hitregionoptions>HitRegionOptions</dfn> {
- <a href=#path>Path</a>? <span title=dom-HitRegionOptions-path>path</span> = null;
- <a href=#canvasfillrule>CanvasFillRule</a> <span title=dom-HitRegionOptions-fillRule>fillRule</span> = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>";
+ <a href=#path>Path</a>? <a href=#dom-hitregionoptions-path title=dom-HitRegionOptions-path>path</a> = null;
+ <a href=#canvasfillrule>CanvasFillRule</a> <a href=#dom-hitregionoptions-fillrule title=dom-HitRegionOptions-fillRule>fillRule</a> = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>";
<!-- <span>SVGMatrix</span>? <span title="dom-HitRegionOptions-transform">transform</span> = null;
---> DOMString <span title=dom-HitRegionOptions-id>id</span> = ""; <!-- "" is converted to null internally by addHitRegion() -->
- DOMString? <span title=dom-HitRegionOptions-parentID>parentID</span> = null;
- DOMString <span title=dom-HitRegionOptions-cursor>cursor</span> = "inherit";
+--> DOMString <a href=#dom-hitregionoptions-id title=dom-HitRegionOptions-id>id</a> = ""; <!-- "" is converted to null internally by addHitRegion() -->
+ DOMString? <a href=#dom-hitregionoptions-parentid title=dom-HitRegionOptions-parentID>parentID</a> = null;
+ DOMString <a href=#dom-hitregionoptions-cursor title=dom-HitRegionOptions-cursor>cursor</a> = "inherit";
// for control-backed regions:
- <a href=#element>Element</a>? <span title=dom-HitRegionOptions-control>control</span> = null;
+ <a href=#element>Element</a>? <a href=#dom-hitregionoptions-control title=dom-HitRegionOptions-control>control</a> = null;
// for unbacked regions:
- DOMString? <span title=dom-HitRegionOptions-label>label</span> = null;
- DOMString? <span title=dom-HitRegionOptions-role>role</span> = null;
+ DOMString? <a href=#dom-hitregionoptions-label title=dom-HitRegionOptions-label>label</a> = null;
+ DOMString? <a href=#dom-hitregionoptions-role title=dom-HitRegionOptions-role>role</a> = null;
};
[<a href=#dom-imagedata title=dom-imagedata>Constructor</a>(unsigned long sw, unsigned long sh),
@@ -54735,7 +54735,7 @@
[<a href=#dom-path title=dom-Path>Constructor</a>,
<a href=#dom-path-copy title=dom-Path-copy>Constructor</a>(<a href=#path>Path</a> path),
- <a href=#dom-path-merge title=dom-Path-merge>Constructor</a>(<a href=#path>Path</a>[] paths, <a href=#canvasfillrule>CanvasFillRule</a> <span title=dom-HitRegionOptions-fillRule>fillRule</span> = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>"),
+ <a href=#dom-path-merge title=dom-Path-merge>Constructor</a>(<a href=#path>Path</a>[] paths, <a href=#canvasfillrule>CanvasFillRule</a> fillRule = "<a href=#dom-context-2d-fillrule-nonzero title=dom-context-2d-fillRule-nonzero>nonzero</a>"),
<a href=#dom-path-withdata title=dom-Path-withdata>Constructor</a>(DOMString d), Exposed=Window,Worker]
interface <dfn id=path>Path</dfn> {
void <a href=#dom-path-addpath title=dom-path-addPath>addPath</a>(<a href=#path>Path</a> path, <a href=#svgmatrix>SVGMatrix</a>? transformation);
@@ -56817,13 +56817,13 @@
<p>Let <var title="">merged path</var> be a <a href=#concept-path title=concept-path>path</a> that
consists of a set of non-overlapping subpaths that exactly outline the points from which, in any
of the <a href=#concept-path title=concept-path>paths</a> in <var title="">glyph paths</var>, the number
- of times a half-infinite straight line drawn from that point crosses that path is even.</p>
+ of times a half-infinite straight line drawn from that point crosses that path is odd.</p>
- <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point in
- the path, the number of times a half-infinite straight line drawn from that point crosses a
- subpath is even if and only if number of times a half-infinite straight line drawn from that
- same point crosses a subpath going in one direction is equal to the number of times it crosses a
- subpath going in the other direction.</p>
+ <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point,
+ the number of times a half-infinite straight line drawn from that point crosses a subpath is
+ even if and only if the number of times a half-infinite straight line drawn from that same point
+ crosses a subpath going in one direction is equal to the number of times it crosses a subpath
+ going in the other direction.</p>
<div class=example>
@@ -56963,13 +56963,13 @@
consists of a set of non-overlapping subpaths that exactly outline the points from which, in any
of the <a href=#concept-path title=concept-path>paths</a> in <var title="">transformed path list</var>,
the number of times a half-infinite straight line drawn from that point crosses that path is
- even.</p>
+ odd.</p>
- <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point in
- the path, the number of times a half-infinite straight line drawn from that point crosses a
- subpath is even if and only if number of times a half-infinite straight line drawn from that
- same point crosses a subpath going in one direction is equal to the number of times it crosses a
- subpath going in the other direction.</p>
+ <p>The subpaths in <var title="">merged path</var> must be oriented such that for any point,
+ the number of times a half-infinite straight line drawn from that point crosses a subpath is
+ even if and only if the number of times a half-infinite straight line drawn from that same point
+ crosses a subpath going in one direction is equal to the number of times it crosses a subpath
+ going in the other direction.</p>
<p class=note>See <a href=#mergeGlyphs>the equivalent step in the earlier algorithm</a> for
an example of this step. It's even more likely that there will be overlap with this method,
@@ -58569,53 +58569,53 @@
<p>Adds a hit region to the bitmap. The argument is an object with the following members:</p>
- <dl><dt><code title=dom-HitRegionOptions-path>path</code> (default null)
+ <dl><dt><dfn id=dom-hitregionoptions-path title=dom-HitRegionOptions-path><code>path</code></dfn> (default null)</dt>
<dd>A <code><a href=#path>Path</a></code> object that describes the pixels that form part of the region. If this
member is not provided or is set to null, the <a href=#current-default-path>current default path</a> is used
instead.</dd>
- <dt><code title=dom-HitRegionOptions-fillRule>fillRule</code> (default "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>")
+ <dt><dfn id=dom-hitregionoptions-fillrule title=dom-HitRegionOptions-fillRule><code>fillRule</code></dfn> (default "<code title=dom-context-2d-fillRule-nonzero><a href=#dom-context-2d-fillrule-nonzero>nonzero</a></code>")</dt>
<dd>The <a href=#fill-rule>fill rule</a> to use when determining which pixels are inside the path.</dd>
<!--
- <dt><code title="dom-HitRegionOptions-transform">transform</code> (default null)
+ <dt><dfn title="dom-HitRegionOptions-transform"><code>transform</code></dfn> (default null)</dt>
<dd>An <code>SVGMatrix</code> object that describes a
transformation to apply to the path described by the <code
title="dom-HitRegionOptions-path">path</code> member.</dd>
-->
- <dt><code title=dom-HitRegionOptions-id>id</code> (default empty string) <!-- empty string is treated as null internally -->
+ <dt><dfn id=dom-hitregionoptions-id title=dom-HitRegionOptions-id><code>id</code></dfn> (default empty string) <!-- empty string is treated as null internally --></dt>
<dd>The ID to use for this region. This is used in <code><a href=#mouseevent>MouseEvent</a></code> events on the
<code><a href=#the-canvas-element>canvas</a></code> (<code title=dom-MouseEvent-region><a href=#dom-mouseevent-region>event.region</a></code>) and as a way to
reference this region in later calls to <code title=dom-context-2d-addHitRegion><a href=#dom-context-2d-addhitregion>addHitRegion()</a></code>.</dd>
- <dt><code title=dom-HitRegionOptions-parentID>parentID</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-parentid title=dom-HitRegionOptions-parentID><code>parentID</code></dfn> (default null)</dt>
<dd>The ID of the parent region, for purposes of navigation by accessibility tools and for
cursor fallback.</dd>
- <dt><code title=dom-HitRegionOptions-cursor>cursor</code> (default "<code title="">inherit</code>")
+ <dt><dfn id=dom-hitregionoptions-cursor title=dom-HitRegionOptions-cursor><code>cursor</code></dfn> (default "<code title="">inherit</code>")</dt>
<dd>The cursor to use when the mouse is over this region. The value "<code title="">inherit</code>" means to use the cursor for the parent region (as specified by the
- <code title=dom-HitRegionOptions-parentID>parentID</code> member), if any, or to use the
+ <code title=dom-HitRegionOptions-parentID><a href=#dom-hitregionoptions-parentid>parentID</a></code> member), if any, or to use the
<code><a href=#the-canvas-element>canvas</a></code> element's cursor if the region has no parent.</dd>
- <dt><code title=dom-HitRegionOptions-control>control</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-control title=dom-HitRegionOptions-control><code>control</code></dfn> (default null)</dt>
<dd>An element (that is a descendant of the <code><a href=#the-canvas-element>canvas</a></code>) to which events are to be
routed, and which accessibility tools are to use as a surrogate for describing and interacting
with this region.</dd>
- <dt><code title=dom-HitRegionOptions-label>label</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-label title=dom-HitRegionOptions-label><code>label</code></dfn> (default null)</dt>
<dd>A text label for accessibility tools to use as a description of this region, if there is no
control.</dd>
- <dt><code title=dom-HitRegionOptions-role>role</code> (default null)
+ <dt><dfn id=dom-hitregionoptions-role title=dom-HitRegionOptions-role><code>role</code></dfn> (default null)</dt>
<dd>An ARIA role for accessibility tools to use to determine how to represent this region, if
there is no control.</dd>
@@ -58759,8 +58759,8 @@
<ol><li><p>Let <var title="">arguments</var> be the dictionary object provided as the method's
argument.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path>path</code> member is not null, let <var title="">source
- path</var> be the <code title=dom-HitRegionOptions-path>path</code> member's value. Otherwise,
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path><a href=#dom-hitregionoptions-path>path</a></code> member is not null, let <var title="">source
+ path</var> be the <code title=dom-HitRegionOptions-path><a href=#dom-hitregionoptions-path>path</a></code> member's value. Otherwise,
let it be the <code><a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a></code> object's <a href=#current-default-path>current default
path</a>.</li>
@@ -58776,17 +58776,17 @@
-->
<li><p>Transform all the coordinates and lines in <var title="">source path</var> by the current
- transform matrix, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path>path</code> member is not null.</li>
+ transform matrix, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-path><a href=#dom-hitregionoptions-path>path</a></code> member is not null.</li>
<li><p>Let <var title="">specified pixels</var> be the pixels contained in <var title="">source
- path</var>, using the <a href=#fill-rule>fill rule</a> indicated by the <code title=dom-HitRegionOptions-fillRule>fillRule</code> member.</li>
+ path</var>, using the <a href=#fill-rule>fill rule</a> indicated by the <code title=dom-HitRegionOptions-fillRule><a href=#dom-hitregionoptions-fillrule>fillRule</a></code> member.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id>id</code> member is the empty string, let it be null
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is the empty string, let it be null
instead.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id>id</code> member is not null, then let <var title="">previous
- region for this ID</var> be <a href=#the-region-identified-by-the-id>the region identified by the ID</a> given by the <code title=dom-HitRegionOptions-id>id</code> member's value in this <a href=#scratch-bitmap>scratch bitmap</a>, if
- any. If the <code title=dom-HitRegionOptions-id>id</code> member is null or no such region
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is not null, then let <var title="">previous
+ region for this ID</var> be <a href=#the-region-identified-by-the-id>the region identified by the ID</a> given by the <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member's value in this <a href=#scratch-bitmap>scratch bitmap</a>, if
+ any. If the <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is null or no such region
currently exists, let <var title="">previous region for this ID</var> be null.</li>
<li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-parent>parent</code> member is the empty string, let it be null
@@ -58796,7 +58796,7 @@
bitmap</a>, if any. If the <code title=dom-HitRegionOptions-parent>parent</code> member is
null or no such region currently exists, let <var title="">parent region</var> be null.</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label>label</code> member is the empty string, let it be null
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member is the empty string, let it be null
instead.</li>
<li>
@@ -58808,19 +58808,19 @@
<li><p>The <var title="">arguments</var> object's <code
title="dom-HitRegionOptions-path">path</code> member is null, but its <code
title="dom-HitRegionOptions-transform">transform</code> member is not.</p></li>
---><li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> and <code title=dom-HitRegionOptions-label>label</code> members are both non-null.</li>
+--><li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> and <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> members are both non-null.</li>
- <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> and <code title=dom-HitRegionOptions-role>role</code> members are both non-null.</li>
+ <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> and <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> members are both non-null.</li>
<!--CLEANUP-->
- <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role>role</code> member's value is the empty string, and the <code title=dom-HitRegionOptions-label>label</code> member's value is either null or the empty
+ <li><p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member's value is the empty string, and the <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member's value is either null or the empty
string.</li>
<li><p>The <var title="">specified pixels</var> has no pixels.</li>
<li>
- <p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not one of the following:</p>
+ <p>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is not one of the following:</p>
<ul class=brief><li><p>null</li>
@@ -58871,11 +58871,11 @@
<p>If any of the following conditions are met, throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and
abort these steps.</p>
- <ul class=brief><li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor>cursor</code> member is not null but is neither an
+ <ul class=brief><li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor><a href=#dom-hitregionoptions-cursor>cursor</a></code> member is not null but is neither an
<a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title="">inherit</code>", nor a
valid CSS 'cursor' property value. <a href=#refsCSSUI>[CSSUI]</a></li>
- <li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role>role</code> member is not null but its value is not an
+ <li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member is not null but its value is not an
<a href=#ordered-set-of-unique-space-separated-tokens>ordered set of unique space-separated tokens</a> whose tokens are all
<a href=#case-sensitive>case-sensitive</a> matches for names of non-abstract WAI-ARIA roles. <a href=#refsARIA>[ARIA]</a></li>
@@ -58900,7 +58900,7 @@
<dt><a href="#hit-region's-id">Hit region's ID</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id>id</code> member is not null: the value of the <code title=dom-HitRegionOptions-id>id</code> member. Otherwise, <var title="">region</var> has no
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-id><a href=#dom-hitregionoptions-id>id</a></code> member. Otherwise, <var title="">region</var> has no
<a href="#hit-region's-id" title="hit region's id">id</a>.
@@ -58923,19 +58923,19 @@
<dt><a href="#hit-region's-control">Hit region's control</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not null: the value of the <code title=dom-HitRegionOptions-control>control</code> member. Otherwise, <var title="">region</var> has no <a href="#hit-region's-control" title="hit region's control">control</a>.
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member. Otherwise, <var title="">region</var> has no <a href="#hit-region's-control" title="hit region's control">control</a>.
<dt><a href="#hit-region's-label">Hit region's label</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label>label</code> member is not null: the value of the <code title=dom-HitRegionOptions-label>label</code> member. Otherwise, <var title="">region</var>
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member. Otherwise, <var title="">region</var>
has no <a href="#hit-region's-label" title="hit region's label">label</a>.
<dt><a href="#hit-region's-aria-role">Hit region's ARIA role</a>
- <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role>role</code> member is not null: the value of the <code title=dom-HitRegionOptions-role>role</code> member (which might be the empty string).
- Otherwise, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label>label</code> member is not null: the empty string.
+ <dd><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member is not null: the value of the <code title=dom-HitRegionOptions-role><a href=#dom-hitregionoptions-role>role</a></code> member (which might be the empty string).
+ Otherwise, if the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-label><a href=#dom-hitregionoptions-label>label</a></code> member is not null: the empty string.
Otherwise, <var title="">region</var> has no <a href="#hit-region's-aria-role" title="hit region's ARIA role">ARIA
role</a>.
@@ -58944,7 +58944,7 @@
<li>
- <p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor>cursor</code> member is not null, then act as if a CSS rule
+ <p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-cursor><a href=#dom-hitregionoptions-cursor>cursor</a></code> member is not null, then act as if a CSS rule
for the <code><a href=#the-canvas-element>canvas</a></code> element setting its 'cursor' property had been seen, whose value was
the <a href="#hit-region's-cursor-specification">hit region's cursor specification</a>.</p>
@@ -58953,9 +58953,9 @@
</li>
- <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not null, then let <var title="">previous region for the control</var> be <a href=#the-region-representing-the-control>the region representing the
- control</a> given by the <code title=dom-HitRegionOptions-control>control</code> member's
- value for this <a href=#scratch-bitmap>scratch bitmap</a>, if any. If the <code title=dom-HitRegionOptions-control>control</code> member is null or no such region currently
+ <li><p>If the <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is not null, then let <var title="">previous region for the control</var> be <a href=#the-region-representing-the-control>the region representing the
+ control</a> given by the <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member's
+ value for this <a href=#scratch-bitmap>scratch bitmap</a>, if any. If the <code title=dom-HitRegionOptions-control><a href=#dom-hitregionoptions-control>control</a></code> member is null or no such region currently
exists, let <var title="">previous region for the control</var> be null.</li>
<!-- the parent region can't have a control, because no region with a control can be a parent -
Modified: source
===================================================================
--- source 2014-03-12 22:14:47 UTC (rev 8539)
+++ source 2014-03-12 22:21:34 UTC (rev 8540)
@@ -60612,7 +60612,7 @@
[<span data-x="dom-Path">Constructor</span>,
<span data-x="dom-Path-copy">Constructor</span>(<span>Path</span> path),
- <span data-x="dom-Path-merge">Constructor</span>(<span>Path</span>[] paths, <span>CanvasFillRule</span> <span data-x="dom-HitRegionOptions-fillRule">fillRule</span> = "<span data-x="dom-context-2d-fillRule-nonzero">nonzero</span>"),
+ <span data-x="dom-Path-merge">Constructor</span>(<span>Path</span>[] paths, <span>CanvasFillRule</span> fillRule = "<span data-x="dom-context-2d-fillRule-nonzero">nonzero</span>"),
<span data-x="dom-Path-withdata">Constructor</span>(DOMString d), Exposed=Window,Worker]
interface <dfn>Path</dfn> {
void <span data-x="dom-path-addPath">addPath</span>(<span>Path</span> path, <span>SVGMatrix</span>? transformation);
@@ -63078,13 +63078,13 @@
<p>Let <var data-x="">merged path</var> be a <span data-x="concept-path">path</span> that
consists of a set of non-overlapping subpaths that exactly outline the points from which, in any
of the <span data-x="concept-path">paths</span> in <var data-x="">glyph paths</var>, the number
- of times a half-infinite straight line drawn from that point crosses that path is even.</p>
+ of times a half-infinite straight line drawn from that point crosses that path is odd.</p>
- <p>The subpaths in <var data-x="">merged path</var> must be oriented such that for any point in
- the path, the number of times a half-infinite straight line drawn from that point crosses a
- subpath is even if and only if number of times a half-infinite straight line drawn from that
- same point crosses a subpath going in one direction is equal to the number of times it crosses a
- subpath going in the other direction.</p>
+ <p>The subpaths in <var data-x="">merged path</var> must be oriented such that for any point,
+ the number of times a half-infinite straight line drawn from that point crosses a subpath is
+ even if and only if the number of times a half-infinite straight line drawn from that same point
+ crosses a subpath going in one direction is equal to the number of times it crosses a subpath
+ going in the other direction.</p>
<div class="example">
@@ -63256,13 +63256,13 @@
consists of a set of non-overlapping subpaths that exactly outline the points from which, in any
of the <span data-x="concept-path">paths</span> in <var data-x="">transformed path list</var>,
the number of times a half-infinite straight line drawn from that point crosses that path is
- even.</p>
+ odd.</p>
- <p>The subpaths in <var data-x="">merged path</var> must be oriented such that for any point in
- the path, the number of times a half-infinite straight line drawn from that point crosses a
- subpath is even if and only if number of times a half-infinite straight line drawn from that
- same point crosses a subpath going in one direction is equal to the number of times it crosses a
- subpath going in the other direction.</p>
+ <p>The subpaths in <var data-x="">merged path</var> must be oriented such that for any point,
+ the number of times a half-infinite straight line drawn from that point crosses a subpath is
+ even if and only if the number of times a half-infinite straight line drawn from that same point
+ crosses a subpath going in one direction is equal to the number of times it crosses a subpath
+ going in the other direction.</p>
<p class="note">See <a href="#mergeGlyphs">the equivalent step in the earlier algorithm</a> for
an example of this step. It's even more likely that there will be overlap with this method,
@@ -65143,55 +65143,55 @@
<dl>
- <dt><code data-x="dom-HitRegionOptions-path">path</code> (default null)
+ <dt><dfn data-x="dom-HitRegionOptions-path"><code>path</code></dfn> (default null)</dt>
<dd>A <code>Path</code> object that describes the pixels that form part of the region. If this
member is not provided or is set to null, the <span>current default path</span> is used
instead.</dd>
- <dt><code data-x="dom-HitRegionOptions-fillRule">fillRule</code> (default "<code data-x="dom-context-2d-fillRule-nonzero">nonzero</code>")
+ <dt><dfn data-x="dom-HitRegionOptions-fillRule"><code>fillRule</code></dfn> (default "<code data-x="dom-context-2d-fillRule-nonzero">nonzero</code>")</dt>
<dd>The <span>fill rule</span> to use when determining which pixels are inside the path.</dd>
<!--
- <dt><code data-x="dom-HitRegionOptions-transform">transform</code> (default null)
+ <dt><dfn data-x="dom-HitRegionOptions-transform"><code>transform</code></dfn> (default null)</dt>
<dd>An <code>SVGMatrix</code> object that describes a
transformation to apply to the path described by the <code
data-x="dom-HitRegionOptions-path">path</code> member.</dd>
-->
- <dt><code data-x="dom-HitRegionOptions-id">id</code> (default empty string) <!-- empty string is treated as null internally -->
+ <dt><dfn data-x="dom-HitRegionOptions-id"><code>id</code></dfn> (default empty string) <!-- empty string is treated as null internally --></dt>
<dd>The ID to use for this region. This is used in <code>MouseEvent</code> events on the
<code>canvas</code> (<code data-x="dom-MouseEvent-region">event.region</code>) and as a way to
reference this region in later calls to <code
data-x="dom-context-2d-addHitRegion">addHitRegion()</code>.</dd>
- <dt><code data-x="dom-HitRegionOptions-parentID">parentID</code> (default null)
+ <dt><dfn data-x="dom-HitRegionOptions-parentID"><code>parentID</code></dfn> (default null)</dt>
<dd>The ID of the parent region, for purposes of navigation by accessibility tools and for
cursor fallback.</dd>
- <dt><code data-x="dom-HitRegionOptions-cursor">cursor</code> (default "<code data-x="">inherit</code>")
+ <dt><dfn data-x="dom-HitRegionOptions-cursor"><code>cursor</code></dfn> (default "<code data-x="">inherit</code>")</dt>
<dd>The cursor to use when the mouse is over this region. The value "<code
data-x="">inherit</code>" means to use the cursor for the parent region (as specified by the
<code data-x="dom-HitRegionOptions-parentID">parentID</code> member), if any, or to use the
<code>canvas</code> element's cursor if the region has no parent.</dd>
- <dt><code data-x="dom-HitRegionOptions-control">control</code> (default null)
+ <dt><dfn data-x="dom-HitRegionOptions-control"><code>control</code></dfn> (default null)</dt>
<dd>An element (that is a descendant of the <code>canvas</code>) to which events are to be
routed, and which accessibility tools are to use as a surrogate for describing and interacting
with this region.</dd>
- <dt><code data-x="dom-HitRegionOptions-label">label</code> (default null)
+ <dt><dfn data-x="dom-HitRegionOptions-label"><code>label</code></dfn> (default null)</dt>
<dd>A text label for accessibility tools to use as a description of this region, if there is no
control.</dd>
- <dt><code data-x="dom-HitRegionOptions-role">role</code> (default null)
+ <dt><dfn data-x="dom-HitRegionOptions-role"><code>role</code></dfn> (default null)</dt>
<dd>An ARIA role for accessibility tools to use to determine how to represent this region, if
there is no control.</dd>
More information about the Commit-Watchers
mailing list