- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 10 Jun 2009 07:01:40 +0000 (UTC)
On Tue, 19 May 2009, Roland Steiner wrote: > > As I am currently in the process of writing an implementation for ruby, I > was wondering about the constraints put on the content of the <rp> element > in the spec: > If the rp <http://dev.w3.org/html5/spec/Overview.html#the-rp-element>element > is immediately after an > rt <http://dev.w3.org/html5/spec/Overview.html#the-rt-element> element that > is immediately preceded by another > rp<http://dev.w3.org/html5/spec/Overview.html#the-rp-element>element: > a single character from Unicode character class Pe. Otherwise: > a single character from Unicode character class Ps.Is there a specific > reason that <rp> is constrained in this way? I imagine that someone could > want to add additional spaces before/after the parenthesis, non-parenthesis > separators, or, e.g., in a text book write: > > *<ruby>*????*<rp> *(reading:*</rp><rt>*Kanji*</rt>**<rp>*) *</rp><ruby> > > * > Also note that there isn't such a constraint if one would use CSS rules to > achieve a similar result (in the absence of proper ruby rendering): > > rt:before { content: " (reading: "; } > rt:after { content: ") "; } Yeah, I guess this constraint is excessive. I've removed it. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 10 June 2009 00:01:40 UTC