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

Missing space between sin and x #103

Open
runarberg opened this issue Nov 28, 2023 · 0 comments
Open

Missing space between sin and x #103

runarberg opened this issue Nov 28, 2023 · 0 comments
Labels
bug mathml-core Relates to mathml-core compatability

Comments

@runarberg
Copy link
Owner

Chrome and Firefox have a differing behavior when it comes to spacing between certain <mi> elements. Firefox adds a space between normal and italic <mi> elements, but Chrome doesn’t. For example sin x renders with a space between the function and variable in Firefox, but in chrome the variable is butted against the function.

A solution could be to add invisible function application (U+2061) between common functions identifiers and a variable that follows and give it an lspace of something like 0.35ex.

See w3c/mathml-core#214

@runarberg runarberg added bug mathml-core Relates to mathml-core compatability labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mathml-core Relates to mathml-core compatability
Projects
None yet
Development

No branches or pull requests

1 participant