ladybird/Libraries/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
..
Animations LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ARIA
Bindings LibJS: Port the Identifier AST (and related) nodes to UTF-16 2025-08-13 09:56:13 -04:00
Clipboard LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
Compression
ContentSecurityPolicy LibWeb: Use document's global object in is_base_allowed_for_document 2025-08-16 14:19:05 +02:00
Cookie LibWeb+LibWebView: Move RFC6265 helpers to LibWeb 2025-08-08 13:09:58 -04:00
CookieStore LibWeb+LibURL: Default empty string paths to URL's path in CookieStore 2025-08-17 22:17:36 +02:00
CredentialManagement
Crypto LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
CSS LibWeb: Invalidate layout on opacity change to/from zero 2025-08-18 10:21:44 +01:00
DOM LibWeb: Allow style inheritance through slots 2025-08-16 21:03:31 +02:00
DOMURL
Editing LibWeb: Delete entire graphemes when the delete/backspace key is pressed 2025-08-14 22:21:51 +02:00
Encoding LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
EncryptedMediaExtensions
EntriesAPI
EventTiming
Fetch LibWeb: Enforce Integrity Policy on Fetch requests 2025-08-14 13:37:38 +01:00
FileAPI LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
Gamepad LibWeb: Stub Navigator.getGamepads() 2025-07-22 11:55:29 -04:00
Geolocation
Geometry LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
HighResolutionTime LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
HTML LibWeb/HTML: Check all radio buttons in group for required attribute 2025-08-17 22:27:14 +02:00
IndexedDB LibWeb/IDB: Add debug dump to Keys 2025-08-14 09:31:56 +01:00
Infra AK+LibWeb: Add a UTF-16 starts/ends with wrapper for a single code unit 2025-08-07 02:05:50 +02:00
Internals LibWeb: Add Internals.getShadowRoot(element) 2025-08-07 22:15:36 +02:00
IntersectionObserver LibWeb: Add missing null check in root_intersection_rectangle() 2025-08-17 19:09:50 +02:00
Layout LibWeb: Handle text-overflow: ellipsis with trailing whitespace 2025-08-18 11:00:26 +01:00
Loader LibWeb+WebContent: Add IPC to re-establish RequestServer connections 2025-08-10 11:02:50 +02:00
MathML
MediaCapabilitiesAPI LibJS+LibWeb+WebContent: Port JS::PropertyKey to UTF-16 2025-08-05 07:07:15 -04:00
MediaSourceExtensions
MimeSniff LibWeb/MimeSniff: Update Rar signature to match spec 2025-07-31 16:21:20 +02:00
MixedContent
NavigationTiming LibWeb: Only expose performance.{timing,navigation} on Window 2025-07-25 11:46:58 +02:00
Page LibWeb: Implement up/down arrow navigation in textarea 2025-08-15 06:32:11 -04:00
Painting LibWeb: Remove unnecessary as_if<SVGGradientPaintStyle>() on paint_style 2025-08-17 21:18:28 +01:00
PerformanceTimeline LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
PermissionsPolicy
Platform LibCore: Remove macro-generated EventReceiver::try_create(...) factories 2025-08-11 16:55:25 +02:00
ReferrerPolicy
RequestIdleCallback
ResizeObserver LibWeb: Unregister ResizeObserver from Document when it has no targets 2025-07-30 00:54:57 +02:00
ResourceTiming
SecureContexts
Selection LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
Serial LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ServiceWorker LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
SRI
StorageAPI
Streams LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
SVG LibWeb: Implement the color-interpolation property for SVG gradients 2025-08-17 10:51:05 +02:00
TrustedTypes LibWeb: Migrate TrustedTypes to Utf16String 2025-08-11 12:21:31 +01:00
UIEvents LibWeb: Port document.execCommand and InputEvent to UTF-16 2025-07-26 00:40:06 +02:00
URLPattern
UserTiming LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
WebAssembly LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
WebAudio LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
WebDriver WebDriver: Stop using the ancient Core::EventReceiver parent/child API 2025-08-11 16:55:25 +02:00
WebGL LibJS+LibWeb+WebContent: Port JS::PropertyKey to UTF-16 2025-08-05 07:07:15 -04:00
WebIDL LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
WebSockets LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
WebVTT LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
Worker LibWeb+WebWorker: Use IPC mechanics for structured serialization 2025-07-18 10:09:02 -04:00
XHR LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
XLink
XML LibWeb+LibUnicode+WebContent: Port DOM:CharacterData to UTF-16 2025-07-24 19:00:20 +02:00
CMakeLists.txt LibWeb/CSS: Stub out StylePropertyMap 2025-08-13 09:47:50 +01:00
Dump.cpp LibWeb/CSS: Add support for pseudo-classes taking <an+b># 2025-08-13 09:47:28 +01:00
Dump.h
Forward.h LibWeb/CSS: Stub out StylePropertyMap 2025-08-13 09:47:50 +01:00
idl_files.cmake LibWeb/CSS: Stub out StylePropertyMap 2025-08-13 09:47:50 +01:00
InvalidateDisplayList.h
Namespace.cpp
Namespace.h
PixelUnits.cpp
PixelUnits.h
TraversalDecision.h
TraversalOrder.h
TreeNode.h LibWeb: Fix off-by-one offset error in NodeIterator forward traversal 2025-08-02 07:38:27 +02:00