summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bieri <k.bieri@4teamwork.ch>2016-08-03 09:50:53 +0200
committerKevin Bieri <k.bieri@4teamwork.ch>2016-08-03 09:50:53 +0200
commitfeb8f832c98755434969484541f23355105ff5f8 (patch)
treee13956afcf8d41199d7ad01fb83a8bae76ca3260
parent48f7f843023b5e446884d35aa9ac02eec68e9b1b (diff)
downloadpyscss-feb8f832c98755434969484541f23355105ff5f8.tar.gz
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',