code wiki / css

topic: css

22 modules sharing the css name family (derived from the tree's prefix discipline).

The 'css' topic family in the Nishi sovereign ecosystem implements the cascading style sheet system, enabling styling of elements through a structured, modular approach. Modules like `nx_css_cascade_test` handle the computation of styles from HTML and user agents, while `nx_css_boxmap_test` maps these styles onto layout boxes, ensuring visual consistency. `nx_css_boxmodel_gate` provides a proof of the box model's height-axis calculations, validating padding and margin behavior. Together, these modules form a cohesive system for rendering styled content within the Nishi browser.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_css_apply.nxCSS cascade for the Nishi browser. Phase 21813
nx_css_apply_test.nxsmoke for the Phase-2 cascade primitive.2103
nx_css_boxmap_test.nxstyling rung 3: map the cascade onto LAYOUT BOXES. nx_layout_block looks up1547
nx_css_boxmodel_gate.nxPROOF (re-runnable) of the S21 height-axis rung: `padding`/`margin`1439
nx_css_cascade_test.nxstyling rung 2: HTML + a UA stylesheet -> per-element COMPUTED styles.1366
nx_css_color_decode.nxdecode a CSS HEXCOLOR byte range into2919
nx_css_color_decode_test.nxsmoke for CSS hex color decoder.912
nx_css_dimension_to_px.nxconvert a CSS dimension (NUMBER body1644
nx_css_dimension_to_px_test.nxsmoke for dimension -> px.972
nx_css_extract_test.nxstyling rung 1: extract a CssElement[] (tag/id/class per element, in1117
nx_css_fontsize_frac_gate.nxPROOF (re-runnable) of the S21 F1 root-cause fix: a FRACTIONAL CSS857
nx_css_number_parse.nxdecode a CSS NUMBER token body into a1111
nx_css_number_parse_test.nxsmoke for CSS number -> thousandths.973
nx_css_parse.nxCSS parser for the Nishi browser. Phase 2 (CSS4597
nx_css_parse_test.nxsmoke for the CSS parser Phase-2 second1313
nx_css_selector_match.nxmatch a parsed CssRule selector against1655
nx_css_selector_match_test.nxsmoke for the Phase-2 selector1253
nx_css_tokenize.nxCSS tokenizer for the Nishi browser.49913
nx_css_tokenize_test.nxsmoke for the CSS tokenizer Phase-2 seed.1883
nx_css_vars.nxCSS custom-property (var()) resolution for the SOVEREIGN render engine, so Nishi Browser24213
nx_css_vars_engine_gate.nxproves the NATIVE render engine (the exact rh_filter_media + _rh_to_fb the1165
nx_css_vars_gate.nxKATs for CSS custom-property (var()) resolution (nx_css_vars). Proves Nishi Browser's1356