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:
Andreas Kling 2025-10-20 08:27:12 +02:00 committed by Andreas Kling
commit 9e064bd3ff
Notes: github-actions[bot] 2025-10-21 14:43:23 +00:00
4 changed files with 12 additions and 9 deletions

View file

@ -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;