Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CJK features — Ruby & more #872

Open
stubbornella opened this issue Oct 9, 2024 · 4 comments
Open

CJK features — Ruby & more #872

stubbornella opened this issue Oct 9, 2024 · 4 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@stubbornella
Copy link

Description

Ruby annotations are essential for Japanese language learners to be able to sound out words they do not already know. However they have historically had poor support on the web. This focus area is to improve the typography of Ruby annotations so they are useable by children and other Japanese language learners. This proposal includes:

  • ruby-position: alternate
  • ruby-overhang
  • text-transform: full-width
  • text-transform: full-sized-kana

It does not include ruby-merge

Specification

https://www.w3.org/TR/css-ruby-1/

Additional Signals

Ruby bugs cause readability issues in web based books.

@yisibl
Copy link

yisibl commented Oct 10, 2024

Note that the latest Ruby specification is here: https://github.com/w3c/html-ruby

@yisibl
Copy link

yisibl commented Oct 10, 2024

The Ruby implementation leaves a lot to be desired.

A couple of key features are still missing:

  • Line-breakable ruby, implemented in Chrome 128.
  • display: ruby-base, ruby-base-container, and ruby-text-container implemented in Firefox 38

@yisibl
Copy link

yisibl commented Oct 10, 2024

I would suggest that this title be changed to focus on Ruby, and that text-transform could open a new issue separately.

@stubbornella
Copy link
Author

I'm open to that. Thanks for the suggestions of other APIs to include.

@jensimmons jensimmons changed the title CJK fonts CJK features — Ruby + text-transform Oct 24, 2024
@jensimmons jensimmons changed the title CJK features — Ruby + text-transform CJK features — Ruby & more Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

2 participants