Aliaksandr Kalenik
ea8d0304e9
LibWeb: Create clip and scroll frame trees separately for each navigable
...
While introducing clip and scroll frame trees, I made a mistake by
assuming that the paintable tree includes boxes from nested navigables.
Therefore, this comment in the code was incorrect, and clip/scroll
frames were simply not assigned for iframes:
// NOTE: We only need to refresh the scroll state for traversables
// because they are responsible for tracking the state of all
// nested navigables.
As a result, anything with "overflow: scroll" is currently not
scrollable inside an iframe
This change fixes that by ensuring clip and scroll frames are assigned
and refreshed for each navigable. To achieve this, I had to modify the
display list building process to record a separate display list for each
navigable. This is necessary because scroll frame ids are local to a
navigable, making it impossible to call
`DisplayList::apply_scroll_offsets()` on a display list that contains
ids from multiple navigables.
2024-08-10 10:38:12 +02:00
..
2024-04-27 18:29:35 -04:00
2024-05-13 23:45:45 +01:00
2024-05-22 21:55:34 -06:00
2024-05-13 23:45:45 +01:00
2024-04-27 18:29:35 -04:00
2024-01-04 10:10:44 +01:00
2024-04-16 07:40:01 +02:00
2023-11-19 22:00:48 +01:00
2024-03-09 16:13:32 +01:00
2024-04-27 18:29:35 -04:00
2024-03-16 14:27:59 +01:00
2024-04-27 18:29:35 -04:00
2023-11-11 08:51:51 +01:00
2024-07-20 06:41:25 +02:00
2024-07-31 05:55:34 -04:00
2024-03-16 16:35:54 +01:00
2023-09-06 11:44:45 -04:00
2024-04-27 18:29:35 -04:00
2023-10-25 19:45:41 +02:00
2024-08-10 10:38:12 +02:00
2024-08-06 16:33:23 +02:00
2024-07-23 08:58:22 +02:00
2024-04-27 18:29:35 -04:00
2022-09-06 00:27:09 +02:00
2024-06-04 09:19:39 +02:00
2024-04-22 17:10:11 +02:00
2023-11-19 22:00:48 +01:00
2024-06-03 10:53:32 +02:00
2024-04-27 18:29:35 -04:00
2024-07-26 07:19:23 +02:00
2024-07-19 09:22:08 +02:00
2024-05-19 16:24:11 +02:00
2024-05-19 16:24:11 +02:00
2024-05-19 16:24:11 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2024-08-07 16:14:49 +02:00
2024-08-07 16:14:49 +02:00
2024-07-20 09:14:50 +01:00
2024-07-25 13:12:34 +02:00
2024-04-27 18:29:35 -04:00
2024-04-08 14:25:08 +02:00
2024-07-21 16:01:32 -06:00
2024-02-25 10:17:25 +01:00
2024-06-22 17:39:53 +02:00
2024-04-09 09:13:06 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2023-10-25 19:45:41 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2024-01-18 14:00:06 +01:00
2024-04-09 09:13:06 +02:00
2024-04-09 09:13:06 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2024-04-27 18:29:35 -04:00
2024-04-09 09:13:06 +02:00
2023-10-25 19:45:41 +02:00
2024-04-27 18:29:35 -04:00
2023-10-25 19:45:41 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2024-01-03 10:13:47 +01:00
2024-08-07 16:14:49 +02:00
2024-07-28 00:51:55 +01:00
2024-07-28 00:51:55 +01:00
2024-04-27 18:29:35 -04:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2023-10-25 19:45:41 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2023-12-17 18:25:10 +03:30
2023-10-06 08:25:40 +02:00
2024-07-21 11:42:53 +01:00
2024-08-04 10:39:17 +02:00
2024-07-23 08:58:22 +02:00
2024-06-23 19:52:45 +02:00
2024-02-24 08:09:01 +01:00
2024-04-27 18:29:35 -04:00
2023-12-24 13:26:50 +01:00
2022-10-09 10:14:57 +02:00
2023-11-06 11:37:08 +01:00
2024-05-22 21:55:34 -06:00
2023-09-02 19:23:41 +01:00
2024-06-26 05:41:00 +02:00
2024-05-12 07:28:09 +01:00
2024-06-26 05:41:00 +02:00
2024-08-08 17:50:59 +02:00
2024-06-26 06:13:29 +02:00
2024-06-26 06:13:29 +02:00
2023-09-13 13:45:47 +02:00
2024-06-25 19:22:35 +02:00
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-07-23 11:12:18 +02:00
2024-07-23 11:12:18 +02:00
2024-07-20 18:02:51 +01:00
2024-08-02 18:40:39 +02:00
2024-07-20 18:02:51 +01:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-07-21 16:01:32 -06:00
2024-07-21 16:01:32 -06:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00