Skip to content

Commit a6f6d39

Browse files
Deprecate script element "type" attribute (and "charset" and "type" IDL attributes of HTMLScriptElement) (#7264)
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. - - - - 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 #7255
1 parent b3ea219 commit a6f6d39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/HTMLScriptElement.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"status": {
138138
"experimental": false,
139139
"standard_track": true,
140-
"deprecated": false
140+
"deprecated": true
141141
}
142142
}
143143
},
@@ -588,7 +588,7 @@
588588
"status": {
589589
"experimental": false,
590590
"standard_track": true,
591-
"deprecated": false
591+
"deprecated": true
592592
}
593593
}
594594
}

html/elements/script.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@
551551
"status": {
552552
"experimental": false,
553553
"standard_track": true,
554-
"deprecated": false
554+
"deprecated": true
555555
}
556556
},
557557
"module": {

0 commit comments

Comments
 (0)