Skip to content

Commit 116267d

Browse files
tidoustbirtles
authored andcommitted
[web-animations-2] Fix WebIDL - no inherit for partial dictionary
Per WebIDL, a partial dictionary declaration cannot inherit from a base dictionary. See Note in: https://heycam.github.io/webidl/#idl-interfaces "Note: A partial interface definition cannot specify that the interface inherits from another interface. Inheritance must be specified on the original interface definition." `ComputedEffectTiming`, defined in Level 1, already inherits from `EffectTiming`, so no need to formulate that again in the partial definition.
1 parent 1f2b3ab commit 116267d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-animations-2/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ partial dictionary OptionalEffectTiming {
20852085
<code>ComputedEffectTiming</code> dictionary</h3>
20862086

20872087
<pre class='idl'>
2088-
partial dictionary ComputedEffectTiming : EffectTiming {
2088+
partial dictionary ComputedEffectTiming {
20892089
double startTime;
20902090
};
20912091
</pre>

0 commit comments

Comments
 (0)