| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"/> |
| <title>text-transform math-auto</title> |
| <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3745"/> |
| <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#new-text-transform-values"> |
| <link rel="match" href="text-transform-math-auto-002.tentative-ref.html"/> |
| <meta name="assert" content="Test 'text-transform: math-auto' for text nodes of different lengths"> |
| <style> |
| @font-face { |
| font-family: TestFont; |
| src: url("/fonts/math/mathvariant-italic.woff"); |
| } |
| body > div { |
| padding: 10px; |
| } |
| div > span { |
| font-family: monospace; |
| font-size: 16px; |
| } |
| .testfont { |
| font-family: TestFont; |
| font-size: 16px; |
| } |
| </style> |
| <body> |
| <p>Test passes if all the equalities below are true.</p> |
| <div>Single character: <span class="testfont" style="text-transform: math-auto">∂</span>=<span>1D715</span></div> |
| <div>Two characters: <span class="testfont" style="text-transform: math-auto">∂∇</span>=<span>0220202207</span></div> |
| <div>Three characters: <span class="testfont" style="text-transform: math-auto">∂∇ȷ</span>=<span>022020220700237</span></div> |
| </body> |
| </html> |