Index: core/svg/SVGUnitTypes.idl |
diff --git a/core/svg/SVGUnitTypes.idl b/core/svg/SVGUnitTypes.idl |
index 651d7400e7f80134e5cbfa3c81b0b454f2dcd73f..5e497def5186aeafff1711d7786ea3d0e02ffa44 100644 |
--- a/core/svg/SVGUnitTypes.idl |
+++ b/core/svg/SVGUnitTypes.idl |
@@ -23,12 +23,14 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://www.w3.org/TR/SVG2/types.html#InterfaceSVGUnitTypes |
+ |
[ |
DependentLifetime, |
WillBeGarbageCollected |
] interface SVGUnitTypes { |
// Unit Types |
- const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0; |
- const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
- const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
+ [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
}; |