Skip to content

Commit

Permalink
Add Document member support notes for Chrome
Browse files Browse the repository at this point in the history
This includes some fixes where current data was wrong:
- `hasFocus` was only added in Chrome 34
- `close`, `open`, `writeln` were already fixed in Chrome 45.
- `dir`, `embeds`, `plugins` were already fixed in Chrome 36.
  • Loading branch information
caugner committed Jan 9, 2025
1 parent dc1205a commit c207712
Showing 1 changed file with 57 additions and 25 deletions.
82 changes: 57 additions & 25 deletions api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -1320,11 +1320,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -1394,9 +1394,17 @@
"web-features:dom"
],
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "8"
},
{
"version_added": "1",
"version_removed": "8",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -2514,9 +2522,17 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/designMode",
"spec_url": "https://html.spec.whatwg.org/multipage/interaction.html#dom-document-designmode-dev",
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -2560,11 +2576,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -2919,11 +2935,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -4717,7 +4733,7 @@
],
"support": {
"chrome": {
"version_added": "2"
"version_added": "34"
},
"chrome_android": "mirror",
"edge": {
Expand Down Expand Up @@ -5469,11 +5485,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -5678,11 +5694,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down Expand Up @@ -7439,9 +7455,17 @@
"web-features:dom"
],
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "36"
},
{
"version_added": "1",
"version_removed": "36",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -8347,9 +8371,17 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/write",
"spec_url": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-document-write-dev",
"support": {
"chrome": {
"version_added": "1"
},
"chrome": [
{
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
],
"chrome_android": "mirror",
"edge": {
"version_added": "12"
Expand Down Expand Up @@ -8390,11 +8422,11 @@
"support": {
"chrome": [
{
"version_added": "64"
"version_added": "45"
},
{
"version_added": "1",
"version_removed": "64",
"version_removed": "45",
"partial_implementation": true,
"notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
}
Expand Down

0 comments on commit c207712

Please sign in to comment.