Skip to content

Deprecate script element "type" attribute (and "charset" and "type" IDL attributes of HTMLScriptElement)#7264

Merged
foolip merged 2 commits intomdn:masterfrom
w3c:sideshowbarker/script-type-attribute-deprecate
Nov 4, 2020
Merged

Deprecate script element "type" attribute (and "charset" and "type" IDL attributes of HTMLScriptElement)#7264
foolip merged 2 commits intomdn:masterfrom
w3c:sideshowbarker/script-type-attribute-deprecate

Conversation

@sideshowbarker
Copy link
Copy Markdown
Member

@sideshowbarker sideshowbarker commented Nov 4, 2020

This PR marks the type attribute of the script element as deprecated, because at https://html.spec.whatwg.org/multipage/obsolete.html, the HTML spec defines that attribute as obsolete.

Other than that, we’ve already marked as deprecated all other script attributes that the HTML spec defines as obsolete.

This PR also marks as deprecated the charset and type IDL attributes of the HTMLScriptElement interface, because the HTML spec defines the corresponding content/markup attributes as obsolete.

Other than those attributes, we’ve already marked as deprecated all other HTMLScriptElement IDL attributes for which the HTML spec defines the corresponding content/markup attributes as obsolete.

Relates to #7255

This change marks as deprecated the "charset" and "type" IDL
attributes of the HTMLScriptElement interface, because the HTML
spec at https://html.spec.whatwg.org/multipage/obsolete.html
defines the corresponding content/markup attributes as obsolete.

Other than those attributes, we’ve already marked as deprecated
all other HTMLScriptElement IDL attributes for which the HTML spec
defines the corresponding content/markup attributes as obsolete.

Relates to mdn#7255
This change marks the "type" attribute of the script element as deprecated,
because at https://html.spec.whatwg.org/multipage/obsolete.html, the HTML
spec defines that attribute as obsolete.

Other than hat attribute, we’ve already marked as deprecated all other
script attributes that the HTML spec defines as obsolete.

Relates to mdn#7255
@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML labels Nov 4, 2020
@sideshowbarker sideshowbarker changed the title Deprecate the "type" attribute of script element Deprecate the "type" attribute of script element (and "charset" and "type" IDL attributes of HTMLScriptElement) Nov 4, 2020
@sideshowbarker sideshowbarker changed the title Deprecate the "type" attribute of script element (and "charset" and "type" IDL attributes of HTMLScriptElement) Deprecate script element "type" attribute (and "charset" and "type" IDL attributes of HTMLScriptElement) Nov 4, 2020
@foolip foolip merged commit a6f6d39 into mdn:master Nov 4, 2020
@sideshowbarker sideshowbarker deleted the sideshowbarker/script-type-attribute-deprecate branch November 4, 2020 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants