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

> > 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 UTC