Skip to content

Commit

Permalink
Merge pull request #295 from foolip/SVGUnitTypes
Browse files Browse the repository at this point in the history
Make SVGUnitTypes a regular interface with only constants
  • Loading branch information
nikosandronikos committed Nov 22, 2016
2 parents 445da98 + 1750e01 commit 90aca53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions master/pservers.html
Original file line number Diff line number Diff line change
Expand Up @@ -3465,7 +3465,6 @@ <h3 id="InterfaceSVGGradientElement">Interface SVGGradientElement</h3>
};

<a>SVGGradientElement</a> implements <a>SVGURIReference</a>;
<a>SVGGradientElement</a> implements <a>SVGUnitTypes</a>;</pre>

<p>The numeric spread method type constants defined on <a>SVGGradientElement</a>
are used to represent the keyword values that the <span class='attr-name'>'spreadMethod'</span>
Expand Down Expand Up @@ -3638,7 +3637,6 @@ <h3 id="InterfaceSVGPatternElement">Interface SVGPatternElement</h3>

<a>SVGPatternElement</a> implements <a>SVGFitToViewBox</a>;
<a>SVGPatternElement</a> implements <a>SVGURIReference</a>;
<a>SVGPatternElement</a> implements <a>SVGUnitTypes</a>;</pre>

<p>The <b id="__svg__SVGPatternElement__patternUnits">patternUnits</b>
and <b id="__svg__SVGPatternElement__patternContentUnits">patternContentUnits</b>
Expand Down
6 changes: 2 additions & 4 deletions master/types.html
Original file line number Diff line number Diff line change
Expand Up @@ -2288,11 +2288,9 @@ <h3 id="InterfaceSVGUnitTypes">Interface SVGUnitTypes</h3>

<p>The <a>SVGUnitTypes</a> interface defines a commonly used set of constants
used for reflecting <a>'linearGradient/gradientUnits'</a>, <a>'pattern/patternContentUnits'</a> and
other similar attributes. It is mixed in to other interfaces for elements
that support such attributes.</p>
other similar attributes.</p>

<pre class="idl">[NoInterfaceObject]
interface <b>SVGUnitTypes</b> {
<pre class="idl">interface <b>SVGUnitTypes</b> {
// Unit Types
const unsigned short <a href="types.html#__svg__SVGUnitTypes__SVG_UNIT_TYPE_UNKNOWN">SVG_UNIT_TYPE_UNKNOWN</a> = 0;
const unsigned short <a href="types.html#__svg__SVGUnitTypes__SVG_UNIT_TYPE_USERSPACEONUSE">SVG_UNIT_TYPE_USERSPACEONUSE</a> = 1;
Expand Down

0 comments on commit 90aca53

Please sign in to comment.