w3c / w3c/mathml-core

CSS interoperability with text-align

Open
#268 7 comments 0 reactions 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

We are deprecating some MathML attributes in favor of the equivalent ones in CSS. In particular, the CSS style text-align seems a good substitute for denomalign and numalign (since the deprecation in w3c/mathml#30). For the same reasons, it is also a good candidate to replace the columnalign attribute in tables.

For example,

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mfrac>
        <mn style="text-align:right">1</mn>
        <mn>1000</mn>
    </mfrac>
</math>

with result
Fraction with numerator alignment to the right

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

Start with the issue's MathML fraction example and the linked W3C columnalign reference, then review the discussion and the deprecation context in w3c/mathml#30. Determine which specification or interoperability changes are required for text-align on fractions and tables; done should be an agreed, testable definition of the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.