LibWeb: Disallow disjointed ligatures component of font-variant

The grammar groups this component together meaning that all
sub-components must occur together i.e.
`common-ligatures no-contextual small-caps` is valid but
`common-ligatures small-caps no-contextual` is not.

We also reuse the logic for parsing from the longhand
`font-variant-ligatures` property for simplicity.
This commit is contained in:
Callum Law
2026-02-19 00:05:35 +13:00
committed by Sam Atkins
parent f0dd7ec4e9
commit d97098ec80
Notes: github-actions[bot] 2026-02-20 22:03:50 +00:00
8 changed files with 111 additions and 131 deletions

View File

@@ -1 +1,2 @@
#a { }
#b { }