-
Notifications
You must be signed in to change notification settings - Fork 15
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
Interoperable handling of invalid markup for mmultiscripts #61
Comments
@fred-wang: this can be closed if there are tests for wrong number of children, extra , and other invalid markup cases involving the children. |
The current text follows what we decided for level 1: just fallback to
I'm adding the "needs-test" label to check again current coverage. |
|
…r invalid mmultiscripts, a=testonly Automatic update from web-platform-tests Add more tests to check mrow fallback for invalid mmultiscripts (#37404) See w3c/mathml-core#61 (comment) -- wpt-commits: 685d3f47d15acf60251fc6be9e825ed97c47e125 wpt-pr: 37404
…r invalid mmultiscripts, a=testonly Automatic update from web-platform-tests Add more tests to check mrow fallback for invalid mmultiscripts (#37404) See w3c/mathml-core#61 (comment) -- wpt-commits: 685d3f47d15acf60251fc6be9e825ed97c47e125 wpt-pr: 37404
This is a special case of #136. Because
mmultiscripts
is "special" in it's argument handling, some of the ideas discussed in #136 potentially need special details added to handlemmultiscripts
. I've opened a separate issue to discuss what should happen because the argument processing formmultiscripts
are more complicated than for other elements....To recap, the arguments to
mmultiscripts
are:<mprescripts/>
to indicate the following args are prescripts#136 has two cases: too few arguments and too many arguments.
One solution proposed is that if there are the wrong number of arguments, then lay the children out in an mrow. That sort of works, but "wrong" number is not as simple as too few or too many children. Also one the children is
<mprescripts/>
, which doesn't have layout, and so would probably try to display its children, which it doesn't have, so it would disappear, essentially deleting some of the content.Another proposed solution in #136 is to add missing arguments as empty
mrow
s and to wrap extra arguments together with the last argument in anmrow
to make the number of children correct. This is doable, but again, the notion of too few and too many is more complex and needs to be specified for this element.The text was updated successfully, but these errors were encountered: