Skip to content

editable_test.dart not font-hermetic on web #83129

@yjbanov

Description

@yjbanov

This test is checking for specific size of the Chinese characters, but our ahem.ttf font doesn't have them (according to fontdrop.info). This causes the browser to fallback to a local font, which can be different from one computer to another.

This causes HHH to fail, for example:

https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8846622841805053712/+/u/flutter_test_web_tests/stdout

Somehow the C++ engine is immune to this problem. Perhaps it also falls back to some font, but that fallback font is stable across machines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.c: flakeTests that sometimes, but not always, incorrectly passc: tech-debtTechnical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamteam: skip-testAn issue used to track tests that are skipped.triaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions