ladybird/Libraries/LibWeb
Tim Ledbetter 80977b5fea LibWeb: Apply contain constraint in default image sizing algorithm
When an image has no intrinsic dimensions but has an intrinsic aspect
ratio, the CSS default sizing algorithm should resolve its size as a
contain constraint against the default object size. Previously, we
returned the default size directly, which caused such images to stretch
to fill the entire background positioning area. The SVG's default
`preserveAspectRatio` would then center the content within that
oversized viewport, making the image appear horizontally mispositioned.
2026-03-03 17:14:19 +01:00
..
Animations LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
ARIA LibWeb: Shave 168 bytes off of ARIAMixin 2025-11-07 16:59:26 +01:00
Bindings LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
Clipboard LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
Compression Everywhere: Make ByteBuffer::bytes() lvalue-only 2025-12-10 07:43:22 -05:00
ContentSecurityPolicy LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
CookieStore LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
CredentialManagement LibWeb: Do not pass GC::Ptr by reference 2026-02-22 14:55:30 -05:00
Crypto LibCrypto: Add AES-OCB support 2026-02-27 12:03:19 +01:00
CSS LibWeb: Apply contain constraint in default image sizing algorithm 2026-03-03 17:14:19 +01:00
DOM LibWeb: Update layout before accessing paintable in label activation 2026-03-03 16:35:37 +01:00
DOMURL LibJS+LibWeb: Return GC::Ptr from Value::as_if 2026-02-27 17:19:33 +01:00
Editing AK: Use AK namespace for ValueComparingRefPtr 2026-02-20 22:01:44 +00:00
Encoding
EncryptedMediaExtensions LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
EntriesAPI
EventTiming Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
Fetch LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
FileAPI LibWeb: Use interface_name instead of serialize_type virtual 2026-02-14 20:22:40 +01:00
Fullscreen LibWeb: Implement exitFullscreen algorithm 2026-02-23 18:44:26 +00:00
Gamepad LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
Geolocation
Geometry LibWeb: Use interface_name instead of serialize_type virtual 2026-02-14 20:22:40 +01:00
GPC
HighResolutionTime LibWeb: Use enum instead of bool for CanUseCrossOriginIsolatedAPIs 2026-02-13 16:47:42 +00:00
HTML LibWeb: Display video controls while the placeholder icon is visible 2026-03-03 16:53:23 +01:00
IndexedDB LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
Infra LibTextCodec+LibWeb: Move isomorphic coders to LibTextCodec 2025-11-27 14:57:29 +01:00
Internals LibWeb: Use GC::WeakHashSet for AnimationTimeline associated animations 2026-02-24 22:35:03 +01:00
IntersectionObserver LibWeb: Reduce recompilation impact of DOM/Element.h 2026-02-11 20:02:28 +01:00
Layout LibWeb: Create absolute container for will-change: position 2026-03-03 16:52:57 +01:00
Loader Everywhere: Abandon Swift adoption 2026-02-17 10:48:09 -05:00
MathML LibWeb: Ensure mspace presentation hint is valid before setting it 2026-02-23 09:57:32 +01:00
MediaCapabilitiesAPI LibWeb: Extract some CORS and MIME Fetch helpers to their own files 2025-11-27 14:57:29 +01:00
MediaSourceExtensions LibWeb: Mark [Managed]MediaSource[Handle] as experimental 2026-02-17 22:17:50 +01:00
MimeSniff LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
MixedContent LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
NavigationTiming LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
NotificationsAPI LibWeb: Propagate error from Notification contructor 2026-02-22 11:37:33 +01:00
Page LibWeb: Update layout after dispatching initial mouse events 2026-03-02 17:52:55 +01:00
Painting LibWeb: Use glyph positions & widths instead of Harfbuzz for range rects 2026-03-02 17:52:47 +01:00
PerformanceTimeline
PermissionsPolicy LibWeb/PermissionsPolicy: Allow autoplay of file:// media from file:// 2026-03-01 01:04:10 +01:00
Platform LibWeb: Flatten Platform::FontPlugin by merging WebView::FontPlugin 2026-02-28 15:32:14 +01:00
ReferrerPolicy LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
RequestIdleCallback
ResizeObserver LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
ResourceTiming
SecureContexts LibWeb/SecureContexts: Make use of Origin::is_opaque_file_origin 2026-03-01 01:04:10 +01:00
Selection LibWeb: Do not scroll cursor into view on programmatic selection changes 2026-02-17 10:24:00 +01:00
Serial
ServiceWorker LibWeb: Mark CacheStorage as Experimental 2026-02-24 17:08:48 +01:00
Speech LibWeb: Stub SpeechSynthesis.cancel() 2026-02-10 11:58:23 +01:00
SRI
StorageAPI LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
Streams LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
SVG LibWeb/SVG: Implement the feDisplacementMap filter 2026-03-02 14:03:32 +00:00
TrustedTypes LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
UIEvents LibWeb: Include KeyCode.h where it's used 2026-02-23 07:27:31 +01:00
URLPattern
UserTiming
ViewTransition LibWeb: Update layout before view transition capture 2026-02-26 21:09:08 +01:00
WebAssembly LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
WebAudio Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
WebDriver LibJS: Move SharedFunctionInstanceData creation out of FunctionNode 2026-02-11 23:57:41 +01:00
WebGL LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
WebIDL LibWeb: Make more use of Value::{as,as_if,is} in LibWeb 2026-02-28 10:24:37 -05:00
WebSockets LibGC+LibWeb: Add and use GC::weak_callback() 2026-02-26 08:03:50 -05:00
WebVTT
WebXR LibWeb: Implement the very basics of XRSession 2026-02-04 15:08:37 +01:00
Worker LibWeb: Begin serializing global object as part of serialized ESO 2026-02-23 11:42:20 +01:00
XHR LibWeb: Give IDL exposed PlatformObjects an InterfaceName 2026-02-14 20:22:40 +01:00
XLink
XML LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
XPath LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
CMakeLists.txt LibWeb/SVG: Implement the feDisplacementMap filter 2026-03-02 14:03:32 +00:00
Dump.cpp LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
Dump.h LibWeb: Make dump_sheet() indentable 2025-12-04 16:24:04 +00:00
Forward.h LibWeb/SVG: Implement the feDisplacementMap filter 2026-03-02 14:03:32 +00:00
GraphemeEdgeTracker.cpp LibWeb: Use unsafe layout/paintable accessors where appropriate 2026-02-26 21:09:08 +01:00
GraphemeEdgeTracker.h LibWeb: Expose GraphemeEdgeTracker's find_line_start/find_line_end 2026-02-06 14:18:10 +00:00
idl_files.cmake LibWeb/SVG: Implement the feDisplacementMap filter 2026-03-02 14:03:32 +00:00
InvalidateDisplayList.h
Namespace.cpp
Namespace.h
PixelUnits.cpp LibWeb: Inline CSSPixels methods and optimize device pixel math 2026-02-21 15:53:22 +01:00
PixelUnits.h LibWeb: Inline CSSPixels methods and optimize device pixel math 2026-02-21 15:53:22 +01:00
TraversalDecision.h
TraversalOrder.h
TreeNode.h Everywhere: Remove double // on comments 2026-02-11 13:28:01 -06:00