1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:07:43 +00:00
serenity/Userland
MacDue 957c20b676 LibWeb: Avoid infinite recursion when hit testing SVGs
Previously, step 5 of the stacking context hit testing would just call
`hit_test()` on the stacking context's paintable box. Which (at least
for SVGs) is just indirect infinite recursion (it'll end up right back
where it started after going through a few functions).

This now explicitly hit tests the descendants, which seems more correct,
and avoids the crash for SVGs, but nothing really seems to depend on
this step. Another solution (which I've done for a while working on
SVGs) is just to delete step 5 entirely, and nothing seems to break.

Fixes #22305
2024-02-18 18:33:11 +01:00
..
Applets ClipboardHistory: Be more careful about the history limit 2024-02-08 13:46:12 +00:00
Applications Userland: Use MUST() to unwrap String values 2024-02-14 17:46:06 -05:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
DevTools Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
DynamicLoader LibC: Separate arch dependent fenv functions 2024-01-22 20:06:09 -07:00
Games BrickGame: Make action shortcuts work when the game is paused 2024-02-11 21:13:06 +00:00
Libraries LibWeb: Avoid infinite recursion when hit testing SVGs 2024-02-18 18:33:11 +01:00
Services Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
Shell Shell: Don't escape display/trailing texts when completing via programs 2024-02-07 00:43:11 +01:00
Utilities LibWeb: Only dump layout and text tree for the desired URL 2024-02-16 15:05:30 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00