Aliaksandr Kalenik
50920b0595
LibWeb: Scroll into viewport from a task in set_focused_element()
...
This is a hack needed to preserve current behaviour after making set
viewport_rect() being not async in upcoming changes.
For example both handle_mousedown and handle_mouseup should use the same
viewport scroll offset even though handle_mousedown runs focusing steps
that might cause scrolling to focused element:
- handle_mousedown({ 0, 0 })
- run_focusing_steps()
- set_focused_element()
- scroll_into_viewport() changes viewport scroll offset
- handle_mouseup({ 0, 0 })
2024-06-05 07:03:42 +02:00
..
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01: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-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-19 22:00:48 +01:00
2024-03-18 13:42:16 +01:00
2023-12-23 20:41:41 +01:00
2023-12-23 20:41:41 +01:00
2024-03-11 18:29:10 +01:00
2024-03-16 16:35:54 +01:00
2023-11-19 22:00:48 +01:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-06-05 07:03:42 +02:00
2024-06-03 10:53:32 +02:00
2024-05-14 13:35:36 -04:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01: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
2023-11-19 22:00:48 +01:00
2024-06-03 10:53:32 +02:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2023-11-19 22:00:48 +01:00
2023-11-19 22:00:48 +01: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-05-16 20:31:23 +02:00
2024-01-12 09:11:18 +01:00
2024-05-28 09:51:07 +02:00
2024-05-27 17:33:29 +02:00
2024-05-19 16:24:11 +02:00
2024-04-17 07:17:27 +02:00
2024-04-27 18:29:35 -04:00
2024-04-08 14:25:08 +02:00
2023-12-02 22:54:53 +01:00
2024-02-25 10:17:25 +01:00
2024-05-23 09:53:31 +02:00
2024-04-09 09:13:06 +02:00
2024-05-27 17:33:29 +02:00
2024-05-22 21:55:34 -06:00
2024-04-27 18:29:35 -04:00
2024-05-22 21:55:34 -06: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-05-07 16:45:28 -06:00
2024-05-22 21:55:34 -06: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
2023-11-19 22:00:48 +01:00
2024-04-27 18:29:35 -04:00
2024-04-14 22:08:22 +02:00
2024-01-03 10:13:47 +01:00
2024-05-07 16:45:28 -06:00
2024-05-07 16:45:28 -06:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-04-27 18:29:35 -04:00
2024-01-12 09:11:18 +01:00
2023-12-17 18:25:10 +03:30
2024-05-07 16:45:28 -06:00
2024-05-12 07:28:09 +01:00
2024-05-12 07:28:09 +01:00
2023-12-12 01:08:07 +01: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
2024-03-16 16:35:54 +01:00
2024-05-22 21:55:34 -06:00
2024-05-07 16:45:28 -06:00
2024-05-12 07:28:09 +01:00
2024-01-20 08:56:52 +01:00
2024-06-03 10:53:32 +02:00
2024-06-03 10:53:32 +02:00
2024-05-07 17:27:37 -06:00
2024-05-07 16:45:28 -06:00
2024-04-16 07:40:01 +02:00
2023-11-19 22:00:48 +01:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-04-16 07:41:33 +02:00
2024-04-16 07:41:33 +02:00
2024-04-27 18:29:35 -04:00
2024-04-26 20:01:58 +02:00
2024-04-27 18:29:35 -04:00
2023-11-19 22:00:48 +01:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00