- From: Håkon Wium Lie <howcome@opera.com>
- Date: Mon, 7 Jun 2010 09:19:47 +0200
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: Håkon Wium Lie <howcome@opera.com>, Brad Kemper <brad.kemper@gmail.com>, Andrew Thompson <lordpixel@mac.com>, www style <www-style@w3.org>
Also sprach fantasai:
 > > Perhaps:
 > >
 > >    @media (rtl) { ... }
 > >    @media (ltr) { ... }
 > >    @media (ttb) { ... }
 > 
 > rtl vs ltr is not really a user preference. 
Agree. But you may want to style ltr/rtl text differently. So, to be
clear, the media queries above would never change the writing
direction, just allow styling to be keyed off the writing direction.
For rtl/ltr, the proposal is to use @dir to define the writing
direction, for ttb the proposal is to use the initial value of the
'writing-mode' property, which -- depending on the UA -- can be
influenced by the user.
 > We'd probably also want a don't-care option, e.g.
 >    preferred-writing-mode: auto /* no preference indicated */
Wouldn't you just leave out the media query if you want it to apply to
everything?
-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 7 June 2010 07:20:43 UTC