Files
sousa-gecko/testing/web-platform/tests/css/css-fonts/variations
Oriol Brufau 069b46d506 Bug 2049560 [wpt PR 60805] - fonts: Simplify logic around @font-face descriptors, a=testonly
Automatic update from web-platform-tests
fonts: Simplify logic around `@font-face` descriptors

This changes `CSSFontFaceDescriptors` to use:
- `ComputedFontWeightRange` instead of a pair of `FontWeight`
- `ComputedFontStretchRange` instead of a pair of `FontStretch`
- Stylo's `ComputedFontStyleDescriptor` instead of a similar copy of that

This way we can simply use the `compute()` method of `FontWeightRange`,
`FontStretchRange` and `FontFaceStyle` to compute the above.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

--

wpt-commits: 55ad1f1d6b4856e29c5fd6418292519a4c23fd1f
wpt-pr: 60805
2026-06-25 17:04:07 +00:00
..
…