|
Make sure we correctly dispatch custom events having the same names as unprefixed animations events
If support for unprefixed animations is disabled and a custom event happens
to have the same type name then we should dispatch them no matter.
As inside blink we dispatch unprefixed events (no matter if the support is on
or off), we had a piece of code which was retargeting the name to unprefixed when
the support was off. This was not working in the case of custom events as they were
being retargeted to prefixed. I'm glad we can get rid of this condition when the
support of unprefixed animations ships.
I've added a set of tests in the stable/ directory to specifically covers the fact
that the unprefixed animations support is off. These two tests can be removed when
unprefixed animations are default. The other tests in the regular animations/ directory
are for regression testing.
BUG= 367537
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173024
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+248 lines, -1 line) |
Patch |
 |
A |
LayoutTests/animations/animation-events-prefixed-04.html
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/animations/animation-events-prefixed-04-expected.txt
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/animations/animation-events-unprefixed-04.html
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/animations/animation-events-unprefixed-04-expected.txt
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/virtual/stable/animations-unprefixed/animation-events-prefixed-04.html
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/virtual/stable/animations-unprefixed/animation-events-prefixed-04-expected.txt
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/virtual/stable/animations-unprefixed/animation-events-unprefixed-04.html
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/virtual/stable/animations-unprefixed/animation-events-unprefixed-04-expected.txt
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/EventTarget.cpp
|
View
|
1
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Tools/Scripts/webkitpy/layout_tests/port/base.py
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|