- From: Ryan Reno via GitHub <sysbot+gh@w3.org>
- Date: Fri, 24 Feb 2023 23:01:36 +0000
- To: public-css-archive@w3.org
I'm learning now while trying to write a test that omitting unsupported types leads to non-round-trippable serializations if the set ends up empty.
```CSS
image-set("img.png" type("image/unsupported"))
```
would serialize to (something like) `image-set()` which is not a valid image-set, even though it was valid as written.
Since type isn't supposed to determine the validity of the `image-set` itself maybe it's best to serialize as-written (so option one above).
--
GitHub Notification of comment by rreno
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8495#issuecomment-1444627402 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 24 February 2023 23:01:38 UTC