LibWeb: Move input size attr width from css to create_layout_node

This commit is contained in:
Bastiaan van der Plaat 2024-03-07 07:57:57 +01:00 committed by Sam Atkins
commit 7e76358a99
Notes: sideshowbarker 2024-07-17 09:41:18 +09:00
3 changed files with 7 additions and 2 deletions

View file

@ -29,7 +29,6 @@ label {
input:not([type=submit], input[type=button], input[type=image], input[type=reset], input[type=color], input[type=checkbox], input[type=file], input[type=radio], input[type=range]), textarea {
border: 1px solid ButtonBorder;
min-height: 16px;
width: attr(size ch, 20ch);
cursor: text;
overflow: hidden;
}