24 lines
492 B
HTML
24 lines
492 B
HTML
<html>
|
|
<head>
|
|
<script language="javascript">
|
|
function runTest()
|
|
{
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
rule = document.styleSheets[0].cssRules[0];
|
|
if (rule[0].parentRule == rule)
|
|
document.body.innerHTML = "SUCCESS";
|
|
}
|
|
</script>
|
|
<style type="text/css">
|
|
@-webkit-keyframes anim {
|
|
from {
|
|
color: green;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body onload="runTest()">FAILURE</body>
|
|
</html>
|