Sass should throw an error if one tries to create functions called or
, and
and not
. This is an issue I opened in Sass repo a while ago: sass/sass#1265.
Test:
@function and() { @return "and"; } @function or() { @return "or"; } @function not() { @return "not"; } test { not: not(); or: or(); and: and(); }
Expect:
Invalid function name "and".
Result:
test { not: "not"; or: "or"; and: "and"; }
Ref: http://sass-compatibility.github.io/#reserved_function_names
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4