491aa66920
Problem: Hover sync not working after migration to hyperscript Root cause: Hyperscript 'call' command requires functions in global JavaScript scope - Hyperscript def functions are NOT automatically exposed to window - Templates use _="on mouseenter call syncPdfHover(true)" - This syntax expects a JavaScript function Solution: Thin JavaScript wrappers that delegate to hyperscript implementations - Wrappers use _hyperscript.evaluate() API to call hyperscript defs - Functions exposed to window.* for global access - Implementation stays in hyperscript, wrappers just bridge the gap Affected functions: - toggleCVLength, toggleIcons, toggleTheme (toggles._hs) - syncPdfHover, syncPrintHover, highlightZoomControl (hover-sync._hs) Why test didn't catch this: - Test 8 dispatches events programmatically in JavaScript - This triggers hyperscript handlers directly - Real browser hover calls JavaScript functions which were missing