ladybird/Tests/LibWeb
Callum Law 027c9f53be LibWeb: Handle text-overflow: ellipsis with trailing whitespace
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
2025-08-18 11:00:26 +01:00
..
Assets LibWeb: Do not spin the event loop awaiting text track state changes 2025-06-12 12:25:23 -04:00
Crash LibWeb: Use document's global object in is_base_allowed_for_document 2025-08-16 14:19:05 +02:00
Fixtures Meta: Sort all python imports 2025-06-09 11:25:14 -04:00
Layout LibWeb: Allow blockification across display: contents boundary 2025-08-17 19:09:50 +02:00
Ref LibWeb: Handle text-overflow: ellipsis with trailing whitespace 2025-08-18 11:00:26 +01:00
Screenshot LibWeb/Painting: Paint ridge and groove border styles 2025-08-11 11:07:15 +01:00
test-web Tests: Set SIGTERM as the timeout signal handler for ctest 2025-08-17 20:51:56 -04:00
Text LibWeb/CSS: Reify StyleValues in StylePropertyMap get()/getAll() 2025-08-18 10:12:53 +01:00
add_libweb_test.py Tests/LibWeb: Generate screenshot test boilerplate in add_libweb_test.py 2025-08-05 09:59:47 +01:00
CMakeLists.txt LibWeb/CSS: Parse the CSS <syntax> type into a tree 2025-07-16 14:47:45 +01:00
TestConfig.ini LibWeb: Parse and propagate the iframe sandbox attribute 2025-08-07 19:24:39 +02:00
TestCSSIDSpeed.cpp
TestCSSInheritedProperty.cpp Meta/LibWeb: Use correct shorthand range in is_inherited_property 2024-12-22 12:33:41 +01:00
TestCSSPixels.cpp
TestCSSSyntaxParser.cpp LibWeb/CSS: Parse the CSS <syntax> type into a tree 2025-07-16 14:47:45 +01:00
TestCSSTokenStream.cpp
TestFetchInfrastructure.cpp
TestFetchURL.cpp Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
TestHTMLTokenizer.cpp LibWeb: Add simple named character reference test to TestHTMLTokenizer 2025-07-04 11:57:19 +02:00
TestHTMLTokenizerSwift.swift
TestLibWebSwiftBindings.swift
TestMicrosyntax.cpp
TestMimeSniff.cpp LibWeb/MimeSniff: Update Rar signature to match spec 2025-07-31 16:21:20 +02:00
TestNumbers.cpp
TestStrings.cpp LibWeb: Only use code unit length for is_code_unit_prefix 2025-05-12 11:20:32 +02:00
tokenizer-test.html