[whatwg] [html5] r7749 - [giow] (3) make <ruby> reset text-indent for sanity's sake (like with table) Fix [...]

Ian Hickson ian at hixie.ch
Wed Mar 13 17:10:09 PDT 2013


On Wed, 13 Mar 2013, L. David Baron wrote:
> On Wednesday 2013-03-13 16:29 -0700, whatwg at whatwg.org wrote:
> > Author: ianh
> > Date: 2013-03-13 16:29:56 -0700 (Wed, 13 Mar 2013)
> > New Revision: 7749
> > 
> > Modified:
> >    complete.html
> >    index
> >    source
> > Log:
> > [giow] (3) make <ruby> reset text-indent for sanity's sake (like with table)
> > Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20709
> > Affected topics: Rendering
> 
> > -ruby { display: ruby; }
> > +ruby { display: ruby; text-indent: initial; }
> 
> This change seems like a workaround for an implementation bug rather 
> than something that belongs in the spec.  The text-indent property 
> applies only to block containers, which display:ruby is not.

My reasoning was that the <rt>s would be internally block-level, but as 
you point out on IRC, really they're more a second kind of inline in a 
magic line box. I've reverted the change.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list