Skip to content

Commit 54058b7

Browse files
committed
Add patch for ed/css/selectors-5.json
Fix syntax of ref to `An+B` type
1 parent 9c7ea2d commit 54058b7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From 6be6632617b659b9214836695652656862afdd8a Mon Sep 17 00:00:00 2001
2+
From: Francois Daoust <[email protected]>
3+
Date: Mon, 30 Jun 2025 09:22:21 +0200
4+
Subject: [PATCH] Fix syntax of ref to `An+B` type
5+
6+
Pending adoption of a final valid name for `An+B` in css-syntax-3:
7+
https://github.com/w3c/csswg-drafts/issues/9473
8+
---
9+
ed/css/selectors-5.json | 2 +-
10+
1 file changed, 1 insertion(+), 1 deletion(-)
11+
12+
diff --git a/ed/css/selectors-5.json b/ed/css/selectors-5.json
13+
index 065ad05c95..a51dbd849b 100644
14+
--- a/ed/css/selectors-5.json
15+
+++ b/ed/css/selectors-5.json
16+
@@ -27,7 +27,7 @@
17+
"name": ":heading()",
18+
"prose": "As a functional pseudo-class, :heading() notation represents elements that have a heading level among An+B. The syntax is:",
19+
"href": "https://drafts.csswg.org/selectors-5/#heading-functional-pseudo",
20+
- "value": ":heading( <An+B># )"
21+
+ "value": ":heading( <An-B># )"
22+
}
23+
],
24+
"values": []
25+
--
26+
2.37.1.windows.1
27+

0 commit comments

Comments
 (0)