nx_layout_example_com_real_test.nx
buildroot/runtime/nx_layout_example_com_real_test.nx
about
nx_layout_example_com_real_test.nx -- lay out the REAL example.com
HTML page (528 bytes) fetched through bits-up TLS 1.3 + cert chain
+ chunked-transfer dechunk.
Reads /tmp/example_com.html (dropped by nx_https_get_live_real_ca),
streams it through nx_layout_from_dom, and reports the resulting
LayoutBox tree shape: count, max depth, presence of canonical
nodes (html/head/body/h1/p/a). Does NOT yet compute geometry --
the goal here is to prove the substrate's HTML→DOM→layout-tree
path consumes a real-world page without segfaulting or stalling.
expect_exit: 0.
license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_layout_box.nxnx_layout_from_dom.nxnx_layout_block.nxnx_css_apply.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 21 | func dump_dec(l0: i64, l1: i64, v: i64) -> i64 |
| 46 | func max_depth(tree: *LayoutTree, idx: i64, d: i64) -> i64 |
| 60 | func main() -> i64 |