pub fn parse_web_safe_area_css(
top: &str,
right: &str,
bottom: &str,
left: &str,
) -> SafeAreaInsetsExpand description
Parses four browser CSS env(safe-area-inset-*) computed strings into SafeAreaInsets, returning strictly 0.0 for any edge without a real inset.
§Arguments
&str- Computed top safe-area inset CSS string.&str- Computed right safe-area inset CSS string.&str- Computed bottom safe-area inset CSS string.&str- Computed left safe-area inset CSS string.
§Returns
SafeAreaInsets- Sanitized browser safe-area insets.