caniuse-shortcode
caniuse-shortcode copied to clipboard
Wrong data shown for writing-mode
I noticed that the data for writing-mode is not shown correctly:
https://tympanus.net/codrops/css_reference/writing-mode/ (bottom of the page)
The version number for Chrome and Safari are wrong and seems to "stop" at the "unknown" value.
Seems like the parsing of the JSON is somehow not correct...
Thanks in advance!
@crnacura can you test against the branch I just pushed?
It does show the first version that's supports it now, but with a prefix.
It should show the first version that supports it unprefixed though, i.e. Chrome 48: http://caniuse.com/#search=writing-mode. Btw, this seems to be a problem for all properties that were first supported with a prefix, e.g.: https://tympanus.net/codrops/css_reference/border-radius/
Thanks!
that's what I was afraid of. Seems I've not been parsing the data correctly. I'll need to change how I do it.
Let me know whenever I can help with testing. Thanks!
@crnacura take another peek at that branch. I totally refactored how the data is constructed and verification checks are done
@norcross Looks good! https://tympanus.net/codrops/css_reference/writing-mode/ Thanks a lot, really appreciate it!
awesome. can you check a few others to confirm?
These ones look good (no prefixed version): https://tympanus.net/codrops/css_reference/border-radius/ https://tympanus.net/codrops/css_reference/animation/ https://tympanus.net/codrops/css_reference/box-sizing/
This one looks good, too (Safari, prefixed version): https://tympanus.net/codrops/css_reference/background-blend-mode/ http://caniuse.com/#feat=css-backgroundblendmode
But this one does not seem right: https://tympanus.net/codrops/css_reference/mask-repeat/ See the Can I Use one here: http://caniuse.com/#feat=css-masks It's a special case where there is only partial support with a prefix (for Chrome).
thanks. I'll check that one out in particular.
ok. think I've got them all covered now. I'm merging the branch and updating the version number now.
Thanks again for fixing this. I just noticed that a partially supported property (IE) is shown as "no support": https://tympanus.net/codrops/css_reference/custom-properties/
http://caniuse.com/#feat=css-variables
Do you think it has to do with the same problem? Thanks
perhaps but I'd need to see.