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-03-14 22:22:53 +01:00
2021-05-18 08:45:53 +01:00
2020-11-08 21:40:47 +01:00
2020-11-30 11:38:59 +01:00
2021-03-08 09:20:53 +01:00
2021-11-28 13:28:01 +00:00
2022-02-05 22:50:39 +01:00
2021-10-17 13:51:10 +01:00
2021-07-31 00:18:11 +02:00
2021-04-03 11:24:33 +02:00
2021-04-05 18:49:04 +02:00
2021-04-03 11:24:33 +02:00
2021-04-03 11:24:33 +02:00
2021-04-03 11:24:33 +02:00
2021-04-03 11:24:33 +02:00
2021-11-17 22:20:01 +01:00
2021-08-14 12:45:01 +02:00
2021-05-17 23:24:32 +02:00
2022-02-08 17:45:51 +01:00
2021-04-04 18:30:15 +02:00
2021-07-24 03:02:07 +04:30
2021-04-14 23:01:23 +02:00
2021-08-25 12:14:34 +02:00
2022-02-16 19:18:57 +01:00
2021-10-18 23:33:56 +02:00
2021-03-08 09:20:53 +01:00
2021-09-17 23:06:45 +02:00
2021-09-14 22:02:14 +02:00
2021-01-22 18:41:29 +01:00
2021-04-16 19:19:31 +02:00
2021-07-31 00:18:11 +02:00
2021-07-31 00:18:11 +02:00
2021-07-31 00:18:11 +02:00
2022-03-14 22:22:53 +01:00
2021-04-19 12:26:05 +02:00
2022-01-07 15:44:42 +01:00
2021-08-14 12:45:01 +02:00
2022-03-26 17:30:49 +01:00
2021-07-31 00:18:11 +02:00
2021-05-18 08:45:53 +01:00
2020-11-22 18:20:56 +01:00
2021-04-06 13:06:42 +02:00
2021-09-15 13:55:25 +02:00
2022-04-02 19:01:14 +02:00
2022-03-30 21:16:47 +02:00
2021-03-08 09:20:53 +01:00
2021-03-08 09:20:53 +01:00
2021-03-30 22:21:46 +02:00
2022-03-20 17:35:31 +00:00
2022-04-09 23:48:18 +02:00
2022-02-20 11:50:38 +01:00
2020-11-08 21:40:47 +01:00
2021-10-07 19:13:34 +02:00
2021-03-08 09:20:53 +01:00
2022-02-19 11:38:46 +01:00
2021-09-20 22:18:20 +02:00
2021-09-19 22:53:35 +02:00
2022-02-18 01:48:51 +01:00
2022-03-18 11:34:02 +01:00
2020-11-29 16:22:04 +01:00
2021-07-19 18:47:09 +04:30
2021-04-06 13:06:42 +02:00
2021-03-31 23:53:15 +02:00
2022-03-18 11:34:02 +01:00
2021-05-26 15:34:13 +04:30
2022-03-07 13:42:25 +01:00
2021-09-19 22:34:44 +02:00
2022-03-29 18:53:20 +02:00
2022-02-07 13:28:59 +01:00
2022-03-31 17:08:38 +02:00
2022-03-18 11:34:02 +01:00
2022-03-24 18:08:45 +01:00
2022-03-18 11:34:02 +01:00
2022-03-02 17:39:57 +01:00
2022-03-02 17:39:57 +01:00
2021-07-24 22:02:28 +04:30
2021-08-14 12:45:01 +02:00
2020-12-03 21:46:04 +01:00
2021-03-08 09:20:53 +01:00
2021-03-08 09:20:53 +01:00
2021-03-08 09:20:53 +01:00
2022-01-23 12:08:37 +01:00
2022-02-16 15:34:08 -05:00
2022-03-01 15:14:18 +00:00
2021-04-04 18:30:15 +02:00
2021-10-14 10:32:13 +02:00
2021-09-20 22:18:20 +02:00
2022-03-04 19:51:26 +01:00
2022-02-19 19:33:54 +01:00
2022-02-11 21:38:27 +01:00
2022-04-09 23:48:18 +02:00
2022-04-09 23:48:18 +02:00
2022-04-09 23:48:18 +02:00
2022-04-09 23:48:18 +02:00
2022-04-09 23:48:18 +02:00
2022-04-09 23:48:18 +02:00
2022-04-14 21:54:10 +02:00
2022-03-24 18:08:34 +01:00
2022-03-18 19:59:19 +01:00
2021-09-19 22:53:35 +02:00
2022-03-22 02:06:21 +01:00
2021-03-08 09:20:53 +01:00
2022-03-24 22:57:01 +01:00
2021-05-26 15:34:13 +04:30
2022-02-06 13:10:10 +01:00
2022-04-02 18:40:32 +02:00
2020-12-27 21:25:27 +01:00
2022-03-18 11:34:02 +01:00
2022-02-17 22:45:21 +01:00
2022-02-17 22:45:21 +01:00