mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Remove label default inline-block style
Let labels fall back to their default inline display so empty labels do not create extra line height above following block content. Add a regression for the empty-label case and update the file input layout expectation for the UA shadow label.
This commit is contained in:
Notes:
github-actions[bot]
2026-03-21 07:41:37 +00:00
Author: https://github.com/robryanx Commit: https://github.com/LadybirdBrowser/ladybird/commit/1b508c4e42e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8483 Reviewed-by: https://github.com/tcl3 ✅
@@ -19,11 +19,6 @@ 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:not([type=submit], input[type=button], input[type=image], input[type=reset], input[type=color], input[type=checkbox], input[type=file], input[type=radio], input[type=range]), textarea {
|
||||
border: 1px solid ButtonBorder;
|
||||
|
||||
Reference in New Issue
Block a user