Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /web-animations/crashtests/get-keyframe-fontsize-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html id="root">
<style>
#root {
transition: all 5s ease;
}
#root.override {
font-size: 5rem;
}
</style>
<p>This test succeeds if the transition keyframes can be retrieved without a crash</p>
<script>
// Transition will not run if document is not loaded
window.onload = () => {
document.getElementById("root").className = "override";
document.getAnimations()[0].effect.getKeyframes();
};
</script>
</html>