Skip to content

Commit

Permalink
Move TransitionEvent.p.transitionName doc to TransitionEvent.p.proper…
Browse files Browse the repository at this point in the history
…tyName

https://drafts.csswg.org/css-transitions/#interface-transitionevent has
no property named “transitionName” (nor “animationName”); instead the
property is named “propertyName”.

Related BCD change: mdn/browser-compat-data#10336
  • Loading branch information
sideshowbarker committed May 6, 2021
1 parent 0130a34 commit aad1212
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
3 changes: 2 additions & 1 deletion files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8995,10 +8995,11 @@
/en-US/docs/Web/API/Transaction /en-US/docs/Web/API/IDBTransaction
/en-US/docs/Web/API/TransactionSync /en-US/docs/Web/API/IDBTransactionSync
/en-US/docs/Web/API/TransitionEvent.TransitionEvent /en-US/docs/Web/API/TransitionEvent/TransitionEvent
/en-US/docs/Web/API/TransitionEvent.animationName /en-US/docs/Web/API/TransitionEvent/animationName
/en-US/docs/Web/API/TransitionEvent.animationName /en-US/docs/Web/API/TransitionEvent/propertyName
/en-US/docs/Web/API/TransitionEvent.elapsedTime /en-US/docs/Web/API/TransitionEvent/elapsedTime
/en-US/docs/Web/API/TransitionEvent.initTransitionEvent /en-US/docs/Web/API/TransitionEvent/initTransitionEvent
/en-US/docs/Web/API/TransitionEvent.pseudoElement /en-US/docs/Web/API/TransitionEvent/pseudoElement
/en-US/docs/Web/API/TransitionEvent/animationName /en-US/docs/Web/API/TransitionEvent/propertyName
/en-US/docs/Web/API/TreeWalker.currentNode /en-US/docs/Web/API/TreeWalker/currentNode
/en-US/docs/Web/API/TreeWalker.expandEntityReferences /en-US/docs/Web/API/TreeWalker/expandEntityReferences
/en-US/docs/Web/API/TreeWalker.firstChild /en-US/docs/Web/API/TreeWalker/firstChild
Expand Down
18 changes: 9 additions & 9 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -83644,15 +83644,6 @@
"kscarfone"
]
},
"Web/API/TransitionEvent/animationName": {
"modified": "2020-10-15T21:24:41.563Z",
"contributors": [
"matt-curtis",
"fscholz",
"teoli",
"kscarfone"
]
},
"Web/API/TransitionEvent/elapsedTime": {
"modified": "2020-10-15T21:24:39.846Z",
"contributors": [
Expand All @@ -83673,6 +83664,15 @@
"kscarfone"
]
},
"Web/API/TransitionEvent/propertyName": {
"modified": "2020-10-15T21:24:41.563Z",
"contributors": [
"matt-curtis",
"fscholz",
"teoli",
"kscarfone"
]
},
"Web/API/TransitionEvent/pseudoElement": {
"modified": "2020-10-15T21:24:41.770Z",
"contributors": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: TransitionEvent.transitionName
slug: Web/API/TransitionEvent/animationName
title: TransitionEvent.propertyName
slug: Web/API/TransitionEvent/propertyName
tags:
- API
- CSS
Expand All @@ -10,16 +10,14 @@
- Reference
- TransitionEvent
---
<p>{{ apiref("CSSOM") }} {{SeeCompatTable}}</p>
<p>{{ apiref("CSSOM") }}</p>

<p>The <code><strong>TransitionEvent.transitionName</strong></code> read-only property is
a {{domxref("DOMString")}} containing the name of the CSS property associated with the
transition.</p>
<p>The <code><strong>propertyName</strong></code> read-only property of {{domxref("TransitionEvent")}} objects is a {{domxref("DOMString")}} containing the name of the CSS property associated with the transition.</p>

<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js"><em>name</em> = <em>TransitionEvent</em>.transitionName</pre>
class="brush: js"><em>name</em> = <em>TransitionEvent</em>.propertyName</pre>

<h2 id="Specifications">Specifications</h2>

Expand All @@ -34,7 +32,7 @@ <h2 id="Specifications">Specifications</h2>
<tbody>
<tr>
<td>{{ SpecName('CSS3 Transitions', '#Events-TransitionEvent-propertyName',
'TransitionEvent.transitionName') }}</td>
'TransitionEvent.propertyName') }}</td>
<td>{{ Spec2('CSS3 Transitions')}}</td>
<td>Initial definition.</td>
</tr>
Expand All @@ -43,7 +41,7 @@ <h2 id="Specifications">Specifications</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("api.TransitionEvent.transitionName")}}</p>
<p>{{Compat("api.TransitionEvent.propertyName")}}</p>

<h2 id="See_also">See also</h2>

Expand Down

0 comments on commit aad1212

Please sign in to comment.