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

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

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Mon, 20 Apr 2015 19:59:44 +1200
Message-ID: <CAMdq699SCv4wvg1GWg8CmxmhxuzpFROxy93oxow9WCR1rE91OQ@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC