mtr columnspan and rowspan
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 56
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
The current table description in MathML Core is very limited, basically just mtable/mtr/mtd similar to HTML with centered cells.
It also has columnspan / rowspan attributes on mtd, just saying that the "syntax and semantic". I'm proposing to drop this for version 1. I think there are several issues that should be discussed and addressed:
-
MathML3 actually has much more complex spanning attributes and even tabular features, which have not been designed for compatibility with the rest of the platform. I think we will need a broader discussion of what are the relevant attributes, how/whether to make them CSS-compatible, whether to propose new properties or rely on existing features like Grid. Similarly, there are interactions with MathML (stretchy operators or baseline alignment) that would need to be clarified. So it sounds better to postpone this for a potential future version and stick to polyfills for now.
-
Related to that, CSS does not have rowspan / colspan properties. I'd like to understand why.
-
We didn't implement these attributes in Chromium yet and currently the decision on table-related thing is blocked on the progress of TableNG.
-
The name of columnspan is from MathML3 but it is not consistent with HTML's colspan. Maybe we want to "fix" that.
-
HTML has a lot of rules and if we really want to claim strong test coverage when presenting mathml core to people, we would need a lot of testing (cell size/position, invalid values, negative values, clamp values more than 1000 cols or 65534 rows, dynamic changes, ...). I'm not comfortable having an underspecified/undertested feature in core version 1.
-
HTML has an IDL API for setting the rowspan / colspan, do we need something similar for MathML?
-
probably more...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the MathML Core table description alongside the MathML3, HTML, CSS, Chromium, and TableNG considerations named in the issue. The work is done when the rowspan and columnspan scope for version 1, naming, compatibility, testing, and IDL requirements have been resolved and documented.
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
- 25/100