Add defintions file for masking spec
authorDirk Schulze <dschulze@adobe.com>
Tue, 26 Mar 2013 09:34:26 -0700
changeset 459 b69f2019f108
parent 458 223ed12e6d32
child 460 154482737191
Add defintions file for masking spec
master/definitions-masking.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/master/definitions-masking.xml	Tue Mar 26 09:34:26 2013 -0700
@@ -0,0 +1,56 @@
+<!-- Definitions for Filter Effects 1.0. -->
+
+<definitions xmlns='http://mcc.id.au/ns/local' xmlns:x='http://mcc.id.au/ns/local'>
+
+  <!-- === defined in this specification ================================== -->
+
+  <!-- ... elements and element-specific attributes ....................... -->
+
+  <element
+      name='mask'
+      href='#MaskElement'
+      contentmodel='anyof'
+      elementcategories='animation, descriptive, shape, structural, gradient'
+      elements='a, clipPath, color-profile, cursor, filter, font, font-face, foreignObject, image, marker, mask, pattern, script, style, switch, view, text, altGlyphDef'
+      attributecategories='conditional processing, core, presentation, style'
+      interfaces='SVGMaskElement'>
+    <attribute name='x' elements='mask' href='#MaskElementXAttribute' animatable='yes'/>
+    <attribute name='y' elements='mask' href='#MaskElementYAttribute' animatable='yes'/>
+    <attribute name='width' elements='mask' href='#MaskElementWidthAttribute' animatable='yes'/>
+    <attribute name='height' elements='mask' href='#MaskElementHeightAttribute' animatable='yes'/>
+    <attribute name='maskUnits' elements='mask' href='#MaskElementMaskUnitsAttribute' animatable='yes'/>
+    <attribute name='maskContentUnits' elements='mask' href='#MaskElementMaskContentUnitsAttribute' animatable='yes'/>
+  </element>
+
+  <element
+      name='clipPath'
+      href='#ClipPathElement'
+      contentmodel='anyof'
+      elementcategories='descriptive, animation, shape'
+      elements='text, use'
+      attributecategories='conditional processing, core, presentation, style'
+      attributes='externalResourcesRequired, transform'
+      interfaces='SVGClipPathElement'>
+    <attribute name='clipPathUnits' elements='clipPath' href='#ClipPathElementClipPathUnitsAttribute' animatable='yes'/>
+  </element>
+
+  <!-- attribute common to most filter primitives (all except feFlood feImage feMerge feTurbulence) -->
+
+  <!-- ... properties ..................................................... -->
+
+  <property name='mask' href='#MaskProperty'/>
+
+  <!-- ... interfaces ..................................................... -->
+
+  <interface name='SVGMaskElement' href='#InterfaceSVGMaskElement'/>
+  <interface name='SVGClipPathElement' href='#InterfaceSVGClipPathElement'/>
+
+  <!-- ... grammar symbols ................................................ -->
+  <symbol name='mask-source' href='#DataTypeMaskSource'/>
+
+  <!-- ... terms (these will be generated later) .......................... -->
+
+  <!-- === defined in other specifications ================================ -->
+
+  <term name='compound selector' href='http://dev.w3.org/csswg/selectors4/#compound'/>
+</definitions>