3 ms·
However, if you do stumble on some tests for basic things like the box model, I'd love to know where they are! Its not really a test suite, but back in the ear
by onion2k 5y ago
However, if you do stumble on some tests for basic things like the box model, I'd love to know where they are!
Its not really a test suite, but back in the early days of CSS we had https://en.m.wikipedia.org/wiki/Acid2 https://en.m.wikipedia.org/wiki/Acid2 It'd be easy to write a set of tests based on Acid2.
There's also https://en.m.wikipedia.org/wiki/Acid3 https://en.m.wikipedia.org/wiki/Acid3 but that doesn't quite test things 'properly'.
- andrewmcwatters 5y agoYes, I fondly remember the Acid tests. Unfortunately, they aren’t very useful for implementors as they don’t cover the entire breadth of the specifications in isolation. In addition the specs have changed somewhat so now CSS 2.1 and the modules that existed at that point in time have matured beyond what the tests were written for, so a browser matching the spec today would fail. They were very fun for end users to see whether or not a browser was in compliance, though!
- exikyut 5y agoI wonder if the path of least resistance would be to slowly convince the people that like writing Acid* tests to take things up a notch and rearchitect the next version(s) so that success is a measurement of collective+isolated implementational correctness. Such an effort would probably involve a higher level of ongoing support from the vendor side of the fence (in terms of motivation and iterative discussion etc), but relative to other options might be, as I said, the path of least resistance. </armchair_idea>