mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
The layout-audit test mock returns computed styles as plain camelCase properties (no getPropertyValue), so the invisible-text detector threw 'cs.getPropertyValue is not a function' and broke the whole audit in CI. Read webkitTextFillColor/webkitBackgroundClip/backgroundClip by property to match the rest of the script (works in a real browser too). Adds tests: flags transparent -webkit-text-fill-color, ignores opaque color, ignores gradient text (background-clip:text).