w3c / w3c/mathml-core

minsize/maxsize in horizontal operators

Open
#64 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently the core spec only use them for vertical stretching: https://mathml-refresh.github.io/mathml-core/#algorithm-for-stretching-operators-along-the-block-axis
MathML3 says it should https://www.w3.org/TR/MathML3/chapter3.html#id.3.2.5.8.4

WebKit/Blink don't not support minsize/maxsize for horizontal operators. Gecko seems to have code to handle that case but I'm not able to make it work.

Testcase:

<math>
  <mn>1</mn>
  <mo>+</mo>
  <munder>
    <mn>2222222222222</mn>
    <mo maxsize="2em">→</mo>
  </munder>
  <mo>+</mo>
  <munder>
    <mn>3</mn>
    <mo minsize="10em">→</mo>
  </munder>
  <mo>+</mo>
  <mn>4<mn>
</math>

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 MathML Core algorithm for stretching operators along the block axis and compare it with the MathML3 section linked in the issue. Use the supplied testcase to examine horizontal operators with minsize and maxsize; done means the specification clearly addresses this case and defines the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.