Andreas Kling
df048e10f5
LibWeb: Include siblings+descendants when invalidating style
...
When an element is invalidated, it's possible for any subsequent sibling
or any of their descendants to also need invalidation. (Due to the CSS
sibling combinators, `+` and `~`)
For DOM node insertion/removal, we must also invalidate preceding
siblings, since they could be affected by :first-child, :last-child or
:nth-child() selectors.
This increases the amount of invalidation we do, but it's more correct.
In the future, we will implement optimizations that drastically reduce
the number of elements invalidated.
2024-09-22 18:42:40 +02:00
..
2024-04-27 18:29:35 -04:00
2024-09-09 12:48:30 +02: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-09-08 09:45:31 +02:00
2024-04-27 18:29:35 -04:00
2024-04-27 18:29:35 -04:00
2024-09-22 18:42:31 +02:00
2024-09-22 18:42:31 +02:00
2024-04-27 18:29:35 -04:00
2024-09-22 18:42:31 +02:00
2024-09-22 18:42:31 +02:00
2024-09-21 10:05:34 +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-09-21 10:05:34 +02:00
2024-09-18 15:18:07 +02:00
2024-07-20 09:14:50 +01:00
2024-08-29 06:28:44 +02:00
2024-09-03 00:14:31 -06: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-09-22 18:42:40 +02:00
2024-09-08 09:45:31 +02: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-09-06 07:42:59 +02:00
2024-09-06 07:42:59 +02:00
2024-04-27 18:29:35 -04:00
2024-05-22 21:55:34 -06:00
2024-09-20 19:58:20 +02:00
2024-09-20 19:58:20 +02:00
2024-06-26 05:41:00 +02:00
2024-09-19 10:12:44 +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-09-21 08:56:01 +02:00
2024-09-21 08:56:01 +02:00
2024-09-18 15:18:07 +02:00
2024-09-18 15:18:07 +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