Re: [csswg-drafts] [css-ruby-1] Treatment of multiple Latin words in space-between & space-around (#771)

The CSS Working Group just discussed `default alignment of ruby text`, and agreed to the following:

* `RESOLVED: Add text-justify:ruby, which is like 'auto' but disables justification oppo on spaces and bopomofo.`
* ``RESOLVED: `rt, rtc { text-justify: ruby; }` to UA stylesheet``

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> Topic: default alignment of ruby text<br>
&lt;TabAtkins> github: https://github.com/w3c/csswg-drafts/issues/771#issuecomment-1182339573<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/issues/779<br>
&lt;TabAtkins> fantasai: ruby text, when you put it on base text, it has different default alignment. latin text and bopomofo is centered, but cjk ruby, if the annotation is smaller than base, it'll be justified<br>
&lt;TabAtkins> fantasai: Straightforward way to handle this is to say that ruby annotations are justified by default, and to adjust the jsutification opportunities<br>
&lt;TabAtkins> fantasai: In nromal text we allow spaces to stretch, and inter-character for CJK<br>
&lt;TabAtkins> fantasai: So if we create a justification method where sapces don't expand, but CJK still does, we'll get the intended behavior<br>
&lt;TabAtkins> fantasai: And then people who want a different behavior can use text-justify: inter-word or inter-character if they want it<br>
&lt;TabAtkins> fantasai: So proposal is to create this new jsutification mode<br>
&lt;TabAtkins> fantasai: One, we could say text-justify:auto on ruby annotation has special behavior,<br>
&lt;TabAtkins> fantasai: Two, we could introduce a new text-justify:ruby keyword, and use that in the UA stylesheet<br>
&lt;TabAtkins> fantasai: Probably introducing a new keyword is a little more straightforward for impls<br>
&lt;TabAtkins> Sounds reasonable to me, but I'm not a text ipmlementor. Also lean slightly toward new keyword.<br>
&lt;TabAtkins> florian: I agree<br>
&lt;TabAtkins> Rossen_: Can we have a res with a path forward, not open options?<br>
&lt;TabAtkins> fantasai: Yes, one or the other<br>
&lt;TabAtkins> Rossen_: So proposal to add new text-justify mode as a keyword<br>
&lt;TabAtkins> fantasai: Yes, add text-justify:ruby. It disables justification opportunities on spaces and bopomofo, but otherwise is like 'auto'<br>
&lt;TabAtkins> RESOLVED: Add text-justify:ruby, which is like 'auto' but disables justification oppo on spaces and bopomofo.<br>
&lt;TabAtkins> fantasai: Also need a reoslution to apply it to rt and rtc in UA stylesheet<br>
&lt;TabAtkins> Rossen_: Objections?<br>
&lt;TabAtkins> RESOLVED: `rt, rtc { text-justify: ruby; }` to UA stylesheet<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/771#issuecomment-1276438538 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 October 2022 16:23:52 UTC