serenity icon indicating copy to clipboard operation
serenity copied to clipboard

Ladybird: Page Crashes Due to Unresolved CSS Variables in @keyframes Rule

Open abdelfetah18 opened this issue 1 year ago • 1 comments

When attempting to visit https://www.instagram.com/abdelfetah1337, the page crashes.

After some investigation, I've simplified the problem to the following code snippet:

<style>
    :root {
        --accent: #00f;
    }

    @keyframes myMove {
        0% {
            border-top: 2px solid var(--accent);
        }
    }

    div {
        animation: myMove 1s infinite;
    }
</style>
<div>hello world</div>

abdelfetah18 avatar Mar 16 '24 17:03 abdelfetah18

cc @mattco98 @kalenikaliaksandr

AtkinsSJ avatar Mar 16 '24 19:03 AtkinsSJ