@@ -164,13 +164,13 @@ last) as follows:
164
164
of their corresponding <a>owning elements</a>.
165
165
With regard to pseudo-elements, the sort order is as follows:
166
166
167
- * element
168
- * ::marker
169
- * ::before
170
- * any other pseudo-elements not mentioned specifically in this list,
171
- sorted in ascending order by the Unicode codepoints that make up each selector
172
- * ::after
173
- * element children
167
+ * element
168
+ * ::marker
169
+ * ::before
170
+ * any other pseudo-elements not mentioned specifically in this list,
171
+ sorted in ascending order by the Unicode codepoints that make up each selector
172
+ * ::after
173
+ * element children
174
174
175
175
1. Otherwise, sort <var>A</var> and <var>B</var> based on their position in the
176
176
computed value of the 'animation-name' property of the (common) <a>owning
@@ -560,16 +560,17 @@ We need to define a constructor for {{CSSAnimation}}.
560
560
Perhaps something like the following:
561
561
562
562
<pre class="idl">
563
- [Constructor (Animatable? target,
563
+ partial interface CSSAnimation {
564
+ constructor(Animatable? target,
564
565
CSSOMString animationName,
565
566
optional (unrestricted double or KeyframeEffectOptions) options,
566
- optional CSSOMString defaultEasing = "ease"),
567
- Constructor (Animatable? target,
567
+ optional CSSOMString defaultEasing = "ease");
568
+ constructor (Animatable? target,
568
569
CSSOMString animationName,
569
570
(unrestricted double or KeyframeEffectOptions) options,
570
571
CSSOMString defaultEasing,
571
- AnimationTimeline? timeline)]
572
- partial interface CSSAnimation { };
572
+ AnimationTimeline? timeline);
573
+ };
573
574
</pre>
574
575
575
576
The difficulty is with liveness. The most useful and least magical
@@ -582,9 +583,8 @@ updating the set of keyframes returned by
582
583
Something like,
583
584
584
585
<pre class="idl">
585
- [Exposed=Window,
586
- Constructor (CSSOMString keyframesName, CSSOMString defaultEasing)]
587
586
interface CSSKeyframeEffectReadOnly : KeyframeEffectReadOnly {
587
+ constructor(CSSOMString keyframesName, CSSOMString defaultEasing);
588
588
readonly attribute CSSOMString keyframesName;
589
589
readonly attribute CSSOMString defaultEasing;
590
590
};
0 commit comments