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

UA stylesheet: mtd { text-align: center; } does not work #156

Open
fred-wang opened this issue Jun 27, 2022 · 0 comments
Open

UA stylesheet: mtd { text-align: center; } does not work #156

fred-wang opened this issue Jun 27, 2022 · 0 comments

Comments

@fred-wang
Copy link
Contributor

fred-wang commented Jun 27, 2022

cc @Loirooriol @mrego @bfgeek

text-align: center; only centers inline-level content so this does not work for MathML elements (which are block-level). Currently, Chromium and Firefox rely on the non-standard values -webkit-center and -moz-center respectively.

In the future, we should probably rely on CSS alignment properties (see #120).

I'm just opening this issue for the record, so it can be used as a reference in the stylesheet.

@fred-wang fred-wang changed the title mtd { text-align: center; } UA stylesheet: mtd { text-align: center; } does not work Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant