ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

TextField size is wrong

Open coffeeispower opened this issue 3 years ago • 2 comments

As shown in a recent video where @awesomekling managed to login into discord using lady bird (yay!), the text fields size are a little bit weird, the height shrinks when its empty, and also it should have some default width, if you create a text field in firefox or chrome you can see it adds a default width to it

Speaking of discord, the email and password text fields have the different widths, probably it has something to do with the default width thing

coffeeispower avatar Nov 19 '22 15:11 coffeeispower

Firefox has a default stylesheet that takes care of this kind of thing. Does Ladybird use a default stylesheet?

jmalcolm137 avatar Dec 01 '22 00:12 jmalcolm137

The user agent style sheet as outlined in the HTML and CSS specs is here, though there's definitely things that are either missing or ad hoc still. https://github.com/SerenityOS/serenity/blob/master/Userland/Libraries/LibWeb/CSS/Default.css

ADKaster avatar Dec 01 '22 00:12 ADKaster