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 valueexclude-ruby
  • Applies toBlock level elements
  • InheritedYes
  • MediaVisual
  • Computed valueSpecified value (except for initial and inherit)
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.lineStackingRuby
Formal syntax: exclude-ruby | include-ruby

line-stacking-ruby: exclude-ruby;
line-stacking-ruby: include-ruby;
  • exclude-rubyThe ruby annotation elements are ignored for line stacking.
  • include-rubyThe ruby annotation elements are considered for line stacking.
.class {
   line-stacking-ruby: include-ruby ; 
}
?Firefox?Explorer?Chrome?Safari?Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.