-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LibWeb/HTML: Skip layout for a an empty label that controls nothing #3079
base: master
Are you sure you want to change the base?
Conversation
27e9977
to
3ae152f
Compare
Removing the label from layouting isn't the solution to this and I doubt it's what the spec requires. <label style="padding:100px"></label>Hello! Those 100px of padding still need to exist and need to shove the "Hello!" over to the right. Screenshots for the example above: It seems to me that the actual solution here is to just remove the |
Makes sense. I'll try to adjust. Maybe just zero the height? Spec for
Brings up a whole other can of worms. Lots of stuff seems to be relying on that.
Thanks @Psychpsyo! |
I think the whole other can of worms might be what needs dealing with here. Just zeroing the height for example doesn't work since any label can be given |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
Fixes #2864