diff --git a/spec/index.bs b/spec/index.bs index 059ce4c..bbdbae8 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -1388,33 +1388,6 @@ partial interface ServiceWorkerContainer : EventTarget { }; -## Integration with SVG ## {#integration-with-svg} - -This document modifies the {{SVGAnimatedString}} interface to enforce Trusted Types: - -
-[Exposed=Window] -partial interface mixin SVGAnimatedString { - attribute (DOMString or TrustedScriptURL) baseVal; -}; -- -On setting {{SVGAnimatedString/baseVal}}, the following steps are run: - -1. If the reflected attribute's element is a {{SVGScriptElement}}, set |value| to the result of executing [$Get Trusted Type compliant string$] algorithm, with the following arguments: - - * {{TrustedScriptURL}} as |expectedType|, - * reflected attribute's {{Document}}'s [=relevant global object=] as |global|, - * specified value as |input|, - * `SVGScriptElement href` as |sink|, - * 'script' as |sinkGroup|. - - Otherwise, set |value| to the specified value. - -1. 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