Repository navigation
drop malignmark/maligngroup - #585
Conversation
| <msup> | ||
| <mi> x </mi> | ||
| <malignmark edge="right"/> | ||
| <mphantom"><mo>(</mo></mphantom"> |
There was a problem hiding this comment.
This is not related to the changes intended by this PR, but maybe we should review the "space-like" interaction with mphantom.
In the live text we have:
an mstyle, mphantom, or mpadded element, all of whose direct sub-expressions are space-like;
and the ( paren mo introduced in the example here isn't space-like.
There was a problem hiding this comment.
@dginev oops:-)
Given that this example is in a section called Legal grouping of space-like elements I think we should use something space like.
How about
<msup>
<mi>x</mi>
<mspace width="1em"/>
<mn>2</mn>
</msup>
as the "bad" example, fixed by an example with an mrow around x and the space?
There was a problem hiding this comment.
oh I guess you meant consider making mphantom ( space-like, that was discussed at some length in previous eras and mathml3 (and I think earlier) explicitly calls out that mphantom isn't space like unless its children are so that x mphantom+ y gets the same spacing as x + y but with an invisible + if it were space like it would lose the binary operator spacing. That was the argument back then at least....
As agreed in advance, this drops
<maligngroup>and<malignmark>so the only references in the spec are in the changes appendix and in the schema in appendix A where they have been moved to the legacy schema by the matching commitw3c/mathml-schema@cb2943d
The example of using space like elements has been changed to use mphantom rather than malignmark. (The original example probably should be included in the polyfill tests)