Skip to content

Commit

Permalink
Change all web-animations spec URLs to web-animations-1 (mdn#14610)
Browse files Browse the repository at this point in the history
* Change all web-animations spec URLs to web-animations-1

https://drafts.csswg.org/web-animations/ is now the Level 2 spec, marked
“Not Ready For Implementation”, and it does not contain many of the
targets the Level 1 spec contains. So, switch all URLs to point to the
Level 1 spec.

* Apply suggestions from code review

Co-authored-by: Florian Scholz <[email protected]>

Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
sideshowbarker and Elchi3 authored Jan 20, 2022
1 parent a8c32d7 commit 1d490e3
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 52 deletions.
48 changes: 24 additions & 24 deletions api/Animation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Animation": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation",
"spec_url": "https://drafts.csswg.org/web-animations/#the-animation-interface",
"spec_url": "https://drafts.csswg.org/web-animations-1/#the-animation-interface",
"support": {
"chrome": [
{
Expand Down Expand Up @@ -72,7 +72,7 @@
"Animation": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/Animation",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-animation",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-animation",
"description": "<code>Animation()</code> constructor",
"support": {
"chrome": {
Expand Down Expand Up @@ -122,7 +122,7 @@
"cancel": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/cancel",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-cancel",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-cancel",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -171,7 +171,7 @@
"commitStyles": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/commitStyles",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-commitstyles",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-commitstyles",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -220,7 +220,7 @@
"currentTime": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/currentTime",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-currenttime",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-currenttime",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -269,7 +269,7 @@
"effect": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/effect",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-effect",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-effect",
"support": {
"chrome": {
"version_added": "75"
Expand Down Expand Up @@ -318,7 +318,7 @@
"finish": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/finish",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-finish",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-finish",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -367,7 +367,7 @@
"finished": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/finished",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-finished",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-finished",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -416,7 +416,7 @@
"id": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/id",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-id",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-id",
"support": {
"chrome": {
"version_added": "50"
Expand Down Expand Up @@ -465,7 +465,7 @@
"oncancel": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/oncancel",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-oncancel",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-oncancel",
"support": {
"chrome": {
"version_added": "50"
Expand Down Expand Up @@ -514,7 +514,7 @@
"onfinish": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/onfinish",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-onfinish",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-onfinish",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -563,7 +563,7 @@
"onremove": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/onremove",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-onremove",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-onremove",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -612,7 +612,7 @@
"pause": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/pause",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-pause",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-pause",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -661,7 +661,7 @@
"pending": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/pending",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-pending",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-pending",
"support": {
"chrome": {
"version_added": "76"
Expand Down Expand Up @@ -712,7 +712,7 @@
"persist": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/persist",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-persist",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-persist",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -761,7 +761,7 @@
"play": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/play",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-play",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-play",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -810,7 +810,7 @@
"playbackRate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/playbackRate",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-playbackrate",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-playbackrate",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -859,7 +859,7 @@
"playState": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/playState",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-playstate",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-playstate",
"support": {
"chrome": {
"version_added": "39",
Expand Down Expand Up @@ -916,7 +916,7 @@
"ready": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/ready",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-ready",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-ready",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -1016,7 +1016,7 @@
"replaceState": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/replaceState",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-replacestate",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-replacestate",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -1065,7 +1065,7 @@
"reverse": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/reverse",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-reverse",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-reverse",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -1114,7 +1114,7 @@
"startTime": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/startTime",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-starttime",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-starttime",
"support": {
"chrome": {
"version_added": "39"
Expand Down Expand Up @@ -1163,7 +1163,7 @@
"timeline": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/timeline",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-timeline",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-timeline",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -1216,7 +1216,7 @@
"updatePlaybackRate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Animation/updatePlaybackRate",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animation-updateplaybackrate",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animation-updateplaybackrate",
"support": {
"chrome": {
"version_added": "76"
Expand Down
8 changes: 4 additions & 4 deletions api/AnimationEffect.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"AnimationEffect": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationEffect",
"spec_url": "https://drafts.csswg.org/web-animations/#the-animationeffect-interface",
"spec_url": "https://drafts.csswg.org/web-animations-1/#the-animationeffect-interface",
"support": {
"chrome": {
"version_added": "75"
Expand Down Expand Up @@ -65,7 +65,7 @@
"getComputedTiming": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationEffect/getComputedTiming",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationeffect-getcomputedtiming",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationeffect-getcomputedtiming",
"support": {
"chrome": {
"version_added": "75"
Expand Down Expand Up @@ -114,7 +114,7 @@
"getTiming": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationEffect/getTiming",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationeffect-gettiming",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationeffect-gettiming",
"support": {
"chrome": {
"version_added": "75"
Expand Down Expand Up @@ -163,7 +163,7 @@
"updateTiming": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationEffect/updateTiming",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationeffect-updatetiming",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationeffect-updatetiming",
"support": {
"chrome": {
"version_added": "75"
Expand Down
8 changes: 4 additions & 4 deletions api/AnimationPlaybackEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"AnimationPlaybackEvent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent",
"spec_url": "https://drafts.csswg.org/web-animations/#the-animationplaybackevent-interface",
"spec_url": "https://drafts.csswg.org/web-animations-1/#the-animationplaybackevent-interface",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -51,7 +51,7 @@
"AnimationPlaybackEvent": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationplaybackevent-animationplaybackevent",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationplaybackevent-animationplaybackevent",
"description": "<code>AnimationPlaybackEvent()</code> constructor",
"support": {
"chrome": {
Expand Down Expand Up @@ -101,7 +101,7 @@
"currentTime": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/currentTime",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationplaybackevent-currenttime",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationplaybackevent-currenttime",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -150,7 +150,7 @@
"timelineTime": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/timelineTime",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationplaybackevent-timelinetime",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationplaybackevent-timelinetime",
"support": {
"chrome": {
"version_added": "84"
Expand Down
4 changes: 2 additions & 2 deletions api/AnimationTimeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"AnimationTimeline": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationTimeline",
"spec_url": "https://drafts.csswg.org/web-animations/#the-animationtimeline-interface",
"spec_url": "https://drafts.csswg.org/web-animations-1/#the-animationtimeline-interface",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -75,7 +75,7 @@
"currentTime": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animationtimeline-currenttime",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animationtimeline-currenttime",
"support": {
"chrome": {
"version_added": "84"
Expand Down
2 changes: 1 addition & 1 deletion api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -10547,7 +10547,7 @@
"timeline": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/timeline",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-document-timeline",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-document-timeline",
"support": {
"chrome": {
"version_added": "84"
Expand Down
4 changes: 2 additions & 2 deletions api/DocumentTimeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"DocumentTimeline": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DocumentTimeline",
"spec_url": "https://drafts.csswg.org/web-animations/#the-documenttimeline-interface",
"spec_url": "https://drafts.csswg.org/web-animations-1/#the-documenttimeline-interface",
"support": {
"chrome": {
"version_added": "84"
Expand Down Expand Up @@ -77,7 +77,7 @@
"DocumentTimeline": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DocumentTimeline/DocumentTimeline",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-documenttimeline-documenttimeline",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-documenttimeline-documenttimeline",
"description": "<code>DocumentTimeline()</code> constructor",
"support": {
"chrome": {
Expand Down
12 changes: 6 additions & 6 deletions api/Element.json
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@
"animate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/animate",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animatable-animate",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animatable-animate",
"support": {
"chrome": {
"version_added": "36"
Expand Down Expand Up @@ -777,7 +777,7 @@
"options_composite_parameter": {
"__compat": {
"description": "<code>options.composite</code> parameter",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-keyframeeffectoptions-composite",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-keyframeeffectoptions-composite",
"support": {
"chrome": {
"version_added": "79",
Expand Down Expand Up @@ -869,7 +869,7 @@
"options_id_parameter": {
"__compat": {
"description": "<code>options.id</code> parameter",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-keyframeanimationoptions-id",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-keyframeanimationoptions-id",
"support": {
"chrome": {
"version_added": "50"
Expand Down Expand Up @@ -918,7 +918,7 @@
"options_iterationComposite_parameter": {
"__compat": {
"description": "<code>options.iterationComposite</code> parameter",
"spec_url": "https://drafts.csswg.org/web-animations-2/#dom-keyframeeffectoptions-iterationcomposite",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-keyframeeffectoptions-iterationcomposite",
"support": {
"chrome": {
"version_added": false
Expand Down Expand Up @@ -986,7 +986,7 @@
"options_pseudoElement_parameter": {
"__compat": {
"description": "<code>options.pseudoElement</code> parameter",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-keyframeeffectoptions-pseudoelement",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-keyframeeffectoptions-pseudoelement",
"support": {
"chrome": {
"version_added": "81",
Expand Down Expand Up @@ -3109,7 +3109,7 @@
"getAnimations": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/getAnimations",
"spec_url": "https://drafts.csswg.org/web-animations/#dom-animatable-getanimations",
"spec_url": "https://drafts.csswg.org/web-animations-1/#dom-animatable-getanimations",
"support": {
"chrome": [
{
Expand Down
Loading

0 comments on commit 1d490e3

Please sign in to comment.