Skip to content

Commit

Permalink
Add remaining [Exposed=Window] where still missing
Browse files Browse the repository at this point in the history
These were missed in w3c#387 and should be
the last cases of missing [Exposed] in SVG.
  • Loading branch information
foolip committed Apr 14, 2021
1 parent 303617a commit 687af75
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions master/types.html
Expand Up @@ -759,6 +759,7 @@ <h3 id="InterfaceSVGGraphicsElement">Interface SVGGraphicsElement</h3>
boolean clipped = false;
};

[Exposed=Window]
interface <b>SVGGraphicsElement</b> : <a>SVGElement</a> {
[SameObject] readonly attribute <a>SVGAnimatedTransformList</a> <a href="types.html#__svg__SVGGraphicsElement__transform">transform</a>;

Expand Down
24 changes: 16 additions & 8 deletions specs/animations/master/Overview.html
Expand Up @@ -3292,7 +3292,8 @@ <h3 id="InterfaceTimeEvent">Interface TimeEvent</h3>
</dd>
</dl>

<pre class="idl">interface <b>TimeEvent</b> : <a>Event</a> {
<pre class="idl">[Exposed=Window]
interface <b>TimeEvent</b> : <a>Event</a> {

readonly attribute <a>WindowProxy</a>? <a href="#__svg__TimeEvent__view">view</a>;
readonly attribute long <a href="#__svg__TimeEvent__detail">detail</a>;
Expand Down Expand Up @@ -3401,7 +3402,8 @@ <h3 id="InterfaceSVGAnimationElement">Interface SVGAnimationElement</h3>
([<a href="#ref-SMILANIM">SMILANIM</a>], section 3.3.7).</li>
</ul>

<pre class="idl">interface <b>SVGAnimationElement</b> : <a>SVGElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGAnimationElement</b> : <a>SVGElement</a> {

readonly attribute <a>SVGElement</a>? <a href="#__svg__SVGAnimationElement__targetElement">targetElement</a>;

Expand Down Expand Up @@ -3562,7 +3564,8 @@ <h3 id="InterfaceSVGAnimateElement">Interface SVGAnimateElement</h3>
<p>Object-oriented access to the attributes of the <a>'animate'</a> element
via the SVG DOM is not available.</p>

<pre class="idl">interface <b>SVGAnimateElement</b> : <a>SVGAnimationElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGAnimateElement</b> : <a>SVGAnimationElement</a> {
};</pre>

</edit:with>
Expand All @@ -3577,7 +3580,8 @@ <h3 id="InterfaceSVGSetElement">Interface SVGSetElement</h3>
<p>Object-oriented access to the attributes of the <a>'set'</a> element
via the SVG DOM is not available.</p>

<pre class="idl">interface <b>SVGSetElement</b> : <a>SVGAnimationElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGSetElement</b> : <a>SVGAnimationElement</a> {
};</pre>

</edit:with>
Expand All @@ -3592,7 +3596,8 @@ <h3 id="InterfaceSVGAnimateMotionElement">Interface SVGAnimateMotionElement</h3>
<p>Object-oriented access to the attributes of the <a>'animateMotion'</a>
element via the SVG DOM is not available.</p>

<pre class="idl">interface <b>SVGAnimateMotionElement</b> : <a>SVGAnimationElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGAnimateMotionElement</b> : <a>SVGAnimationElement</a> {
};</pre>

</edit:with>
Expand All @@ -3604,7 +3609,8 @@ <h3 id="InterfaceSVGMPathElement">Interface SVGMPathElement</h3>
<p>The <a>SVGMPathElement</a> interface corresponds to the <a>'mpath'</a>
element.</p>

<pre class="idl">interface <b>SVGMPathElement</b> : <a>SVGElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGMPathElement</b> : <a>SVGElement</a> {
};

<a>SVGMPathElement</a> includes <a>SVGURIReference</a>;</pre>
Expand All @@ -3621,7 +3627,8 @@ <h3 id="InterfaceSVGAnimateTransformElement">Interface SVGAnimateTransformElemen
<p>Object-oriented access to the attributes of the
<a>'animateTransform'</a> element via the SVG DOM is not available.</p>

<pre class="idl">interface <b>SVGAnimateTransformElement</b> : <a>SVGAnimationElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGAnimateTransformElement</b> : <a>SVGAnimationElement</a> {
};</pre>

</edit:with>
Expand All @@ -3636,7 +3643,8 @@ <h3 id="InterfaceSVGDiscardElement">Interface SVGDiscardElement</h3>
<p>Object-oriented access to the attributes of the <a>'discard'</a> element
via the SVG DOM is not available.</p>

<pre class="idl">interface <b>SVGDiscardElement</b> : <a>SVGAnimationElement</a> {
<pre class="idl">[Exposed=Window]
interface <b>SVGDiscardElement</b> : <a>SVGAnimationElement</a> {
};</pre>

</edit:with>
Expand Down

0 comments on commit 687af75

Please sign in to comment.