Re: [csswg-drafts] [css-color-5] Allow use of 0 with <percentage> color components (#7338)

> With the total set of 2,390,213 pages, that's 0.319% of all pages. This is still a relatively high number of pages

By my count there are 7,909,918 pages in the dataset so the 7,625 that use mixed types is more like 0.1%.

> It would also be interesting to know whether websites based on those frameworks actually use those rules, i.e. are affected by the spec. change.

We can answer questions like these if there's a corresponding usage counter implemented in Chrome, for example the one for [`accent-color`](https://chromestatus.com/metrics/css/timeline/popularity/695). However, given that we're measuring special cases of property values rather than usage of the properties themselves, I'm not sure if use counters are the right tool.

It's technically feasible to get the computed style of all elements at runtime in HTTP Archive, but I'm not sure if we want to go down that road either 😅 

>Btw. are those 7,625 pages distinct websites or are different pages of the same website counted individually? (Sorry if that should be obvious!

In this case we're only looking at websites' home pages. As of recently we're also starting to crawl one level deeper beyond home pages, but those secondary pages aren't included in this analysis.

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


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

Received on Wednesday, 20 July 2022 20:30:40 UTC