Re: [css-ruby] How should the ruby display types interact with CSS2.1 section 9.7?

On 7/15/14, 5:16 PM, Tab Atkins Jr. wrote:
> Without reading the spec, I think that the following markup:
>
> <div display:ruby>base text<div display:ruby-text>ruby stuff</div></div>
>
> results in the naked "base text" part getting wrapped in an anonymous
> ruby-base box.

Correct.

> I just want to make sure that the following markup:
>
> <div display:ruby position:absolute>base text<div
> display:ruby-text>ruby stuff</div></div>
>
> still ends up with "base text" being wrapped in a ruby-base box and
> associated with the following ruby-text block.

Yeah, that would take a bit of work; just setting the outer div's 
display to block won't get you that.

-Boris

Received on Tuesday, 15 July 2014 21:20:39 UTC