25 lines
441 B
HTML
25 lines
441 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
@-webkit-keyframes anim {
|
|
from { color: green; }
|
|
to { color: red; }
|
|
/* Missing closing brace */
|
|
</style>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
function load()
|
|
{
|
|
rule = document.styleSheets[0].cssRules[0];
|
|
if (!rule || !rule.cssRules || rule.cssRules.length !== 2)
|
|
return;
|
|
document.body.textContent = "PASS";
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="load()">FAIL</body>
|
|
</html>
|