Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Safari data for HTML Element APIs #7402

Merged
merged 5 commits into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/HTMLAnchorElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@
"version_added": true
},
"safari": {
"version_added": true
"version_added": false
Copy link
Collaborator

@sideshowbarker sideshowbarker Nov 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I realize this patch is scoped to just updating the Safari data — but as far as I can see, all the data we have for this feature is wrong. There’s no HTMLAnchorElement.prototype.media in Blink or Gecko either — which is unsurprising since https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement doesn’t actually define a media member for HTMLAnchorElement, not even as an obsolete member in https://html.spec.whatwg.org/multipage/obsolete.html#HTMLAnchorElement-partial. And there is actually no https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/media article.

So it seems to me we should just remove this entire feature.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree that this should be removed. I think it's worth applying this change first, however, since (eventually) the feature would then show up in a listing of features not supported anywhere. Per our data it's still in Edge and Firefox, and we should check that before removal.

@vinyldarkscratch can you split this out into a separate PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm: by splitting out, are you talking about this change, or removing the feature?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean doing the removal separately. Setting this to false here is fine.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, thanks for the clarification! Definitely, I'll get a PR for that.

},
"safari_ios": {
"version_added": true
"version_added": false
},
"samsunginternet_android": {
"version_added": true
Expand Down
12 changes: 6 additions & 6 deletions api/HTMLAreaElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@
"version_added": true
},
"safari": {
"version_added": true
"version_added": false
Copy link
Collaborator

@sideshowbarker sideshowbarker Nov 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s no HTMLAreaElement.prototype.hreflang in Blink or Gecko either — and https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement doesn’t actually define a hreflang member for HTMLAreaElement, not even as an obsolete member in https://html.spec.whatwg.org/multipage/obsolete.html#HTMLAreaElement-partiall. And there is actually no https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hreflang article.

So it seems to me we should just remove this entire feature.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The data still says Edge and Firefox support this. Not sure if that's right, though.

},
"safari_ios": {
"version_added": true
"version_added": false
},
"samsunginternet_android": {
"version_added": true
Expand Down Expand Up @@ -268,10 +268,10 @@
"version_added": true
},
"safari": {
"version_added": true
"version_added": false
},
"safari_ios": {
"version_added": true
"version_added": false
},
"samsunginternet_android": {
"version_added": true
Expand Down Expand Up @@ -604,10 +604,10 @@
"version_added": true
},
"safari": {
"version_added": true
"version_added": false
},
"safari_ios": {
"version_added": true
"version_added": false
},
"samsunginternet_android": {
"version_added": true
Expand Down
20 changes: 10 additions & 10 deletions api/HTMLButtonElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -273,7 +273,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -321,7 +321,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -366,10 +366,10 @@
"version_added": "≤12.1"
},
"safari": {
"version_added": "5.1"
"version_added": "5"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -417,7 +417,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -465,7 +465,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -657,7 +657,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -705,7 +705,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -801,7 +801,7 @@
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
"version_added": "3"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down
2 changes: 1 addition & 1 deletion api/HTMLCanvasElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
"version_added": "3"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down
16 changes: 8 additions & 8 deletions api/HTMLElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
"version_added": false
},
"safari_ios": {
"version_added": false
"version_added": "10.3"
},
"samsunginternet_android": {
"version_added": "9.0"
Expand Down Expand Up @@ -703,7 +703,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -799,7 +799,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -1154,7 +1154,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "6"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -1299,7 +1299,7 @@
"version_added": "3"
},
"safari_ios": {
"version_added": "4"
"version_added": "≤3"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -2461,10 +2461,10 @@
"version_added": true
},
"safari": {
"version_added": "6"
"version_added": "≤4"
},
"safari_ios": {
"version_added": "6"
"version_added": "≤3"
},
"samsunginternet_android": {
"version_added": "4.0"
Expand Down Expand Up @@ -3160,7 +3160,7 @@
"version_added": "5.1"
},
"safari_ios": {
"version_added": "5.1"
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "4.0"
Expand Down
6 changes: 3 additions & 3 deletions api/HTMLFieldSetElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -463,7 +463,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -511,7 +511,7 @@
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
"version_added": "3"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down
4 changes: 2 additions & 2 deletions api/HTMLFormElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down Expand Up @@ -608,7 +608,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0"
Expand Down
4 changes: 2 additions & 2 deletions api/HTMLHeadElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@
"version_added": false
},
"safari": {
"version_added": false
"version_added": "≤4"
},
"safari_ios": {
"version_added": false
"version_added": "≤3"
},
"samsunginternet_android": {
"version_added": false
Expand Down
4 changes: 2 additions & 2 deletions api/HTMLIFrameElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@
"version_added": "5"
},
"safari_ios": {
"version_added": "5"
"version_added": "4"
},
"samsunginternet_android": {
"version_added": "1.0",
Expand Down Expand Up @@ -1091,7 +1091,7 @@
"version_added": "6"
},
"safari_ios": {
"version_added": true
"version_added": "6"
},
"samsunginternet_android": {
"version_added": "1.5"
Expand Down
4 changes: 2 additions & 2 deletions api/HTMLImageElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,10 @@
"version_added": true
},
"safari": {
"version_added": true
"version_added": "≤4"
},
"safari_ios": {
"version_added": true
"version_added": "≤3"
},
"samsunginternet_android": {
"version_added": false
Expand Down
Loading