From 51f5c4a71848742bed6747bbff1631efcf4be37d Mon Sep 17 00:00:00 2001 From: Bastiaan van der Plaat Date: Tue, 10 Sep 2024 22:25:14 +0200 Subject: [PATCH] LibWeb: Make input color a rectangle shape like other browser engines --- Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp index 7fcf5c4cd81..5b6d26ef79e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp @@ -923,8 +923,8 @@ void HTMLInputElement::create_color_input_shadow_tree() m_color_well_element = DOM::create_element(document(), HTML::TagNames::div, Namespace::HTML).release_value_but_fixme_should_propagate_errors(); MUST(m_color_well_element->set_attribute(HTML::AttributeNames::style, R"~~~( - width: 24px; - height: 24px; + width: 32px; + height: 16px; border: 1px solid ButtonBorder; box-sizing: border-box; )~~~"_string));