Nicolò Ribaudo
4e2aabc5cd
Fix left offset when scrolling to search result
...
When computing the left offset of the highlighted text, we cannot use
.offsetLeft because the text might have been scaled through CSS, and it
needs to be taken into account.
Use `.getClientRects()`/`.getBoundingClientRect()` instead, which will
return measurements scaled appropriately.
2024-12-16 16:04:13 +01:00
..
2024-08-30 15:48:51 +02:00
2015-01-26 16:44:45 +01:00
2024-10-11 12:05:36 +02:00
2024-12-10 21:54:29 +01:00
2024-12-09 17:25:36 +01:00
2024-08-10 18:29:03 +02:00
2024-07-23 10:42:34 +02:00
2024-09-03 16:57:41 +02:00
2024-08-13 08:14:09 +02:00
2024-12-15 18:13:38 +01:00
2024-08-12 12:26:35 +02:00
2024-10-01 19:43:16 +02:00
2015-08-14 18:59:55 +02:00
2024-11-18 16:21:12 +01:00
2011-07-05 10:53:57 -07:00
2024-01-26 18:31:38 +01:00
2023-10-09 12:06:33 +02:00
2024-12-02 23:01:22 +01:00
2024-12-06 14:47:22 +01:00
2024-11-28 15:23:03 +01:00
2023-11-28 14:21:53 +01:00
2024-12-03 11:03:15 +01:00
2024-06-25 21:03:34 +02:00
2024-08-12 12:26:35 +02:00
2024-03-12 13:18:15 +01:00
2024-12-06 14:47:22 +01:00
2024-02-02 13:10:52 +01:00
2024-12-03 19:02:58 +01:00
2024-06-18 11:54:49 +02:00
2024-11-28 13:25:56 +01:00
2024-08-02 20:46:13 +02:00
2024-12-06 14:47:22 +01:00
2024-12-04 09:15:01 +01:00
2024-12-03 19:02:58 +01:00
2023-06-21 13:13:53 +02:00
2024-08-31 18:31:31 +02:00
2024-05-01 18:02:05 +02:00
2024-09-28 12:29:51 +02:00
2024-12-01 12:25:16 +01:00
2024-12-06 17:53:28 +01:00
2024-11-28 17:37:19 +01:00
2023-04-17 14:31:23 +02:00
2024-08-25 20:34:03 +02:00
2024-10-01 13:25:22 +02:00
2024-07-18 13:29:32 +02:00
2024-04-29 18:54:06 +02:00
2024-12-10 12:00:09 +01:00
2024-04-18 18:41:18 +02:00
2024-08-23 18:39:28 +02:00
2024-12-06 14:47:22 +01:00
2024-01-21 10:13:12 +01:00
2024-12-06 14:47:22 +01:00
2024-08-10 12:24:59 +02:00
2022-09-08 12:38:17 +02:00
2024-09-16 14:48:26 +02:00
2024-06-12 18:41:07 +02:00
2024-01-31 14:07:11 +01:00
2024-12-05 23:15:04 +01:00
2024-12-14 19:39:51 +01:00
2024-12-11 23:20:01 +01:00
2024-08-12 12:26:35 +02:00
2023-10-26 12:05:33 +02:00
2024-09-28 12:29:51 +02:00
2024-11-01 17:43:59 +01:00
2024-08-01 21:34:50 +02:00
2023-09-07 18:22:33 +02:00
2024-12-16 16:04:13 +01:00
2024-09-05 17:59:42 +02:00
2024-11-28 13:25:56 +01:00
2024-04-10 11:35:04 +02:00
2024-03-04 19:32:12 +01:00
2024-09-25 14:27:17 +02:00
2024-09-16 14:48:26 +02:00
2020-03-21 13:55:06 +01:00
2024-10-02 19:17:40 +02:00
2024-11-01 13:31:28 +01:00
2024-12-07 13:44:48 +01:00
2023-10-19 11:20:41 +02:00
2022-03-28 11:36:29 +02:00
2023-10-07 09:31:08 +02:00
2023-10-19 11:20:41 +02:00
2024-12-05 13:07:57 +01:00
2024-12-03 11:03:15 +01:00
2024-12-07 13:44:48 +01:00
2023-10-06 09:50:03 +02:00
2023-10-26 12:05:33 +02:00