From 5b928f65b92118a42e6ce729bb05afa5d19bf568 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sun, 8 Sep 2024 23:41:31 -0700 Subject: [PATCH 1/2] Add missing css.properties.display.none.option_is_hidden feature This PR adds the missing `none.option_is_hidden` member of the `display` CSS property. The data comes from manual testing, running test code through BrowserStack, SauceLabs, custom VMs and/or locally. Test Code: ```html ``` Additional Notes: This fixes #24247. --- css/properties/display.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/css/properties/display.json b/css/properties/display.json index c5a70a7eb7e62e..138cc5e3a47872 100644 --- a/css/properties/display.json +++ b/css/properties/display.json @@ -787,6 +787,39 @@ "standard_track": true, "deprecated": false } + }, + "option_is_hidden": { + "__compat": { + "description": "Setting display: none on an <option> element hides it from the dropdown", + "support": { + "chrome": { + "version_added": "1" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "1" + }, + "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": false, + "standard_track": false, + "deprecated": false + } + } } }, "ruby": { From 396ecd2be0b1265c1c79b891d6980ce47cb1d017 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 11 Oct 2024 23:25:52 -0700 Subject: [PATCH 2/2] Update css/properties/display.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --- css/properties/display.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties/display.json b/css/properties/display.json index 138cc5e3a47872..07025f03dce4d4 100644 --- a/css/properties/display.json +++ b/css/properties/display.json @@ -790,7 +790,7 @@ }, "option_is_hidden": { "__compat": { - "description": "Setting display: none on an <option> element hides it from the dropdown", + "description": "Setting display: none on an <option> element hides it from the dropdown.", "support": { "chrome": { "version_added": "1"