1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 17:42:19 +00:00
serenity/Userland
MacDue 5cf1570f40 LibWeb: Add initial support for nesting SVG viewports
Previously, we were handling viewBoxes/viewports in a slightly hacky
way, asking graphics elements to figure out what viewBox to use during
layout. This does not work in all cases, and can't allow for more
complex SVGs where it is possible to have nested viewports.

This commit makes the SVGFormattingContext keep track of the
viewport/boxes, and it now lays out each viewport recursively, where
each nested `<svg>` or `<symbol>` can establish a new viewport.

This fixes some previous edge cases, and starts to allow nested
viewports (there's still some issues to resolve there).

Fixes #22931
2024-01-27 18:12:13 +01:00
..
Applets Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Applications Browser: Remove some needless indirection from Cookie-related IPCs 2024-01-26 20:22:39 +01:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos WidgetGallery: Remove quotes around GML boolean values 2024-01-21 08:38:18 -05:00
DevTools HackStudio: Replace custom recent-project management with the LibGUI one 2024-01-24 11:07:03 +00:00
DynamicLoader LibC: Separate arch dependent fenv functions 2024-01-22 20:06:09 -07:00
Games AK+Userland: Return String from human_readable_[digital_]time() 2024-01-25 09:07:32 +01:00
Libraries LibWeb: Add initial support for nesting SVG viewports 2024-01-27 18:12:13 +01:00
Services LibWeb+WebContent: Port the did_request_named_cookie IPC to String 2024-01-26 20:22:39 +01:00
Shell Shell: Use reverse iterators for history events 2024-01-23 01:31:25 +03:30
Utilities Ladybird+LibWeb+WebContent: Port the did_request_cookie IPC to String 2024-01-26 20:22:39 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00