w3c / w3c/mathml-core

TeX-like spacing rules

Open
#141 26 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

MathML Core need specification update need tests
Dominant language
HTML
Stars
56
Forks
20
PR merge metrics
No merged PRs in 30d

Description

"Follow-up of w3c/mathml#30 (closed), this is an entry to discuss spacing rules:

For now, the implementation note only says that only operator lspace/rspace and italic correction adds spacing in row-like elements: http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS1

TeX spacing is mentioned here: http://www.mathml-association.org/MathMLinHTML5/S2.html#SS2.SSS2

Gecko's non-standard rules: http://hg.mozilla.org/mozilla-central/file/tip/layout/mathml/nsMathMLContainerFrame.cpp#l1058
"
original report: https://gitlab.com/mathml/MathMLinHTML5/issues/32

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 MathMLinHTML5 implementation note and the linked TeX spacing discussion, then compare Gecko's rules in layout/mathml/nsMathMLContainerFrame.cpp at line 1058. The issue does not define a chosen spacing model or implementation target, so completion would require agreeing on the rules and documenting or implementing the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
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.