Skip to content

Commit

Permalink
add popover API (#19328)
Browse files Browse the repository at this point in the history
* add popover API

* Use multipage references

Co-authored-by: Florian Scholz <[email protected]>

* Use mirror per CI failure

---------

Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
keithamus and Elchi3 authored Apr 11, 2023
1 parent 5c61600 commit 38fa524
Show file tree
Hide file tree
Showing 2 changed files with 239 additions and 0 deletions.
206 changes: 206 additions & 0 deletions api/HTMLElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,41 @@
}
}
},
"beforetoggle_event": {
"__compat": {
"description": "<code>beforetoggle</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event",
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-beforetoggle",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"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"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"blur": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/blur",
Expand Down Expand Up @@ -1235,6 +1270,40 @@
}
}
},
"hidePopover": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/hidePopover",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#dom-hidepopover",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"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"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"inert": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/inert",
Expand Down Expand Up @@ -1773,6 +1842,74 @@
}
}
},
"popover": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/popover",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"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"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"showPopover": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#dom-showpopover",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"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"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"spellcheck": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck",
Expand Down Expand Up @@ -1948,6 +2085,75 @@
}
}
},
"toggle_event": {
"__compat": {
"description": "<code>toggle</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event",
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-toggle",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"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"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"togglePopover": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#dom-togglepopover",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"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"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"translate": {
"__compat": {
"spec_url": "https://html.spec.whatwg.org/multipage/dom.html#dom-translate",
Expand Down
33 changes: 33 additions & 0 deletions html/global_attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,39 @@
}
}
},
"popover": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/popover",
"spec_url": "https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute",
"support": {
"chrome": {
"version_added": "114"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"slot": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot",
Expand Down

0 comments on commit 38fa524

Please sign in to comment.