code wiki / (root) / nx_browser_render_own_test.nx

nx_browser_render_own_test.nx

buildroot/runtime/nx_browser_render_own_test.nx

7923 B191 linesdepth 5pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic browser
docsdependenciesstructsconstsfunctions

about

nx_browser_render_own_test.nx -- Phase-5 render row: take the HTML the browser fetched from OUR OWN site over sovereign HTTPS (/tmp/nishi_own.html, produced by nx_browser_own_site_live_test) and prove the render pipeline on it: 1. nx_html_to_text extracts readable text -> must contain "Nishi Family" (the real h1) and be non-trivial 2. the extracted text paints into an RGBA framebuffer via the 5x7 bitmap font -> framebuffer must be NON-BLANK 3. ASCII raster saved to /tmp/nishi_own_render.txt (visible proof) HONEST SCOPE: this renders the page's TEXT through the paint substrate. Full CSS-cascade layout of arbitrary real-world pages (style blocks, viewport meta) is the NEXT rung -- flagged, not claimed. Compose-by-file with the fetch test keeps each gate row single-responsibility. expect_exit: 0 license_tier: ORIGINAL

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_html_to_text.nx nx_css_color_decode.nx nx_paint_solid_rect.nx nx_paint_text.nx nx_paint_fb_ascii_dump.nx nx_gate_verdict.nx nx_browser_render_own_test.nx

imports: nx_syscalls.nxnx_html_to_text.nxnx_css_color_decode.nxnx_paint_solid_rect.nxnx_paint_text.nxnx_paint_fb_ascii_dump.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap ↻ nx_html_to_text nx_html_to_text_x h2t_state_new sys_mmap ↻ sys_mmap ↻ h2t_scan_tag h2t_skip_to_gt h2t_scan_name h2t_is_name h2t_is_block_tag h2t_name_eq_lit

structs

none

consts

none

functions

30func ro_contains(hay: *u8, hay_len: i64, needle: *u8) -> i64
called by 1: main
48func main(argc: i64, argv: *i64) -> i64