<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - LayoutTest media/modern-media-controls/tracks-panel/tracks-panel-hide.html is a flaky timeout"
href="https://bugs.webkit.org/show_bug.cgi?id=167311#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - LayoutTest media/modern-media-controls/tracks-panel/tracks-panel-hide.html is a flaky timeout"
href="https://bugs.webkit.org/show_bug.cgi?id=167311">bug 167311</a>
from <span class="vcard"><a class="email" href="mailto:graouts@apple.com" title="Antoine Quint <graouts@apple.com>"> <span class="fn">Antoine Quint</span></a>
</span></b>
<pre>This looks like a bug in the TracksPanel class where we register for the "transitionend" event at the same time we apply the "fade-out" class that triggers the transition. But in case the value we're animating from is already 0, we won't have a chance to transition and there will be no event. So we need to register for the event first and delay the transition until the next frame.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>