I'm beginning some experiments with Ruby in XHTML 1.1. I'm finding very
odd results which surprise me.
I'm using a PHP snippet which serves application/xml+xhtml and XHTML 1.1
to those browsers which accept it, and text/html XHTML 1.0 otherwise. I
included a simple Ruby setup, first without using the <rp> elements, then
with. My results?
O7.23 does not render simple Ruby with the overtext as described in the
spec, but does not display rt text at all - unless using rp, when the rp
and rt content is rendered.
M1.6, NN4.01 and Lynx ignore Ruby markup, and render the contents. Lynx is
no surprise, but Mozilla?
IE6, IE5.5, even IE5.01, observes and renders simple Ruby, and does not
display rp content, preferring the overtext rendering as in the spec in
both cases. Oddly, they are served XHTML1.0 in text/html, yet they are the
only ones which render the Ruby as I anticipated. (Mind you, my 5.5 and
5.01 are standalones, and I cannot verify this is the behavior the full
install of these browser versions would exhibit.)
I'm assuming Microsoft invented Ruby based on my experiment. Hmm?
As I have no intention of reinventing the wheel, anyone know of more
information on what UAs support ruby and to what extent, and any other
interesting info?
odd results which surprise me.
I'm using a PHP snippet which serves application/xml+xhtml and XHTML 1.1
to those browsers which accept it, and text/html XHTML 1.0 otherwise. I
included a simple Ruby setup, first without using the <rp> elements, then
with. My results?
O7.23 does not render simple Ruby with the overtext as described in the
spec, but does not display rt text at all - unless using rp, when the rp
and rt content is rendered.
M1.6, NN4.01 and Lynx ignore Ruby markup, and render the contents. Lynx is
no surprise, but Mozilla?
IE6, IE5.5, even IE5.01, observes and renders simple Ruby, and does not
display rp content, preferring the overtext rendering as in the spec in
both cases. Oddly, they are served XHTML1.0 in text/html, yet they are the
only ones which render the Ruby as I anticipated. (Mind you, my 5.5 and
5.01 are standalones, and I cannot verify this is the behavior the full
install of these browser versions would exhibit.)
I'm assuming Microsoft invented Ruby based on my experiment. Hmm?
As I have no intention of reinventing the wheel, anyone know of more
information on what UAs support ruby and to what extent, and any other
interesting info?
Comment