- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Sun, 6 Jun 2010 18:40:30 -0700
- To: Håkon Wium Lie <howcome@opera.com>
- Cc: Andrew Thompson <lordpixel@mac.com>, www style <www-style@w3.org>
On Jun 6, 2010, at 4:25 PM, Håkon Wium Lie wrote: > 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. Yes. I think that philosophically it is not that different from querying the orientation (which can change when the user rotates his tablet 90 degrees), or the resolution or screen width or color depth (which the user can often change via a control panel). Of course, this all assuming that the mechanism for changing the preferred writing mode is doing so completely outside of the document structure and NOT by changing the style sheet or any DOM attribute.
Received on Monday, 7 June 2010 01:47:26 UTC