Skip to content

Expose old font size#175

Merged
JayPanoz merged 3 commits into
developfrom
Expose-old-fontSize
Apr 15, 2025
Merged

Expose old font size#175
JayPanoz merged 3 commits into
developfrom
Expose-old-fontSize

Conversation

@JayPanoz
Copy link
Copy Markdown
Collaborator

@JayPanoz JayPanoz commented Apr 15, 2025

What kind of change does this PR introduce? (Bug fix, feature, docs update, other)

This PR exposes the previous and deprecated implementation of font-size user setting under a new flag, so that it can be toggled manually.

What is the current behaviour? (You can also link to an open issue here)

It is automatically enabled when zoom is not supported through a CSS feature query.

What is the new behaviour?

It stays enabled in the case mentioned above, but is also exposed through a new flag that can be set to switch implementations in case developers need more time to migrate, want to test the new implementation extensively in staging, or need to rely on the old implementation for any reason.

Closes #174

Adding test for deprecated font-size implementation and font-size normalize
@JayPanoz JayPanoz merged commit 847083a into develop Apr 15, 2025
1 check passed
@JayPanoz JayPanoz deleted the Expose-old-fontSize branch April 15, 2025 13:22
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.

Expose deprecated implementation of font-size under a flag

1 participant