From 8a3ca6416d3efeff890b9bdf4ed9782bd17f7f6c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 6 Oct 2022 14:55:41 +0200 Subject: [PATCH] LibWeb: Make labels be `display: inline-block` in the default UA style This is weird, but matches the behavior we've had so far. Leaving a FIXME about how this doesn't seem right. --- Userland/Libraries/LibWeb/CSS/Default.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index ec6ad645a8..f2b417295f 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -20,6 +20,11 @@ blink { display: inline; } +/* FIXME: This doesn't seem right. */ +label { + display: inline-block; +} + /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */ input, textarea { border: 1px solid -libweb-palette-threed-shadow1;