- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Mon, 03 Feb 2014 21:13:26 -0800
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/6e55eae740c1
branches:
changeset: 603:6e55eae740c1
user: Cameron McCormack <cam@mcc.id.au>
date: Tue Feb 04 16:11:25 2014 +1100
description:
Move Focus section before the DOM Interfaces section, and note that it needs some work still.
diffstat:
master/interact.html | 90 +++++++++++++++++++++++++++------------------------
1 files changed, 48 insertions(+), 42 deletions(-)
diffs (122 lines):
diff --git a/master/interact.html b/master/interact.html
--- a/master/interact.html
+++ b/master/interact.html
@@ -1064,59 +1064,20 @@ that the cursor can be visible over most
<p>SVG user agents are required to support PNG format images as targets of the
<a>'xlink:href'</a> attribute.</p>
<p class="issue">Add an example.</p>
</edit:with>
-<h2 id="DOMInterfaces">DOM interfaces</h2>
+<h2 id="Focus">Focus</h2>
-<h3 id="InterfaceSVGCursorElement">Interface SVGCursorElement</h3>
-
-<edit:with element='cursor'>
-
-The <a>SVGCursorElement</a> interface corresponds to the
-<a>'cursor element'</a> element.
-<pre class="idl">interface <b>SVGCursorElement</b> : <a>SVGElement</a> {
- readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a> <a href="interact.html#__svg__SVGCursorElement__x">x</a>;
- readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a> <a href="interact.html#__svg__SVGCursorElement__y">y</a>;
-};
-
-<a>SVGCursorElement</a> implements <a>SVGURIReference</a>;</pre>
-
-<dl class="interface">
-<dt class="attributes-header">Attributes:</dt>
-<dd>
-<dl class="attributes">
-
-<dt id="__svg__SVGCursorElement__x" class="attribute first-child"><b>x</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a>)</span></dt>
-<dd class="attribute">
-<div>
-Corresponds to attribute <a>'x'</a> on the given <a>'cursor element'</a>
-element.
-
-</div>
-</dd>
-
-<dt id="__svg__SVGCursorElement__y" class="attribute"><b>y</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a>)</span></dt>
-<dd class="attribute">
-<div>
-Corresponds to attribute <a>'y'</a> on the given <a>'cursor element'</a>
-element.
-
-</div>
-</dd>
-</dl>
-</dd>
-</dl>
-
-</edit:with>
-<h2 id="Focus">Focus</h2>
+<p class='issue'>This section needs to defer to HTML more rather than duplicate
+the wording from that spec.</p>
<div class="impl">
<p>When an element is <i>focused</i>, key events received by the
document must be targeted at that element. There may be no element
focused; when no element is focused, key events received by the
document must be targeted at the <code>Document</code>'s root <code><a href="struct.html#SVGElement">svg</a></code> element, if
there is one. If there is no root element, key events must not be
@@ -1334,10 +1295,55 @@ element.
and it is not explicitly excluded from the rendering using either:</p>
<ul class="brief"><li>the CSS 'display' property's 'none' value, or</li>
<li>the 'visibility' property's 'collapse' value unless it is being treated as equivalent to the 'hidden' value, or</li>
<li>some equivalent in other styling languages.</li>
</ul><p class="note">Just being off-screen does not mean the element is
not <a href="#being-rendered">being rendered</a>.</p>
<hr/>
+
+<h2 id="DOMInterfaces">DOM interfaces</h2>
+
+<h3 id="InterfaceSVGCursorElement">Interface SVGCursorElement</h3>
+
+<edit:with element='cursor'>
+
+The <a>SVGCursorElement</a> interface corresponds to the
+<a>'cursor element'</a> element.
+<pre class="idl">interface <b>SVGCursorElement</b> : <a>SVGElement</a> {
+ readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a> <a href="interact.html#__svg__SVGCursorElement__x">x</a>;
+ readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a> <a href="interact.html#__svg__SVGCursorElement__y">y</a>;
+};
+
+<a>SVGCursorElement</a> implements <a>SVGURIReference</a>;</pre>
+
+<dl class="interface">
+<dt class="attributes-header">Attributes:</dt>
+<dd>
+<dl class="attributes">
+
+<dt id="__svg__SVGCursorElement__x" class="attribute first-child"><b>x</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a>)</span></dt>
+<dd class="attribute">
+<div>
+Corresponds to attribute <a>'x'</a> on the given <a>'cursor element'</a>
+element.
+
+</div>
+</dd>
+
+<dt id="__svg__SVGCursorElement__y" class="attribute"><b>y</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a>)</span></dt>
+<dd class="attribute">
+<div>
+Corresponds to attribute <a>'y'</a> on the given <a>'cursor element'</a>
+element.
+
+</div>
+</dd>
+</dl>
+</dd>
+</dl>
+
+</edit:with>
+
+
</body>
</html>
Received on Tuesday, 4 February 2014 05:13:50 UTC