[Webkit-unassigned] [Bug 221961] REGRESSION(r271515): ::marker fired at wrong time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 16 09:10:28 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221961
--- Comment #5 from Antoine Quint <graouts at webkit.org> ---
Oh, we simply don't invoke the composite order sorting code when dispatching events, in DocumentTimelinesController::updateAnimationsAndSendEvents():
// 6. Perform a stable sort of the animation events in events to dispatch as follows.
std::stable_sort(events.begin(), events.end(), [] (const Ref<AnimationEventBase>& lhs, const Ref<AnimationEventBase>& rhs) {
// 1. Sort the events by their scheduled event time such that events that were scheduled to occur earlier, sort before events scheduled to occur later
// and events whose scheduled event time is unresolved sort before events with a resolved scheduled event time.
// 2. Within events with equal scheduled event times, sort by their composite order. FIXME: Need to do this.
return lhs->timelineTime() < rhs->timelineTime();
});
So this test progressed when we added support for ::marker, but in a very fragile way that just worked out of luck.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210216/10ae697c/attachment-0001.htm>
More information about the webkit-unassigned
mailing list