line-stacking-ruby property CSS Reference



Definition and Usage

This property determines the line stacking method for block elements containing ruby annotation elements (element with 'display: ruby-text' or 'display: ruby-text-container'). In all cases the ruby base elements (elements with 'display: ruby-base' or display: ruby-base-container') are considered for line stacking.

Name:line-stacking-ruby
Value:exclude-ruby | include-ruby
Initial:exclude-ruby
Applies to:block-level elements
Inherited:yes
Percentages:N/A
Media:visual
Computed value:specified value (except for initial and inherit)

Syntax

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

Values

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

Examples

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

Relative articles