зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
160cf249af
Коммит
e41856f25c
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче