Skip to content
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

mrow-like elements and determination of postfix/prefix form #184

Closed
fred-wang opened this issue Jan 21, 2020 · 2 comments
Closed

mrow-like elements and determination of postfix/prefix form #184

fred-wang opened this issue Jan 21, 2020 · 2 comments
Labels
MathML Core Issues affecting the MathML Core specification

Comments

@fred-wang
Copy link

From https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes

  • If the embellished operator is the first in-flow child of an unknown MathML element, math, menclose, merror, mpadded, mphantom, mrow, msqrt or mstyle with more than one in-flow child (ignoring all space-like children) then it has form prefix;
  • Or, if the embellished operator is the last in-flow child of an unknown MathML element, math, menclose, merror, mpadded, mphantom, mrow, msqrt or mstyle with more than one in-flow child (ignoring all space-like children) then it has form postfix;

With the proposal in #183, this can be rewritten:

  • If the embellished operator is the first in-flow child of an mrow-like element, menclose, mpadded, msqrt with more than one in-flow child (ignoring all space-like children) then it has form prefix;
  • Or, if the embellished operator is the last in-flow child an mrow-like element, menclose, mpadded, msqrt with more than one in-flow child (ignoring all space-like children) then it has form postfix;

Which would add maction, semantics, mprescripts, and none into the list. The two first generally have only one in-flow child while the two last are empty so I think it is safe to make this change. This will simplify spec, implementation and maybe tests.

@fred-wang
Copy link
Author

consensus from feb 3: approved

@fred-wang fred-wang added the MathML Core Issues affecting the MathML Core specification label May 22, 2020
@fred-wang
Copy link
Author

closing since the spec was updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MathML Core Issues affecting the MathML Core specification
Projects
None yet
Development

No branches or pull requests

1 participant