Skip to content
Merged
Changes from 1 commit
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
51 changes: 43 additions & 8 deletions api/HTMLElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "141"
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -2448,7 +2448,7 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
}
Expand All @@ -2467,7 +2467,7 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "141"
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -2482,7 +2482,7 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
}
Expand Down Expand Up @@ -2862,6 +2862,41 @@
"deprecated": false
}
},
"force": {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied the pattern of source.
For both this and source shouldn't the actual pattern be as below, based on the schema? Or did that change?

Suggested change
"force": {
"option_force": {

Copy link
Contributor

Choose a reason for hiding this comment

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

Given that force can be both a parameter and an option, and the option came later, we might want to record it as both force_parameter and force_option, to avoid confusion.

Copy link
Contributor Author

@hamishwillee hamishwillee Jun 30, 2025

Choose a reason for hiding this comment

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

Yes. That is absolutely the right thing to do. I have changed this to match the expected schema and key names.

PS Thanks for doing the research on when these were introduced in chrome/safari

"__compat": {
"description": "`force` option",
"spec_url": "https://html.spec.whatwg.org/multipage/dom.html#dom-togglepopoveroptions-force",
"tags": [
"web-features:popover"
],
"support": {
"chrome": {
"version_added": false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note, I can't find evidence that they are supported in chrome or Safari, but nor can I find evidence they aren't

Copy link
Contributor

Choose a reason for hiding this comment

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

},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "141"
},
"firefox_android": "mirror",
"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
}
}
},
"returns_boolean": {
"__compat": {
"description": "Returns `true` or `false`",
Expand Down Expand Up @@ -2912,7 +2947,7 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "141"
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -2929,7 +2964,7 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
}
Expand All @@ -2948,7 +2983,7 @@
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
"version_added": "141"
},
"firefox_android": "mirror",
"oculus": "mirror",
Expand All @@ -2963,7 +2998,7 @@
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"experimental": false,
"standard_track": true,
"deprecated": false
}
Expand Down