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

Re: [css3-text-layout] New editor's draft - margin-before/after/start/end etc.

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 26 May 2010 16:32:05 +0200
Message-ID: <19453.12517.838008.169125@gargle.gargle.HOWL>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: www-style@w3.org
Also sprach Brad Kemper:

 > Yes, but surely you are not suggesting that an equivalent rule with
 > with 'left', 'right', etc. that computes to the same thing couldn't
 > also be written? E.g.:
 > 
 >  p {
 >    margin-top: 10px;
 >    margin-bottom: 10px;
 >    margin-left: 20px;
 >    margin-right: 20px;
 >  }
 > 
 >  p:lang(ja) {
 >    writing-mode: tb-rl;
 >    margin-top: 20px;
 >    margin-bottom: 20px;
 >    margin-left: 10px;
 >    margin-right: 10px;
 >  }

Sure, this would also work.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 26 May 2010 14:32:45 GMT

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