mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb: Make input color a rectangle shape like other browser engines
This commit is contained in:
parent
86e372b7dd
commit
51f5c4a718
Notes:
github-actions[bot]
2024-09-23 15:05:50 +00:00
Author: https://github.com/bplaat
Commit: 51f5c4a718
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1365
Reviewed-by: https://github.com/trflynn89
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
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"~~~(
|
MUST(m_color_well_element->set_attribute(HTML::AttributeNames::style, R"~~~(
|
||||||
width: 24px;
|
width: 32px;
|
||||||
height: 24px;
|
height: 16px;
|
||||||
border: 1px solid ButtonBorder;
|
border: 1px solid ButtonBorder;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
)~~~"_string));
|
)~~~"_string));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue