-
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
Define what the content box is for MathML token elements #139
Comments
mi and mtext are MathML token elements. Do you mean content box for any MathML element? issue w3c/mathml#14 might be involved here |
No - see test case. I think this relates to how the ascender/descender contributes to the block-size of token elements. |
My 5 cents to clarify the issue. On Firefox, the issue gets more clear when comparing an The red one is the I created an example with mathvariant="normal" (to make the comparison fair). |
The core spec defines what the content box for token elements should be, basically deferring to block layout: https://mathml-refresh.github.io/mathml-core/#text-mtext |
The layout is described in https://w3c.github.io/mathml-core/#layout-of-mtext I believe the inconsistency mentioned on this bug is related to the ink ascent/descent thing, so closing in favor of #78 |
Currently the implementations differ here, a very simple test case.
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=6689
I'm not sure what is correct here. However what ever is decided needs a bunch of tests to ensure interoperability.
The text was updated successfully, but these errors were encountered: