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-14 21:54:10 +02:00
2022-04-12 23:03:46 +02:00
2022-04-14 21:54:10 +02: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-28 22:25:25 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-12 23:03:46 +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-04-11 21:10:08 +02:00
2022-04-11 21:10:08 +02:00
2022-04-11 21:10:08 +02:00
2022-03-17 17:23:49 +00:00
2022-04-12 23:03:46 +02:00
2022-04-11 21:10:07 +02:00
2022-04-11 21:10:07 +02:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-12 23:03:46 +02:00
2022-03-30 18:43:07 +02:00
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-04-13 16:40:46 +02:00
2022-04-14 14:54:06 +02:00
2022-04-07 21:20:14 +02:00
2022-04-07 21:20:14 +02:00
2022-03-16 22:07:53 +01:00
2022-04-09 23:48:18 +02:00
2022-04-01 21:24:45 +01:00
2022-04-14 14:54:06 +02: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-03-30 00:57:15 +02:00
2022-04-12 23:03:46 +02: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-04-12 23:03:46 +02:00
2022-04-03 23:12:13 +02:00
2022-04-14 14:54:06 +02:00
2022-04-01 21:24:45 +01:00
2022-04-14 21:54:10 +02:00
2022-04-11 21:10:07 +02: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-04-14 14:54:06 +02:00
2022-04-12 23:03:46 +02:00
2022-04-14 21:54:10 +02:00
2022-04-14 21:54:10 +02:00
2022-04-08 21:27:35 +02:00
2022-03-29 16:35:46 +02:00
2022-04-04 00:03:15 +02:00
2022-04-14 14:54:06 +02:00
2022-04-12 23:03:46 +02:00
2022-04-12 23:03:46 +02:00
2022-04-07 21:20:14 +02:00