ladybird/Tests/LibWeb/Crash/CSS/transitioned-custom-property.html

18 lines
351 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<style>
#foo {
--bar: 10px;
transition: --bar 1s linear;
}
</style>
<div id="foo"></div>
<script>
requestAnimationFrame(() => {
requestAnimationFrame(() => {
foo.style = "--bar: 100px";
});
});
</script>
</html>