Comments on: The ruby element and her hawt friends, rt and rp https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/ helping you implement HTML5 today Thu, 16 Jun 2016 14:32:14 +0000 hourly 1 By: Benny https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-2123032 Wed, 25 May 2016 06:24:43 +0000 http://html5doctor.com/?p=1745#comment-2123032 Hi, I’ve just started using ruby for transliterating Javanese script, and it looks good. I was looking for a way to display the transliteration on the bottom, to no avail. Here’s a sample text:

꧅ꦚ꧀ꦖ꧅ ꦩꦔꦺꦱ꧀ꦛꦶꦮꦿꦸꦃꦱꦿꦶꦫꦺꦁꦲꦾꦁꦄꦂꦠꦠꦶ꧈1. Mangèsthi wruh srirèng Hyang Artati​

They should make tag for ruby-bottom, to supplement “rt” for ruby-top

]]>
By: Sam Grundman https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-2059140 Thu, 19 Nov 2015 21:28:15 +0000 http://html5doctor.com/?p=1745#comment-2059140 I like to use ruby any time I want to use a foreign word inline and provide a translation:
I love to eat <ruby lang="kr">김치 <rp>(</rp><rt lang="en-us">kimchi</rt><rp>)</rp></ruby>

]]>
By: elmimmo https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-27487 Thu, 07 Jun 2012 17:21:41 +0000 http://html5doctor.com/?p=1745#comment-27487 So, how does one use ruby text for text on an SVG path in an HTML5 document? I tried the following in Safari 5.1.7 & Chrome 19, but the curviness of the text breaks as soon as it hits the ruby tag.


<svg viewBox="0 0 368 189" width="368px" height="189px">
<path id="text1" fill="none" stroke="none" d="M0,91.136c139.857,10.762,213.495-144.318,368.003,9.474"/>
<text>
<textPath xlink:href="#text1">
<tspan>おはようございま〜す!<ruby>中<rt>なか</rt>中<rt>やま</rt></ruby>と申します。</tspan>
</textPath>
</text>
<path id="text2" fill="none" stroke="none" d="M1.312,125.111c159.488,8.086,230.681-109.674,366.521,54.255"/>
<text>
<textPath xlink:href="#text2">
<tspan>SVGでふりがなを使えないのは寂しいです。</tspan>
</textPath>
</text>
</svg>

]]>
By: Oli Studholme https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-20754 Sat, 17 Dec 2011 01:11:08 +0000 http://html5doctor.com/?p=1745#comment-20754 Modernizr has added a feature detect for <ruby>. Thanks Alrra!

]]>
By: sgeos https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-18686 Fri, 18 Nov 2011 08:14:09 +0000 http://html5doctor.com/?p=1745#comment-18686 I think everything in my ruby and rt tags are not getting properly marked up with CSS in Safari. =) It looks like the drop shadow is being properly applied to the non-rt text.

]]>
By: Oli Studholme https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-15177 Thu, 16 Jun 2011 14:14:56 +0000 http://html5doctor.com/?p=1745#comment-15177 Fantasai of CSS Working Group fame has written “Towards a Unified Ruby Model”. It’s an awesome overview of current and potential future ruby support, discussing complex ruby, and how to address jukugo ruby and double ruby. Definitely worth a read!

]]>
By: Oli Studholme https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-15176 Thu, 16 Jun 2011 14:10:52 +0000 http://html5doctor.com/?p=1745#comment-15176 @Will — It seems you missed the “These code samples (with notes and CSS) are also available separately” bit. Apologies for my laziness, I really should go through and individually link each example.

]]>
By: Will Holcomb https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-14734 Fri, 25 Mar 2011 16:55:08 +0000 http://html5doctor.com/?p=1745#comment-14734 It would be nice if you had included your ruby snippets in the document so the reader can see how they render in their browser. It saves having to copy it to a renderer.

]]>
By: Oli Studholme https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-14072 Mon, 31 Jan 2011 02:42:55 +0000 http://html5doctor.com/?p=1745#comment-14072 @Shi Chuan — we try to include a little sneak wherever possible, for your reading pleasure ;) ;)

]]>
By: Shi Chuan https://stevefaulkner.github.io/html5doctored/ruby-rt-rp-element/#comment-14068 Sun, 30 Jan 2011 10:19:55 +0000 http://html5doctor.com/?p=1745#comment-14068 The ‘Grass mud horse’ example is sneaky ;-)

]]>