diff --git a/master/types.html b/master/types.html index 177d5fea..05f28b54 100644 --- a/master/types.html +++ b/master/types.html @@ -2116,8 +2116,9 @@
interface SVGAnimatedString { - attribute DOMString baseVal; +[Exposed=Window] +interface SVGAnimatedString { + attribute (DOMString or TrustedScriptURL) baseVal; readonly attribute DOMString animVal; };@@ -2153,13 +2154,22 @@Interface SVGAnimatedString
the following steps are run:+
+- If the reflected attribute’s element is an SVGScriptElement, let value be the result of + executing the Get Trusted Type compliant string + algorithm, with TrustedScriptURL, + reflected attribute’s Document's relevant global object, 'SVGScriptElement href', and 'script'.
+- Otherwise, let value be the specified value.
- If the reflected attribute is not present, the SVGAnimatedString object is defined to additionally reflect a second, deprecated attribute, and that deprecated attribute is present, - then set that deprecated attribute to the specified value.
-- Otherwise, set the reflected attribute to the specified value.
+ then set that deprecated attribute to value. +- Otherwise, set the reflected attribute to value.
SVG does not have a complete script processing model yet. +Trusted Types assumes that the attribute and +text body modification protections behave similarly to ones for HTML scripts.
+For the href member on the SVGURIReference interface, this will result in the deprecated 'xlink:href' attribute being set if it is