Aliaksandr Kalenik
8569124b87
LibWeb: Fix scroll state refresh in cached display list for iframes
...
6507d23 introduced a bug when snapshot for iframe is saved in
`PaintNestedDisplayList` and, since display lists are immutable, it's
not possible to update before the next repaint.
This change fixes the issue by moving `ScrollStateSnapshot` for
nested display lists from `PaintNestedDisplayList` to
`HashMap<NonnullRefPtr<DisplayList>, ScrollStateSnapshot>` that is
placed into pending rendering task, making it possible to update
snapshots for all display lists before the next repaint.
This change doesn't have a test because it's really hard to make a ref
test that will specifically check scenario when scroll offset of an
iframe is advanced after display list is cached. We already have
`Tests/LibWeb/Ref/input/scroll-iframe.html` but unfortunately it did
not catch this bug.
Fixes https://github.com/LadybirdBrowser/ladybird/issues/5486
2025-07-26 11:53:21 -04:00
..
2025-05-17 07:53:24 +01:00
2025-05-17 07:53:24 +01:00
2025-04-16 10:41:44 -06:00
2024-12-07 08:31:03 +00:00
2025-04-16 10:41:44 -06:00
2025-05-14 02:01:59 -06:00
2025-04-16 10:41:44 -06:00
2025-07-17 13:59:23 -04:00
2025-07-17 13:59:23 -04:00
2025-07-03 10:19:44 +01:00
2025-07-03 10:19:44 +01:00
2025-03-18 21:55:06 +01:00
2025-04-16 10:41:44 -06:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-01-08 11:18:13 +00:00
2025-05-14 02:01:59 -06:00
2025-04-08 20:00:18 -04:00
2025-04-16 10:41:44 -06:00
2024-12-07 08:31:03 +00:00
2025-04-16 10:41:44 -06:00
2024-12-07 08:31:03 +00:00
2025-04-16 10:41:44 -06:00
2025-07-21 15:18:17 +01:00
2025-06-19 12:35:31 +01:00
2025-07-16 13:05:33 +01:00
2025-07-04 13:18:55 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 14:47:45 +01:00
2025-07-26 11:53:21 -04:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-06-18 08:57:06 +02:00
2025-06-18 08:57:06 +02:00
2025-05-17 07:53:24 +01:00
2025-04-23 09:13:45 +01:00
2025-07-22 00:53:10 +02:00
2025-07-09 18:07:12 +01:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-06-05 12:10:29 +01:00
2025-06-05 12:10:29 +01:00
2025-05-03 12:05:22 +02:00
2025-05-03 12:05:22 +02:00
2025-05-17 07:53:24 +01:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-06-03 19:30:43 -04:00
2025-06-03 19:30:43 -04:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-04-08 20:00:18 -04:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-04-07 10:00:21 +01:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2024-12-13 11:35:38 +00:00
2025-04-16 10:41:44 -06:00
2025-04-08 20:00:18 -04:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-06-02 00:17:51 +02:00
2025-06-02 00:17:51 +02:00
2025-04-16 10:41:44 -06:00
2025-06-15 16:05:12 +02:00
2025-06-15 16:05:12 +02:00
2025-07-16 06:49:38 +01:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-05-17 07:53:24 +01:00
2025-07-16 13:05:33 +01:00
2025-04-16 10:41:44 -06:00
2025-05-02 11:07:19 +01:00
2025-05-02 11:07:19 +01:00
2025-03-28 09:15:02 +00:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-04-30 17:38:38 +01:00