Re: [css-ui] text-overflow and text-orientation: upright

On Mon, Apr 20, 2015 at 6:13 PM, John Daggett <jdaggett@mozilla.com> wrote:

>
>
> Xidorn Quan wrote:
>
> > The spec says that U+2026 should be used for rendering ellipsis,
> > however, it seems to be a bit unfortunate when it is used with vertical
> > text and text-orientation is upright.
> >
> > It causes something like
> >
> > a
> > b
> > c
> > …
> >
> > instead of
> >
> > a
> > b
> > c
> > ⋮
> >
> > Not sure what's the best way to resolve this issue. Probably the spec
> > could state that, U+FE19 should be used in that specific case.
>
> The solution is to use a font that supports vertical text:
>
>   p { font-family: Hiragino Kaku Gothic ProN, Meiryo; }
>
> This will do want you want for this case because the 'vert' feature is
> always applied to upright vertical textruns. Making this work for fonts
> lacking support for vertical layout (vertical metrics, vertical
> substitutions) is out of scope for user agents I think.
>

That's fair. I thought text-orientation: upright; would suppress any
vertical transform, but it seems I was wrong.

Given that it's a font issue, I agree that we don't need to change the spec.

- Xidorn

Received on Monday, 20 April 2015 08:00:53 UTC