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-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-04-16 07:40:01 +02:00
2024-04-27 18:29:35 -04:00
2024-04-27 18:29:35 -04:00
2024-07-20 06:41:25 +02:00
2024-07-31 05:55:34 -04:00
2024-04-27 18:29:35 -04:00
2024-08-30 19:03:06 +02:00
2024-08-19 18:57:20 +02:00
2024-07-23 08:58:22 +02:00
2024-04-27 18:29:35 -04:00
2024-08-30 08:28:16 -04:00
2024-04-22 17:10:11 +02: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-20 16:10:33 +02:00
2024-08-07 16:14:49 +02:00
2024-07-20 09:14:50 +01:00
2024-08-29 06:28:44 +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-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
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +02: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
2024-04-27 18:29:35 -04: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-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
2024-07-26 14:26:16 +02:00
2024-07-26 14:26:16 +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-04-27 18:29:35 -04:00
2024-05-22 21:55:34 -06:00
2024-08-19 18:57:20 +02:00
2024-05-12 07:28:09 +01:00
2024-06-26 05:41:00 +02:00
2024-08-20 16:10:33 +02:00
2024-06-26 06:13:29 +02:00
2024-06-26 06:13:29 +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
2024-07-23 11:12:18 +02:00
2024-07-23 11:12:18 +02:00
2024-08-27 07:13:08 -04: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
2024-07-21 16:01:32 -06:00
2024-07-21 16:01:32 -06:00