| Summary: | Support unprefixed animation event types | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Dean Jackson <dino> | ||||||||
| Component: | New Bugs | Assignee: | Dean Jackson <dino> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | Keywords: | InRadar | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Dean Jackson
2014-11-20 12:45:06 PST
The approach here is to follow what transitions does: listener only for old event name -> fire old event name listener for both old and new event name -> fire new event name listener only for new event name -> fire new event name That way pages that were trying to anticipate the new event name won't get duplicate events. Created attachment 241973 [details]
Patch
Comment on attachment 241973 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241973&action=review > Source/WebCore/dom/AnimationEvent.cpp:35 > + , elapsedTime(0.0) Just 0. > Source/WebCore/dom/AnimationEvent.cpp:40 > + : m_elapsedTime(0.0) Just 0. Created attachment 241986 [details]
Patch
Created attachment 241991 [details]
Patch
Committed r176423: <http://trac.webkit.org/changeset/176423> Comment on attachment 241991 [details] Patch Clearing flags - pulling it out from the review queue. It was landed earlier in r176423. |