CSS line-stacking-ruby Property

Description

The line-stacking-ruby property determines the line stacking method for block elements containing ruby annotation elements (element with 'display: ruby-text' or 'display: ruby-text-container').

Initial value
exclude-ruby
Applies to
Block level elements
Inherited
Yes
Media
Visual
Computed value
Specified value (except for initial and inherit)
Animatable
No
CSS Version
CSS3
JavaScript syntax
object.style.lineStackingRuby

Syntax

Formal syntax: exclude-ruby | include-ruby

line-stacking-ruby: exclude-ruby;
line-stacking-ruby: include-ruby;

Values

  • exclude-rubyThe ruby annotation elements are ignored for line stacking.
  • include-rubyThe ruby annotation elements are considered for line stacking.

Example

.class {
   line-stacking-ruby: include-ruby ; 
}

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
??????
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
??????