Skip to content

Commit 000f042

Browse files
committed
1 parent b7778bc commit 000f042

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

after/syntax/css/color-hdr-1.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
syn keyword cssFontProp contained dynamic-range-limit
2+
syn keyword cssFontAttr contained standard constrained-high
3+
syn region cssFunction contained matchgroup=cssFunctionName start="\<dynamic-range-limit-mix\s*(" end=")" oneline keepend

test/test.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,13 @@
176176
display: exact;
177177
}
178178

179+
.color-hdr-1 {
180+
dynamic-range-limit: auto;
181+
display: standard;
182+
display: constrained-high;
183+
display: dynamic-range-limit-mix(standard 10%, constrained-high 40%, high 50%);
184+
}
185+
179186
.compositing-1 {
180187
mix-blend-mode: auto;
181188
isolation: auto;

0 commit comments

Comments
 (0)