HTML and CSS Reference
In-Depth Information
Name
ruby-span
Values:
attr(x) |
none
Initial value:
none
Applies to:
Elements with a
display
value of
ruby-text
Inherited:
No
Computed value:
A number
Description:
Defines the number of ruby base text elements that can be spanned by the ruby text. The at-
tribute value must be a number and is evaluated as such. The values
0
and
none
are both equi-
valent to
1
, which indicates no spanning.
Examples:
rubytext {ruby-span: attr(span);}
Note:
A “ruby” is a short run of text that goes alongside base text, which is common in written East
Asian languages. As of early 2011, this property was supported only by Internet Explorer.