W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-display] math/inline-math (#5385)

From: Frédéric Wang via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Sep 2020 09:13:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-695996151-1600679606-sysbot+gh@w3.org>
I don't know if there is a right solution, but from an implementation point of view, since these math values are going to allow new combinations and potentially lead to security bugs, I'd prefer to minimize the change if there is not a strong use case.

Note that equation numbering or any other text-only pseudo element can be done with display: block (or other non-math displays), the MathML layout should still be able to handle these non-math displays anyway.

Also, if we want to allow math display on pseudo elements, probably MathML Core will have to say pseudo-elements are laid out as an mrow and the spec updated at each place an "mrow-like" behavior is assumed ; adding special cases for pseudo-elements, which means more spec/test/implementation work. I'm personally not very willing to do this extra work for level 1.

GitHub Notification of comment by fred-wang
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5385#issuecomment-695996151 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 21 September 2020 09:13:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC