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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user