This is revision 1.5612.
rubyelement, either immediately before or immediately after an
rp element can be used to provide parentheses
around a ruby text component of a ruby annotation, to be shown by
user agents that don't support ruby annotations.
rp element that is a child of
ruby element represents
nothing and its contents must be
rp element whose
parent element is not a
represents its children.
The example above, in which each ideograph in the text 漢字 is annotated with its
phonetic reading, could be expanded to use
rp so that in
legacy user agents the readings are in parentheses:
... <ruby>漢<rp> (</rp><rt>かん</rt><rp>) </rp>字<rp> (</rp><rt>じ</rt><rp>) </rp></ruby> ...
In conforming user agents the rendering would be as above, but in user agents that do not support ruby, the rendering would be:
... 漢 (かん) 字 (じ) ...