Skip to main content

inline_styles

Function inline_styles 

Source
pub fn inline_styles(node: &Node) -> Node
Expand description

Walk a Node tree and ensure all styles are properly inlined.

This is largely a pass-through since Ferrum’s component system already produces inline styles via the Style struct. This function handles edge cases like merging inherited styles and normalizing the output.