Files
ladybird/Libraries/LibWeb/Layout/LineBox.cpp
Shannon Booth c6809eb53d LibWeb/Layout: Use is_empty() when fragment text has nothing to trim
Treat an empty fragment text view as equivalent to is_null, as we
only need to determine that there is no text to trim.

This does not change trimming behavior as an empty text view reaches
the same result as the previous null only check, since the trimming loop
would not run.
2026-03-31 13:48:50 +01:00

6.1 KiB