- From: Rune Lillesveen via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Feb 2024 08:25:28 +0000
- To: public-css-archive@w3.org
> > I think state pseudo classes would be better. > > Is there already a state pseudo-class which activates if the resource associated with the element is fully loaded? No, I was referring to issue #7467 that @bramus mentioned. > I'm also not sure how to reason about the load state for images because you have animated images (GIFs) and progressively loaded images where the content is still streaming in but you do want to start fading in sooner than full load. I don't know, but the that's a relevant discussion both for a pseudo class and for baking that behavior into `@starting-style`. I just don't think baking it into `@starting-style` is the right approach. One thing is that it now cleanly relates to before/after-change style and whether the previous style change event. Another thing is that you might want to do a `@starting-style` animation of e.g. the position of an image while it loads, independently from the fading-in effect. -- GitHub Notification of comment by lilles Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9967#issuecomment-1947947635 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 February 2024 08:25:30 UTC