W3C home > Mailing lists > Public > www-style@w3.org > June 2010

Re: [css3-text-layout] margin-before/after/start/end etc. and :ttb pseudo-classes

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 7 Jun 2010 01:25:14 +0200
Message-ID: <19468.11866.431510.755472@gargle.gargle.HOWL>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Håkon Wium Lie <howcome@opera.com>, Andrew Thompson <lordpixel@mac.com>, www style <www-style@w3.org>
Also sprach Brad Kemper:

 > > That would be a longer stretch, but not impossibly so. Code like this
 > > could work:
 > >
 > > @media (block-direction: rl) { ... }
 > > @media (preferred-writing-mode: vertical) { ... }
 > > @media (ttb) { ... }
 > 
 > Why a longer stretch? It would be better than writing ':ttb' a hundred  
 > times. 

I'm fine with using media queries. Querying user preferences would be
somewhat novel, but one can query window sizes today and that is also
a user preference, kind of. Perhaps:

  @media (rtl) { ... }
  @media (ltr) { ... }
  @media (ttb) { ... }

Cheers,

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Sunday, 6 June 2010 23:26:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT