ireade / caniuse-embed

📊 Embed realtime data from caniuse.com
https://caniuse.bitsofco.de
329 stars 21 forks source link

CSS aspect-ratio support not showing correctly? #25

Open impressivewebs opened 3 years ago

impressivewebs commented 3 years ago

I'm not sure if this is something I'm doing wrong, but I'm using your embed on my CSS reference (Love it BTW, thanks for building this!) and when I just added the new aspect-ratio property that's also included in MDN's docs, it doesn't seem to display the correct browser support data.

You can see the direct code for my embed here:

https://cssvalues.com/includes/embed.php?feat=mdn-css__properties__aspect-ratio&periods=future_1,current,past_1,past_2&accessible-colours=false&image-base=none

Or just type "aspect-ratio" on the main site and load up the browser support using the button.

When I compare that to what's on MDN or even what's in the JSON file that MDN's is sourced from, it seems to be different.

Is there something I'm doing wrong in my code? Or does aspect-ratio need to be added to your tool's API before it will show correctly?

Thanks for any help with this!