CSS3 TestsPublished 12 years, 3 months past
Over the past couple of months, I’ve been hacking together some CSS3 tests. I did this to try to figure out what should be included in the upcoming fourth edition of the CSS Pocket Reference (and thereafter CSS: The Definitive Guide) and didn’t plan to do anything public with them, but at this point, I figure what the heck. Maybe they’ll be of interest to others.
I was especially interested by the results for list-style-type, where I found some small spots of support for various types in various browsers. In contrast, WebKit supports most of the CSS3 types, so far as I can tell, though in my install several types were apparently mangled by a lack of appropriate fonts.
If you dig in, you’ll discover that the individual tests are all poured through some PHP. The reason for this is that the base test pages (which are straight HTML; see for example the list-style-type base) include neither navigation links nor vendor prefixes. That’s what the PHP handles. It’s a bit clumsy, URL-wise, and that’s why the index page of the tests warns that the tests’ URLs could change in the future. Not the index page: that will remain cool for as long as I have anything to say about it. I just can’t swear off tinkering with the URLs of the tests for the time being. It’s entirely possible that at some point in the future I’ll ice them down, but no guarantees.
I’m tossing these into the public sphere for three reasons. The first is that they might be useful to other people, and I’m always in favor of sharing stuff that might be useful. The second is that I may have committed grievous errors of fact, and many eyes make errors obvious. If you find an error, please let me know. I prefer that such reports be left as comments here since it lets many eyes evaluate the error reports too, but I’ll accept private mail as well.
The third is that it represents another turn of the wheel. I started my CSS career building tests to see what browsers got right and wrong, and every so often I come back to that same fundamental act. The other times I’ve done so, I’ve published what resulted. This time, I’m publishing a little earlier and little more in the raw, so to speak, but it’s still the same impulse—and by now, it’s Tradition.
So I hope you enjoy, or at least find useful, these tests and whatever other tests get built in the future!