code wiki / _hdl_build / nx_browser_bg_gate.nx

nx_browser_bg_gate.nx

buildroot/runtime/_hdl_build/nx_browser_bg_gate.nx

20051 B271 linesdepth 9pulls 29 transitivereach 0 importersview sourcekind gate/prooftopic browser
docsdependenciesstructsconstsfunctions

about

nx_browser_bg_gate.nx -- proves the Nishi Browser box painter fills element backgrounds given as rgb() (and the fleet var(--token) that resolves to rgb()), through the REAL browser render path (br_layout + br_draw_fb). ROOT CAUSE this locks: br_comp_bg's `background` SHORTHAND branch was hex-only, so the office chrome (buttons/.fico badges use `background:var(--acc)` -> `background:rgb(...)`) painted NOTHING natively -- the live office rendered monochrome in our own browser while Waterfox was fine. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_browser_render.nx nx_browser_bg_gate.nx

imports: nx_browser_render.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

8func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
9func bg_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: bg_yspan
14func bg_xspan_at(html: *u8, hlen: i64, render_w: i64) -> i64
51func bg_accent(html: *u8) -> i64 { return bg_accent_n(html, bg_slen(html)) }
53func bg_accent_n(html: *u8, hlen: i64) -> i64
90func bg_yspan(html: *u8) -> i64
128func bg_ck(name: *u8, cond: i64, cnt: i64, pass: *i64, fail: *i64) -> i64
144func main() -> i64