Skip to content

[css-text-decor] text-decoration-skip: ink should allow not to skip for CJK and certain ideographic scripts #707

@kojiishi

Description

@kojiishi

Currently we're considering implementing text-decoration-skip: ink, and investigating what to do with CJK.

  • CJK does not want to skip ink in general.
  • Blink has not implemented heuristics to draw underlines to under position for CJK yet, and therefore underlines have high possibility to overlap with glyphs.

Implementing text-underline-position: auto to draw at under position for CJK is one way to solve this, and we're investigating this option.

The other option, we found WebKit does not skip ink for characters in CJK and Linear B ideogram blocks.

This might make sense since when font-size is small, no matter what we do, there may be overlaps.

On the other hand, some special fancy CJK fonts such as Kazuraki may want to skip ink.

I haven't come to the conclusion yet, but should the text-decoration-skip: ink allow not to skip for some scripts or under certain conditions? I mean I think it should, though I'm not clear how to define it properly yet.

Thoughts?

cc @litherum @fantasai @drott @masayuki-nakano @dbaron @upsuper @r12a

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-text-decor-4i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions