<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Multiple selectors break keyframes animation"
href="https://bugs.webkit.org/show_bug.cgi?id=158199">158199</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Multiple selectors break keyframes animation
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 9.3
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>CSS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matthew@salsitasoft.com
</td>
</tr></table>
<p>
<div>
<pre>I am using CSS code like the following:
@keyframes foo {
0% {
transform: scale(0.3);
opacity: 1;
}
50% {
transform: scale(1);
opacity: 0;
}
100% {
transform: scale(2);
opacity: 0;
}
}
This works fine, but when run through css-nano, some selectors are combined as so:
@keyframes foo {
0% {
transform: scale(0.3);
opacity: 1;
}
50% {
transform: scale(1);
}
50%,to {
opacity: 0;
}
to {
transform: scale(2);
}
}
Looks like in this case the opacity rule is applied to 50% but not to 100%. This appears to work fine in other browsers I tested.</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>