mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
For button layouts, we were overriding the computed `width` value with `fit-content` in `TreeBuilder::wrap_in_button_layout_if_needed()`. But the spec asks us to set the _used value_ instead, so we now actually calculate the fit-content width and set the box' content width to it. Fixes #2516.
185 B
185 B