mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +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: https://github.com/LadybirdBrowser/ladybird/commit/51f5c4a7184 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();
|
||||
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));
|
||||
|
|
Loading…
Add table
Reference in a new issue