From c5abc4b9a9e0844e96016a7b9fb9dbbf5c2587d8 Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Thu, 11 Sep 2025 11:35:39 -0700 Subject: [PATCH 1/4] HTML switch control --- features/switch-control.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 features/switch-control.yml diff --git a/features/switch-control.yml b/features/switch-control.yml new file mode 100644 index 00000000000..920cd70e5ab --- /dev/null +++ b/features/switch-control.yml @@ -0,0 +1,8 @@ +name: HTML switch control +description: HTML form control that implement native switcher functionality in a checkbox, using the `switch` attribute. +group: forms +status: + baseline: false + support: + safari: "17.4" + safari_ios: "17.4" From 8f0e52915342f68e72c92fc67961618705bfc8f9 Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Mon, 29 Sep 2025 19:09:56 +0000 Subject: [PATCH 2/4] Update --- features/switch-control.yml.dist | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 features/switch-control.yml.dist diff --git a/features/switch-control.yml.dist b/features/switch-control.yml.dist new file mode 100644 index 00000000000..af32f9e2f28 --- /dev/null +++ b/features/switch-control.yml.dist @@ -0,0 +1,4 @@ +# Generated from: switch-control.yml +# Do not edit this file by hand. Edit the source file instead! + +{} From b796360e658e8523e509d0bfc901d6ac3bd0c0fc Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Fri, 20 Feb 2026 15:06:46 +0100 Subject: [PATCH 3/4] Update features/switch-control.yml --- features/switch-control.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/features/switch-control.yml b/features/switch-control.yml index 920cd70e5ab..18b7781453b 100644 --- a/features/switch-control.yml +++ b/features/switch-control.yml @@ -1,8 +1,8 @@ -name: HTML switch control -description: HTML form control that implement native switcher functionality in a checkbox, using the `switch` attribute. -group: forms -status: - baseline: false - support: - safari: "17.4" - safari_ios: "17.4" +name: '' +description: The `switch` attribute, when present on an `` HTML element, renders a switch control with an on and off state instead of a checkbox control. +group: + - forms + - html-elements +compat_features: + - html.elements.input.switch + From 60f009b960af44140f0885f8c2bb7339737f90f0 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Fri, 20 Feb 2026 15:07:23 +0100 Subject: [PATCH 4/4] Update features/switch-control.yml --- features/switch-control.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/features/switch-control.yml b/features/switch-control.yml index 18b7781453b..344efe1b9d8 100644 --- a/features/switch-control.yml +++ b/features/switch-control.yml @@ -1,5 +1,6 @@ name: '' description: The `switch` attribute, when present on an `` HTML element, renders a switch control with an on and off state instead of a checkbox control. +spec: https://github.com/whatwg/html/pull/9546 group: - forms - html-elements