Re: [csswg-drafts] [selectors-4] Add pseudo-class to differentiate loading from dynamically added content (#8175)

@flackr if it's _only_ animations we're dealing with, perhaps we might instead consider a new sort of a value `animation-play-state`  that defines a "delayed" state of `paused` until a specified trigger? Something like `delayed(loaded)`?

So a delayed animation could look like:

```css
.element {
  animation: entry 200ms delayed(loaded);
}
```

And the `delayed()` part will compute to `paused` until that trigger was reached, and from that point it will compute to `running`.

-- 
GitHub Notification of comment by ydaniv
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8175#issuecomment-1384974470 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 17 January 2023 07:53:53 UTC