Re: [css-ruby] About default style sheet

On Mon, Dec 15, 2014 at 6:37 AM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
>
> WebKit also defines "line-height: normal" in its UA style sheet. Defining
> this would make sense if there are inline-block inside the annotation.

Yeah, ok, I'm good. CSS 2.1 suggests 'normal' to be between 1.0 to
1.2, so I guess 'line-height: 1' makes better sense?

You might already know this but WebKit/Blink has

ruby, rt { text-indent:0; }

but if I understand the current spec correctly, ruby and rt are no
longer a block container so these are not needed? The box model part
is tough, please correct me if your understanding is different from
mine.

> I'd
> prefer not make rtc ignore the leadings, but use only style to control. It
> would give authors more flexibility with reasonable default behavior.

I'm fine either way, but at this point, the spec already defines so,
and there are 2 implementations following it. I think we shouldn't
change unless there are good use cases of authors wanting controls
over this. Fortunately it doesn't say whether it should be done in
code or by default stylesheet, so I think you're ok too.

> Also, I don't think we need "!important" here.

Ok, I didn't put that in. Thanks for the great feedback as always.

/koji

Received on Monday, 15 December 2014 15:06:23 UTC