GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [css-ruby-1] Default ruby centring for more than just zh · Issue #779 · w3c/csswg-drafts

[css-ruby-1] Default ruby centring for more than just zh #779

New issue
Copy link
New issue
Copy link
Closed
Closed
[css-ruby-1] Default ruby centring for more than just zh#779
Copy link
Labels
Closed Accepted by CSSWG ResolutionChanges backed by a CSSWG resolution.Changes backed by a CSSWG resolution.Needs Testcase (WPT)css-ruby-1Current WorkCurrent Worki18n-clreqChinese language enablementChinese language enablementi18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.Issue the Internationalization Group has raised and looks for a response on.

Description

@r12a
r12a
opened on Nov 30, 2016
Issue body actions

A.1 Supporting Ruby Layout
https://drafts.csswg.org/css-ruby-1/#default-ua-ruby

the default UA style sheet information includes the following:

rtc:lang(zh), rt:lang(zh) {
  ruby-align: center; }

This establishes centred display for ruby for Chinese, but there are other language subtags that indicate that text is chinese besides the generic zh. These should presumably also be included here.

The current list of more specific tags recommended by the IANA subtag registry rather than zh is:
cdo cjy cmn cpx czh czo gan hak hsn lzh mnp nan wuu yue.

Activity

  1. r12a
    added
    css-ruby-1Current WorkCurrent Work
    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
    on Nov 30, 2016
  2. upsuper commented on Dec 2, 2016

    @upsuper
    upsuper
    on Dec 2, 2016
    Member
    More actions

    I don't think it's worth adding them. Web content shouldn't use them.

    If we really want to take those tags into consideration, we really need a new mechanism to handle macrolanguages, rather than listing everything inside it.

  3. r12a
    added
    i18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.Issue the Internationalization Group has raised and looks for a response on.
    and removed
    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
    on Dec 8, 2016
  4. patrickdark commented on Dec 23, 2016

    @patrickdark
    patrickdark
    on Dec 23, 2016
    Contributor
    More actions

    My experience is that the language is a lot less important than the script for styling purposes. zh-latn and zh-hans or zh-hant have different styling considerations.

  5. r12a
    added
    i18n-clreqChinese language enablementChinese language enablement
    on Apr 30, 2018
  6. fantasai commented on Feb 2, 2021

    @fantasai
    fantasai
    on Feb 2, 2021
    Collaborator
    More actions

    It seems to me we might want to just remove this rule, and rely on controlling the justification opportunities instead. The reason Chinese is centered by default here because its annotations tend to be in Latin (Pinyin) or Bopomofo. But when they are in Hanzi, they are not centered, they are spaced out.

  7. fantasai
    added a commit that references this issue on Feb 2, 2021

    [css-ruby-1] Remove centering rule for now #779. Deal with the proble…

    07a40ad
  8. fantasai
    closed this as completedon Feb 2, 2021
  9. fantasai
    added
    Closed Accepted by Editor DiscretionSee description in bin/issuegen.plSee description in bin/issuegen.pl
    on Feb 2, 2021
  10. upsuper commented on Feb 7, 2021

    @upsuper
    upsuper
    on Feb 7, 2021
    Member
    More actions

    (For my own reference, filed Gecko bug 1691243 for this change)

  11. upsuper commented on Nov 14, 2021

    @upsuper
    upsuper
    on Nov 14, 2021
    Member
    More actions

    I had another look at the issue, and it seems to me that bopomofo does have justification opportunities inside, so removing ruby-align: center may not work for it. And I think it makes sense for bopomofo to have justification opportunities, as they are like kanas in Japanese that they can mix into a piece of Chinese text, and if such piece of text is justified, bopomofo should behave just like Chinese characters.

    But I also agree that when the annotation is Chinese, it seems right to have it spaced out. Not sure how we can solve this conflict.

  12. frivoal commented on Dec 22, 2021

    @frivoal
    frivoal
    on Dec 22, 2021
    Collaborator
    More actions

    (reopening, so that we don't forget to deal with @upsuper's comment)

  13. frivoal
    reopened this on Dec 22, 2021
  14. frivoal
    added
    Agenda+
    Needs Edits
    Needs Testcase (WPT)
    and removed
    Closed Accepted by Editor DiscretionSee description in bin/issuegen.plSee description in bin/issuegen.pl
    on Sep 13, 2022
  15. aphillips commented on Sep 13, 2022

    @aphillips
    aphillips
    on Sep 13, 2022
    Contributor
    More actions

    CSS will ping I18N when text is written for review by CLREQ

  16. fantasai
    added
    Closed Accepted by CSSWG ResolutionChanges backed by a CSSWG resolution.Changes backed by a CSSWG resolution.
    and removed
    Agenda+
    on Oct 12, 2022
  17. fantasai
    added a commit that references this issue on Dec 28, 2022

    [css-text-4][css-ruby-1] Define 'text-justify: ruby' to handle defaul…

    96545da
  18. frivoal
    removed
    Needs Edits
    on Dec 28, 2022
  19. frivoal commented on Dec 28, 2022

    @frivoal
    frivoal
    on Dec 28, 2022
    Collaborator
    More actions

    @upsuper we've now made edits to deal with #779 (comment). Feedback appreciated.

  20. frivoal
    closed this as completedon Dec 28, 2022
  21. upsuper commented on Dec 28, 2022

    @upsuper
    upsuper
    on Dec 28, 2022
    Member
    More actions

    Looks good to me, thanks.

  22. jakearchibald
    added a commit that references this issue on Jan 16, 2023

    [css-text-4][css-ruby-1] Define 'text-justify: ruby' to handle defaul…

    e93765e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed Accepted by CSSWG ResolutionChanges backed by a CSSWG resolution.Changes backed by a CSSWG resolution.Needs Testcase (WPT)css-ruby-1Current WorkCurrent Worki18n-clreqChinese language enablementChinese language enablementi18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.Issue the Internationalization Group has raised and looks for a response on.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.