[whatwg] rp is a styling tag and has no semantic function
Daniel Glazman
daniel.glazman at disruptive-innovations.com
Thu Oct 29 05:21:00 PDT 2009
Nikita Popov wrote:
> In the spec the use of the rp-tag is shown like this:
>
> <ruby>
> 漢 <rp>(</rp><rt>かん</rt><rp>)</rp>
> 字 <rp>(</rp><rt>じ</rt><rp>)</rp>
> </ruby>
>
> What semantic function has the rp-tag? No. It is only styling for
> browsers not supporting ruby-text.
> So I think this element musn't be in the HTML5 spec. You can add the
> brackets before and after the ruby text using CSS pseudoclasses (:after,
> :before).
Putting ruby content into CSS is a really really bad idea since
this will become generated content and have all the issues of
selectability and voice-over readability of generated content...
</Daniel>
--
W3C CSS WG, Co-Chair
More information about the whatwg
mailing list