[css-text-decor] Control the line height of text containing emphasis marks #11257
Labels
css-text-decor-3
Current Work
css-text-decor-4
i18n-clreq
Chinese language enablement
i18n-jlreq
Japanese language enablement
i18n-klreq
Korean language enablement
i18n-mlreq
Mongolian language enablement
i18n-tracker
Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Many fonts (most Simplified/Traditional Chinese fonts and quite a few Japanese fonts) tend to increase line height when using
text-emphasis-style
, which usually leads to undesirable results.To address this issue, we may need a new CSS property to:
text-underline-offset
)I'm not sure if font formats can offer information about the appropriate position of emphasis marks. If so, the UA should use such font-based information when available.
Currently, we already have this text in CSS Text Decoration:
However, this is insufficient because it is only a MAY, and there is no way for authors to enforce the behavior.
See more background information in w3c/jlreq#446
/cc @bobbytung
The text was updated successfully, but these errors were encountered: