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

Re: [csswg-drafts] [css-text] text-transform values for MathML (#5386)

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Mon, 24 Aug 2020 08:52:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-678998670-1598259144-sysbot+gh@w3.org>
This is following on from https://github.com/mathml-refresh/mathml/issues/204. The solution proposed there is to have the following in the UA stylesheet:
```css
mi {
  text-transform: math-auto;
}
*[mathvariant] mi {
  text-transform: none;
}
```
But that only works if the "mathvariant" attribute is used to set the transform (the "mathvariant" attribute is a presentational hint that sets `text-transform` with a specificity of [author,0]). If the transform is set directly CSS using `text-transform`, as you've done with the `<div>` in the first block of examples, it won't work, which I presume is why you're proposing this approach?

Well, we could certainly implement it, it would fix the problem and I don't think it would break anything else - so it works for me, although we're the smallest fish in this particular pond.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 24 August 2020 08:52:27 UTC

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