Sign up | Lost password? | Help

[ advanced search ]

Ruby Annotation support

Forums » Opera Community » Opera for desktop » Desktop wish-list

Tuesday, 11. May 2004, 00:43:50

kailapis

^^;

avatar

Posts: 140

Ruby Annotation support

I'd like Opera to support the ruby annotation ([url]http://www.w3.org/TR/ruby/). I browse mainly Japanese websites, and some of them use the ruby annotation. The annotation degrades well, so it's not a problem. I like the simplicity of the ruby annotation, and I think Opera should support it when it's a W3C recommendation that IE6 already supports.

Tuesday, 11. May 2004, 05:47:23

csant

from outer space

avatar

Posts: 1998

Norway

Opera Software
+1

Thursday, 19. October 2006, 18:52:37

Ti

♡.. (^_^);

avatar

Posts: 223

France

Opera should consider the japanese point of view more seriously.
Now it has a Nintendo DS version, more and more Japanese will download Opera for their Desktop computer too.
And <ruby> is used important for writing Japanese ふりがな.

Friday, 20. October 2006, 19:14:34

shadow skill

avatar

Posts: 359

It would seem pretty obvious to support this if you are going to be on a product that is made by a Japanese company...... +1

Monday, 26. February 2007, 09:39:58

Ti

♡.. (^_^);

avatar

Posts: 223

France

I would :heart: it.

Monday, 26. February 2007, 10:54:59

Would support for simple Ruby, like the one below, be sufficient?
<ruby><rb>Base</rb><rt>annotation</rt></ruby>

Saturday, 10. March 2007, 17:46:43

Ti

♡.. (^_^);

avatar

Posts: 223

France

It should understand the standard complex ruby as well (which is not so complex) :
<ruby><rbc><rb>熱</rb><rb>血</rb></rbc><rtc><rt>ねっ</rt><rt>けつ</rt></rtc></ruby>

Sunday, 8. April 2007, 00:32:53

RADicaLMMS

IncidentFlux

avatar

Posts: 481

United Arab Emirates

+1

IE6 already supports it! Wow, Opera's starting to lag.

Thursday, 12. April 2007, 18:04:54

+1

If you copy the CSS from https://bugzilla.mozilla.org/attachment.cgi?id=93043 or http://web.nickshanks.com/stylesheets/ruby.css to your user CSS file, you can get very basic support for Ruby. It's somewhat buggy, it doesn't support two sets of ruby texts like in http://www.w3.org/TR/ruby/shinkansen-top-bottom.gif but it seems to at least produce legible Ruby for just one set. You might have to edit the CSS to change the font size or vertical alignment, I had to add !important after the font size for the Ruby text to force it to be smaller.

Screenshot of it in action: http://img267.imageshack.us/img267/5977/bildschirmphoto1kf9.png

Question for the Opera devs, should any read this: Do you plan to add support for Ruby? There's hardly anything left of XHTML that you don't support! While the Ruby CSS3 module is a bit more complicated, I don't think the XHTML code should be overly difficult to support. It would be really great if Opera could become the first cross platform browser to support Ruby.

RADicaLMMS: It's not the only thing IE beat the other browsers to, it also supports vertical text and no other browsers do.

Friday, 13. April 2007, 22:23:29

Ti

♡.. (^_^);

avatar

Posts: 223

France

There are some userjs (here and there) too but this should be part of Opera. It's part of IE for years and years.

Sunday, 15. April 2007, 19:40:32

xErath

javascript guru

avatar

Posts: 6403

Norway

Opera Software

Originally posted by nikkinikki:

While the Ruby CSS3 module is a bit more complicated, I don't think the XHTML code should be overly difficult to support.

Ruby is both a set of (x)html elements and css rules, so both have forcefully to be implemented together.
Then heuristics must be thought, and compared against IE to handle malformed ruby in html tag soup.

Originally posted by nikkinikki:

It would be really great if Opera could become the first cross platform browser to support Ruby.

IE supports simple Ruby

Monday, 16. April 2007, 06:01:58

kailapis

^^;

avatar

Posts: 140

+1 p:

Yeah, IE only supports simple ruby annotation. Microsoft probably hasn't done anything since IE5.
I've never really seen complex ruby annotation used, more than likely because nothing supports it.

Wednesday, 18. April 2007, 17:58:30

Ti

♡.. (^_^);

avatar

Posts: 223

France

Originally posted by xErath:

IE supports simple Ruby


And complex ruby as well (IE6 here).

Wednesday, 18. April 2007, 20:25:50

kailapis

^^;

avatar

Posts: 140

No, it only seems like IE supports it. IE treats all the rb tags as a single rb and the same for the rt tags... at least IE7 seems to treat them like that.

If you look at Hokyo or Kishu in your page, you see that the rt intended for the second kanji spans the second half of the first kanji as well. It's more noticeable in the complex ruby tests in the W3C I18N Test Suite.

