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

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