browser_oxide 0.1.3

Stealth headless browser engine in Rust: real HTML/CSS/DOM/JS, V8 via deno_core, own BoringSSL TLS/JA4 fingerprint, no Chromium, no CDP — for anti-bot web scraping, archival, and AI agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::css_values::property::PropertyId;

/// Returns whether a CSS property inherits by default.
pub fn is_inherited(property: &PropertyId) -> bool {
    matches!(
        property,
        PropertyId::Color
            | PropertyId::FontSize
            | PropertyId::FontFamily
            | PropertyId::FontWeight
            | PropertyId::FontStyle
            | PropertyId::LineHeight
            | PropertyId::TextAlign
            | PropertyId::WhiteSpace
            | PropertyId::Visibility
            | PropertyId::Custom(_)
    )
}