Skip to content

Commit 7dca4e9

Browse files
authored
Add patch for ed/css/css-ui.json (#1609)
Drop pointer-events dfn, adjust cursor-image syntax
1 parent 5c6d714 commit 7dca4e9

File tree

1 file changed

+32
-7
lines changed

1 file changed

+32
-7
lines changed

ed/csspatches/css-ui.json.patch

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,45 @@
1-
From 513373e2297722960f8abcfe501883961965084a Mon Sep 17 00:00:00 2001
1+
From 758207db2a489415f00c4241cd08897d47a9c4ae Mon Sep 17 00:00:00 2001
22
From: Francois Daoust <[email protected]>
3-
Date: Wed, 29 Jan 2025 08:41:24 +0100
4-
Subject: [PATCH] Drop pointer-events dfn from CSS UI
3+
Date: Thu, 10 Jul 2025 11:54:01 +0200
4+
Subject: [PATCH] Drop pointer-events dfn, adjust cursor-image syntax
55

66
The definition of `pointer-events` is not yet as complete as that in the SVG
77
spec. Tracking issue at:
88
https://github.com/w3c/csswg-drafts/issues/4438
9+
10+
Syntax of `<cursor-image>` is valid but stacking of `{2}` and `?` is not
11+
supported by the CSSTree parser. Tracking issue at:
12+
https://github.com/csstree/csstree/issues/346
13+
14+
(Why the spec defines the type both as a `value` and a `type`, I do not know,
15+
but this should not have any impact though, so left for another day...)
916
---
10-
ed/css/css-ui.json | 32 --------------------------------
11-
1 file changed, 32 deletions(-)
17+
ed/css/css-ui.json | 36 ++----------------------------------
18+
1 file changed, 2 insertions(+), 34 deletions(-)
1219

1320
diff --git a/ed/css/css-ui.json b/ed/css/css-ui.json
14-
index 42f18de79..1ae14241c 100644
21+
index e65d3cfd00..1aa20eb8b1 100644
1522
--- a/ed/css/css-ui.json
1623
+++ b/ed/css/css-ui.json
17-
@@ -594,38 +594,6 @@
24+
@@ -121,7 +121,7 @@
25+
"values": [
26+
{
27+
"name": "<cursor-image>",
28+
- "value": "[ <url> | <url-set> ] <number>{2}?",
29+
+ "value": "[ <url> | <url-set> ] [<number>{2}]?",
30+
"href": "https://drafts.csswg.org/css-ui-4/#valdef-cursor-cursor-image",
31+
"type": "value"
32+
},
33+
@@ -129,7 +129,7 @@
34+
"name": "<cursor-image>",
35+
"href": "https://drafts.csswg.org/css-ui-4/#typedef-cursor-cursor-image",
36+
"type": "type",
37+
- "value": "[ <url> | <url-set> ] <number>{2}?"
38+
+ "value": "[ <url> | <url-set> ] [<number>{2}]?"
39+
},
40+
{
41+
"name": "<url-set>",
42+
@@ -627,38 +627,6 @@
1843
"userSelect"
1944
]
2045
},

0 commit comments

Comments
 (0)