From c30911ab102145117a551ee8b5daf50900636e66 Mon Sep 17 00:00:00 2001 From: Bastiaan van der Plaat Date: Wed, 20 Dec 2023 18:21:32 +0100 Subject: [PATCH] LibWeb: Hide select chevron icon when `appearance: none;` --- Base/res/html/misc/select.html | 21 +++++++++++++++++ Userland/Libraries/LibWeb/CSS/Default.css | 4 ---- Userland/Libraries/LibWeb/DOM/Element.cpp | 2 ++ Userland/Libraries/LibWeb/DOM/Element.h | 2 ++ .../LibWeb/HTML/HTMLSelectElement.cpp | 23 +++++++++++++++---- .../Libraries/LibWeb/HTML/HTMLSelectElement.h | 3 +++ 6 files changed, 46 insertions(+), 9 deletions(-) diff --git a/Base/res/html/misc/select.html b/Base/res/html/misc/select.html index 2618a21f75f..4d1f8de676a 100644 --- a/Base/res/html/misc/select.html +++ b/Base/res/html/misc/select.html @@ -4,6 +4,16 @@ Select showcase +

Basic select:

@@ -33,6 +43,17 @@ Value: ?

+

Basic select with custom styling:

+

+ +

+

Basic select with option groups and separators: