Skip to content

Commit f94fde7

Browse files
committed
Update issues files
1 parent c0f8c2d commit f94fde7

File tree

4 files changed

+69
-1
lines changed

4 files changed

+69
-1
lines changed
Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,50 @@
11
/* https://github.com/microsoft/vscode-css/issues/33 */
2+
/* https://github.com/microsoft/vscode-css/issues/22 */
23

34
table thead tr:nth-child(odd of :not([hidden])),
45
table:has(thead tr:last-child:nth-child(even of :not([hidden]))) tbody tr:nth-child(odd of :not([hidden])),
56
table:has(thead tr:last-child:nth-child(odd of :not([hidden]))) tbody tr:nth-child(even of :not([hidden])),
67
table:has(thead tr:last-child:nth-child(even of :not([hidden]))):has(tbody tr:last-child:nth-child(odd of :not([hidden]))) tfoot tr:nth-child(even of :not([hidden])),
7-
table:has(thead tr:last-child:nth-child(even of :not([hidden]))):has(tbody tr:last-child:nth-child(even of :not([hidden]))) tfoot tr:nth-child(odd of :not([hidden])),
8+
table:has(thead tr:last-child:nth-last-child(even of :not([hidden]))):has(tbody tr:last-child:nth-child(even of :not([hidden]))) tfoot tr:nth-child(odd of :not([hidden])),
89
table:has(thead tr:last-child:nth-child(odd of :not([hidden]))):has(tbody tr:last-child:nth-child(odd of :not([hidden]))) tfoot tr:nth-child(odd of :not([hidden])),
910
table:has(thead tr:last-child:nth-child(odd of :not([hidden]))):has(tbody tr:last-child:nth-child(even of :not([hidden]))) tfoot tr:nth-child(even of :not([hidden])) {
1011
background-color: #f0f0f0;
1112
}
13+
14+
.highlight:nth-child(2),
15+
:nth-child(2 of .highlight),
16+
:nth-child(4 of .highlight, .sale) {
17+
gap:0;
18+
}
19+
20+
tr:nth-child(even of :not([hidden])) {
21+
background-color: lightgrey;
22+
}
23+
24+
li:nth-child(-n + 3 of :not([hidden]):has(.class) ) {
25+
border: 2px solid orange;
26+
margin-bottom: 1px;
27+
}
28+
29+
li:nth-child(even) {
30+
background-color: lightyellow;
31+
}
32+
33+
:nth-child(-n + 3 of li.important) {
34+
gap:0
35+
}
36+
37+
li:nth-last-child(even of .noted) {
38+
background-color: tomato;
39+
border-bottom-color: seagreen;
40+
}
41+
42+
43+
44+
.item > div:nth-child(1 of :not(.hidden)) {
45+
padding-left: var(--item_margin);
46+
}
47+
48+
.item > div:nth-last-child(1 of :not(.hidden)) {
49+
padding-right: var(--item_margin);
50+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Document</title>
8+
<style>
9+
@property --angle {
10+
syntax: "<angle>";
11+
inherits: false;
12+
initial-value: 0deg;
13+
}
14+
</style>
15+
16+
</head>
17+
18+
<body>
19+
20+
</body>
21+
22+
</html>

.dev-assets/syntax-issues/missing/at-import-issue.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
* AT IMPORT
33
*/
44

5+
/* https://github.com/microsoft/vscode-css/issue */
6+
57
/* new syntax rules for @import have no syntax highlighting */
68
@import "/css/styles.css" supports(color: red);
79
@import url("green.css") layer supports(selector(&)) (min-width: calc(10px));
810

911
/* layer as a function */
1012
@import url("green.css") layer(bar) supports(selector(&))
1113
(min-width: calc(10px));
14+
15+
@import url('bootstrap/scss/bootstrap.scss') layer(bootstrap);

.dev-assets/syntax-issues/missing/of-not-issue.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* OF :NOT
33
*/
44

5+
/* https://github.com/microsoft/vscode-css/issues/22 */
6+
/* https://github.com/microsoft/vscode-css/issues/33 */
7+
58
/* `of` and trailing grammar has no syntax highlighting */
69
.item > div:nth-child(1 of :not(.hidden)) {
710
padding-left: var(--item_margin);

0 commit comments

Comments
 (0)