mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
Previously, buttons with `display: block` and `width: auto` would take an early return path in compute_width() that set the content width to fit-content but skipped all margin resolution. This meant `margin: auto` would not center the button horizontally.
2.2 KiB
2.2 KiB