Callum Law
6705bd187c
LibWeb: Account for generic font families in FontFaceSet::load()
...
Fixes a regression in d998a0a which was crashing the imported test
2026-02-19 12:00:52 +01:00
Callum Law
f36d0407ec
Tests: Import some @font-feature-values tests
2026-02-17 12:25:27 +00:00
Callum Law
e675b95f51
LibWeb: Add absolutized method to OpenTypeTaggedStyleValue
2025-10-07 10:50:01 +01:00
Tim Ledbetter
b64cb89b9d
LibWeb: Implement compositing of font-variation-settings values
2025-09-26 11:20:54 +01:00
Tim Ledbetter
f9452b77b7
LibWeb: Implement interpolation of font-variation-settings values
2025-09-26 11:20:54 +01:00
Callum Law
3b6d17cd42
LibWeb: Import a bunch of CSS font related tests
...
Done in distinct commit to see progress over multiple following commits
2025-09-19 10:06:33 +01:00
Callum Law
56c4e8199b
LibWeb: Clamp negative font-size when loading font
...
`font-size` can end up with a negative value - either due to `calc`
being resolved using the old method which doesn't clamp the value, or
interpolation - in this case we should clamp negative values to zero.
Gains us 36 new WPT passes and fixes crashes in the three imported
tests.
2025-09-01 12:28:53 +01:00
Tim Ledbetter
689dff3ee8
Tests: Synchronize imported tests with the WPT repository
2025-06-22 23:51:34 +02:00
Andreas Kling
2d064116ab
Tests: Import a WPT test for @font-face format specifiers
2025-05-23 16:36:56 +02:00
Tim Ledbetter
23009779e1
LibWeb: Interpolate font-style values correctly
...
These are interpolated by computed value, except a value of `normal` is
treated as `oblique 0deg`.
2025-05-03 12:05:22 +02:00
Tim Ledbetter
408f9f3dde
LibWeb: Disallow "default" as a <family-name> identifier
...
This commit disallows "default" as a font-family name, when the name is
not quoted because unquoted names are treated as custom-idents, for
which the name "default" is not allowed.
2025-04-07 12:14:29 +01:00
Sam Atkins
bd7a08da3b
Tests: Reimport font-stretch tests as font-width
...
Corresponds to 7c0c4806bb
2025-04-02 14:55:27 +01:00
Sam Atkins
106239ce98
Tests: Import some font-parsing tests
2025-02-12 16:00:42 +00:00
Sam Atkins
2fc164c0b6
Tests: Import WPT CSSOM tests about serialization
...
This is an area we're lacking in, so let's bring these in-tree to track
them more easily. :^)
2024-11-30 11:01:12 +01:00