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

RE: [css3-writing-modes] a third option for implementing logical properties

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Mon, 25 Oct 2010 05:03:45 -0400
To: Anne van Kesteren <annevk@opera.com>, John Daggett <jdaggett@mozilla.com>
CC: HÃ¥kon Wium Lie <howcome@opera.com>, "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>, Yasuo Kida <kida@apple.com>, David Hyatt <hyatt@apple.com>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AA363414B@MAILR001.mail.lan>
> > So @writing-mode would instead be:
> >
> >   @media (writing-mode) {
> >      /* styles used when writing modes are supported */
> >      .rounded { border-radius: 2em 1em; }
> >   }
> >
> > Is that what you're imagining?
> 
> Yeah. I might call the media feature vertical-layout instead since that
> is what it is about, but anything goes really.

Or "logical-directions", since it has effects on direction="rtl" as well.

@media (logical-directions) {
  .indented { margin: logical 1em inherited inherited inherited; }
}

Would help RTL documents smarter without duplicating properties.
Received on Monday, 25 October 2010 09:01:34 GMT

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