<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 - setting a property on CSSStyleDeclaration no longer sets the -webkit prefixed property automatically"
href="https://bugs.webkit.org/show_bug.cgi?id=159791">159791</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>setting a property on CSSStyleDeclaration no longer sets the -webkit prefixed property automatically
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari Technology Preview
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</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>erwin.mombay@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>When you have webkit prefixed css animations, you could previously overwrite it through `element.style.animation = 'none'`
and `element.style.webkitAnimation` would be set automatically. In Safari Technology preview it only sets the un-prefixed style
which causes the example below to never be visible. I'm guessing this is because <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Implement CSS parsing for CSS animations unprefixed."
href="show_bug.cgi?id=104803">https://bugs.webkit.org/show_bug.cgi?id=104803</a>
has not been implemented yet and work is in progress.
example:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style>
body {
-webkit-animation: -start 100s steps(1,end) 0s 1 normal both;
animation: -start 100s steps(1,end) 0s 1 normal both;
}
@-webkit-keyframes -start {
from {visibility:hidden} to {visibility:visible}
}
@keyframes -start {
from {visibility:hidden} to {visibility:visible}
}
</style>
</head>
<body>
hello world
<script>
document.body.style.opacity = 1;
document.body.style.visibility = 'visible';
document.body.style.animation = 'none';
</script>
</body>
</html></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>