Sam Atkins
ef7d80ced2
LibWeb: Parse <urange> as CSS::UnicodeRange
...
Like, An+B, this is an old construct that does not fit well with modern
CSS syntax, so things get a bit hairy! We have to determine which
tokens match the grammar for `<urange>`, then turn those back into a
string, and then parse the string differently from normal. Thankfully
the spec describes in detail how to do that. :^)
This is not 100% correct, since we are not using the original source
text (referred to in the spec as the "representation") of the tokens,
but just converting them to strings in a manual, ad-hoc way.
Re-engineering the Tokenizer to keep that original text was too much of
a tangent for today. In any case, we do parse `U+4???`, `U+0-100`,
`U+1234`, and similar, so good enough for now!
2022-04-07 21:20:14 +02:00
..
2022-04-07 21:20:14 +02:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-04-04 23:44:04 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-16 22:48:32 +03:30
2022-03-28 22:25:25 +02:00
2022-03-28 22:25:25 +02:00
2022-03-28 22:25:25 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-16 22:48:32 +03:30
2022-03-30 18:43:07 +02:00
2022-04-01 21:24:45 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-28 22:25:25 +02:00
2022-03-28 22:25:25 +02:00
2022-03-17 17:23:49 +00:00
2022-02-16 22:48:32 +03:30
2022-03-29 16:35:46 +02:00
2022-04-01 21:24:45 +01:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-02-16 22:48:32 +03:30
2022-03-30 18:43:07 +02:00
2022-03-30 18:43:07 +02:00
2022-02-16 22:48:32 +03:30
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-26 01:35:39 +00:00
2022-02-13 01:03:49 +01:00
2022-02-13 01:03:49 +01:00
2022-03-28 22:25:25 +02:00
2022-03-28 22:25:25 +02:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-03-16 22:07:53 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-03-16 22:07:53 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-16 22:48:32 +03:30
2022-03-30 00:57:15 +02:00
2022-03-22 15:47:36 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-31 01:10:47 +02:00
2022-03-22 15:47:36 +01:00
2022-02-24 08:04:25 +01:00
2022-04-03 23:12:13 +02:00
2022-04-02 18:40:32 +02:00
2022-04-01 21:24:45 +01:00
2022-03-07 13:42:25 +01:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-04-03 23:12:13 +02:00
2022-03-17 17:23:49 +00:00
2022-03-08 00:30:30 +01:00
2022-03-08 00:30:30 +01:00
2022-03-29 18:53:20 +02:00
2022-03-29 18:53:20 +02:00
2022-04-01 21:24:45 +01:00
2022-02-25 19:35:34 +01:00
2022-04-07 21:20:14 +02:00
2022-04-07 21:20:14 +02:00
2022-04-02 18:40:32 +02:00
2022-04-02 18:40:32 +02:00
2022-03-09 19:56:08 +01:00
2022-03-09 19:56:08 +01:00
2022-03-15 19:48:19 +01:00
2022-03-29 16:35:46 +02:00
2022-02-16 22:48:32 +03:30
2022-04-04 00:03:15 +02:00
2022-04-07 21:20:14 +02:00
2022-03-30 18:43:07 +02:00
2022-04-07 21:20:14 +02:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-04-07 21:20:14 +02:00