|
1 | | -From 513373e2297722960f8abcfe501883961965084a Mon Sep 17 00:00:00 2001 |
| 1 | +From 758207db2a489415f00c4241cd08897d47a9c4ae Mon Sep 17 00:00:00 2001 |
2 | 2 | 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 |
5 | 5 |
|
6 | 6 | The definition of `pointer-events` is not yet as complete as that in the SVG |
7 | 7 | spec. Tracking issue at: |
8 | 8 | 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...) |
9 | 16 | --- |
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(-) |
12 | 19 |
|
13 | 20 | diff --git a/ed/css/css-ui.json b/ed/css/css-ui.json |
14 | | -index 42f18de79..1ae14241c 100644 |
| 21 | +index e65d3cfd00..1aa20eb8b1 100644 |
15 | 22 | --- a/ed/css/css-ui.json |
16 | 23 | +++ 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 @@ |
18 | 43 | "userSelect" |
19 | 44 | ] |
20 | 45 | }, |
|
0 commit comments