Skip to content

Commit

Permalink
Move innerText feature from script element to html element
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee committed Feb 7, 2025
1 parent 46fe354 commit df3f74f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 47 deletions.
48 changes: 48 additions & 0 deletions api/HTMLElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -1824,6 +1824,54 @@
"standard_track": true,
"deprecated": false
}
},
"scripts_accept_TrustedScript": {
"__compat": {
"description": "Can be set with `TrustedScript` instances in `HTMLScriptElement`.",
"spec_url": "https://w3c.github.io/trusted-types/dist/spec/#dom-htmlscriptelement-innertext",
"tags": [
"web-features:script",
"web-features:trusted-types"
],
"support": {
"chrome": {
"version_added": "83"
},
"chrome_android": "mirror",
"edge": {
"version_added": false
},
"firefox": {
"version_added": "135",
"flags": [
{
"type": "preference",
"name": "dom.security.trusted_types.enabled",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
},
"inputMode": {
Expand Down
47 changes: 0 additions & 47 deletions api/HTMLScriptElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -417,53 +417,6 @@
}
}
},
"innerText": {
"__compat": {
"spec_url": "https://w3c.github.io/trusted-types/dist/spec/#dom-htmlscriptelement-innertext",
"tags": [
"web-features:script",
"web-features:trusted-types"
],
"support": {
"chrome": {
"version_added": "83"
},
"chrome_android": "mirror",
"edge": {
"version_added": false
},
"firefox": {
"version_added": "135",
"flags": [
{
"type": "preference",
"name": "dom.security.trusted_types.enabled",
"value_to_set": "true"
}
]
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"integrity": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity",
Expand Down

0 comments on commit df3f74f

Please sign in to comment.