- From: SVG Working Group repository <cam@mcc.id.au>
- Date: Sat, 19 Jan 2013 17:26:26 -0800
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/6a6786a5f032 branches: changeset: 428:6a6786a5f032 user: Cameron McCormack <cam@mcc.id.au> date: Sun Jan 20 12:23:02 2013 +1100 description: Fix markup errors. details: https://svgwg.org/hg/svg2/rev/26406502968f branches: changeset: 429:26406502968f user: Cameron McCormack <cam@mcc.id.au> date: Sun Jan 20 12:24:29 2013 +1100 description: Add note about maybe remove SVG* events. diffstat: master/interact.html | 4 +++ master/types.html | 59 ++++++++++++++++++++++++++------------------------- 2 files changed, 34 insertions(+), 29 deletions(-) diffs (154 lines): diff --git a/master/interact.html b/master/interact.html --- a/master/interact.html +++ b/master/interact.html @@ -184,16 +184,20 @@ that can be attached to elements in the <p>Requirements in the table on whether an event of a given type bubbles or is cancelable apply only to events that are created and dispatched by the user agent. Events of those types created from script using the <code>createEvent</code> method on the <a>Document</a> interface can be made to bubble or be cancelable with the <a class='idlattr' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-Event-initEvent'>initEvent</a> method.</p> +<p class="issue">Having all these SVG-specific duplicates of standard DOM events isn't +ideal. How much can we remove? SVGLoad in particular, and how it is currently +required to fire for every element.</p> + <table class="vert event-table"> <tr> <th>Event name and description</th> <th>DOM2 name</th> <th>DOM2 category</th> <th>Event attribute name</th> </tr> <tr> diff --git a/master/types.html b/master/types.html --- a/master/types.html +++ b/master/types.html @@ -4175,16 +4175,18 @@ have a bounding box in current user spac <dt class="attributes-header">Attributes:</dt> <dd> <dl class="attributes"> <dt id="__svg__SVGGraphicsElement__transform" class="attribute first-child"><b>transform</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="coords.html#InterfaceSVGAnimatedTransformList">SVGAnimatedTransformList</a>)</span></dt> <dd class="attribute"> <div> Corresponds to attribute <a>'transform'</a> on the given element. </div> + <p class="issue">This needs to be updated to reflect the value of the <a>'transform'</a> + property.</p> </dd> <dt id="__svg__SVGGraphicsElement__nearestViewportElement" class="attribute first-child"><b>nearestViewportElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>?)</span></dt> <dd class="attribute"> <div> The element which established the current viewport. Often, the nearest ancestor <a>'svg'</a> element. Null if the current element is the <a>outermost svg element</a>. </div> @@ -4193,17 +4195,16 @@ have a bounding box in current user spac <dd class="attribute"> <div> The farthest ancestor <a>'svg'</a> element. Null if the current element is the <a>outermost svg element</a>. </div> </dd> </dl> </dd> - <dd> <dt class="operations-header">Operations:</dt> <dd> <dl class="attributes"> <dt id="__svg__SVGGraphicsElement__getBBox" class="operation first-child"><a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <b>getBBox</b>()</dt> <dd class="operation"> <div> Returns the tight bounding box in current user space (i.e., after application of the <a>'transform'</a> property) on the @@ -4288,41 +4289,43 @@ have a bounding box in current user spac <dd class="operation"> <div> Returns the transformation matrix from the user coordinate system on the current element (after application of the <a>'transform'</a> property) to the user coordinate system on parameter <var>element</var> (after application of its <a>'transform'</a> property). </div> <dl class="operation"> - <dt class="parameters-header">Parameters</dt> - <dd> - <ol class="parameters"> - <li class="parameter first-child"> - <div><a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <var>element</var></div> - <div> - The target element. - </div> - </li> - </ol> - </dd> - <dt class="returns-header">Returns</dt> - <dd> - <div> - An <a>SVGMatrix</a> object that defines the transformation. - </div> - </dd> - <dt class="exceptions-header">Exceptions</dt> - <dd> - <dl class="exceptions"> - <dt class="exception first-child"><a>InvalidStateError</a></dt> - <dd class="exception"> - Raised if the currently - defined transformation matrices make it impossible to compute the - given matrix (e.g., because one of the transformations is singular). + <dt class="parameters-header">Parameters</dt> + <dd> + <ol class="parameters"> + <li class="parameter first-child"> + <div><a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <var>element</var></div> + <div> + The target element. + </div> + </li> + </ol> + </dd> + <dt class="returns-header">Returns</dt> + <dd> + <div> + An <a>SVGMatrix</a> object that defines the transformation. + </div> + </dd> + <dt class="exceptions-header">Exceptions</dt> + <dd> + <dl class="exceptions"> + <dt class="exception first-child"><a>InvalidStateError</a></dt> + <dd class="exception"> + Raised if the currently + defined transformation matrices make it impossible to compute the + given matrix (e.g., because one of the transformations is singular). + </dd> + </dl> </dd> </dl> </dd> </dl> </dd> </dl> <div class="ready-for-wg-review"> @@ -4385,19 +4388,17 @@ paths, text and the basic shapes.</p> <dt class="returns-header">Returns</dt> <dd>true if the point is within the stroke of this shape, or false otherwise.</dd> </dl> </dd> </dl> </dd> </dl> - -<p class="issue">This needs to be updated to reflect the value of the <a>'transform'</a> -property.</p> +</div> <h3 id="InterfaceSVGTests">Interface SVGTests</h3> <p>Interface <a>SVGTests</a> defines an interface which applies to all elements which have attributes <a>'requiredFeatures'</a>, <a>'requiredExtensions'</a> and <a>'systemLanguage'</a>.</p> <pre class="idl">[NoInterfaceObject]
Received on Sunday, 20 January 2013 01:26:50 UTC