From e41856f25c7c4288f4d4606570e90189a200a38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 18 Nov 2022 16:58:26 +0000 Subject: [PATCH] Bug 1801138 - Ensure empty label values don't collapse. r=dao Add a zwsp character to ensure they're not considered an empty line. Differential Revision: https://phabricator.services.mozilla.com/D162301 --- toolkit/content/xul.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css index 78d27fcf768d..eb82572c36ed 100644 --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -167,6 +167,10 @@ description[value]::before { display: block; } +label[value=""]::before { + content: "\200B"; /* zwsp */ +} + label[value][crop]::before, description[value][crop]::before { min-width: 0;