Allow mask element as child content of graphics and container elements
authorBrian Birtles <birtles@gmail.com>
Tue, 31 Jul 2012 15:59:28 +0900
changeset 215 759b43f83e79
parent 214 7babd18cad0b
child 216 09ad2172e952
Allow mask element as child content of graphics and container elements
master/definitions.xml
--- a/master/definitions.xml	Tue Jul 31 15:59:28 2012 +0900
+++ b/master/definitions.xml	Tue Jul 31 15:59:28 2012 +0900
@@ -110,6 +110,7 @@
       href='shapes.html#CircleElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGCircleElement'>
@@ -188,6 +189,7 @@
       href='shapes.html#EllipseElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGEllipseElement'>
@@ -646,6 +648,7 @@
       href='struct.html#ImageElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='core, conditional processing, graphical event, style, xlink, presentation'
       attributes='preserveAspectRatio, transform'
       interfaces='SVGImageElement'>
@@ -661,6 +664,7 @@
       href='shapes.html#LineElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGLineElement'>
@@ -791,6 +795,7 @@
       href='paths.html#PathElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGPathElement'>
@@ -822,6 +827,7 @@
       href='shapes.html#PolygonElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGPolygonElement'>
@@ -833,6 +839,7 @@
       href='shapes.html#PolylineElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGPolylineElement'>
@@ -864,6 +871,7 @@
       href='shapes.html#RectElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform'
       interfaces='SVGRectElement'>
@@ -950,7 +958,7 @@
     href='struct.html#SwitchElement'
     contentmodel='anyof'
     elementcategories='animation, descriptive, shape'
-    elements='svg, g, use, text, image, a, foreignObject, switch'
+    elements='svg, g, use, text, image, a, foreignObject, switch, mask'
     attributecategories='conditional processing, core, graphical event, presentation, style'
     attributes='transform'
     interfaces='SVGSwitchElement'/>
@@ -970,7 +978,7 @@
       href='text.html#TextElement'
       contentmodel='textoranyof'
       elementcategories='animation, descriptive, text content child'
-      elements='a'
+      elements='a, mask'
       attributecategories='conditional processing, core, graphical event, presentation, style'
       attributes='transform, lengthAdjust'
       interfaces='SVGTextElement'>
@@ -1032,6 +1040,7 @@
       href='struct.html#UseElement'
       contentmodel='anyof'
       elementcategories='animation, descriptive'
+      elements='mask'
       attributecategories='core, conditional processing, graphical event, presentation, style, xlink'
       attributes='transform'
       interfaces='SVGUseElement'>