-
Notifications
You must be signed in to change notification settings - Fork 708
[css-ruby] White space collapse between ruby annotations #1909
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
Comments
And my reply to Koji:
|
Since whitespace should rarely show up in ruby annotations, especially at the beginning, we can probably just ignore it, or mention that it is implementation-dependent? |
White space is important for annotations that aren't CJK, though. :) The spec currently implies that white space collapses across annotations which are adjacent in the markup, and this is I think appropriate. It also implies that they don't collapse across annotations which belong to different ruby segments, and I think this is also appropriate. When annotations and bases are adjacent in the source markup, they're assumed to be part of the same "word", and are allowed to collapse together depending on 'ruby-merge'. For separate ruby segments, however, we don't know whether the author intended them as separate words or not and have to assume they're independent. What we don't cover though is handling white space collapsing at the beginning and end of a segment. Should that collapse away? If there is a need to keep some spacing between the segments, it could maybe be handled by #3498 ... |
That's fair. I guess we can probably close this then. |
Copy from my email to www-style:
The text was updated successfully, but these errors were encountered: