Skip to main content

supports_condition_matches

Function supports_condition_matches 

Source
pub fn supports_condition_matches(cond: &str) -> bool
Expand description

@supports <condition> の真偽を判定する。not/and/or の論理結合は 実際に評価するが、葉の (property: value)/selector(...) 自体は 「このエンジンが構文解析できる宣言は常に対応している」扱いとする簡略方針 (media_query_matches の「未知のクエリは通過」方針と対になる設計)。