Skip to content

Commit

Permalink
Mark execCommand etc as deprecated & non-standard (#5518)
Browse files Browse the repository at this point in the history
This change marks the following as deprecated & non-standard:

* document.execCommand()
* document.queryCommandEnabled()
* document.queryCommandState()
* document.queryCommandSupported()

None are defined in any specification that is on the standards track.
Instead, https://w3c.github.io/editing/execCommand.html documents them,
but has a big red warning with the following text:

> This spec is incomplete and it is not expected that it will advance
> beyond draft status. Authors should not use most of these features
> directly, but instead use JavaScript editing libraries. The features
> described in this document are not implemented consistently or fully by
> user agents, and it is not expected that this will change in the
> foreseeable future.
  • Loading branch information
sideshowbarker authored and queengooborg committed Jan 20, 2020
1 parent f6fcfdc commit 2d3890a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions api/Document.json
Expand Up @@ -3777,8 +3777,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
},
"ClearAuthenticationCache": {
Expand Down Expand Up @@ -8538,8 +8538,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down Expand Up @@ -8634,8 +8634,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down Expand Up @@ -8696,8 +8696,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down

0 comments on commit 2d3890a

Please sign in to comment.