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

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

From: Frédéric Wang via GitHub <sysbot+gh@w3.org>
Date: Mon, 24 Aug 2020 07:59:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-678972727-1598255997-sysbot+gh@w3.org>
I wonder whether it would be possible to modify the current proposal to also say

"If the specified value of text-transform is math-auto and the inherited is not none then computed value is the inherited value"

that is

    <div><div style="text-transform: math-auto">sin</div></div>

    <div><div style="text-transform: math-auto">x</div>

    <div style="text-transform: math-fraktur">
      <div style="text-transform: math-auto">x</div>
    </div>

would respectively produce upright sin, slanted x and fraktur x. This would allow to implement MathML's behavior

    <math><mi>sin</mi></math>
    <math><mi>x</mi></math>
    <math mathvariant="fraktur"><mi>x</mi></math>

without tweaking too much the UA stylesheet.

cc @faceless2 

-- 
GitHub Notification of comment by fred-wang
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5386#issuecomment-678972727 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 07:59:59 UTC

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