SerenityOS / ladybird

The Ladybird web browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextField size is wrong

coffeeispower opened this issue · 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

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

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