mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* fix(core): keep a later scene's id-selected !important layer hidden before it starts
The hidden-clip contents rule (`[data-hf-clip-hidden][data-hf-clip-hidden] *`)
weighs two attribute selectors. A sub-composition's own
`#id { visibility: visible !important }` is rescoped under its composition
root, so it weighs an id plus an attribute and won the !important tie. The
element then painted from frame 0, over every earlier scene, in a render.
The rule now also ships inside a cascade layer. A layered !important outranks
every unlayered !important whatever its specificity. The unlayered copy stays
for engines that order layered !important the other way (jsdom).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(producer): move the hidden-clip cascade check into its own browser test file
The flake gate re-runs every changed test file under CPU contention with a
120 s cap per run, and the whole browser contract file does not fit in it.
The two cases now live in a small integration file the gate can re-run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>