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

[css-ruby] inlined annotations need to be full size #760

Closed
r12a opened this issue Nov 24, 2016 · 2 comments
Closed

[css-ruby] inlined annotations need to be full size #760

r12a opened this issue Nov 24, 2016 · 2 comments
Labels
Closed Accepted as Obvious Bugfix i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@r12a
Copy link
Contributor

r12a commented Nov 24, 2016

A.2 Inlining Ruby Annotations
https://drafts.csswg.org/css-ruby-1/#default-inline

The following represents a sample style sheet for rendering HTML and XHTML ruby markup as inline annotations:

ruby, rb, rt, rbc, rtc, rp {display: inline; white-space: inherit;
font-variant-east-asian: inherit; text-emphasis: inherit; }

I believe you also need font-size: inherit; so that the ruby annotation is the same size as the base text.

@r12a r12a added the i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. label Nov 24, 2016
@upsuper
Copy link
Member

upsuper commented Nov 24, 2016

I guess you would need line-height: inherit; as well.

@fantasai
Copy link
Collaborator

Quick fix: switch to font: inherit. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted as Obvious Bugfix i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Projects
None yet
Development

No branches or pull requests

3 participants