3 ms·
I'm curious: is there a ready-to-use set of tests for a layout engine that checks conformance with the specs? Something that you could, without much effort, run
by anatoly 10y ago
I'm curious: is there a ready-to-use set of tests for a layout engine that checks conformance with the specs? Something that you could, without much effort, run against a toy layout engine you'd write?
I know Webkit/Blink have humongous test suites, but these probably aren't easy to adapt to a toy layout engine.
- chiefofgxbxl 10y agoThere's something like Acid3, but it doesn't give you information as to what failed when you get a less-than-perfect score. (Test: http://acid3.acidtests.org/ http://acid3.acidtests.org/ | Information: http://www.webstandards.org/action/acid3/ http://www.webstandards.org/action/acid3/) There are also all those other browser benchmarks (e.g. http://peacekeeper.futuremark.com/ http://peacekeeper.futuremark.com/), but those include things other than the layout engine, such as javascript performance, webGL, etc. You could try poking around a few of them and only looking at the CSS and DOM sections though (http://web.basemark.com/ http://web.basemark.com/).
- zokier 10y agoW3C Web Platform Tests probably would be best starting point. http://testthewebforward.org/ http://testthewebforward.org/