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: Mon, 31 May 2010 23:35:57 +0200
Message-ID: <19460.11197.932014.851962@gargle.gargle.HOWL>
To: David Hyatt <hyatt@apple.com>
Cc: www-style list <www-style@w3.org>
Also sprach David Hyatt:

 > I can't speak for Mozilla, but in WebKit our *-start and *-end
 > properties are faked. When applied to an element they resolve
 > immediately to left or right (depending on the direction). We don't
 > carry around a real notion (possibly inherited) that the start side
 > should be used.

So, you are not storing separate values for *-start/end, nor do you
remember whether the physical values come from *-start/end or not?
>From this test, it seems you do remember some information:

  http://people.opera.com/howcome/2010/tests/log.html

That is, when the direction is changed from ltr to rtl through DOM,
the padding switches sides.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 31 May 2010 21:36:38 GMT

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