/** * Puppeteer-backed fixture tests for browser-only detection rules. * * Some detection rules (cramped-padding, line-length, tight-leading, * skipped-heading, justified-text, tiny-text, all-caps-body, wide-tracking, * small-target) need real browser layout — they read getBoundingClientRect * and getComputedStyle results that jsdom can't compute. Those rules can't * be tested with the jsdom suite in detect-antipatterns-fixtures.test.mjs. * * This file uses detectUrl() (Puppeteer) to load fixtures in headless Chrome * via a temporary static HTTP server, so the fixtures can use absolute *