文本强调标记:`text-emphasis` 在 CJK 排版中的点号位置与行高影响

CJK 排版中的 text-emphasis: 点号位置与行高影响 大家好,今天我们来深入探讨一下 CSS 中的 text-emphasis 属性,特别是它在 CJK (Chinese, Japanese, Korean) 排版中的表现,以及它对行高的影响。text-emphasis 用于在文本旁边添加强调标记,通常是点、圈、或其他符号。虽然这个属性看似简单,但在 CJK 环境下,它的行为却受到多种因素的影响,需要我们深入理解才能正确使用。 text-emphasis 属性概览 首先,我们回顾一下 text-emphasis 相关的 CSS 属性: text-emphasis (shorthand): 用于同时设置 text-emphasis-style 和 text-emphasis-color。 text-emphasis-style: 定义强调标记的样式,例如 dot, circle, double-circle, triangle, sesame 等。还可以使用字符串作为强调标记。 text-emphasis-color: 定义强调标记的颜色。 text-emphasis-po …