- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Tue, 25 Sep 2012 20:19:27 -0700
- To: www-style@w3.org
As far as I understand properties like margin-start, margin-before,
etc. did not go through for many good reasons.
What about something like below then?
New property 'map' that accepts values:
: ( mirror-x | mirror-y | rotate-cw | ...) || margin || padding ||
border || background-position || background-image || all || etc.
So if we have this:
div { margin: 10px 100px 10px 5px; }
then by defining
div:dir(rtl) { map: mirror-x margin; }
margins will be set to these values:
top/bottom: 10px, left:100px; right:5px;
Did we discuss similar approach already?
--
Andrew Fedoniouk.
http://terrainformatica.com
Received on Wednesday, 26 September 2012 03:19:55 UTC