Skip to content

Commit c715b55

Browse files
committed
Add patch for ed/idl/web-animations-2.idl
Drop duplicate `fillMode` enum, rollback range changes
1 parent b3436ce commit c715b55

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed
Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
From 9afc09a9b0b3c11be7ae1bebe5d3d8400abd58ec Mon Sep 17 00:00:00 2001
1+
From f15cbabe6dadabe7881e1a1ed5c072e714ea2fe7 Mon Sep 17 00:00:00 2001
22
From: Francois Daoust <[email protected]>
3-
Date: Tue, 4 Feb 2025 13:44:24 +0100
3+
Date: Wed, 12 Feb 2025 07:55:56 +0100
44
Subject: [PATCH] Drop duplicate `fillMode` enum, rollback range changes
55

66
The spec is a delta spec and re-defines the `fillMode` enum to change the
@@ -11,13 +11,12 @@ delta spec.
1111

1212
The `rangeStart` and `rangeEnd` definitions are currently invalid, pending:
1313
https://github.com/w3c/csswg-drafts/pull/9360
14-
https://github.com/w3c/csswg-drafts/issues/11624
1514
---
16-
ed/idl/web-animations-2.idl | 12 ------------
17-
1 file changed, 12 deletions(-)
15+
ed/idl/web-animations-2.idl | 4 ----
16+
1 file changed, 4 deletions(-)
1817

1918
diff --git a/ed/idl/web-animations-2.idl b/ed/idl/web-animations-2.idl
20-
index 6bd3067d5..ad047f573 100644
19+
index 9f2d3b5a0..c4a0c2532 100644
2120
--- a/ed/idl/web-animations-2.idl
2221
+++ b/ed/idl/web-animations-2.idl
2322
@@ -15,8 +15,6 @@ partial interface Animation {
@@ -38,26 +37,6 @@ index 6bd3067d5..ad047f573 100644
3837
[Exposed=Window]
3938
interface GroupEffect {
4039
constructor(sequence<AnimationEffect>? children,
41-
@@ -123,19 +119,11 @@ interface AnimationTrigger {
42-
constructor(optional AnimationTriggerOptions options = {});
43-
attribute AnimationTimeline timeline;
44-
attribute AnimationTriggerType type;
45-
- attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
46-
- attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
47-
- attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeStart = "auto";
48-
- attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeEnd = "auto";
49-
};
50-
51-
dictionary AnimationTriggerOptions {
52-
AnimationTimeline? timeline;
53-
AnimationTriggerType? type = "once";
54-
- (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString)? rangeStart = "normal";
55-
- (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString)? rangeEnd = "normal";
56-
- (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString)? exitRangeStart = "auto";
57-
- (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString)? exitRangeEnd = "auto";
58-
};
59-
60-
enum AnimationTriggerType { "once", "repeat", "alternate", "state" };
6140
--
6241
2.37.1.windows.1
6342

0 commit comments

Comments
 (0)