Skip to content

Commit

Permalink
[zh-cn]: sync desc of value math-auto for text-transform (mdn#24378)
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
sora-blue and yin1999 authored Nov 7, 2024
1 parent 6d8cca2 commit abb4f3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/zh-cn/web/css/text-transform/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ text-transform: unset;
- : 是一个关键字,它强制将字符(主要是表意文字和拉丁文字))--写在一个正方形内,使它们能够在通常的东亚文字(如中文或日文)中对齐。
- `full-size-kana`
- : 通常用于 {{htmlelement("ruby")}} 注释文本,该关键字将所有小假名字符转换为等效的全尺寸假名,以补偿在 ruby 中通常使用的小字体的可读性问题。
- `math-auto`
- : 用于在合适的时候自动使用数学斜体渲染文本。仅当在只有一个字符的文本节点上使用的时候,它将把拉丁字母、希腊字母和其他一些数学相关的符号转换为[数学斜体符号](https://www.unicode.org/charts/PDF/U1D400.pdf)。举例来说,“x”将会转换为“𝑥”(U+1D465),但“exp”将会保持是“exp”。这个特性主要用来指定使用 MathML 语言的 {{MathMLElement("mi")}} 元素的行为。通常你应当使用 MathML 标记,它会自动应用正确的样式。

## 无障碍考虑

Expand Down

0 comments on commit abb4f3b

Please sign in to comment.