-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend mpadded attribute syntax to be closer to MathML3 #103
Comments
These are the possible non-length values implemented by @distler in itex2MML and copied into TeXZilla: depth="depth" can basically be replaced with not using (or ignoring) the attribute. I'm not exactly sure about how the other commands work. |
From https://mathml-refresh.github.io/mathml/chapter3.html#presm.mpadded For any unsigned number X, if Y = X / 100 then X%pseudo-unit is equivalent to Ypseudo-unit So it seems that this syntax is not useful. |
I've rewritten the description of mpadded in MathML core, so that it no longer refers to MatHML3 Unless I'm mistaken, the current syntax and semantic should more or less match what is in the full spec: |
As far as I can see, the only difference in attrs is in the pseudo units being slightly restricted: the vertical attrs can only refer to height/depth (not width) and the horizontal ones only to width (not height/depth). Is there something else a polyfill needs to handle? |
I'm still concerned by the current text for mpadded as I doubt it will reflect what is "acceptable" for native implementations. So at this point, I'm not sure we can rely on it to know what a polyfill should handle. |
… not used elsewhere and can hopefully be simplified. w3c/mathml#103
w3c/mathml#103 DO NOT MERGE until there is a consensus on the future of mpadded.
@NSoiffer I think the biggest breaking change is (as currently written in the core spec) in core Note that the css length syntax allows I am tempted to suggest that MathML4 accepts this breaking change and follows core here: using the same interpretation for any values that are syntactically valid css length values. MathML4 full spec can still add named lengths and psuedo-units See also the discussion in PR #297 |
Sigh no My above comment is wrong as core is specified as accepting % but treating them as 0, but perhaps the suggestion for full should still stand, as really we need |
WG meeting 2024-11-14 agreed to change full to match core, noting that css length allows |
In #81, we agreed that mpadded attributes in MathML Core should only use pseudo-unit with the same vertical/horizontal direction.
Can we simplify it any further? Remove/Deprecate it?
Some thoughts:
The text was updated successfully, but these errors were encountered: