Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-fonts] Parse font-variant #19323

Merged
merged 1 commit into from
Sep 27, 2019

Conversation

ewilligers
Copy link
Contributor

font-variant accepts the values in the grammar
https://drafts.csswg.org/css-fonts-4/#propdef-font-variant

normal | none | [ <common-lig-values> || <discretionary-lig-values> ||
<historical-lig-values> || <contextual-alt-values> ||
[ small-caps | all-small-caps | petite-caps | all-petite-caps |
  unicase | titling-caps ] ||
[ stylistic(<feature-value-name>) || historical-forms ||
  styleset(<feature-value-name>#) ||
  character-variant(<feature-value-name>#) ||
  swash(<feature-value-name>) ||
  ornaments(<feature-value-name>) ||
  annotation(<feature-value-name>) ] ||
<numeric-figure-values> ||<numeric-spacing-values> ||
<numeric-fraction-values> || ordinal || slashed-zero ||
<east-asian-variant-values> || <east-asian-width-values> ||
ruby || [ sub | super ] ]

font-variant serializes using canonical order.

font-variant accepts the values in the grammar
https://drafts.csswg.org/css-fonts-4/#propdef-font-variant

```
normal | none | [ <common-lig-values> || <discretionary-lig-values> ||
<historical-lig-values> || <contextual-alt-values> ||
[ small-caps | all-small-caps | petite-caps | all-petite-caps |
  unicase | titling-caps ] ||
[ stylistic(<feature-value-name>) || historical-forms ||
  styleset(<feature-value-name>#) ||
  character-variant(<feature-value-name>#) ||
  swash(<feature-value-name>) ||
  ornaments(<feature-value-name>) ||
  annotation(<feature-value-name>) ] ||
<numeric-figure-values> ||<numeric-spacing-values> ||
<numeric-fraction-values> || ordinal || slashed-zero ||
<east-asian-variant-values> || <east-asian-width-values> ||
ruby || [ sub | super ] ]
```

font-variant serializes using canonical order.
@foolip
Copy link
Member

foolip commented Sep 27, 2019

@jugglinmike update-pr-preview has failed here too. Can you file an issue and link the affected PRs?

@foolip
Copy link
Member

foolip commented Sep 27, 2019

I've filed #19378 myself.

@ewilligers ewilligers merged commit 46d8698 into web-platform-tests:master Sep 27, 2019
@ewilligers ewilligers deleted the font-variant branch September 27, 2019 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants