mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
Addresses review on #2266: the gradient-text exclusion was too broad — any background-clip:text skipped the invisible-text check, so a broken/missing gradient (clip:text with no image and a transparent background, which paints nothing) went unreported. Now exclude only when a real background fills the glyphs (background-image != none, or an opaque background-color). Expands the test suite to the reviewer's full case set: direct transparent fill, inherited transparent fill over an opaque child color, color:transparent fallback, opaque baseline, gradient-over-real-background exclusion, broken-gradient still flagged, and empty-text no-op.