mozilla

Revision 426847 of result

  • Revision slug: Web/SVG/Attribute/result
  • Revision title: result
  • Revision id: 426847
  • Created:
  • Creator: Jeremie
  • Is current revision? Yes
  • Comment page created, 175 words addedSVG/Attribute/result Web/SVG/Attribute/result

Revision Content

« SVG Attribute reference home

The result attribute defines the assigned name for this filter primitive. If supplied, then graphics that result from processing this filter primitive can be referenced by an {{ SVGAttr("in") }} attribute on a subsequent filter primitive within the same {{ SVGElement("filter") }} element. If no value is provided, the output will only be available for re-use as the implicit input into the next filter primitive if that filter primitive provides no value for its {{ SVGAttr("in") }} attribute.

Usage context

Categories None
Value <filter-primitive-reference>
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Note that a <filter-primitive-reference> is not an XML ID; instead, a <filter-primitive-reference> is only meaningful within a given {{ SVGElement("filter") }} element and thus have only local scope. It is legal for the same <filter-primitive-reference> to appear multiple times within the same {{ SVGElement("filter") }} element. When referenced, the <filter-primitive-reference> will use the closest preceding filter primitive with the given result.

Elements

The following elements can use the result attribute

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>result</code> attribute defines the assigned name for this filter primitive. If supplied, then graphics that result from processing this filter primitive can be referenced by an {{ SVGAttr("in") }} attribute on a subsequent filter primitive within the same {{ SVGElement("filter") }} element. If no value is provided, the output will only be available for re-use as the implicit input into the next filter primitive if that filter primitive provides no value for its {{ SVGAttr("in") }} attribute.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>None</td> </tr> <tr> <th scope="row">Value</th> <td>&lt;filter-primitive-reference&gt;</td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/filters.html#FilterPrimitiveResultAttribute" title="http://www.w3.org/TR/SVG/filters.html#FilterPrimitiveResultAttribute">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<p>Note that a <code>&lt;filter-primitive-reference&gt;</code> is not an XML ID; instead, a <code>&lt;filter-primitive-reference&gt;</code> is only meaningful within a given {{ SVGElement("filter") }} element and thus have only local scope. It is legal for the same <code>&lt;filter-primitive-reference&gt;</code> to appear multiple times within the same {{ SVGElement("filter") }} element. When referenced, the <code>&lt;filter-primitive-reference&gt;</code> will use the closest preceding filter primitive with the given result.</p>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>result</code> attribute</p>
<ul> <li><a href="/en/SVG/Element#FilterPrimitive" title="en/SVG/Element#FilterPrimitive">Filter primitive elements</a> »</li>
</ul>
Revert to this revision