[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 2523ac9: Add masking module to CSS property list
From: |
Simen Heggestøyl |
Subject: |
[Emacs-diffs] master 2523ac9: Add masking module to CSS property list |
Date: |
Sun, 11 Nov 2018 12:59:11 -0500 (EST) |
branch: master
commit 2523ac9fa3ea01f34f7a2b55e19b9dcd5506c232
Author: Simen Heggestøyl <address@hidden>
Commit: Simen Heggestøyl <address@hidden>
Add masking module to CSS property list
* lisp/textmodes/css-mode.el (css-property-alist)
(css-value-class-alist): Add properties and value classes from CSS
Masking Module.
---
lisp/textmodes/css-mode.el | 38 ++++++++++++++++++++++++++++++++++++--
1 file changed, 36 insertions(+), 2 deletions(-)
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 63c8631..2de6455 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -112,7 +112,6 @@
("bottom" length percentage "auto")
("caption-side" "top" "bottom")
("clear" "none" "left" "right" "both")
- ("clip" shape "auto")
("content" "normal" "none" string uri counter "attr()"
"open-quote" "close-quote" "no-open-quote" "no-close-quote")
("counter-increment" identifier integer "none")
@@ -375,6 +374,31 @@
("orphans" integer)
("widows" integer)
+ ;; CSS Masking Module Level 1
+ ;; (https://www.w3.org/TR/css-masking-1/#property-index)
+ ("clip-path" clip-source basic-shape geometry-box "none")
+ ("clip-rule" "nonzero" "evenodd")
+ ("mask-image" mask-reference)
+ ("mask-mode" masking-mode)
+ ("mask-repeat" repeat-style)
+ ("mask-position" position)
+ ("mask-clip" geometry-box "no-clip")
+ ("mask-origin" geometry-box)
+ ("mask-size" bg-size)
+ ("mask-composite" compositing-operator)
+ ("mask" mask-layer)
+ ("mask-border-source" "none" image)
+ ("mask-border-mode" "luminance" "alpha")
+ ("mask-border-slice" number percentage "fill")
+ ("mask-border-width" length percentage number "auto")
+ ("mask-border-outset" length number)
+ ("mask-border-repeat" "stretch" "repeat" "round" "space")
+ ("mask-border" mask-border-source mask-border-slice
+ mask-border-width mask-border-outset mask-border-repeat
+ mask-border-mode)
+ ("mask-type" "luminance" "alpha")
+ ("clip" "rect()" "auto")
+
;; CSS Multi-column Layout Module
;; (https://www.w3.org/TR/css3-multicol/#property-index)
;; "break-after", "break-before", and "break-inside" are left out
@@ -652,14 +676,17 @@ further value candidates, since that list would be
infinite.")
(attachment "scroll" "fixed" "local")
(auto-repeat "repeat()")
(auto-track-list line-names fixed-size fixed-repeat auto-repeat)
+ (basic-shape "inset()" "circle()" "ellipse()" "polygon()")
(bg-image image "none")
(bg-layer bg-image position repeat-style attachment box)
(bg-size length percentage "auto" "cover" "contain")
(box "border-box" "padding-box" "content-box")
+ (clip-source uri)
(color
"rgb()" "rgba()" "hsl()" "hsla()" named-color "transparent"
"currentColor")
(common-lig-values "common-ligatures" "no-common-ligatures")
+ (compositing-operator "add" "subtract" "intersect" "exclude")
(contextual-alt-values "contextual" "no-contextual")
(counter "counter()" "counters()")
(discretionary-lig-values
@@ -685,6 +712,7 @@ further value candidates, since that list would be
infinite.")
(generic-family
"serif" "sans-serif" "cursive" "fantasy" "monospace")
(generic-voice "male" "female" "child")
+ (geometry-box shape-box "fill-box" "stroke-box" "view-box")
(gradient
linear-gradient radial-gradient repeating-linear-gradient
repeating-radial-gradient)
@@ -705,6 +733,12 @@ further value candidates, since that list would be
infinite.")
(line-width length "thin" "medium" "thick")
(linear-gradient "linear-gradient()")
(margin-width "auto" length percentage)
+ (mask-layer
+ mask-reference masking-mode position bg-size repeat-style
+ geometry-box "no-clip" compositing-operator)
+ (mask-reference "none" image mask-source)
+ (mask-source uri)
+ (masking-mode "alpha" "luminance" "auto")
(named-color . ,(mapcar #'car css--color-map))
(number "calc()")
(numeric-figure-values "lining-nums" "oldstyle-nums")
@@ -720,7 +754,7 @@ further value candidates, since that list would be
infinite.")
(repeating-linear-gradient "repeating-linear-gradient()")
(repeating-radial-gradient "repeating-radial-gradient()")
(shadow "inset" length color)
- (shape "rect()")
+ (shape-box box "margin-box")
(single-animation-direction
"normal" "reverse" "alternate" "alternate-reverse")
(single-animation-fill-mode "none" "forwards" "backwards" "both")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 2523ac9: Add masking module to CSS property list,
Simen Heggestøyl <=