The CSS ruby layout module provides the rendering model and formatting controls related to the display of ruby annotations. Ruby annotations are a form of interlinear annotation, consisting of short runs of text alongside the base text. They are typically used in East Asian documents to indicate pronunciation or define meaning.
Reference
Properties
ruby-alignruby-position
The CSS ruby layout module also introduces the ruby-merge and ruby-overhang properties. Currently, no browsers support these features.
Display values
The CSS ruby layout module adds the following values to the display property:
rubyruby-baseruby-textruby-base-containerruby-text-container
Glossary terms
Related concepts
- CSS display module
display<display-internal>
- CSS text decoration module
text-emphasis-colortext-emphasis-positiontext-emphasis-styletext-emphasisshorthand
- HTML elements
Specifications
See also
directionunicode-bidifont-variant-east-asian:lang()- HTML
langattribute