Skip to content

[css-fonts] Add new CSS properties math-script-level and math-style #3746

@fred-wang

Description

@fred-wang

cc @mrego @emilio @rwlbuis @bfgeek

This proposal introduces two new CSS properties math-style and math-script-level controlling how the font-size evolves inside mathematical constructions. More generally math-style may be used to indicate to implementations of math layout (e.g. MathML) whether logical height should be minimized. For details, see the explainer from the MathML Refresh CG repository.

Tentative tests:
https://w3c-test.org/css/css-fonts/math-script-level-and-math-style/
https://github.com/web-platform-tests/wpt/tree/master/css/css-fonts/math-script-level-and-math-style/
All the tests pass in Igalia's chromium-mathml build.

Drafts:
https://mathml-refresh.github.io/mathml-core/#the-math-style-property
https://mathml-refresh.github.io/mathml-core/#the-math-script-level-property

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions