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 13:51:46 +0200
Message-ID: <19453.2898.50629.17625@gargle.gargle.HOWL>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: www-style@w3.org
Also sprach Sylvain Galineau:

 > >   p {
 > >     margin: 10px 20px;
 > >   }
 > > 
 > >   p:lang(ja) {
 > >     writing-mode: tb-rl;
 > >     margin: 20px 10px;
 > >   }
 > > 
 > 
 > OK, what does margin-left mean here. Physical left or logical left for tb-rl ?

Physical. So, in these examples there would be a 10px margin "before"
and "after" the element, and a 20px margin at the "start" and "end".

Note that there is no mentioning of "left", "right, "before" or
"after" in the code. As such, the language is neutral.

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

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