mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02: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:
committed by
Andreas Kling
parent
e8a9d23f92
commit
9e064bd3ff
Notes:
github-actions[bot]
2025-10-21 14:43:23 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/9e064bd3ff5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6519 Reviewed-by: https://github.com/AtkinsSJ
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user