W3C home > Mailing lists > Public > www-international@w3.org > October to December 2010

Re: [css3-writing-modes] direction vs. writing mode in markup vs. style

From: Ambrose LI <ambrose.li@gmail.com>
Date: Tue, 26 Oct 2010 04:28:01 -0400
Message-ID: <AANLkTimbvDuqcApKK438yd3Ws6bppz63HiAG7kBd28gj@mail.gmail.com>
To: Håkon Wium Lie <howcome@opera.com>
Cc: Martin J. Dürst" <duerst@it.aoyama.ac.jp>, "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>, WWW International <www-international@w3.org>
On 26 October 2010 04:11, Håkon Wium Lie <howcome@opera.com> wrote:
> Also sprach "Martin J. Dürst":
>
>  > >    <link rel="stylesheet" href="horizontal.css" class="horizontal"/>
>  > >    <link rel="alternate stylesheet" href="vertical.css" class="vertical"/>
>
>  > Sorry to jump into this discussion without potentially understanding all
>  > the details, but while it is to a large extent possible e.g. in Japanese
>  > to switch from horizontal to vertical just by switching styling, there
>  > are some aspects of this switch that need more work. A typical example
>  > is that in horizontal text, you may use Arabic numerals (0123...),
>  > whereas in vertical text, Kanji numbers (〇一二三...) may be preferred.
>
> That's an interesting use case which can be handled by the above code.
> For example, you could have:
>
>  <span class=arabic>0123</span><span class=kanji>〇一二三</span>

But this markup wouldn't fall back correctly on browsers that don't
support CSS, would it?

-- 
cheers,
-ambrose
Received on Tuesday, 26 October 2010 08:28:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 October 2010 08:28:53 GMT