- From: Andrew via GitHub <sysbot+gh@w3.org>
- Date: Mon, 27 Aug 2018 22:58:18 +0000
- To: public-css-archive@w3.org
Just in case, how this is made in Sciter: 1. Sciter is not using logical properties. 2. Instead I've added `mapping` property: ``` margin: 1em 1em 1em 2em; mapping: left-to-right( margin ); ``` that above is interpreted as ``` margin: 1em 2em 1em 1em; ``` `left-to-right(...)` function accepts list of following keywords: `none` , `inherit`, `all`, `margin`, `padding`, `border`, `layout`, `alignment` and `image`. Practice shows that development is made almost always in LTR mode. And then RTL is added to existing design this way: ``` ul:dir(rtl) { mapping: left-to-right( margin ); } ``` -- GitHub Notification of comment by c-smile Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1282#issuecomment-416395782 using your GitHub account
Received on Monday, 27 August 2018 22:58:19 UTC