mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibWeb: Add some default style for <textarea> elements and a test
This commit is contained in:
parent
f912a48315
commit
3eb6016dda
3 changed files with 13 additions and 1 deletions
|
@ -222,7 +222,7 @@ ol {
|
|||
}
|
||||
|
||||
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
|
||||
input {
|
||||
input, textarea {
|
||||
border: 1px solid black;
|
||||
min-width: 80px;
|
||||
min-height: 16px;
|
||||
|
@ -231,6 +231,12 @@ input {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
textarea {
|
||||
padding: 2px;
|
||||
display: inline-block;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
input[type=submit], input[type=button], input[type=reset], input[type=checkbox], input[type=radio] {
|
||||
border: none;
|
||||
min-width: unset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue