w3c / w3c/mathml-core

Linebreaking support

Open
#127 24 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

level-2 MathML Core
Dominant language
HTML
Stars
56
Forks
20
PR merge metrics
No merged PRs in 30d

Description

cc @bfgeek

The MathML core spec now defines all the min-content / max-content values, however these two are equal and linebreaking is supposed to never happens.

I believe linebreaking could potentially happen in:

  • Inline equations. However, I think defining CSS fragments will be a bit complicate.

  • mrow-like element from display equations. We have an experiment like this in chromium. Currently that depends on the parent's width however, we could do something similar if width is specified on the element (#45).

  • mtable (I guess that's already defined by CSS). Maybe we want to prevent it for now.

MathML 3 rules for linebreaking are quite complex, maybe we should have a simple version first and refine it later or get it improved by polyfills when the CSS Layout API is ready.

Just opening this so that it can be referenced from the spec.

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 by reading the MathML Core linebreaking discussion, the mrow width issue (#45), and the referenced Chromium experiment. The issue does not name implementation files, tests, or acceptance criteria; it leaves the scope between inline equations, mrow-like display content, and mtable unresolved.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.