Skip to content
New issue

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

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

Already on GitHub? # to your account

Add controlslist #1194

Merged
merged 1 commit into from
Jun 5, 2024
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
8 changes: 8 additions & 0 deletions features/controls-list.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: controlslist
description: The `controlslist` attribute for `<audio>` or `<video>` hides parts of the browser's built-in controls. For example, `controlslist="nofullscreen"` removes the button to play the video in fullscreen.
spec: https://wicg.github.io/controls-list/
group: media-elements
compat_features:
- api.HTMLMediaElement.controlsList
- html.elements.audio.controlslist
- html.elements.video.controlslist
9 changes: 9 additions & 0 deletions features/controls-list.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Generated from: controls-list.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "58"
chrome_android: "58"
edge: "79"
4 changes: 4 additions & 0 deletions scripts/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ const defaultAllowlist: allowlistItem[] = [
[
"https://w3c.github.io/IntersectionObserver/v2/",
"Allowed because it's shipped in Chrome and tracked on caniuse.com. Remove this exception when https://github.com/w3c/browser-specs/pull/1210 merges."
],
[
"https://wicg.github.io/controls-list/",
"Allowed because it's shipped in Chrome. Remove this exception if https://github.com/whatwg/html/pull/6715 is merged."
]
];

Expand Down
Loading