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

> For space-between, my assumption is that if you have a two word annotation in Latin script over a longer base, the left edge of the word on the left would be flush with the left edge of the base, and the rightmost character of the other word would be flush with the right edge of the longer item.

I'm starting to think that this assumption derived from the spec text is incorrect, and that multiple word annotations in Latin text would simply be centred just like single word annotations.  

My previous assumption arose because of the mention of justification being applied.  However, i'm inclined to think that justification is not appropriate if the annotation contains narrow characters (pinyin, english,... ) including spaces – the approach is simply to centre the text.  That way, a space would not send two words to opposite sides of the annotation space.

Note that `space-around` is the default value for `ruby-align`, so i think this divergent behaviour needs to be specified as standard for this value.

Note that Firefox already does this by default if the language of the ruby element is zh-hans/t.

I guess it would be helpful to ask the jlreq & clreq folks to confirm the expected behaviour.

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

Received on Tuesday, 25 February 2020 15:17:10 UTC