W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-text] Add new CSS text-transform values for math (#3745)

From: Brian Smith via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 Apr 2019 19:01:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-487165977-1556305166-sysbot+gh@w3.org>
> `math-auto`

`math-auto` is proposed here because there is no CSS selector for the text content of an element. However, there are other areas in MathML and elsewhere where we need similar behavior. For example, deciding how much space to render before/after a math operator `<mo>` also depends on the text inside the element. It would be better to create some new minimal CSS selector that would allow us to match on the text content, and then implement the `auto` behavior in pure CSS using that selector. So, I think it would be good to conditionally accept the proposal as is, but also open an issue about replacing the `math-auto` value with a more general mechanism.

Ideally browsers' "Find in Page" feature would allow searching for the text pre-transform and post-transform. That way, for example, I could search for the variable 𝒙 on the page by searching for either "x" or "𝒙". Firefox's MathML implementation does this, for example.

GitHub Notification of comment by briansmith
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3745#issuecomment-487165977 using your GitHub account
Received on Friday, 26 April 2019 19:01:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC