Skip to content

Commit 54c2e92

Browse files
committed
Remove changes upstreamed to SVG
See w3c/svgwg#934
1 parent 925bb8c commit 54c2e92

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

spec/index.bs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,33 +1388,6 @@ partial interface ServiceWorkerContainer : EventTarget {
13881388
};
13891389
</pre>
13901390

1391-
## Integration with SVG ## {#integration-with-svg}
1392-
1393-
This document modifies the {{SVGAnimatedString}} interface to enforce Trusted Types:
1394-
1395-
<pre class="idl exclude">
1396-
[Exposed=Window]
1397-
partial interface mixin SVGAnimatedString {
1398-
attribute (DOMString or TrustedScriptURL) baseVal;
1399-
};
1400-
</pre>
1401-
1402-
On setting {{SVGAnimatedString/baseVal}}, the following steps are run:
1403-
1404-
1. <ins>If the reflected <a spec="dom">attribute</a>'s element is a {{SVGScriptElement}}, set |value| to the result of executing [$Get Trusted Type compliant string$] algorithm, with the following arguments:</ins>
1405-
1406-
* <ins>{{TrustedScriptURL}} as |expectedType|,</ins>
1407-
* <ins>reflected attribute's {{Document}}'s [=relevant global object=] as |global|,</ins>
1408-
* <ins>specified value as |input|,</ins>
1409-
* <ins>`SVGScriptElement href` as |sink|,</ins>
1410-
* <ins>'script' as |sinkGroup|.</ins>
1411-
1412-
<ins>Otherwise, set |value| to the specified value.</ins>
1413-
1414-
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 <del>the specified value</del> <ins>|value|</ins>. Otherwise, set the reflected attribute to <ins>|value|</ins> <del>the specified value</del>.
1415-
1416-
Note: SVG does not have a complete script processing model <a href="https://github.com/w3c/svgwg/issues/196">yet</a>. Trusted Types assumes that the attribute and text body modification protections behave similarly to ones for HTML scripts outlined in [[#enforcement-in-scripts]].
1417-
14181391
## Integration with execCommand ## {#integration-with-exec-command}
14191392

14201393
This document modifies the following interfaces defined by the unofficial <a href="https://w3c.github.io/editing/docs/execCommand/">execCommand</a> document:

0 commit comments

Comments
 (0)