Skip to content

Commit 59b165a

Browse files
author
Frederic Massart
committed
Added information about current limitations to readme
1 parent 909c27f commit 59b165a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,34 @@ Becomes:
144144
}
145145
```
146146

147+
### Limitation
148+
149+
Currently the comments must always precede a statement, they will not work if they are not followed by anything.
150+
151+
Valid:
152+
```css
153+
.div {
154+
/*rtl:raw:
155+
text-align: left;
156+
*/
157+
float: left;
158+
}
159+
```
160+
161+
Invalid:
162+
```css
163+
.div {
164+
float: left;
165+
/*rtl:raw:
166+
text-align: left;
167+
*/
168+
}
169+
```
170+
171+
## CSS support
172+
173+
A lot of common CSS rules are supported, however a few complex ones are not. To get a grasp of what is supported and what isn't, please refer to the test cases. Unsupported scenarios are marked to be skipped.
174+
147175
## About this tool
148176

149177
This tool is very heavily inspired by [MohammaYounes/rtlcss](https://github.com/MohammadYounes/rtlcss), even though at this stage it does not include all of its features. See this library as a partial port of the latter.

0 commit comments

Comments
 (0)