Reftests now fall back to pixel comparison when layout-tree text comparison fails. Both test and reference HTML are rasterized to 800x600 pixel buffers and compared per-pixel with a channel tolerance of 2. This handles the common WPT pattern where tests use different CSS techniques (borders vs backgrounds) to achieve the same visual result. Test execution is parallelized using std::thread::scope with progress reporting every 100 tests. Suite runs in ~11 seconds across all 2,914 tests. Also fixes missing CDATA stripping in extract_stylesheet_sources() used by the Pipeline code path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5.1 KiB
5.1 KiB