summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEevee <eevee.github@veekun.com>2016-08-03 16:57:18 -0700
committerGitHub <noreply@github.com>2016-08-03 16:57:18 -0700
commitc28b5879cfaa9bb5d485e60e78a4d5f1ae803333 (patch)
treee13956afcf8d41199d7ad01fb83a8bae76ca3260
parent48f7f843023b5e446884d35aa9ac02eec68e9b1b (diff)
parentfeb8f832c98755434969484541f23355105ff5f8 (diff)
downloadpyscss-c28b5879cfaa9bb5d485e60e78a4d5f1ae803333.tar.gz
Merge pull request #357 from 4teamwork/css_shapes
Add support for CSS shape functions
-rw-r--r--scss/cssdefs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/cssdefs.py b/scss/cssdefs.py
index 6b4f5b7..b1279b0 100644
--- a/scss/cssdefs.py
+++ b/scss/cssdefs.py
@@ -317,6 +317,10 @@ BUILTIN_FUNCTIONS = frozenset([
'grayscale', 'sepia', 'saturate', 'hue-rotate', 'invert', 'opacity',
'brightness', 'contrast', 'blur', 'drop-shadow', 'custom',
+ # CSS shapes
+ # https://www.w3.org/TR/css-shapes-1/
+ 'inset', 'circle', 'ellipse', 'polygon',
+
# CSS4 image module:
# http://dev.w3.org/csswg/css-images/
'image-set', 'cross-fade',