⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module integration

Module integration 

Source
Expand description

Browser Integration

End-to-end convenience functions and conformance tests that exercise the full pipeline: HTML tokenization, DOM construction, CSS parsing, style resolution, layout computation, and pixel painting.

Functions§

count_layout_boxes
Count layout boxes in the tree
count_unique_colors
Count the number of unique colors in a pixel region
find_layout_box_by_tag
Find a layout box with a specific tag (for test inspection)
parse_html
Parse HTML and return the Document for inspection
region_contains_color
Check if a pixel region contains a specific color
region_is_solid_color
Check if a pixel region is entirely one color
render_html
Render an HTML string to a pixel buffer
render_html_with_css
Render HTML with an external CSS string to a pixel buffer
render_to_display_list
Render HTML and return (layout, display_list) for inspection
render_to_layout
Render HTML and return the layout tree (for inspection)