;; web/console-render.sx — render a live DOM element tree to terminal text. ;; ;; The SX hypermedia engine builds the SAME element tree whatever the platform: a ;; browser PAINTS that tree, the test harness ASSERTS it, and this PRINTS it. Three ;; bindings of one tree — the proof that the engine is a general runtime, not a ;; browser library (Phase 3 of plans/sx-native-engine-tests.md). ;; ;; It reads the tree through the engine's own dom-* accessors, so it renders ;; whatever the engine produced — e.g. the ~relate-picker after a load/filter/paging ;; swap: the results