mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-08-13 03:11:00 +08:00
Update test case format
Small chunks of tests are easy to test highlighting.
This commit is contained in:
+96
-49
@@ -19,7 +19,8 @@
|
|||||||
display: space-between;
|
display: space-between;
|
||||||
display: space-evenly;
|
display: space-evenly;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.animations {
|
.animations {
|
||||||
animation: forwards;
|
animation: forwards;
|
||||||
animation-delay: backwards;
|
animation-delay: backwards;
|
||||||
@@ -31,7 +32,8 @@
|
|||||||
animation-play-state: auto;
|
animation-play-state: auto;
|
||||||
animation-timing-function: auto;
|
animation-timing-function: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.background {
|
.background {
|
||||||
background-clip: space;
|
background-clip: space;
|
||||||
background-origin: round;
|
background-origin: round;
|
||||||
@@ -49,7 +51,8 @@
|
|||||||
border-top-left-radius: auto;
|
border-top-left-radius: auto;
|
||||||
box-shadow: auto;
|
box-shadow: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.box {
|
.box {
|
||||||
overflow-style: scrollbar;
|
overflow-style: scrollbar;
|
||||||
overflow-x: panner;
|
overflow-x: panner;
|
||||||
@@ -63,24 +66,28 @@
|
|||||||
display: no-display;
|
display: no-display;
|
||||||
display: no-content;
|
display: no-content;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.break {
|
.break {
|
||||||
break-after: any;
|
break-after: any;
|
||||||
break-before: auto;
|
break-before: auto;
|
||||||
break-inside: auto;
|
break-inside: auto;
|
||||||
box-decoration-break: auto;
|
box-decoration-break: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.cascade {
|
.cascade {
|
||||||
all: unset;
|
all: unset;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.colors {
|
.colors {
|
||||||
opacity: rgba(0, 0, 0, 1);
|
opacity: rgba(0, 0, 0, 1);
|
||||||
display: hsla(0, 0, 0, 1);
|
display: hsla(0, 0, 0, 1);
|
||||||
display: currentColor;
|
display: currentColor;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
@supports (display: auto) or
|
@supports (display: auto) or
|
||||||
(display: auto) not
|
(display: auto) not
|
||||||
(display: auto) {
|
(display: auto) {
|
||||||
@@ -88,7 +95,8 @@
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.compositing {
|
.compositing {
|
||||||
mix-blend-mode: multiply;
|
mix-blend-mode: multiply;
|
||||||
isolation: screen;
|
isolation: screen;
|
||||||
@@ -106,14 +114,16 @@
|
|||||||
display: color;
|
display: color;
|
||||||
display: luminosity;
|
display: luminosity;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.content {
|
.content {
|
||||||
move-to: inhibit;
|
move-to: inhibit;
|
||||||
page-policy: here;
|
page-policy: here;
|
||||||
display: first;
|
display: first;
|
||||||
display: last;
|
display: last;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
@counter-style counter-style {
|
@counter-style counter-style {
|
||||||
system: cyclic;
|
system: cyclic;
|
||||||
negative: symbolic;
|
negative: symbolic;
|
||||||
@@ -126,7 +136,8 @@
|
|||||||
additive-symbols: auto;
|
additive-symbols: auto;
|
||||||
speak-as: auto;
|
speak-as: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.counter-style {
|
.counter-style {
|
||||||
display: arabic-indic;
|
display: arabic-indic;
|
||||||
display: upper-armenian;
|
display: upper-armenian;
|
||||||
@@ -164,7 +175,8 @@
|
|||||||
display: trad-chinese-formal;
|
display: trad-chinese-formal;
|
||||||
display: ethiopic-numeric;
|
display: ethiopic-numeric;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.display {
|
.display {
|
||||||
display-inside: block-level;
|
display-inside: block-level;
|
||||||
display-outside: inline-level;
|
display-outside: inline-level;
|
||||||
@@ -172,12 +184,14 @@
|
|||||||
display-suppress: inline-list-item;
|
display-suppress: inline-list-item;
|
||||||
display: show;
|
display: show;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.exclusions {
|
.exclusions {
|
||||||
wrap-flow: minimum;
|
wrap-flow: minimum;
|
||||||
wrap-through: maximum;
|
wrap-through: maximum;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.flexbox {
|
.flexbox {
|
||||||
flex-direction: flex;
|
flex-direction: flex;
|
||||||
flex-wrap: inline-flex;
|
flex-wrap: inline-flex;
|
||||||
@@ -188,7 +202,8 @@
|
|||||||
flex-shrink: wrap-reverse;
|
flex-shrink: wrap-reverse;
|
||||||
flex-basis: main-size;
|
flex-basis: main-size;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.fonts {
|
.fonts {
|
||||||
font-feature-settings: common-ligatures;
|
font-feature-settings: common-ligatures;
|
||||||
font-kerning: no-common-ligatures;
|
font-kerning: no-common-ligatures;
|
||||||
@@ -226,7 +241,8 @@
|
|||||||
display: traditional;
|
display: traditional;
|
||||||
display: proportional-width;
|
display: proportional-width;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
|
|
||||||
.gcpm::footnote-call,
|
.gcpm::footnote-call,
|
||||||
.gcpm::footnote-marker {
|
.gcpm::footnote-marker {
|
||||||
@@ -242,7 +258,8 @@
|
|||||||
display: open;
|
display: open;
|
||||||
display: closed;
|
display: closed;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.grid-layout {
|
.grid-layout {
|
||||||
grid-template-columns: grid;
|
grid-template-columns: grid;
|
||||||
grid-template-rows: inline-grid;
|
grid-template-rows: inline-grid;
|
||||||
@@ -261,7 +278,8 @@
|
|||||||
grid-row: auto;
|
grid-row: auto;
|
||||||
grid-area: auto;
|
grid-area: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.images {
|
.images {
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
object-position: cover;
|
object-position: cover;
|
||||||
@@ -274,16 +292,19 @@
|
|||||||
display: repeating-linear-gradient(to bottom, yellow, blue);
|
display: repeating-linear-gradient(to bottom, yellow, blue);
|
||||||
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.inline {
|
.inline {
|
||||||
initial-letter: ideographic;
|
initial-letter: ideographic;
|
||||||
initial-letter-align: auto;
|
initial-letter-align: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.layout::slot(b) {
|
.layout::slot(b) {
|
||||||
display: same;
|
display: same;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.line-grid {
|
.line-grid {
|
||||||
line-grid: create;
|
line-grid: create;
|
||||||
line-snap: block-start;
|
line-snap: block-start;
|
||||||
@@ -291,7 +312,8 @@
|
|||||||
display: first-baseline;
|
display: first-baseline;
|
||||||
display: last-baseline;
|
display: last-baseline;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.linebox {
|
.linebox {
|
||||||
alignment-adjust: central;
|
alignment-adjust: central;
|
||||||
alignment-baseline: mathematical;
|
alignment-baseline: mathematical;
|
||||||
@@ -313,11 +335,13 @@
|
|||||||
display: text-size;
|
display: text-size;
|
||||||
display: max-size;
|
display: max-size;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.lists::marker {
|
.lists::marker {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.masking {
|
.masking {
|
||||||
clip-path: fill-box;
|
clip-path: fill-box;
|
||||||
clip-rule: stroke-box;
|
clip-rule: stroke-box;
|
||||||
@@ -339,7 +363,8 @@
|
|||||||
mask-border: auto;
|
mask-border: auto;
|
||||||
mask-type: auto;
|
mask-type: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.multicol {
|
.multicol {
|
||||||
columns: column;
|
columns: column;
|
||||||
column-count: balance;
|
column-count: balance;
|
||||||
@@ -352,7 +377,8 @@
|
|||||||
column-span: auto;
|
column-span: auto;
|
||||||
column-width: auto;
|
column-width: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.overflow {
|
.overflow {
|
||||||
max-lines: paged-x;
|
max-lines: paged-x;
|
||||||
display: paged-y;
|
display: paged-y;
|
||||||
@@ -360,28 +386,32 @@
|
|||||||
display: paged-y-controls;
|
display: paged-y-controls;
|
||||||
display: fragments;
|
display: fragments;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.page {
|
.page {
|
||||||
display: avoid-page;
|
display: avoid-page;
|
||||||
display: page;
|
display: page;
|
||||||
display: recto;
|
display: recto;
|
||||||
display: verso;
|
display: verso;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.positioning {
|
.positioning {
|
||||||
offset-before: sticky;
|
offset-before: sticky;
|
||||||
offset-end: auto;
|
offset-end: auto;
|
||||||
offset-after: auto;
|
offset-after: auto;
|
||||||
offset-start: auto;
|
offset-start: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.pseudo::selection,
|
.pseudo::selection,
|
||||||
.pseudo::spelling-error,
|
.pseudo::spelling-error,
|
||||||
.pseudo::grammer-error,
|
.pseudo::grammer-error,
|
||||||
.pseuod::placeholder {
|
.pseuod::placeholder {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.regions:region {
|
.regions:region {
|
||||||
flow-into: element;
|
flow-into: element;
|
||||||
flow-from: content;
|
flow-from: content;
|
||||||
@@ -389,19 +419,22 @@
|
|||||||
display: region;
|
display: region;
|
||||||
display: avoid-region;
|
display: avoid-region;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.ruby {
|
.ruby {
|
||||||
ruby-position: ruby-base-container;
|
ruby-position: ruby-base-container;
|
||||||
ruby-merge: ruby-text-container;
|
ruby-merge: ruby-text-container;
|
||||||
ruby-align: inter-character;
|
ruby-align: inter-character;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
@scope .scoping {
|
@scope .scoping {
|
||||||
div {
|
div {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.scoping:scope-context div,
|
.scoping:scope-context div,
|
||||||
.scoping:host,
|
.scoping:host,
|
||||||
.scping:host(.foo),
|
.scping:host(.foo),
|
||||||
@@ -411,7 +444,8 @@
|
|||||||
.scoping /deep/ span {
|
.scoping /deep/ span {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.selectors3:target,
|
.selectors3:target,
|
||||||
.selectors3:enabled,
|
.selectors3:enabled,
|
||||||
.selectors3:disabled,
|
.selectors3:disabled,
|
||||||
@@ -431,7 +465,8 @@
|
|||||||
.selectors3:not([DISABLED]) {
|
.selectors3:not([DISABLED]) {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.selectors4 | h1,
|
.selectors4 | h1,
|
||||||
.selectors4:scope,
|
.selectors4:scope,
|
||||||
.selectors4:current,
|
.selectors4:current,
|
||||||
@@ -465,7 +500,8 @@
|
|||||||
.selectors4:column(p, li, dt, dd) {
|
.selectors4:column(p, li, dt, dd) {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.shapes {
|
.shapes {
|
||||||
shape-outside: margin-box;
|
shape-outside: margin-box;
|
||||||
shape-image-threshold: inset(50% 50% 50% 50%);
|
shape-image-threshold: inset(50% 50% 50% 50%);
|
||||||
@@ -473,7 +509,8 @@
|
|||||||
display: ellipse(0 0 250px 100px);
|
display: ellipse(0 0 250px 100px);
|
||||||
display: polygon(0 0, 100% 100%, 0 100%);
|
display: polygon(0 0, 100% 100%, 0 100%);
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.sizing {
|
.sizing {
|
||||||
display: max-content;
|
display: max-content;
|
||||||
display: fit-content;
|
display: fit-content;
|
||||||
@@ -481,7 +518,8 @@
|
|||||||
display: repudiate-floats;
|
display: repudiate-floats;
|
||||||
display: contain-floats;
|
display: contain-floats;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.speech {
|
.speech {
|
||||||
voice-volume: 10dB;
|
voice-volume: 10dB;
|
||||||
voice-balance: literal-punctuation;
|
voice-balance: literal-punctuation;
|
||||||
@@ -498,7 +536,8 @@
|
|||||||
display: moderate;
|
display: moderate;
|
||||||
display: reduced;
|
display: reduced;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.text {
|
.text {
|
||||||
hyphens: manual;
|
hyphens: manual;
|
||||||
line-break: loose;
|
line-break: loose;
|
||||||
@@ -508,7 +547,8 @@
|
|||||||
display: each-line;
|
display: each-line;
|
||||||
display: full-width;
|
display: full-width;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.text-decor-3 {
|
.text-decor-3 {
|
||||||
text-decoration-color: filled;
|
text-decoration-color: filled;
|
||||||
text-decoration-line: dot;
|
text-decoration-line: dot;
|
||||||
@@ -524,7 +564,8 @@
|
|||||||
display: under;
|
display: under;
|
||||||
display: over;
|
display: over;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.transforms {
|
.transforms {
|
||||||
backface-visibility: flat;
|
backface-visibility: flat;
|
||||||
perspective: preserve-3d;
|
perspective: preserve-3d;
|
||||||
@@ -550,7 +591,8 @@
|
|||||||
display: skewY(1);
|
display: skewY(1);
|
||||||
display: perspective(1);
|
display: perspective(1);
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.transitions {
|
.transitions {
|
||||||
transition: linear;
|
transition: linear;
|
||||||
transition-property: ease;
|
transition-property: ease;
|
||||||
@@ -562,13 +604,15 @@
|
|||||||
display: steps(1, start);
|
display: steps(1, start);
|
||||||
display: cubic-bezier(0.25, 0.1, 0.25, 1.0);
|
display: cubic-bezier(0.25, 0.1, 0.25, 1.0);
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.ui::value,
|
.ui::value,
|
||||||
.ui::choices {
|
.ui::choices {
|
||||||
caret-color: grab;
|
caret-color: grab;
|
||||||
display: grabbing;
|
display: grabbing;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.values {
|
.values {
|
||||||
display: 1ch;
|
display: 1ch;
|
||||||
display: 1rem;
|
display: 1rem;
|
||||||
@@ -583,15 +627,18 @@
|
|||||||
display: toggle(italic, normal);
|
display: toggle(italic, normal);
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.variables {
|
.variables {
|
||||||
var-foo: var(foo);
|
var-foo: var(foo);
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.will-change {
|
.will-change {
|
||||||
will-change: scroll-position;
|
will-change: scroll-position;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.writing-modes {
|
.writing-modes {
|
||||||
text-orientation: before;
|
text-orientation: before;
|
||||||
text-combine-horizontal: after;
|
text-combine-horizontal: after;
|
||||||
@@ -608,7 +655,8 @@
|
|||||||
display: vertical-rl;
|
display: vertical-rl;
|
||||||
display: vertical-lr;
|
display: vertical-lr;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.html5-elements,
|
.html5-elements,
|
||||||
article,
|
article,
|
||||||
section,
|
section,
|
||||||
@@ -644,7 +692,6 @@
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!--[if lt IE 9]><script src="http://hail2u.net/scripts/html5shiv.min.js"></script><![endif]-->
|
<!--[if lt IE 9]><script src="http://hail2u.net/scripts/html5shiv.min.js"></script><![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user