diff --git a/README.md b/README.md index 84f4c29..321899d 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,11 @@ HISTORY ### v0.8 (in progress) + * Add CSS Masking Level 1 features * Add CSS Shapes Module Level 1 features * Follow spec updates * Add missing properties + * Some minor bug fixes ### v0.7 diff --git a/after/syntax/css/css-masking.vim b/after/syntax/css/css-masking.vim new file mode 100644 index 0000000..a10ef37 --- /dev/null +++ b/after/syntax/css/css-masking.vim @@ -0,0 +1,8 @@ +" TODO: create cssMaskingProp group and cssMaskingValue group +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained evenodd luminance alpha + +" http://www.w3.org/TR/css-masking/#MaskElement +" syn keyword cssTagName mask diff --git a/test/test.css b/test/test.css index dc568b7..2174a48 100644 --- a/test/test.css +++ b/test/test.css @@ -296,6 +296,26 @@ display: marquee-block; } +.masking { + mask-image: evenodd; + mask-source-type: luminance; + mask-repeat: alpha; + mask-position: auto; + mask-clip: auto; + mask-origin: auto; + mask-size: auto; + mask: auto; + mask-type: auto; + mask-box-image-source: auto; + mask-box-image-slice: auto; + mask-box-image-width: auto; + mask-box-image-outset: auto; + mask-box-image-repeat: auto; + mask-box-image: auto; + clip-path: auto; + clip-rule: auto; +} + @media screen and (min-width: 999px) { .mediaqueries { display: auto;