Skip to content

Conversation

@Calme1709
Copy link
Contributor

See individual commits for details

@github-actions
Copy link

Your pull request has conflicts that need to be resolved before it can be reviewed and merged. Make sure to rebase your branch on top of the latest master.

@github-actions github-actions bot added the conflicts Pull request has merge conflicts that need resolution label Nov 10, 2025
@Calme1709
Copy link
Contributor Author

Rebased to resolve conflicts

@github-actions github-actions bot removed the conflicts Pull request has merge conflicts that need resolution label Nov 10, 2025
@github-actions
Copy link

Your pull request has conflicts that need to be resolved before it can be reviewed and merged. Make sure to rebase your branch on top of the latest master.

@github-actions github-actions bot added the conflicts Pull request has merge conflicts that need resolution label Nov 12, 2025
@github-actions github-actions bot removed the conflicts Pull request has merge conflicts that need resolution label Nov 12, 2025
@Calme1709
Copy link
Contributor Author

Rebased to resolve conflicts

@github-actions github-actions bot added the conflicts Pull request has merge conflicts that need resolution label Nov 14, 2025
@github-actions
Copy link

Your pull request has conflicts that need to be resolved before it can be reviewed and merged. Make sure to rebase your branch on top of the latest master.

Since we resolve any relative lengths at compute time there's no need
for the value to be passed around as a `NumberOrCalculated` and we can
just resolve it within `ComputedProperties::font_variation_settings`.

The only place this is used it is used with value_or so there's no need
to return it is an `Optional`.

This is only used for loading fonts (which occurs during style
computation) so there's no need to store it in `ComputedValues`
Font computation and loading is distinct enough from style computation
that it makes more sense to have this in it's own class.

This will be useful later when we move the font loading process to
`ComputedProperties` in order to respect animated values.
Computing the font for an element in `compute_font` is premature since
we are yet to apply animated properties - instead we should compute the
value on the fly (with a cache to avoid unnecessary work) to ensure we
are respecting the latest values
@github-actions github-actions bot removed the conflicts Pull request has merge conflicts that need resolution label Nov 15, 2025
@Calme1709
Copy link
Contributor Author

Rebased to resolve conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant