Callum Law
39484e2027
LibWeb: Store font-weight in ComputedProperties in computed form
...
We now also more closely follow the spec when computing values for
font-weight and we now:
- Support relative lengths in `calc()`s
- Properly clamp `calc()`s
- Support relative keywords (e.g. lighter, bolder)
- Respect that font-weight can be a non-integer number.
This does expose a few false positives in the font-weight-computed.html
WPT test. This is because we don't recompute non-inherited font-weight
within `recompute_inherited_style` which means that relative keyword
values can fall out of sync with their parent's value. These previously
passed as we treated `bolder` and `lighter` as aliases for `bold` and
`normal` respectively.
2025-09-19 10:06:33 +01:00
..
2025-09-18 16:46:06 +01:00
2025-08-23 16:04:36 -06:00
2025-09-17 12:44:44 +02:00
2025-08-23 16:04:36 -06:00
2025-09-01 16:19:24 +01:00
2025-08-29 18:18:55 +01:00
2025-08-26 06:28:10 -04:00
2025-09-15 12:16:58 +02:00
2025-09-19 10:06:33 +01:00
2025-09-19 10:06:33 +01:00
2025-08-29 18:18:55 +01:00
2025-09-19 10:06:33 +01:00
2025-08-14 10:27:08 +02:00
2025-08-27 09:58:00 +02:00
2025-09-16 10:38:20 +02:00
2025-09-03 21:43:36 +02:00
2025-09-02 11:11:12 +01:00
2025-09-15 13:34:24 +02:00
2025-09-16 10:38:20 +02:00
2025-08-23 16:04:36 -06:00
2025-09-19 10:06:33 +01:00
2025-08-27 16:13:25 +02:00
2025-08-23 16:04:36 -06:00
2025-09-02 11:11:12 +01:00
2025-09-11 17:06:44 +01:00
2025-09-19 10:06:33 +01:00
2025-09-16 10:38:20 +02:00
2025-08-27 09:58:00 +02:00
2025-09-15 07:31:02 +01:00
2025-08-23 16:04:36 -06:00
2025-09-13 14:27:18 +02:00
2025-09-19 10:17:56 +02:00
2025-08-14 10:27:08 +02:00
2025-08-23 16:04:36 -06:00
2025-08-23 16:04:36 -06:00
2025-09-08 18:39:54 +02:00
2025-08-23 16:04:36 -06:00
2025-08-23 16:04:36 -06:00
2025-09-18 07:39:10 -04:00
2025-08-14 10:27:08 +02:00
2025-08-14 10:27:08 +02:00
2025-08-23 16:04:36 -06:00
2025-08-23 16:04:36 -06:00
2025-09-11 17:06:44 +01:00
2025-09-16 10:57:34 +02:00
2025-08-23 16:04:36 -06:00
2025-08-14 10:27:08 +02:00
2025-09-11 17:06:44 +01:00
2025-09-10 05:23:07 +02:00
2025-08-20 14:51:01 +02:00
2025-08-23 16:04:36 -06:00
2025-08-30 15:49:11 +02:00
2025-09-17 12:44:44 +02:00
2025-09-09 15:28:38 +02:00
2025-08-14 10:27:08 +02:00
2025-09-09 15:28:38 +02:00
2025-08-27 14:15:48 +02:00
2025-08-29 18:18:55 +01:00
2025-09-18 07:39:10 -04:00
2025-09-12 15:34:09 -04:00
2025-08-27 11:53:45 +01:00
2025-09-15 15:24:20 +01:00
2025-09-18 07:39:10 -04:00
2025-09-18 07:39:10 -04:00
2025-09-15 08:47:10 +01:00
2025-08-23 16:04:36 -06:00
2025-08-23 16:04:36 -06:00
2025-09-16 06:57:30 -04:00