Sam Atkins
5aba457009
LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs
...
A couple of arbitrary substitution functions require us to get or
produce some style value, and then substitute its ComponentValues into
the original ComponentValue list. So this commit gives CSSStyleValue a
tokenize() method that does so.
Apart from a couple of unusual cases like the guaranteed-invalid value,
style values can all be converted into ComponentValues by serializing
them as a string, and then parsing that as a list of component values.
That feels unnecessarily inefficient in most cases though, so I've
implemented faster overrides for a lot of the basic style value
classes, but left that serialize-and-reparse method as the fallback.
2025-07-16 14:47:45 +01:00
..
2025-05-17 07:53:24 +01:00
2025-05-17 07:53:24 +01:00
2025-04-16 10:41:44 -06:00
2024-12-07 08:31:03 +00:00
2025-04-16 10:41:44 -06:00
2025-05-14 02:01:59 -06:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-05-17 07:53:24 +01:00
2025-07-03 10:19:44 +01:00
2025-07-03 10:19:44 +01:00
2025-03-18 21:55:06 +01:00
2025-04-16 10:41:44 -06:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-01-08 11:18:13 +00:00
2025-05-14 02:01:59 -06:00
2025-04-08 20:00:18 -04:00
2025-04-16 10:41:44 -06:00
2024-12-07 08:31:03 +00:00
2025-04-16 10:41:44 -06:00
2024-12-07 08:31:03 +00:00
2025-04-16 10:41:44 -06:00
2025-06-19 12:35:31 +01:00
2025-06-19 12:35:31 +01:00
2025-07-16 13:05:33 +01:00
2025-07-04 13:18:55 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 13:05:33 +01:00
2025-07-16 14:47:45 +01:00
2025-04-12 02:55:18 +02:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-06-18 08:57:06 +02:00
2025-06-18 08:57:06 +02:00
2025-05-17 07:53:24 +01:00
2025-04-23 09:13:45 +01:00
2025-07-16 13:05:33 +01:00
2025-07-09 18:07:12 +01:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-06-05 12:10:29 +01:00
2025-06-05 12:10:29 +01:00
2025-05-03 12:05:22 +02:00
2025-05-03 12:05:22 +02:00
2025-05-17 07:53:24 +01:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-06-03 19:30:43 -04:00
2025-06-03 19:30:43 -04:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-04-08 20:00:18 -04:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-04-07 10:00:21 +01:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2024-12-13 11:35:38 +00:00
2025-04-16 10:41:44 -06:00
2025-04-08 20:00:18 -04:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-04-16 10:41:44 -06:00
2025-04-16 10:41:44 -06:00
2025-05-17 07:53:24 +01:00
2025-06-02 00:17:51 +02:00
2025-06-02 00:17:51 +02:00
2025-04-16 10:41:44 -06:00
2025-06-15 16:05:12 +02:00
2025-06-15 16:05:12 +02:00
2025-07-16 06:49:38 +01:00
2025-04-16 10:41:44 -06:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-07-16 14:47:45 +01:00
2025-05-17 07:53:24 +01:00
2025-07-16 13:05:33 +01:00
2025-04-16 10:41:44 -06:00
2025-05-02 11:07:19 +01:00
2025-05-02 11:07:19 +01:00
2025-03-28 09:15:02 +00:00
2025-04-16 10:41:44 -06:00
2025-05-23 10:17:58 +01:00
2025-07-16 14:47:45 +01:00
2025-04-30 17:38:38 +01:00