Add onanimation* event handlers, and ontransitionend (and webkit versions)
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: smaug, Assigned: mantaroh)
References
Details
(Keywords: dev-doc-complete)
Attachments
(5 files)
Comment 3•10 years ago
|
||
Reporter | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Comment 9•9 years ago
|
||
Reporter | ||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Reporter | ||
Comment 14•9 years ago
|
||
Updated•9 years ago
|
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Assignee | ||
Comment 19•9 years ago
|
||
Assignee | ||
Comment 20•9 years ago
|
||
Comment 21•9 years ago
|
||
Comment 22•9 years ago
|
||
Assignee | ||
Comment 23•9 years ago
|
||
Assignee | ||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Assignee | ||
Comment 28•9 years ago
|
||
Assignee | ||
Comment 29•9 years ago
|
||
Assignee | ||
Comment 30•9 years ago
|
||
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
Comment 33•9 years ago
|
||
Assignee | ||
Comment 34•9 years ago
|
||
Comment 35•9 years ago
|
||
Reporter | ||
Comment 36•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 37•9 years ago
|
||
Assignee | ||
Comment 38•9 years ago
|
||
Comment 39•9 years ago
|
||
Assignee | ||
Comment 40•9 years ago
|
||
Assignee | ||
Comment 41•9 years ago
|
||
Assignee | ||
Comment 42•9 years ago
|
||
Assignee | ||
Comment 43•9 years ago
|
||
Comment 44•9 years ago
|
||
Assignee | ||
Comment 45•9 years ago
|
||
Assignee | ||
Comment 46•9 years ago
|
||
Assignee | ||
Comment 47•9 years ago
|
||
Comment 48•9 years ago
|
||
Assignee | ||
Comment 49•9 years ago
|
||
Assignee | ||
Comment 50•9 years ago
|
||
Assignee | ||
Comment 51•9 years ago
|
||
Assignee | ||
Comment 52•9 years ago
|
||
Assignee | ||
Comment 53•9 years ago
|
||
Comment 54•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 55•9 years ago
|
||
Updated•9 years ago
|
Comment 56•9 years ago
|
||
Reporter | ||
Comment 57•9 years ago
|
||
Reporter | ||
Comment 58•9 years ago
|
||
Comment 59•9 years ago
|
||
Comment 60•9 years ago
|
||
Updated•9 years ago
|
Comment 61•9 years ago
|
||
Assignee | ||
Comment 62•9 years ago
|
||
Assignee | ||
Comment 63•9 years ago
|
||
Assignee | ||
Comment 64•9 years ago
|
||
Assignee | ||
Comment 65•9 years ago
|
||
Assignee | ||
Comment 66•9 years ago
|
||
Assignee | ||
Comment 67•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Comment 68•9 years ago
|
||
Comment 69•9 years ago
|
||
Comment 70•9 years ago
|
||
bugherder |
Comment 71•8 years ago
|
||
Updated•6 years ago
|
![]() |
||
Comment 72•6 years ago
|
||
I'm a little confused by the changes in this bug. As far as I can tell, no other browser implements these "onowebkitanimation*" event handlers, including Chrome and Safari. Am I just missing something?
Reporter | ||
Comment 73•5 years ago
|
||
I don't think so. Just reading the bug again, the situation here has been rather messy and the patches made Gecko at least somewhat consistent.
But worth to check again what other browsers support.
hiro, perhaps you know the current state?
Comment 74•5 years ago
|
||
I did test the link in comment 20 on both Safari 12.1.12 and Chromium 78.0.3888.0. To me both browsers still support onwebkitanimation* event handlers.
Hmm, bz is on PTO, I will ask him about the difference between the site in comment 20 and how he checked once after he come back to work.
Comment 75•5 years ago
|
||
According to comment 26 there was also some discrepancy between support for IDL attributes and content attributes.
![]() |
||
Comment 76•5 years ago
|
||
The testcase I was looking at is something like this:
<!doctype html>
<pre><script>
var d = document;
document.writeln("onwebkittransitionend" in d);
document.writeln("onwebkitanimationstart" in d);
document.writeln("onwebkitanimationiteration" in d);
document.writeln("onwebkitanimationend" in d);
</script>
The results I see are:
- Firefox: all
true
- Safari: all
false
- Chrome: all
false
It looks like Safari has these properties on Element
and Window
(but not documents).
Firefox has them on Document
and Window
and HTMLElement
, SVGElement
, XULElement
, but not other elements.
Chrome only has them on Window
only.
Sorry for my blanket "Safari and Chrome don't support them" claim... The situation is more complicated than I thought, for sure. That said, the fact that we introduced a third behavior which matches neither Chrome nor Safari is a little unfortunate. And even if we did want to aim for "expose them consistently everywhere" as a reason to not match Safari, we're not exposing them everywhere Safari does...
(That said, I don't know whether Safari supports the corresponding content attributes on all elements.)
Comment 77•5 years ago
|
||
Thanks for the clarification! Now I see what you meant.
I think we did innocently add them there since there are onanimationXX event handlers. To me it makes most sense to match onwebkitXX event handlers WebKit implementation because of the prefix. I filed bug 1578121 for that and also filed a chromium bug.
Description
•