Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

TextField size is wrong #132

Open
coffeeispower opened this issue Nov 19, 2022 · 2 comments
Open

TextField size is wrong #132

coffeeispower opened this issue Nov 19, 2022 · 2 comments

Comments

@coffeeispower
Copy link

coffeeispower commented Nov 19, 2022

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

@jmalcolm137
Copy link

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

@ADKaster
Copy link
Member

ADKaster commented Dec 1, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants