- From: 張俊芝 via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 May 2024 10:12:33 +0000
- To: public-css-archive@w3.org
Zhang-Junzhi has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-will-change] new property will-change-to ==
I would like to suggest a new property `will-change-to`, it's just a `will-change` with specific values to be changed to.
This is useful for some cases, for example, for preloading background images in an elegant pure CSS way:
```
html
{
background-image: url(a);
will-change-to: background-image, url(b);
}
```
This is just a simple example, and I have no idea of a specific format for multiple property support.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10330 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 14 May 2024 10:12:34 UTC