Skip to content

[css-fonts-4] Localized font name matching, and WPT #12207

@svgeesus

Description

@svgeesus

I notice that some WPT, such as font-family-name-015.xht have assertions like

The 'font-family' property set to and installed font renders the appropriate font. Localized fullname should not match.

This assertion (in what was originally a CSS 2.1 test) contradicts CSS Fonts 4, 5.1. Localized name matching which states:

Some font file formats allow font faces to carry multiple localizations of a particular string (e.g. family name or named instance). User agents must recognize and correctly match all of these names independent of the underlying platform localization, system API used, or document encoding.

Presumably this explains some of why no current browser passes a bunch of these tests

Presumably those tests should be corrected, flipping the pass criteria?

@drott @jfkthame

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions