Closed
Labels
Browser IssuesIssues or PRs that are related to browser specific problemsIssues or PRs that are related to browser specific problems[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Description
InputControl does not have an explicit font-family on its <input> element, so depending on the user agent stylesheet it could be rendered in an unintended font.
In my environment (Chrome on Mac), the expected font is system-ui, but instead it's rendered in Arial. (TextControl, on the other hand, does have an explicit font-family set, so is consistent across browsers.)
Any components based on InputControl are likely also affected.
Metadata
Metadata
Assignees
Labels
Browser IssuesIssues or PRs that are related to browser specific problemsIssues or PRs that are related to browser specific problems[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Activity
mirka commentedon Feb 11, 2022
This problem doesn't manifest in contexts where the core WP
forms.cssis loaded (i.e. wp-admin), since that includes some normalizing rules:Directly affected components
[-]`InputControl` doesn't render in the intended font stack in Chrome[/-][+]Some components don't render in the intended font stack in Chrome[/+]