Aliaksandr Kalenik
30b636e90b
LibWeb: Add "position: sticky" support
...
Sticky positioning is implemented by modifying the algorithm for
assigning and refreshing scroll frames. Now, elements with
"position: sticky" are assigned their own scroll frame, and their
position is refreshed independently from regular scroll boxes.
Refreshing the scroll offsets for sticky boxes does not require display
list invalidation.
A separate hash map is used for the scroll frames of sticky boxes. This
is necessary because a single paintable box can have two scroll frames
if it 1) has "position: sticky" and 2) contains scrollable overflow.
2024-08-30 19:03:06 +02:00
..
2024-01-28 08:25:28 +01:00
2024-01-02 21:45:05 +01:00
2024-04-17 07:12:44 +02:00
2024-08-06 21:14:47 +02:00
2023-11-21 16:54:02 +01:00
2024-01-07 19:28:38 +01:00
2024-05-07 14:04:02 +00:00
2024-02-06 13:06:16 +01:00
2024-01-01 10:12:20 +01:00
2024-03-25 14:17:30 +01:00
2024-08-14 21:04:46 +02:00
2024-05-29 08:17:01 +02:00
2024-04-17 07:13:26 +02:00
2024-06-22 15:52:04 +02:00
2024-07-15 11:52:03 +01:00
2024-07-15 11:52:03 +01:00
2024-07-15 11:52:03 +01:00
2024-07-15 11:52:03 +01:00
2024-07-15 11:52:03 +01:00
2024-03-06 07:45:56 +01:00
2024-03-06 07:45:56 +01:00
2024-07-15 11:52:03 +01:00
2024-07-15 11:52:03 +01:00
2024-01-22 14:14:59 +01:00
2024-08-10 10:38:12 +02:00
2024-08-06 16:25:45 +02:00
2024-04-23 12:50:07 +02:00
2024-04-26 18:40:45 +02:00
2024-01-05 19:36:55 +01:00
2024-08-24 14:53:26 +02:00
2024-02-03 09:28:03 +01:00
2024-03-30 21:35:22 +01:00
2024-04-28 22:28:18 +02:00
2024-07-16 10:59:59 +01:00
2024-02-12 13:38:24 +01:00
2023-12-21 19:25:31 +01:00
2024-01-28 08:25:28 +01:00
2024-01-28 08:25:28 +01:00
2024-01-28 08:25:28 +01:00
2024-01-29 07:21:38 +01:00
2024-02-06 08:39:06 +01:00
2023-12-21 19:25:31 +01:00
2024-02-03 20:05:09 +01:00
2024-05-26 16:11:53 +01:00
2024-08-30 19:03:06 +02:00
2024-08-30 19:03:06 +02:00
2024-08-30 19:03:06 +02:00
2024-08-30 19:03:06 +02:00
2024-08-30 19:03:06 +02:00
2023-12-11 20:37:05 +01:00
2024-02-08 13:08:10 +01:00
2024-02-03 19:00:26 +01:00
2024-02-10 11:18:40 +01:00
2024-02-28 07:51:13 -05:00
2024-08-06 09:40:34 +02:00
2024-02-28 07:51:13 -05:00
2024-02-28 07:51:13 -05:00
2024-02-28 07:51:13 -05:00
2024-08-07 20:16:02 +02:00
2024-08-20 09:30:05 +02:00
2024-07-31 21:43:17 +02:00
2024-05-25 22:19:40 +02:00
2024-01-08 01:00:24 +01:00
2024-03-29 21:59:56 +01:00
2024-08-16 12:12:09 +02:00
2024-08-29 06:28:44 +02:00
2024-02-06 13:06:16 +01:00
2024-03-20 09:09:35 +01:00
2024-05-04 21:24:37 +02:00
2024-03-20 09:09:35 +01:00
2024-03-20 09:09:35 +01:00
2023-12-26 21:37:04 +01:00
2023-12-11 16:54:59 +01:00
2024-08-03 10:04:38 +01:00
2024-01-16 21:54:10 +01:00
2024-01-09 14:15:05 +01:00
2023-12-10 17:32:04 +01:00
2024-07-15 15:45:33 +01:00
2024-07-10 10:25:04 -06:00