HS: show command handles dialogs/details — dialog 10/10 complete, 435→437

- show compiler: emit hs-show! runtime call instead of direct dom-set-style
- hs-show! runtime: dialog → showModal(), details → open=true, else display/opacity/visibility
- dialog category fully passing (was 1/10)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 11:19:08 +00:00
parent fb93aaaa8c
commit 75f1c04559
2 changed files with 15 additions and 6 deletions

View File

@@ -936,12 +936,7 @@
(let
((tgt (hs-to-sx (nth ast 1)))
(strategy (if (> (len ast) 2) (nth ast 2) "display")))
(cond
((= strategy "opacity")
(list (quote dom-set-style) tgt "opacity" "1"))
((= strategy "visibility")
(list (quote dom-set-style) tgt "visibility" "visible"))
(true (list (quote dom-set-style) tgt "display" "")))))
(list (quote hs-show!) tgt strategy)))
((= head (quote transition)) (emit-transition ast))
((= head (quote transition-from))
(let