Sam Atkins
8536e23674
LibWeb/CSS: Parse an ident in :dir(), not a keyword
...
The spec requires us to accept any ident here, not just ltr/rtl, and
also serialize it back out. That means we need to keep the original
string around.
In order to not call keyword_from_string() every time we want to match
a :dir() selector, we still attempt to parse the keyword and keep it
around.
A small behaviour change is that now we'll serialize the ident with its
original casing, instead of always lowercase. Chrome and Firefox
disagree on this, so I think either is fine until that can be
officially decided.
Gets us 2 WPT passes (including 1 from the as-yet-unmerged :dir() test).
2025-05-17 00:30:44 +02:00
..
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-16 08:34:31 +02:00
2024-08-19 09:03:22 +02:00
2024-03-03 19:50:25 +01:00
2025-04-05 12:54:22 +02:00
2024-10-16 16:39:47 +02:00
2024-10-03 07:07:28 -04:00
2024-04-29 08:10:38 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-06-14 20:45:37 +02:00
2025-04-09 18:45:57 +01:00
2024-10-23 06:55:37 +01:00
2024-10-23 06:55:37 +01:00
2025-04-04 10:40:32 +01:00
2025-01-28 11:38:06 +00:00
2024-11-21 13:16:08 +01:00
2025-05-06 12:22:01 +01:00
2024-08-05 09:55:50 +02:00
2025-05-06 12:22:01 +01:00
2024-10-03 07:07:28 -04:00
2024-02-24 21:59:28 +01:00
2024-04-29 08:10:38 +02:00
2024-02-24 21:59:28 +01:00
2024-02-24 21:59:28 +01:00
2024-02-24 21:59:28 +01:00
2024-11-03 17:35:20 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-05-28 09:51:07 +02:00
2023-07-31 09:16:18 +02:00
2025-02-27 13:30:36 +00:00
2025-04-07 10:00:21 +01:00
2023-07-06 14:30:06 +02:00
2025-02-12 16:00:42 +00:00
2024-11-18 17:38:03 -05:00
2025-03-05 22:46:06 +01:00
2024-05-14 12:31:10 -06:00
2024-05-16 08:02:43 +02:00
2025-04-07 10:00:21 +01:00
2024-10-24 17:50:19 +02:00
2024-05-23 10:57:34 +02:00
2024-11-14 19:50:22 +01:00
2024-10-03 07:07:28 -04:00
2025-05-06 12:22:01 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2025-03-25 19:53:36 +00:00
2025-02-05 16:02:09 +00:00
2024-10-30 20:58:16 +01:00
2025-03-17 14:47:20 +01:00
2024-10-12 19:20:22 +02:00
2024-02-24 21:59:28 +01:00
2025-01-13 23:03:07 +01:00
2024-11-14 19:51:45 +01:00
2025-02-12 16:15:14 +01:00
2024-11-25 11:51:50 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2025-03-17 10:00:19 +00:00
2024-04-25 09:31:01 +02:00
2025-05-15 09:53:29 +01:00
2025-05-15 09:53:29 +01:00
2025-05-15 09:53:29 +01:00
2025-05-17 00:30:44 +02:00
2024-10-14 08:08:37 +02:00
2024-11-25 11:51:50 +01:00
2025-05-07 14:55:12 +03:00
2024-10-03 07:07:28 -04:00
2024-08-04 11:49:44 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-11-14 13:20:01 +01:00
2025-02-12 16:00:42 +00:00
2025-01-04 18:47:44 +00:00
2024-08-22 13:49:41 +02:00
2023-09-12 14:29:21 +01:00
2025-03-19 13:53:00 +00:00
2024-10-03 07:07:28 -04:00
2025-03-17 10:00:19 +00:00
2025-03-08 20:22:01 +01:00
2024-10-03 07:07:28 -04:00
2023-10-29 11:22:53 +01:00
2024-07-04 14:41:35 +02:00
2024-10-03 07:07:28 -04:00
2024-10-15 08:43:26 -04:00
2024-10-07 14:57:15 +01:00
2024-11-05 14:01:45 +00:00
2024-12-19 19:35:57 +00:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2025-05-14 11:46:47 +01:00
2025-02-16 09:19:19 +01:00