W3C home > Mailing lists > Public > www-style@w3.org > April 2011

RE: [css3-ruby] block elements inside <ruby> and wrapping inside <rb>.

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Sun, 3 Apr 2011 14:41:50 -0400
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "塩澤 元 (Shiozawa, Hajime)" <hajime.shiozawa@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AB3D55675@MAILR001.mail.lan>
> That doesn't answer the question.
> What should a UA do if the author does put
> a block-level element inside ruby text?

Sorry for not being clear. I wanted to write that UA should put an anonymous inline-level box if rb element is omitted, so that the block element is placed within the ruby base of ruby box model[1]. Ruby text should appear over the ruby base.

Does this answer the question? Please ask further if my English isn't good enough, sorry in that case.

[1] http://dev.w3.org/csswg/css3-ruby/#box-model



Regards,
Koji

-----Original Message-----
From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] 
Sent: Monday, April 04, 2011 3:30 AM
To: Koji Ishii
Cc: "塩澤 元 (Shiozawa, Hajime)"; www-style@w3.org
Subject: Re: [css3-ruby] block elements inside <ruby> and wrapping inside <rb>.

On 4/3/11 1:53 PM, Koji Ishii wrote:
> For the first issue (block elements inside ruby base text), I think neither IE nor WebKit is correct. There should be anonymous inline-level box for ruby base if I understand the spec correctly, and ruby text should be placed over the box. I'm not sure if there's any use case to put block elements inside ruby base though.

That doesn't answer the question.  What should a UA do if the author does put a block-level element inside ruby text?

For what it's worth, the ruby spec still needs to define behavior in various cases that "don't have use cases" or "don't make sense".  In the meantime, we're implementing things in Gecko in whatever way is simplest in our current architecture; we're certainly not ending up interoperable with IE and WebKit (which are not interoperable with each other either).

-Boris
Received on Sunday, 3 April 2011 18:43:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT