w3c / w3c/mathml-core

Mark 'math-style' and 'math-depth' as "font-affecting properties"

Open Beginner friendly
#339 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
56
Forks
20
PR merge metrics
No merged PRs in 30d

Description

CSS recently added the concept of "font-affecting properties", which is any property that can adjust the font metrics on an element which are depended on for the font-relative units like em or cap. (This term lets us be more precise about which properties need to trigger cycle-avoidance behavior if you use the font-relative units in them; see CSSWG Issue 14306.)

The 'math-style' and 'math-depth' properties in MathML both qualify here, since they can adjust the 'font-size' of the element. Would you mind putting in a statement somewhere defining that these two properties are font-affecting properties?

You can do it in an early general section, like Fonts 4 does since it has a bunch of them, or just have a sentence somewhere in those properties' individual definition sections.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked CSS Values 4 definition and compare the font-relative section in Fonts 4. Update the MathML Core specification's general section or the individual definitions for math-style and math-depth to state that both are font-affecting properties. Done when the draft explicitly identifies both properties this way.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.