mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00

We should calculate whether we need to truncate text with an ellipsis exclusive of any trailing collapsible whitespace. This was causing issues where an inline element was automatically sized (e.g. min-content) as we would calculate available width exclusive of trailing collapsible whitespace and then our text chunk would be wider, always inserting an ellipsis. Fixes the visual element of #4048 but we still are incorrect in how we collapse whitespace more generally
2 lines
33 B
HTML
2 lines
33 B
HTML
<!DOCTYPE html>
|
|
<span>abc</span>
|