mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-25 09:30:01 +00:00
LibWeb: Make input type=text placeholder render as a block-level element
This will make the width: 100% we already apply actually do something useful to the placeholders.
This commit is contained in:
parent
e8a9d23f92
commit
9e064bd3ff
Notes:
github-actions[bot]
2025-10-21 14:43:23 +00:00
Author: https://github.com/awesomekling
Commit: 9e064bd3ff
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6519
Reviewed-by: https://github.com/AtkinsSJ
4 changed files with 12 additions and 9 deletions
|
|
@ -802,7 +802,6 @@ static GC::Ref<CSS::CSSStyleProperties> placeholder_style_when_visible()
|
|||
align-items: center;
|
||||
text-overflow: clip;
|
||||
white-space: nowrap;
|
||||
display: inline;
|
||||
)~~~"sv);
|
||||
}
|
||||
return *style;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue