diff --git a/files/en-us/web/svg/element/script/index.md b/files/en-us/web/svg/element/script/index.md index 5f59b82d472bf5a..b6c74b91db2e760 100644 --- a/files/en-us/web/svg/element/script/index.md +++ b/files/en-us/web/svg/element/script/index.md @@ -55,13 +55,13 @@ Click the circle to change colors. - [`crossorigin`](/en-US/docs/Web/HTML/Element/script#crossorigin) - : This attribute defines [CORS settings](/en-US/docs/Web/HTML/Attributes/crossorigin) as define for the HTML {{HTMLElement('script')}} element. - _Value type_: [**\**](/en-US/docs/Web/CSS/string); _Default value_: `?`; _Animatable_: **yes** + _Value type_: [**[ anonymous | use-credentials ]?**](/en-US/docs/Web/CSS/string); _Default value_: `?`; _Animatable_: **yes** - {{SVGAttr("href")}} - : The {{Glossary("URL")}} to the script to load. _Value type_: **[\](/en-US/docs/Web/SVG/Content_type#url)** ; _Default value_: _none_; _Animatable_: **no** - {{SVGAttr("type")}} - : This attribute defines type of the script language to use. - _Value type_: [**\**](/en-US/docs/Web/CSS/string); _Default value_: `application/ecmascript`; _Animatable_: **no** + _Value type_: [**``**](/en-US/docs/Glossary/MIME_type); _Default value_: `application/ecmascript`; _Animatable_: **no** - {{SVGAttr("xlink:href")}} {{deprecated_inline}} - : The {{Glossary("URL")}} to the script to load. _Value type_: **[\](/en-US/docs/Web/SVG/Content_type#url)** ; _Default value_: _none_; _Animatable_: **no** diff --git a/files/jsondata/SVGData.json b/files/jsondata/SVGData.json index e6c1967716fb253..d8ffaa0e5986e4d 100644 --- a/files/jsondata/SVGData.json +++ b/files/jsondata/SVGData.json @@ -1329,8 +1329,9 @@ "attributes": [ "coreAttributes", "xLinkAttributes", - "'externalResourcesRequired'", "'type'", + "'href'", + "'crossorigin'", "'xlink:href'" ], "interfaces": ["SVGScriptElement"]