Friday, 20. April 2007, 09:11:33

Ti

♡.. (^_^);

avatar

Posts: 223

France

Oh yes, that's ugly! I did not open IE long enough to spot this :smile:
But again at least basic support is the minimum that Opera doesn't even provide.
That's quite a serious inconvenience for a browser that is on (japanese) Wii and on (japanese) DS, isn't it? :smile:

Friday, 20. April 2007, 19:35:02

zoligrg89

Operatic

avatar

Posts: 182

Romania

if you say it's a w3C recomandation,
+9999

Monday, 10. September 2007, 18:13:54

Ti

♡.. (^_^);

avatar

Posts: 223

France

Too bad they did not include RUBY in 9.5 yet !

Wednesday, 12. March 2008, 10:14:15

Ti

♡.. (^_^);

avatar

Posts: 223

France

Sorry for the font size but I can't believe such an omission (ruby) to the html support of Opera can be overlooked for so many years* even though Opera is used on japanese machines Wii and DS with obvious (legitimate) great pride !

* IE5 beta 2 was released in june 1998, with ruby support included.

Friday, 21. March 2008, 07:09:59

kailapis

^^;

avatar

Posts: 140

True, but it seems like ruby doesn't get any love these days. Even Firefox 3 and Safari 3 ignore them, and IE 8 hasn't made any progress either.

Tuesday, 8. April 2008, 12:09:06

Ti

♡.. (^_^);

avatar

Posts: 223

France

At least they work in those browsers, don't they ?

Tuesday, 8. April 2008, 21:37:08

kailapis

^^;

avatar

Posts: 140

No, not really.
You need an extension for Firefox, and I don't really know how to make Safari do it.

Wednesday, 9. April 2008, 08:20:51

Ti

♡.. (^_^);

avatar

Posts: 223

France

This is really a pitty when you imagine that this basis of japanese scripture only works in Internet Explorer.
Developers should open any japanese magazine to see for themselves that all the pages are covered by hundreds or ruby!

The Japanese should build up a pressure group :smile:

Friday, 6. June 2008, 09:19:07

Ti

♡.. (^_^);

avatar

Posts: 223

France

This month, 2008-06, I would like to whish a very HAPPY BIRTHDAY to ruby support in Internet Eplorer !
Congratulations to Internet Explorer who has been featuring ruby support for 10 years ! (applause)
IE5 beta 2 was released in 1998-06, with ruby support included.

I've open the new bug ticket #335601 but well, you know that it's a mute system so we can't have feedback on it.

Wednesday, 8. October 2008, 16:40:29

Ti

♡.. (^_^);

avatar

Posts: 223

France

Still not working in Opera 9.60.

Wednesday, 8. October 2008, 23:49:21

kailapis

^^;

avatar

Posts: 140

Yup... ruby annotation gets no love :cry:

Monday, 13. July 2009, 15:36:34

kailapis

^^;

avatar

Posts: 140

WebKit based browsers may be getting rudimentary ruby annotation support soon. Soon is a relative term, but at least we know there's some progress there.

Comment 5 by rolandst...@google.com, Today (5 hours ago)

The patch has been submitted to WebKit, and had to be split up in order to reduce individual patch size. Main review should hopefully start soon.

Wednesday, 15. July 2009, 09:58:25

Ti

♡.. (^_^);

avatar

Posts: 223

France

>Webkit based borwsers about to support ruby

What is webkit?
Is it something Opera is using?

IE5 beta 2 was released in june 1998, with ruby support included.

Wednesday, 15. July 2009, 11:25:46

Originally posted by Ti:

What is webkit?



A rendering engine developed by apple used for browsers such as safari and chrome.

Wednesday, 18. November 2009, 03:17:50 (edited)

kailapis

^^;

avatar

Posts: 140

It's here.

Ruby annotation support in Chrome, that is. The new versions of Chrome in dev channel (4.0.245.0+) and webkit nightlies include basic support for ruby annotation. No text spacing yet, and they only support the HTML 5 edition of ruby annotation (so complex ruby annotation support as in the XHTML 1.1 ruby module is unlikely), but they now have a native solution.

Implementation progress on the HTML5 <ruby> element via mycom journal

This also means that Safari and other webkit-based browsers will be getting ruby annotation support in the not-so-distant future. It's your turn, Opera. I hope you consider implementing it for Opera 11.

Wednesday, 18. November 2009, 09:39:24

Ti

♡.. (^_^);

avatar

Posts: 223

France

Right, Kai!
And Internet Explorer has been supporting ruby since june 1998. :wait:
Yes, that is 11 years ago, long before they ever thought about Web 3.0®, man.

I don't (want to) know chrome/webkit and the likes but they sound famous.
I really hope Opera guys will wake up someday.
The ruby needs you. Don't be the shame of all the other browsers.
:no: WAKE UP, OPERA !

Forums » Opera Community » Opera for desktop » Desktop wish-list