LibWeb: Make input color a rectangle shape like other browser engines

This commit is contained in:
Bastiaan van der Plaat 2024-09-10 22:25:14 +02:00 committed by Tim Flynn
parent 86e372b7dd
commit 51f5c4a718
Notes: github-actions[bot] 2024-09-23 15:05:50 +00:00

View file

@ -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));