Sam Atkins
7c91fda088
LibWeb: Allow multiple text-decoration-lines
...
The spec grammar for `text-decoration-line` is:
`none | [ underline || overline || line-through || blink ]`
Which means that it's either `none`, or any combination of the other
values. This patch makes that parse for `text-decoration-line` and
`text-decoration`, stores the results as a Vector, and adjusts
`paint_text_decoration()` to run as a loop over all the values that are
provided.
As noted, storing a Vector of values is a bit wasteful, as they could be
stored as flags in a single `u8`. But I was getting too confused trying
to do that in a nice way.
2022-04-14 21:54:10 +02:00
..
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-11 01:04:09 +02:00
2022-03-22 19:26:51 +01:00
2022-04-12 00:11:48 +02:00
2022-03-22 19:26:51 +01:00
2022-03-26 17:31:01 +01:00
2022-03-17 17:23:49 +00:00
2022-04-09 23:48:18 +02:00
2022-03-16 00:38:31 +01:00
2022-03-17 17:23:49 +00:00
2022-04-09 23:48:18 +02:00
2022-03-16 00:38:31 +01:00
2022-04-11 01:20:24 +02:00
2022-04-06 11:31:08 +02:00
2022-03-24 03:35:11 +01:00
2022-04-11 01:03:47 +02:00
2022-04-06 14:43:00 +02:00
2022-03-26 17:31:01 +01:00
2022-03-26 17:31:01 +01:00
2022-03-17 17:23:49 +00:00
2022-04-14 14:54:06 +02:00
2022-04-01 21:24:45 +01:00
2022-04-07 17:06:02 +02:00
2022-04-01 21:24:45 +01:00
2022-04-03 21:51:15 +02:00
2022-03-18 15:18:48 +01:00
2022-04-08 23:12:04 +02:00
2022-03-27 21:56:21 +02:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-03-24 22:52:44 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-03-30 01:12:44 +02:00
2022-03-26 20:04:56 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-13 18:09:43 +01:00
2022-04-14 21:54:10 +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-16 00:38:31 +01:00
2022-03-17 17:23:49 +00:00
2022-03-13 18:09:43 +01:00
2022-03-19 12:42:10 +01:00
2022-03-19 12:42:10 +01:00
2022-03-17 17:23:49 +00:00
2022-03-11 00:21:49 +01:00
2022-03-19 12:42:10 +01:00
2022-03-19 12:42:10 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-03 23:12:13 +02:00
2022-03-29 00:39:57 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-29 03:05:11 +02:00
2022-04-01 21:24:45 +01:00
2022-04-13 19:52:25 +02:00
2022-04-13 19:52:25 +02:00