Re: [csswg-drafts] [css-nesting-1] Can we relax the syntax further? (#7961)

> Yeah, that's unfortunate but I could ping the httparchive guys to measure how many custom property declarations actually have curly braces in them, I suspect it's going to be a negligible amount.

@LeaVerou reached out to me about this analysis. I found braces in 25,804 custom property values on 2,128 sites (0.01%) in the October HTTP Archive dataset of 15.6 million sites. I'll leave it up to all of you to decide how valid/correct this usage is in a few examples:

https://gocmod.com/xingtu-viet-hoa-vip/
```
--fonts:  {"font-family":"Roboto","font-options":"","google":"1"}
```

https://www.familysearch.org/
```
--fs-mixin-overflow-ellipsis: {"white-space":"(nowrap)","overflow":"(hidden)","text-overflow":"(ellipsis)"}
```

https://www.wheeloffortune.com/watch
```
--vh: ${vh}px
```

https://www.bitrix24.net/
```
--ui-btn-clock-white: url("data:image/svg+xml;charset=utf-8,%3Csvg width='19' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E@keyframes arrow-loader{0%25{transform:rotate(0deg)}to{transform:rotate(360deg)}}%3C/style%3E%3Cg style='animation:arrow-loader 1s infinite linear;transform-origin:center' stroke='%23fff'%3E%3Cpath fill='none' d='M.5 9.475a8.976 8.976 0 0117.95 0 8.976 8.976 0 01-17.95 0z'/%3E%3Cpath d='M9.5 4v5.5'/%3E%3C/g%3E%3Cpath stroke='%23fff' fill='transparent' d='M15 9.5H9.5'/%3E%3C/svg%3E")
```

Let me know if this was helpful or if there's any other follow-up analysis you need.

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


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

Received on Friday, 28 October 2022 13:13:12 UTC