Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.1

0.6.1 / src / web / generated / property_id.lucb

#==============================================================================================
#
#   property_id - the CSS properties: initial values, accepted types and ranges
#
#   DESCRIPTION:
#       Generated by tools/gen_css_values from data/css/Properties.json, Enums.json and
#       LogicalPropertyGroups.json; do not edit. The C++ it stands for, at Ladybird 47c82b38d0, is
#       the value-dependent part of Build/Libraries/LibWeb/CSS/PropertyID.cpp, written by
#       Meta/Generators/generate_libweb_css_property_id.py; the rest of that file is css_data's.
#
#       property_initial_value's static array of parsed values lives as long as the program: the
#       values are made in the C heap, their strings included (the atomic allocator view is cleared
#       while they are parsed), so that the collector neither frees nor scans them.
#
#       Copyright (c) 2018-2020, Andreas Kling <andreas@ladybird.org>
#       Copyright (c) 2021-2026, Sam Atkins <sam@ladybird.org>
#       Copyright (c) 2026-present, the Ladybird developers.
#       Copyright (c) 2026 the luce-browser authors.
#       SPDX-License-Identifier: BSD-2-Clause (see data/css/LICENSE)
#
#==============================================================================================

# mark: property_initial_value ==================================================================

# The `static Array<RefPtr<StyleValue const>, to_underlying(last_property_id) + 1> initial_values` of
# property_initial_value.
var css_property_initial_values: (CssStyleValue*?)[386]

## One case of property_initial_value: `parse_css_value(parsing_params, text, property_id)`, which must
## succeed, kept in the static array. Everything the parse allocates is made in the C heap.
func css_parse_property_initial_value(property_id: css_data.PropertyId, text: str) -> CssStyleValue*:
    let saved_atomic_allocator = ak.atomic_allocator
    ak.atomic_allocator = none
    defer ak.atomic_allocator = saved_atomic_allocator
    with memory.heap:
        var parsing_params: CssParsingParams = ---
        css_parsing_params_construct_css_parsing_mode(&parsing_params)
        let parsed_value = parse_css_value(parsing_params, ak.sv(text), property_id)
        let initial_value = parsed_value else trap("VERIFY: !parsed_value.is_null()")
        css_property_initial_values[(usize)property_id] = initial_value
        return initial_value

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_initial_value.
pub func css_property_initial_value(property_id: css_data.PropertyId) -> CssStyleValue*:
    if let initial_value = css_property_initial_values[(usize)property_id]:
        return initial_value

    # Lazily parse initial values as needed.
    # This ensures the shorthands will always be able to get the initial values of their longhands.
    # This also now allows a longhand have its own longhand (like background-position-x).

    match property_id:
        .webkit_text_fill_color:
            return css_parse_property_initial_value(css_data.PropertyId.webkit_text_fill_color, "currentColor")
        .accent_color:
            return css_parse_property_initial_value(css_data.PropertyId.accent_color, "auto")
        .align_content:
            return css_parse_property_initial_value(css_data.PropertyId.align_content, "normal")
        .align_items:
            return css_parse_property_initial_value(css_data.PropertyId.align_items, "normal")
        .align_self:
            return css_parse_property_initial_value(css_data.PropertyId.align_self, "auto")
        .all:
            return css_parse_property_initial_value(css_data.PropertyId.all, "initial")
        .anchor_name:
            return css_parse_property_initial_value(css_data.PropertyId.anchor_name, "none")
        .anchor_scope:
            return css_parse_property_initial_value(css_data.PropertyId.anchor_scope, "none")
        .animation:
            return css_parse_property_initial_value(css_data.PropertyId.animation, "none 0s ease 1 normal running 0s none")
        .animation_composition:
            return css_parse_property_initial_value(css_data.PropertyId.animation_composition, "replace")
        .animation_delay:
            return css_parse_property_initial_value(css_data.PropertyId.animation_delay, "0s")
        .animation_direction:
            return css_parse_property_initial_value(css_data.PropertyId.animation_direction, "normal")
        .animation_duration:
            return css_parse_property_initial_value(css_data.PropertyId.animation_duration, "0s")
        .animation_fill_mode:
            return css_parse_property_initial_value(css_data.PropertyId.animation_fill_mode, "none")
        .animation_iteration_count:
            return css_parse_property_initial_value(css_data.PropertyId.animation_iteration_count, "1")
        .animation_name:
            return css_parse_property_initial_value(css_data.PropertyId.animation_name, "none")
        .animation_play_state:
            return css_parse_property_initial_value(css_data.PropertyId.animation_play_state, "running")
        .animation_timeline:
            return css_parse_property_initial_value(css_data.PropertyId.animation_timeline, "auto")
        .animation_timing_function:
            return css_parse_property_initial_value(css_data.PropertyId.animation_timing_function, "ease")
        .appearance:
            return css_parse_property_initial_value(css_data.PropertyId.appearance, "none")
        .aspect_ratio:
            return css_parse_property_initial_value(css_data.PropertyId.aspect_ratio, "auto")
        .backdrop_filter:
            return css_parse_property_initial_value(css_data.PropertyId.backdrop_filter, "none")
        .background:
            return css_parse_property_initial_value(css_data.PropertyId.background, "transparent")
        .background_attachment:
            return css_parse_property_initial_value(css_data.PropertyId.background_attachment, "scroll")
        .background_blend_mode:
            return css_parse_property_initial_value(css_data.PropertyId.background_blend_mode, "normal")
        .background_clip:
            return css_parse_property_initial_value(css_data.PropertyId.background_clip, "border-box")
        .background_color:
            return css_parse_property_initial_value(css_data.PropertyId.background_color, "transparent")
        .background_image:
            return css_parse_property_initial_value(css_data.PropertyId.background_image, "none")
        .background_origin:
            return css_parse_property_initial_value(css_data.PropertyId.background_origin, "padding-box")
        .background_position:
            return css_parse_property_initial_value(css_data.PropertyId.background_position, "0% 0%")
        .background_position_x:
            return css_parse_property_initial_value(css_data.PropertyId.background_position_x, "0%")
        .background_position_y:
            return css_parse_property_initial_value(css_data.PropertyId.background_position_y, "0%")
        .background_repeat:
            return css_parse_property_initial_value(css_data.PropertyId.background_repeat, "repeat")
        .background_size:
            return css_parse_property_initial_value(css_data.PropertyId.background_size, "auto")
        .block_size:
            return css_parse_property_initial_value(css_data.PropertyId.block_size, "auto")
        .border:
            return css_parse_property_initial_value(css_data.PropertyId.border, "medium currentcolor none")
        .border_block:
            return css_parse_property_initial_value(css_data.PropertyId.border_block, "medium currentcolor none")
        .border_block_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_color, "currentcolor")
        .border_block_end:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_end, "medium currentcolor none")
        .border_block_end_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_end_color, "currentcolor")
        .border_block_end_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_end_style, "none")
        .border_block_end_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_end_width, "medium")
        .border_block_start:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_start, "medium currentcolor none")
        .border_block_start_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_start_color, "currentcolor")
        .border_block_start_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_start_style, "none")
        .border_block_start_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_start_width, "medium")
        .border_block_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_style, "none")
        .border_block_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_block_width, "medium")
        .border_bottom:
            return css_parse_property_initial_value(css_data.PropertyId.border_bottom, "medium currentcolor none")
        .border_bottom_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_bottom_color, "currentcolor")
        .border_bottom_left_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_bottom_left_radius, "0")
        .border_bottom_right_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_bottom_right_radius, "0")
        .border_bottom_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_bottom_style, "none")
        .border_bottom_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_bottom_width, "medium")
        .border_collapse:
            return css_parse_property_initial_value(css_data.PropertyId.border_collapse, "separate")
        .border_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_color, "currentcolor")
        .border_end_end_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_end_end_radius, "0")
        .border_end_start_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_end_start_radius, "0")
        .border_image:
            return css_parse_property_initial_value(css_data.PropertyId.border_image, "none 100% / 1 / 0 stretch")
        .border_image_outset:
            return css_parse_property_initial_value(css_data.PropertyId.border_image_outset, "0")
        .border_image_repeat:
            return css_parse_property_initial_value(css_data.PropertyId.border_image_repeat, "stretch")
        .border_image_slice:
            return css_parse_property_initial_value(css_data.PropertyId.border_image_slice, "100%")
        .border_image_source:
            return css_parse_property_initial_value(css_data.PropertyId.border_image_source, "none")
        .border_image_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_image_width, "1")
        .border_inline:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline, "medium currentcolor none")
        .border_inline_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_color, "currentcolor")
        .border_inline_end:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_end, "medium currentcolor none")
        .border_inline_end_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_end_color, "currentcolor")
        .border_inline_end_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_end_style, "none")
        .border_inline_end_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_end_width, "medium")
        .border_inline_start:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_start, "medium currentcolor none")
        .border_inline_start_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_start_color, "currentcolor")
        .border_inline_start_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_start_style, "none")
        .border_inline_start_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_start_width, "medium")
        .border_inline_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_style, "none")
        .border_inline_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_inline_width, "medium")
        .border_left:
            return css_parse_property_initial_value(css_data.PropertyId.border_left, "medium currentcolor none")
        .border_left_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_left_color, "currentcolor")
        .border_left_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_left_style, "none")
        .border_left_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_left_width, "medium")
        .border_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_radius, "0")
        .border_right:
            return css_parse_property_initial_value(css_data.PropertyId.border_right, "medium currentcolor none")
        .border_right_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_right_color, "currentcolor")
        .border_right_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_right_style, "none")
        .border_right_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_right_width, "medium")
        .border_spacing:
            return css_parse_property_initial_value(css_data.PropertyId.border_spacing, "0")
        .border_start_end_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_start_end_radius, "0")
        .border_start_start_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_start_start_radius, "0")
        .border_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_style, "none")
        .border_top:
            return css_parse_property_initial_value(css_data.PropertyId.border_top, "medium currentcolor none")
        .border_top_color:
            return css_parse_property_initial_value(css_data.PropertyId.border_top_color, "currentcolor")
        .border_top_left_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_top_left_radius, "0")
        .border_top_right_radius:
            return css_parse_property_initial_value(css_data.PropertyId.border_top_right_radius, "0")
        .border_top_style:
            return css_parse_property_initial_value(css_data.PropertyId.border_top_style, "none")
        .border_top_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_top_width, "medium")
        .border_width:
            return css_parse_property_initial_value(css_data.PropertyId.border_width, "medium")
        .bottom:
            return css_parse_property_initial_value(css_data.PropertyId.bottom, "auto")
        .box_shadow:
            return css_parse_property_initial_value(css_data.PropertyId.box_shadow, "none")
        .box_sizing:
            return css_parse_property_initial_value(css_data.PropertyId.box_sizing, "content-box")
        .caption_side:
            return css_parse_property_initial_value(css_data.PropertyId.caption_side, "top")
        .caret_color:
            return css_parse_property_initial_value(css_data.PropertyId.caret_color, "auto")
        .clear:
            return css_parse_property_initial_value(css_data.PropertyId.clear, "none")
        .clip:
            return css_parse_property_initial_value(css_data.PropertyId.clip, "auto")
        .clip_path:
            return css_parse_property_initial_value(css_data.PropertyId.clip_path, "none")
        .clip_rule:
            return css_parse_property_initial_value(css_data.PropertyId.clip_rule, "nonzero")
        .color:
            return css_parse_property_initial_value(css_data.PropertyId.color, "canvastext")
        .color_interpolation:
            return css_parse_property_initial_value(css_data.PropertyId.color_interpolation, "srgb")
        .color_scheme:
            return css_parse_property_initial_value(css_data.PropertyId.color_scheme, "normal")
        .column_count:
            return css_parse_property_initial_value(css_data.PropertyId.column_count, "auto")
        .column_gap:
            return css_parse_property_initial_value(css_data.PropertyId.column_gap, "normal")
        .column_height:
            return css_parse_property_initial_value(css_data.PropertyId.column_height, "auto")
        .column_span:
            return css_parse_property_initial_value(css_data.PropertyId.column_span, "none")
        .column_width:
            return css_parse_property_initial_value(css_data.PropertyId.column_width, "auto")
        .columns:
            return css_parse_property_initial_value(css_data.PropertyId.columns, "auto auto / auto")
        .contain:
            return css_parse_property_initial_value(css_data.PropertyId.contain, "none")
        .container_type:
            return css_parse_property_initial_value(css_data.PropertyId.container_type, "normal")
        .content:
            return css_parse_property_initial_value(css_data.PropertyId.content, "normal")
        .content_visibility:
            return css_parse_property_initial_value(css_data.PropertyId.content_visibility, "visible")
        .corner_block_end_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_block_end_shape, "round round")
        .corner_block_start_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_block_start_shape, "round round")
        .corner_bottom_left_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_bottom_left_shape, "round")
        .corner_bottom_right_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_bottom_right_shape, "round")
        .corner_bottom_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_bottom_shape, "round round")
        .corner_end_end_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_end_end_shape, "round")
        .corner_end_start_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_end_start_shape, "round")
        .corner_inline_end_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_inline_end_shape, "round round")
        .corner_inline_start_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_inline_start_shape, "round round")
        .corner_left_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_left_shape, "round round")
        .corner_right_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_right_shape, "round round")
        .corner_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_shape, "round round round round")
        .corner_start_end_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_start_end_shape, "round")
        .corner_start_start_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_start_start_shape, "round")
        .corner_top_left_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_top_left_shape, "round")
        .corner_top_right_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_top_right_shape, "round")
        .corner_top_shape:
            return css_parse_property_initial_value(css_data.PropertyId.corner_top_shape, "round round")
        .counter_increment:
            return css_parse_property_initial_value(css_data.PropertyId.counter_increment, "none")
        .counter_reset:
            return css_parse_property_initial_value(css_data.PropertyId.counter_reset, "none")
        .counter_set:
            return css_parse_property_initial_value(css_data.PropertyId.counter_set, "none")
        .cursor:
            return css_parse_property_initial_value(css_data.PropertyId.cursor, "auto")
        .cx:
            return css_parse_property_initial_value(css_data.PropertyId.cx, "0")
        .cy:
            return css_parse_property_initial_value(css_data.PropertyId.cy, "0")
        .direction:
            return css_parse_property_initial_value(css_data.PropertyId.direction, "ltr")
        .display:
            return css_parse_property_initial_value(css_data.PropertyId.display, "inline")
        .dominant_baseline:
            return css_parse_property_initial_value(css_data.PropertyId.dominant_baseline, "auto")
        .empty_cells:
            return css_parse_property_initial_value(css_data.PropertyId.empty_cells, "show")
        .fill:
            return css_parse_property_initial_value(css_data.PropertyId.fill, "black")
        .fill_opacity:
            return css_parse_property_initial_value(css_data.PropertyId.fill_opacity, "1")
        .fill_rule:
            return css_parse_property_initial_value(css_data.PropertyId.fill_rule, "nonzero")
        .filter:
            return css_parse_property_initial_value(css_data.PropertyId.filter, "none")
        .flex:
            return css_parse_property_initial_value(css_data.PropertyId.flex, "0 1 auto")
        .flex_basis:
            return css_parse_property_initial_value(css_data.PropertyId.flex_basis, "auto")
        .flex_direction:
            return css_parse_property_initial_value(css_data.PropertyId.flex_direction, "row")
        .flex_flow:
            return css_parse_property_initial_value(css_data.PropertyId.flex_flow, "row nowrap")
        .flex_grow:
            return css_parse_property_initial_value(css_data.PropertyId.flex_grow, "0")
        .flex_shrink:
            return css_parse_property_initial_value(css_data.PropertyId.flex_shrink, "1")
        .flex_wrap:
            return css_parse_property_initial_value(css_data.PropertyId.flex_wrap, "nowrap")
        .float:
            return css_parse_property_initial_value(css_data.PropertyId.float, "none")
        .flood_color:
            return css_parse_property_initial_value(css_data.PropertyId.flood_color, "black")
        .flood_opacity:
            return css_parse_property_initial_value(css_data.PropertyId.flood_opacity, "1")
        .font:
            return css_parse_property_initial_value(css_data.PropertyId.font, "normal medium serif")
        .font_family:
            return css_parse_property_initial_value(css_data.PropertyId.font_family, "serif")
        .font_feature_settings:
            return css_parse_property_initial_value(css_data.PropertyId.font_feature_settings, "normal")
        .font_kerning:
            return css_parse_property_initial_value(css_data.PropertyId.font_kerning, "auto")
        .font_language_override:
            return css_parse_property_initial_value(css_data.PropertyId.font_language_override, "normal")
        .font_optical_sizing:
            return css_parse_property_initial_value(css_data.PropertyId.font_optical_sizing, "auto")
        .font_size:
            return css_parse_property_initial_value(css_data.PropertyId.font_size, "medium")
        .font_style:
            return css_parse_property_initial_value(css_data.PropertyId.font_style, "normal")
        .font_variant:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant, "normal")
        .font_variant_alternates:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_alternates, "normal")
        .font_variant_caps:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_caps, "normal")
        .font_variant_east_asian:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_east_asian, "normal")
        .font_variant_emoji:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_emoji, "normal")
        .font_variant_ligatures:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_ligatures, "normal")
        .font_variant_numeric:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_numeric, "normal")
        .font_variant_position:
            return css_parse_property_initial_value(css_data.PropertyId.font_variant_position, "normal")
        .font_variation_settings:
            return css_parse_property_initial_value(css_data.PropertyId.font_variation_settings, "normal")
        .font_weight:
            return css_parse_property_initial_value(css_data.PropertyId.font_weight, "normal")
        .font_width:
            return css_parse_property_initial_value(css_data.PropertyId.font_width, "normal")
        .gap:
            return css_parse_property_initial_value(css_data.PropertyId.gap, "normal")
        .grid:
            return css_parse_property_initial_value(css_data.PropertyId.grid, "auto")
        .grid_area:
            return css_parse_property_initial_value(css_data.PropertyId.grid_area, "auto")
        .grid_auto_columns:
            return css_parse_property_initial_value(css_data.PropertyId.grid_auto_columns, "auto")
        .grid_auto_flow:
            return css_parse_property_initial_value(css_data.PropertyId.grid_auto_flow, "row")
        .grid_auto_rows:
            return css_parse_property_initial_value(css_data.PropertyId.grid_auto_rows, "auto")
        .grid_column:
            return css_parse_property_initial_value(css_data.PropertyId.grid_column, "auto")
        .grid_column_end:
            return css_parse_property_initial_value(css_data.PropertyId.grid_column_end, "auto")
        .grid_column_start:
            return css_parse_property_initial_value(css_data.PropertyId.grid_column_start, "auto")
        .grid_row:
            return css_parse_property_initial_value(css_data.PropertyId.grid_row, "auto")
        .grid_row_end:
            return css_parse_property_initial_value(css_data.PropertyId.grid_row_end, "auto")
        .grid_row_start:
            return css_parse_property_initial_value(css_data.PropertyId.grid_row_start, "auto")
        .grid_template:
            return css_parse_property_initial_value(css_data.PropertyId.grid_template, "auto")
        .grid_template_areas:
            return css_parse_property_initial_value(css_data.PropertyId.grid_template_areas, "none")
        .grid_template_columns:
            return css_parse_property_initial_value(css_data.PropertyId.grid_template_columns, "none")
        .grid_template_rows:
            return css_parse_property_initial_value(css_data.PropertyId.grid_template_rows, "none")
        .height:
            return css_parse_property_initial_value(css_data.PropertyId.height, "auto")
        .image_rendering:
            return css_parse_property_initial_value(css_data.PropertyId.image_rendering, "auto")
        .inline_size:
            return css_parse_property_initial_value(css_data.PropertyId.inline_size, "auto")
        .inset:
            return css_parse_property_initial_value(css_data.PropertyId.inset, "auto")
        .inset_block:
            return css_parse_property_initial_value(css_data.PropertyId.inset_block, "auto")
        .inset_block_end:
            return css_parse_property_initial_value(css_data.PropertyId.inset_block_end, "auto")
        .inset_block_start:
            return css_parse_property_initial_value(css_data.PropertyId.inset_block_start, "auto")
        .inset_inline:
            return css_parse_property_initial_value(css_data.PropertyId.inset_inline, "auto")
        .inset_inline_end:
            return css_parse_property_initial_value(css_data.PropertyId.inset_inline_end, "auto")
        .inset_inline_start:
            return css_parse_property_initial_value(css_data.PropertyId.inset_inline_start, "auto")
        .isolation:
            return css_parse_property_initial_value(css_data.PropertyId.isolation, "auto")
        .justify_content:
            return css_parse_property_initial_value(css_data.PropertyId.justify_content, "normal")
        .justify_items:
            return css_parse_property_initial_value(css_data.PropertyId.justify_items, "legacy")
        .justify_self:
            return css_parse_property_initial_value(css_data.PropertyId.justify_self, "auto")
        .left:
            return css_parse_property_initial_value(css_data.PropertyId.left, "auto")
        .letter_spacing:
            return css_parse_property_initial_value(css_data.PropertyId.letter_spacing, "normal")
        .line_height:
            return css_parse_property_initial_value(css_data.PropertyId.line_height, "normal")
        .list_style:
            return css_parse_property_initial_value(css_data.PropertyId.list_style, "outside none disc")
        .list_style_image:
            return css_parse_property_initial_value(css_data.PropertyId.list_style_image, "none")
        .list_style_position:
            return css_parse_property_initial_value(css_data.PropertyId.list_style_position, "outside")
        .list_style_type:
            return css_parse_property_initial_value(css_data.PropertyId.list_style_type, "disc")
        .margin:
            return css_parse_property_initial_value(css_data.PropertyId.margin, "0")
        .margin_block:
            return css_parse_property_initial_value(css_data.PropertyId.margin_block, "0")
        .margin_block_end:
            return css_parse_property_initial_value(css_data.PropertyId.margin_block_end, "0")
        .margin_block_start:
            return css_parse_property_initial_value(css_data.PropertyId.margin_block_start, "0")
        .margin_bottom:
            return css_parse_property_initial_value(css_data.PropertyId.margin_bottom, "0")
        .margin_inline:
            return css_parse_property_initial_value(css_data.PropertyId.margin_inline, "0")
        .margin_inline_end:
            return css_parse_property_initial_value(css_data.PropertyId.margin_inline_end, "0")
        .margin_inline_start:
            return css_parse_property_initial_value(css_data.PropertyId.margin_inline_start, "0")
        .margin_left:
            return css_parse_property_initial_value(css_data.PropertyId.margin_left, "0")
        .margin_right:
            return css_parse_property_initial_value(css_data.PropertyId.margin_right, "0")
        .margin_top:
            return css_parse_property_initial_value(css_data.PropertyId.margin_top, "0")
        .mask:
            return css_parse_property_initial_value(css_data.PropertyId.mask, "none")
        .mask_clip:
            return css_parse_property_initial_value(css_data.PropertyId.mask_clip, "border-box")
        .mask_composite:
            return css_parse_property_initial_value(css_data.PropertyId.mask_composite, "add")
        .mask_image:
            return css_parse_property_initial_value(css_data.PropertyId.mask_image, "none")
        .mask_mode:
            return css_parse_property_initial_value(css_data.PropertyId.mask_mode, "match-source")
        .mask_origin:
            return css_parse_property_initial_value(css_data.PropertyId.mask_origin, "border-box")
        .mask_position:
            return css_parse_property_initial_value(css_data.PropertyId.mask_position, "0% 0%")
        .mask_repeat:
            return css_parse_property_initial_value(css_data.PropertyId.mask_repeat, "repeat")
        .mask_size:
            return css_parse_property_initial_value(css_data.PropertyId.mask_size, "auto")
        .mask_type:
            return css_parse_property_initial_value(css_data.PropertyId.mask_type, "luminance")
        .math_depth:
            return css_parse_property_initial_value(css_data.PropertyId.math_depth, "0")
        .math_shift:
            return css_parse_property_initial_value(css_data.PropertyId.math_shift, "normal")
        .math_style:
            return css_parse_property_initial_value(css_data.PropertyId.math_style, "normal")
        .max_block_size:
            return css_parse_property_initial_value(css_data.PropertyId.max_block_size, "none")
        .max_height:
            return css_parse_property_initial_value(css_data.PropertyId.max_height, "none")
        .max_inline_size:
            return css_parse_property_initial_value(css_data.PropertyId.max_inline_size, "none")
        .max_width:
            return css_parse_property_initial_value(css_data.PropertyId.max_width, "none")
        .min_block_size:
            return css_parse_property_initial_value(css_data.PropertyId.min_block_size, "0")
        .min_height:
            return css_parse_property_initial_value(css_data.PropertyId.min_height, "auto")
        .min_inline_size:
            return css_parse_property_initial_value(css_data.PropertyId.min_inline_size, "0")
        .min_width:
            return css_parse_property_initial_value(css_data.PropertyId.min_width, "auto")
        .mix_blend_mode:
            return css_parse_property_initial_value(css_data.PropertyId.mix_blend_mode, "normal")
        .object_fit:
            return css_parse_property_initial_value(css_data.PropertyId.object_fit, "fill")
        .object_position:
            return css_parse_property_initial_value(css_data.PropertyId.object_position, "50% 50%")
        .opacity:
            return css_parse_property_initial_value(css_data.PropertyId.opacity, "1")
        .order:
            return css_parse_property_initial_value(css_data.PropertyId.order, "0")
        .orphans:
            return css_parse_property_initial_value(css_data.PropertyId.orphans, "2")
        .outline:
            return css_parse_property_initial_value(css_data.PropertyId.outline, "medium currentColor none")
        .outline_color:
            return css_parse_property_initial_value(css_data.PropertyId.outline_color, "currentColor")
        .outline_offset:
            return css_parse_property_initial_value(css_data.PropertyId.outline_offset, "0")
        .outline_style:
            return css_parse_property_initial_value(css_data.PropertyId.outline_style, "none")
        .outline_width:
            return css_parse_property_initial_value(css_data.PropertyId.outline_width, "medium")
        .overflow:
            return css_parse_property_initial_value(css_data.PropertyId.overflow, "visible")
        .overflow_block:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_block, "visible")
        .overflow_clip_margin:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin, "0px")
        .overflow_clip_margin_block:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_block, "0px")
        .overflow_clip_margin_block_end:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_block_end, "0px")
        .overflow_clip_margin_block_start:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_block_start, "0px")
        .overflow_clip_margin_bottom:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_bottom, "0px")
        .overflow_clip_margin_inline:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_inline, "0px")
        .overflow_clip_margin_inline_end:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_inline_end, "0px")
        .overflow_clip_margin_inline_start:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_inline_start, "0px")
        .overflow_clip_margin_left:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_left, "0px")
        .overflow_clip_margin_right:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_right, "0px")
        .overflow_clip_margin_top:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_clip_margin_top, "0px")
        .overflow_inline:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_inline, "visible")
        .overflow_wrap:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_wrap, "normal")
        .overflow_x:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_x, "visible")
        .overflow_y:
            return css_parse_property_initial_value(css_data.PropertyId.overflow_y, "visible")
        .padding:
            return css_parse_property_initial_value(css_data.PropertyId.padding, "0")
        .padding_block:
            return css_parse_property_initial_value(css_data.PropertyId.padding_block, "0")
        .padding_block_end:
            return css_parse_property_initial_value(css_data.PropertyId.padding_block_end, "0")
        .padding_block_start:
            return css_parse_property_initial_value(css_data.PropertyId.padding_block_start, "0")
        .padding_bottom:
            return css_parse_property_initial_value(css_data.PropertyId.padding_bottom, "0")
        .padding_inline:
            return css_parse_property_initial_value(css_data.PropertyId.padding_inline, "0")
        .padding_inline_end:
            return css_parse_property_initial_value(css_data.PropertyId.padding_inline_end, "0")
        .padding_inline_start:
            return css_parse_property_initial_value(css_data.PropertyId.padding_inline_start, "0")
        .padding_left:
            return css_parse_property_initial_value(css_data.PropertyId.padding_left, "0")
        .padding_right:
            return css_parse_property_initial_value(css_data.PropertyId.padding_right, "0")
        .padding_top:
            return css_parse_property_initial_value(css_data.PropertyId.padding_top, "0")
        .paint_order:
            return css_parse_property_initial_value(css_data.PropertyId.paint_order, "normal")
        .perspective:
            return css_parse_property_initial_value(css_data.PropertyId.perspective, "none")
        .perspective_origin:
            return css_parse_property_initial_value(css_data.PropertyId.perspective_origin, "50% 50%")
        .place_content:
            return css_parse_property_initial_value(css_data.PropertyId.place_content, "normal")
        .place_items:
            return css_parse_property_initial_value(css_data.PropertyId.place_items, "normal")
        .place_self:
            return css_parse_property_initial_value(css_data.PropertyId.place_self, "normal")
        .pointer_events:
            return css_parse_property_initial_value(css_data.PropertyId.pointer_events, "auto")
        .position:
            return css_parse_property_initial_value(css_data.PropertyId.position, "static")
        .position_anchor:
            return css_parse_property_initial_value(css_data.PropertyId.position_anchor, "normal")
        .position_area:
            return css_parse_property_initial_value(css_data.PropertyId.position_area, "none")
        .position_try_fallbacks:
            return css_parse_property_initial_value(css_data.PropertyId.position_try_fallbacks, "none")
        .position_try_order:
            return css_parse_property_initial_value(css_data.PropertyId.position_try_order, "normal")
        .position_visibility:
            return css_parse_property_initial_value(css_data.PropertyId.position_visibility, "anchors-visible")
        .quotes:
            return css_parse_property_initial_value(css_data.PropertyId.quotes, "auto")
        .r:
            return css_parse_property_initial_value(css_data.PropertyId.r, "0")
        .resize:
            return css_parse_property_initial_value(css_data.PropertyId.resize, "none")
        .right:
            return css_parse_property_initial_value(css_data.PropertyId.right, "auto")
        .rotate:
            return css_parse_property_initial_value(css_data.PropertyId.rotate, "none")
        .row_gap:
            return css_parse_property_initial_value(css_data.PropertyId.row_gap, "normal")
        .rx:
            return css_parse_property_initial_value(css_data.PropertyId.rx, "auto")
        .ry:
            return css_parse_property_initial_value(css_data.PropertyId.ry, "auto")
        .scale:
            return css_parse_property_initial_value(css_data.PropertyId.scale, "none")
        .scroll_behavior:
            return css_parse_property_initial_value(css_data.PropertyId.scroll_behavior, "auto")
        .scroll_timeline:
            return css_parse_property_initial_value(css_data.PropertyId.scroll_timeline, "none block")
        .scroll_timeline_axis:
            return css_parse_property_initial_value(css_data.PropertyId.scroll_timeline_axis, "block")
        .scroll_timeline_name:
            return css_parse_property_initial_value(css_data.PropertyId.scroll_timeline_name, "none")
        .scrollbar_color:
            return css_parse_property_initial_value(css_data.PropertyId.scrollbar_color, "auto")
        .scrollbar_gutter:
            return css_parse_property_initial_value(css_data.PropertyId.scrollbar_gutter, "auto")
        .scrollbar_width:
            return css_parse_property_initial_value(css_data.PropertyId.scrollbar_width, "auto")
        .shape_image_threshold:
            return css_parse_property_initial_value(css_data.PropertyId.shape_image_threshold, "0")
        .shape_margin:
            return css_parse_property_initial_value(css_data.PropertyId.shape_margin, "0")
        .shape_outside:
            return css_parse_property_initial_value(css_data.PropertyId.shape_outside, "none")
        .shape_rendering:
            return css_parse_property_initial_value(css_data.PropertyId.shape_rendering, "auto")
        .stop_color:
            return css_parse_property_initial_value(css_data.PropertyId.stop_color, "black")
        .stop_opacity:
            return css_parse_property_initial_value(css_data.PropertyId.stop_opacity, "1")
        .stroke:
            return css_parse_property_initial_value(css_data.PropertyId.stroke, "none")
        .stroke_dasharray:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_dasharray, "none")
        .stroke_dashoffset:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_dashoffset, "0px")
        .stroke_linecap:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_linecap, "butt")
        .stroke_linejoin:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_linejoin, "miter")
        .stroke_miterlimit:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_miterlimit, "4")
        .stroke_opacity:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_opacity, "1")
        .stroke_width:
            return css_parse_property_initial_value(css_data.PropertyId.stroke_width, "1px")
        .tab_size:
            return css_parse_property_initial_value(css_data.PropertyId.tab_size, "8")
        .table_layout:
            return css_parse_property_initial_value(css_data.PropertyId.table_layout, "auto")
        .text_align:
            return css_parse_property_initial_value(css_data.PropertyId.text_align, "start")
        .text_anchor:
            return css_parse_property_initial_value(css_data.PropertyId.text_anchor, "start")
        .text_decoration:
            return css_parse_property_initial_value(css_data.PropertyId.text_decoration, "none")
        .text_decoration_color:
            return css_parse_property_initial_value(css_data.PropertyId.text_decoration_color, "currentcolor")
        .text_decoration_line:
            return css_parse_property_initial_value(css_data.PropertyId.text_decoration_line, "none")
        .text_decoration_skip_ink:
            return css_parse_property_initial_value(css_data.PropertyId.text_decoration_skip_ink, "auto")
        .text_decoration_style:
            return css_parse_property_initial_value(css_data.PropertyId.text_decoration_style, "solid")
        .text_decoration_thickness:
            return css_parse_property_initial_value(css_data.PropertyId.text_decoration_thickness, "auto")
        .text_indent:
            return css_parse_property_initial_value(css_data.PropertyId.text_indent, "0")
        .text_justify:
            return css_parse_property_initial_value(css_data.PropertyId.text_justify, "auto")
        .text_overflow:
            return css_parse_property_initial_value(css_data.PropertyId.text_overflow, "clip")
        .text_rendering:
            return css_parse_property_initial_value(css_data.PropertyId.text_rendering, "auto")
        .text_shadow:
            return css_parse_property_initial_value(css_data.PropertyId.text_shadow, "none")
        .text_transform:
            return css_parse_property_initial_value(css_data.PropertyId.text_transform, "none")
        .text_underline_offset:
            return css_parse_property_initial_value(css_data.PropertyId.text_underline_offset, "auto")
        .text_underline_position:
            return css_parse_property_initial_value(css_data.PropertyId.text_underline_position, "auto")
        .text_wrap:
            return css_parse_property_initial_value(css_data.PropertyId.text_wrap, "wrap")
        .text_wrap_mode:
            return css_parse_property_initial_value(css_data.PropertyId.text_wrap_mode, "wrap")
        .text_wrap_style:
            return css_parse_property_initial_value(css_data.PropertyId.text_wrap_style, "auto")
        .timeline_scope:
            return css_parse_property_initial_value(css_data.PropertyId.timeline_scope, "none")
        .top:
            return css_parse_property_initial_value(css_data.PropertyId.top, "auto")
        .touch_action:
            return css_parse_property_initial_value(css_data.PropertyId.touch_action, "auto")
        .transform:
            return css_parse_property_initial_value(css_data.PropertyId.transform, "none")
        .transform_box:
            return css_parse_property_initial_value(css_data.PropertyId.transform_box, "view-box")
        .transform_origin:
            return css_parse_property_initial_value(css_data.PropertyId.transform_origin, "50% 50%")
        .transform_style:
            return css_parse_property_initial_value(css_data.PropertyId.transform_style, "flat")
        .transition:
            return css_parse_property_initial_value(css_data.PropertyId.transition, "none")
        .transition_behavior:
            return css_parse_property_initial_value(css_data.PropertyId.transition_behavior, "normal")
        .transition_delay:
            return css_parse_property_initial_value(css_data.PropertyId.transition_delay, "0s")
        .transition_duration:
            return css_parse_property_initial_value(css_data.PropertyId.transition_duration, "0s")
        .transition_property:
            return css_parse_property_initial_value(css_data.PropertyId.transition_property, "all")
        .transition_timing_function:
            return css_parse_property_initial_value(css_data.PropertyId.transition_timing_function, "ease")
        .translate:
            return css_parse_property_initial_value(css_data.PropertyId.translate, "none")
        .unicode_bidi:
            return css_parse_property_initial_value(css_data.PropertyId.unicode_bidi, "normal")
        .user_select:
            return css_parse_property_initial_value(css_data.PropertyId.user_select, "auto")
        .vertical_align:
            return css_parse_property_initial_value(css_data.PropertyId.vertical_align, "baseline")
        .view_timeline:
            return css_parse_property_initial_value(css_data.PropertyId.view_timeline, "none")
        .view_timeline_axis:
            return css_parse_property_initial_value(css_data.PropertyId.view_timeline_axis, "block")
        .view_timeline_inset:
            return css_parse_property_initial_value(css_data.PropertyId.view_timeline_inset, "auto")
        .view_timeline_name:
            return css_parse_property_initial_value(css_data.PropertyId.view_timeline_name, "none")
        .view_transition_name:
            return css_parse_property_initial_value(css_data.PropertyId.view_transition_name, "none")
        .visibility:
            return css_parse_property_initial_value(css_data.PropertyId.visibility, "visible")
        .white_space:
            return css_parse_property_initial_value(css_data.PropertyId.white_space, "normal")
        .white_space_collapse:
            return css_parse_property_initial_value(css_data.PropertyId.white_space_collapse, "collapse")
        .white_space_trim:
            return css_parse_property_initial_value(css_data.PropertyId.white_space_trim, "none")
        .widows:
            return css_parse_property_initial_value(css_data.PropertyId.widows, "2")
        .width:
            return css_parse_property_initial_value(css_data.PropertyId.width, "auto")
        .will_change:
            return css_parse_property_initial_value(css_data.PropertyId.will_change, "auto")
        .word_break:
            return css_parse_property_initial_value(css_data.PropertyId.word_break, "normal")
        .word_spacing:
            return css_parse_property_initial_value(css_data.PropertyId.word_spacing, "normal")
        .writing_mode:
            return css_parse_property_initial_value(css_data.PropertyId.writing_mode, "horizontal-tb")
        .x:
            return css_parse_property_initial_value(css_data.PropertyId.x, "0")
        .y:
            return css_parse_property_initial_value(css_data.PropertyId.y, "0")
        .z_index:
            return css_parse_property_initial_value(css_data.PropertyId.z_index, "auto")
        _:
            trap("VERIFY_NOT_REACHED")

# mark: property_accepts_type ===================================================================

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_type.
pub func css_property_accepts_type(property_id: css_data.PropertyId, value_type: CssValueType) -> bool:
    match property_id:
        .webkit_text_fill_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .accent_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .align_content:
            return false
        .align_items:
            return false
        .align_self:
            return false
        .anchor_name:
            match value_type:
                .dashed_ident:
                    return true
                _:
                    return false
        .anchor_scope:
            match value_type:
                .dashed_ident:
                    return true
                _:
                    return false
        .animation_composition:
            return false
        .animation_delay:
            match value_type:
                .time:
                    return true
                _:
                    return false
        .animation_duration:
            match value_type:
                .time:
                    return true
                _:
                    return false
        .animation_iteration_count:
            match value_type:
                .number:
                    return true
                _:
                    return false
        .animation_name:
            match value_type:
                .string, .custom_ident:
                    return true
                _:
                    return false
        .animation_timeline:
            match value_type:
                .dashed_ident, .scroll_function, .view_function:
                    return true
                _:
                    return false
        .animation_timing_function:
            match value_type:
                .easing_function:
                    return true
                _:
                    return false
        .appearance:
            return false
        .aspect_ratio:
            match value_type:
                .ratio:
                    return true
                _:
                    return false
        .background_attachment:
            return false
        .background_blend_mode:
            return false
        .background_clip:
            return false
        .background_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .background_image:
            match value_type:
                .image:
                    return true
                _:
                    return false
        .background_origin:
            return false
        .background_position:
            match value_type:
                .background_position:
                    return true
                _:
                    return false
        .background_position_x:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .background_position_y:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .background_repeat:
            return false
        .background_size:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .block_size:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .border_block_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_block_end_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_block_end_style:
            return false
        .border_block_end_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_block_start_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_block_start_style:
            return false
        .border_block_start_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_block_style:
            return false
        .border_block_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_bottom_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_bottom_left_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_bottom_right_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_bottom_style:
            return false
        .border_bottom_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_collapse:
            return false
        .border_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_end_end_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_end_start_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_image_outset:
            match value_type:
                .length, .number:
                    return true
                _:
                    return false
        .border_image_repeat:
            return false
        .border_image_slice:
            match value_type:
                .number, .percentage:
                    return true
                _:
                    return false
        .border_image_source:
            match value_type:
                .image:
                    return true
                _:
                    return false
        .border_image_width:
            match value_type:
                .length, .percentage, .number:
                    return true
                _:
                    return false
        .border_inline_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_inline_end_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_inline_end_style:
            return false
        .border_inline_end_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_inline_start_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_inline_start_style:
            return false
        .border_inline_start_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_inline_style:
            return false
        .border_inline_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_left_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_left_style:
            return false
        .border_left_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_right_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_right_style:
            return false
        .border_right_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_spacing:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_start_end_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_start_start_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_style:
            return false
        .border_top_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .border_top_left_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_top_right_radius:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .border_top_style:
            return false
        .border_top_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .border_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .bottom:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .box_sizing:
            return false
        .caption_side:
            return false
        .caret_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .clear:
            return false
        .clip:
            match value_type:
                .rect:
                    return true
                _:
                    return false
        .clip_path:
            match value_type:
                .basic_shape, .url:
                    return true
                _:
                    return false
        .clip_rule:
            return false
        .color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .color_interpolation:
            return false
        .color_scheme:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .column_count:
            match value_type:
                .integer:
                    return true
                _:
                    return false
        .column_gap:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .column_height:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .column_span:
            return false
        .column_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .contain:
            return false
        .content:
            match value_type:
                .counter, .image, .string:
                    return true
                _:
                    return false
        .content_visibility:
            return false
        .corner_block_end_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_block_start_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_bottom_left_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_bottom_right_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_bottom_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_end_end_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_end_start_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_inline_end_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_inline_start_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_left_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_right_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_start_end_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_start_start_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_top_left_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_top_right_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .corner_top_shape:
            match value_type:
                .corner_shape:
                    return true
                _:
                    return false
        .counter_increment:
            match value_type:
                .custom_ident, .integer:
                    return true
                _:
                    return false
        .counter_reset:
            match value_type:
                .custom_ident, .integer:
                    return true
                _:
                    return false
        .counter_set:
            match value_type:
                .custom_ident, .integer:
                    return true
                _:
                    return false
        .cursor:
            match value_type:
                .url, .number:
                    return true
                _:
                    return false
        .cx:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .cy:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .direction:
            return false
        .display:
            return false
        .dominant_baseline:
            return false
        .empty_cells:
            return false
        .fill:
            match value_type:
                .paint:
                    return true
                _:
                    return false
        .fill_opacity:
            match value_type:
                .opacity_value:
                    return true
                _:
                    return false
        .fill_rule:
            return false
        .flex_basis:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .flex_direction:
            return false
        .flex_grow:
            match value_type:
                .number:
                    return true
                _:
                    return false
        .flex_shrink:
            match value_type:
                .number:
                    return true
                _:
                    return false
        .flex_wrap:
            return false
        .float:
            return false
        .flood_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .flood_opacity:
            match value_type:
                .opacity_value:
                    return true
                _:
                    return false
        .font_family:
            match value_type:
                .custom_ident, .string:
                    return true
                _:
                    return false
        .font_feature_settings:
            match value_type:
                .integer, .opentype_tag:
                    return true
                _:
                    return false
        .font_kerning:
            return false
        .font_language_override:
            match value_type:
                .string:
                    return true
                _:
                    return false
        .font_optical_sizing:
            return false
        .font_size:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .font_style:
            match value_type:
                .font_style:
                    return true
                _:
                    return false
        .font_variant:
            match value_type:
                .string:
                    return true
                _:
                    return false
        .font_variant_alternates:
            match value_type:
                .font_variant_alternates:
                    return true
                _:
                    return false
        .font_variant_caps:
            return false
        .font_variant_east_asian:
            match value_type:
                .font_variant_east_asian:
                    return true
                _:
                    return false
        .font_variant_emoji:
            return false
        .font_variant_ligatures:
            match value_type:
                .font_variant_ligatures:
                    return true
                _:
                    return false
        .font_variant_numeric:
            match value_type:
                .font_variant_numeric:
                    return true
                _:
                    return false
        .font_variant_position:
            return false
        .font_variation_settings:
            match value_type:
                .number, .opentype_tag:
                    return true
                _:
                    return false
        .font_weight:
            match value_type:
                .number:
                    return true
                _:
                    return false
        .font_width:
            match value_type:
                .percentage:
                    return true
                _:
                    return false
        .gap:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .grid:
            match value_type:
                .length, .percentage, .string:
                    return true
                _:
                    return false
        .grid_area:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_auto_columns:
            match value_type:
                .length, .percentage, .string:
                    return true
                _:
                    return false
        .grid_auto_rows:
            match value_type:
                .length, .percentage, .string:
                    return true
                _:
                    return false
        .grid_column:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_column_end:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_column_start:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_row:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_row_end:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_row_start:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .grid_template:
            match value_type:
                .length, .percentage, .string:
                    return true
                _:
                    return false
        .grid_template_areas:
            match value_type:
                .string:
                    return true
                _:
                    return false
        .grid_template_columns:
            match value_type:
                .length, .percentage, .string:
                    return true
                _:
                    return false
        .grid_template_rows:
            match value_type:
                .length, .percentage, .string:
                    return true
                _:
                    return false
        .height:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .image_rendering:
            return false
        .inline_size:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .inset:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .inset_block:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .inset_block_end:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .inset_block_start:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .inset_inline:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .inset_inline_end:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .inset_inline_start:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .isolation:
            return false
        .justify_content:
            return false
        .justify_items:
            return false
        .justify_self:
            return false
        .left:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .letter_spacing:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .line_height:
            match value_type:
                .length, .number, .percentage:
                    return true
                _:
                    return false
        .list_style_image:
            match value_type:
                .image:
                    return true
                _:
                    return false
        .list_style_position:
            return false
        .list_style_type:
            match value_type:
                .counter_style, .string:
                    return true
                _:
                    return false
        .margin:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_block:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_block_end:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_block_start:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_bottom:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_inline:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_inline_end:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_inline_start:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_left:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_right:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .margin_top:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .mask_clip:
            return false
        .mask_composite:
            return false
        .mask_image:
            match value_type:
                .image, .url:
                    return true
                _:
                    return false
        .mask_mode:
            return false
        .mask_origin:
            return false
        .mask_position:
            match value_type:
                .position:
                    return true
                _:
                    return false
        .mask_repeat:
            return false
        .mask_size:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .mask_type:
            return false
        .math_depth:
            match value_type:
                .integer:
                    return true
                _:
                    return false
        .math_shift:
            return false
        .math_style:
            return false
        .max_block_size:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .max_height:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .max_inline_size:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .max_width:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .min_block_size:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .min_height:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .min_inline_size:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .min_width:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .mix_blend_mode:
            return false
        .object_fit:
            return false
        .object_position:
            match value_type:
                .position:
                    return true
                _:
                    return false
        .opacity:
            match value_type:
                .opacity_value:
                    return true
                _:
                    return false
        .order:
            match value_type:
                .integer:
                    return true
                _:
                    return false
        .orphans:
            match value_type:
                .integer:
                    return true
                _:
                    return false
        .outline_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .outline_offset:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .outline_style:
            return false
        .outline_width:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow:
            return false
        .overflow_block:
            return false
        .overflow_clip_margin:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_block:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_block_end:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_block_start:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_bottom:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_inline:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_inline_end:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_inline_start:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_left:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_right:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_clip_margin_top:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .overflow_inline:
            return false
        .overflow_x:
            return false
        .overflow_y:
            return false
        .padding:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_block:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_block_end:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_block_start:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_bottom:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_inline:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_inline_end:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_inline_start:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_left:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_right:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .padding_top:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .paint_order:
            return false
        .perspective:
            match value_type:
                .length:
                    return true
                _:
                    return false
        .perspective_origin:
            match value_type:
                .position:
                    return true
                _:
                    return false
        .pointer_events:
            return false
        .position:
            return false
        .position_anchor:
            match value_type:
                .dashed_ident:
                    return true
                _:
                    return false
        .position_area:
            return false
        .position_try_fallbacks:
            match value_type:
                .dashed_ident:
                    return true
                _:
                    return false
        .position_try_order:
            return false
        .quotes:
            match value_type:
                .string:
                    return true
                _:
                    return false
        .r:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .resize:
            return false
        .right:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .row_gap:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .rx:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .ry:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .scroll_timeline_axis:
            return false
        .scroll_timeline_name:
            match value_type:
                .dashed_ident:
                    return true
                _:
                    return false
        .scrollbar_width:
            return false
        .shape_image_threshold:
            match value_type:
                .opacity_value:
                    return true
                _:
                    return false
        .shape_margin:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .shape_rendering:
            return false
        .stop_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .stop_opacity:
            match value_type:
                .opacity_value:
                    return true
                _:
                    return false
        .stroke:
            match value_type:
                .paint:
                    return true
                _:
                    return false
        .stroke_dashoffset:
            match value_type:
                .length, .number, .percentage:
                    return true
                _:
                    return false
        .stroke_linecap:
            return false
        .stroke_linejoin:
            return false
        .stroke_miterlimit:
            match value_type:
                .number:
                    return true
                _:
                    return false
        .stroke_opacity:
            match value_type:
                .opacity_value:
                    return true
                _:
                    return false
        .stroke_width:
            match value_type:
                .length, .number, .percentage:
                    return true
                _:
                    return false
        .tab_size:
            match value_type:
                .length, .number:
                    return true
                _:
                    return false
        .table_layout:
            return false
        .text_align:
            return false
        .text_anchor:
            return false
        .text_decoration_color:
            match value_type:
                .color:
                    return true
                _:
                    return false
        .text_decoration_line:
            return false
        .text_decoration_skip_ink:
            return false
        .text_decoration_style:
            return false
        .text_decoration_thickness:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .text_indent:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .text_justify:
            return false
        .text_overflow:
            return false
        .text_rendering:
            return false
        .text_transform:
            return false
        .text_underline_offset:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .text_underline_position:
            return false
        .text_wrap_mode:
            return false
        .text_wrap_style:
            return false
        .top:
            match value_type:
                .length, .percentage, .anchor:
                    return true
                _:
                    return false
        .touch_action:
            return false
        .transform:
            match value_type:
                .transform_list:
                    return true
                _:
                    return false
        .transform_box:
            return false
        .transform_origin:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .transition_behavior:
            return false
        .transition_delay:
            match value_type:
                .time:
                    return true
                _:
                    return false
        .transition_duration:
            match value_type:
                .time:
                    return true
                _:
                    return false
        .transition_property:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .transition_timing_function:
            match value_type:
                .easing_function:
                    return true
                _:
                    return false
        .translate:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .unicode_bidi:
            return false
        .user_select:
            return false
        .vertical_align:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .view_timeline_axis:
            return false
        .view_timeline_inset:
            match value_type:
                .view_timeline_inset:
                    return true
                _:
                    return false
        .view_timeline_name:
            match value_type:
                .dashed_ident:
                    return true
                _:
                    return false
        .view_transition_name:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .visibility:
            return false
        .white_space:
            return false
        .white_space_collapse:
            return false
        .widows:
            match value_type:
                .integer:
                    return true
                _:
                    return false
        .width:
            match value_type:
                .fit_content, .length, .percentage:
                    return true
                _:
                    return false
        .will_change:
            match value_type:
                .custom_ident:
                    return true
                _:
                    return false
        .word_spacing:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .writing_mode:
            return false
        .x:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .y:
            match value_type:
                .length, .percentage:
                    return true
                _:
                    return false
        .z_index:
            match value_type:
                .integer:
                    return true
                _:
                    return false
        _:
            return false

# mark: property_accepted_ranges_by_value_type ==================================================

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepted_ranges_by_value_type.
pub func css_property_accepted_ranges_by_value_type(property_id: css_data.PropertyId) -> ak.HashMap[CssValueType, CssNumericRange, CssValueTypeTraits]:
    var ranges = ak.HashMap[CssValueType, CssNumericRange, CssValueTypeTraits]()
    match property_id:
        .webkit_text_fill_color:
            return ranges
        .accent_color:
            return ranges
        .align_content:
            return ranges
        .align_items:
            return ranges
        .align_self:
            return ranges
        .anchor_name:
            return ranges
        .anchor_scope:
            return ranges
        .animation_composition:
            return ranges
        .animation_delay:
            _ = ak.hash_map_set(&ranges, CssValueType.time, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .animation_duration:
            _ = ak.hash_map_set(&ranges, CssValueType.time, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .animation_iteration_count:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .animation_name:
            return ranges
        .animation_timeline:
            return ranges
        .animation_timing_function:
            return ranges
        .appearance:
            return ranges
        .aspect_ratio:
            return ranges
        .background_attachment:
            return ranges
        .background_blend_mode:
            return ranges
        .background_clip:
            return ranges
        .background_color:
            return ranges
        .background_image:
            return ranges
        .background_origin:
            return ranges
        .background_position:
            return ranges
        .background_position_x:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .background_position_y:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .background_repeat:
            return ranges
        .background_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .block_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_block_color:
            return ranges
        .border_block_end_color:
            return ranges
        .border_block_end_style:
            return ranges
        .border_block_end_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_block_start_color:
            return ranges
        .border_block_start_style:
            return ranges
        .border_block_start_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_block_style:
            return ranges
        .border_block_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_bottom_color:
            return ranges
        .border_bottom_left_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_bottom_right_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_bottom_style:
            return ranges
        .border_bottom_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_collapse:
            return ranges
        .border_color:
            return ranges
        .border_end_end_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_end_start_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_image_outset:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_image_repeat:
            return ranges
        .border_image_slice:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_image_source:
            return ranges
        .border_image_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_inline_color:
            return ranges
        .border_inline_end_color:
            return ranges
        .border_inline_end_style:
            return ranges
        .border_inline_end_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_inline_start_color:
            return ranges
        .border_inline_start_style:
            return ranges
        .border_inline_start_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_inline_style:
            return ranges
        .border_inline_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_left_color:
            return ranges
        .border_left_style:
            return ranges
        .border_left_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_right_color:
            return ranges
        .border_right_style:
            return ranges
        .border_right_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_spacing:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_start_end_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_start_start_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_style:
            return ranges
        .border_top_color:
            return ranges
        .border_top_left_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_top_right_radius:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_top_style:
            return ranges
        .border_top_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .border_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .bottom:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .box_sizing:
            return ranges
        .caption_side:
            return ranges
        .caret_color:
            return ranges
        .clear:
            return ranges
        .clip:
            return ranges
        .clip_path:
            return ranges
        .clip_rule:
            return ranges
        .color:
            return ranges
        .color_interpolation:
            return ranges
        .color_scheme:
            return ranges
        .column_count:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = 1.0, max = 2147483647.0))
            return ranges
        .column_gap:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .column_height:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .column_span:
            return ranges
        .column_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .contain:
            return ranges
        .content:
            return ranges
        .content_visibility:
            return ranges
        .corner_block_end_shape:
            return ranges
        .corner_block_start_shape:
            return ranges
        .corner_bottom_left_shape:
            return ranges
        .corner_bottom_right_shape:
            return ranges
        .corner_bottom_shape:
            return ranges
        .corner_end_end_shape:
            return ranges
        .corner_end_start_shape:
            return ranges
        .corner_inline_end_shape:
            return ranges
        .corner_inline_start_shape:
            return ranges
        .corner_left_shape:
            return ranges
        .corner_right_shape:
            return ranges
        .corner_shape:
            return ranges
        .corner_start_end_shape:
            return ranges
        .corner_start_start_shape:
            return ranges
        .corner_top_left_shape:
            return ranges
        .corner_top_right_shape:
            return ranges
        .corner_top_shape:
            return ranges
        .counter_increment:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = -2147483648.0, max = 2147483647.0))
            return ranges
        .counter_reset:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = -2147483648.0, max = 2147483647.0))
            return ranges
        .counter_set:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = -2147483648.0, max = 2147483647.0))
            return ranges
        .cursor:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .cx:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .cy:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .direction:
            return ranges
        .display:
            return ranges
        .dominant_baseline:
            return ranges
        .empty_cells:
            return ranges
        .fill:
            return ranges
        .fill_opacity:
            return ranges
        .fill_rule:
            return ranges
        .flex_basis:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .flex_direction:
            return ranges
        .flex_grow:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .flex_shrink:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .flex_wrap:
            return ranges
        .float:
            return ranges
        .flood_color:
            return ranges
        .flood_opacity:
            return ranges
        .font_family:
            return ranges
        .font_feature_settings:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = 0.0, max = 2147483647.0))
            return ranges
        .font_kerning:
            return ranges
        .font_language_override:
            return ranges
        .font_optical_sizing:
            return ranges
        .font_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .font_style:
            return ranges
        .font_variant:
            return ranges
        .font_variant_alternates:
            return ranges
        .font_variant_caps:
            return ranges
        .font_variant_east_asian:
            return ranges
        .font_variant_emoji:
            return ranges
        .font_variant_ligatures:
            return ranges
        .font_variant_numeric:
            return ranges
        .font_variant_position:
            return ranges
        .font_variation_settings:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .font_weight:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 1.0, max = 1000.0))
            return ranges
        .font_width:
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .gap:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .grid:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .grid_area:
            return ranges
        .grid_auto_columns:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .grid_auto_rows:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .grid_column:
            return ranges
        .grid_column_end:
            return ranges
        .grid_column_start:
            return ranges
        .grid_row:
            return ranges
        .grid_row_end:
            return ranges
        .grid_row_start:
            return ranges
        .grid_template:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .grid_template_areas:
            return ranges
        .grid_template_columns:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .grid_template_rows:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .height:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .image_rendering:
            return ranges
        .inline_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .inset:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .inset_block:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .inset_block_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .inset_block_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .inset_inline:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .inset_inline_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .inset_inline_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .isolation:
            return ranges
        .justify_content:
            return ranges
        .justify_items:
            return ranges
        .justify_self:
            return ranges
        .left:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .letter_spacing:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .line_height:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .list_style_image:
            return ranges
        .list_style_position:
            return ranges
        .list_style_type:
            return ranges
        .margin:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_block:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_block_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_block_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_bottom:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_inline:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_inline_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_inline_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_left:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_right:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .margin_top:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .mask_clip:
            return ranges
        .mask_composite:
            return ranges
        .mask_image:
            return ranges
        .mask_mode:
            return ranges
        .mask_origin:
            return ranges
        .mask_position:
            return ranges
        .mask_repeat:
            return ranges
        .mask_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .mask_type:
            return ranges
        .math_depth:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = -2147483648.0, max = 2147483647.0))
            return ranges
        .math_shift:
            return ranges
        .math_style:
            return ranges
        .max_block_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .max_height:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .max_inline_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .max_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .min_block_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .min_height:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .min_inline_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .min_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .mix_blend_mode:
            return ranges
        .object_fit:
            return ranges
        .object_position:
            return ranges
        .opacity:
            return ranges
        .order:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = -2147483648.0, max = 2147483647.0))
            return ranges
        .orphans:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = 1.0, max = 2147483647.0))
            return ranges
        .outline_color:
            return ranges
        .outline_offset:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .outline_style:
            return ranges
        .outline_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow:
            return ranges
        .overflow_block:
            return ranges
        .overflow_clip_margin:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_block:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_block_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_block_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_bottom:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_inline:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_inline_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_inline_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_left:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_right:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_clip_margin_top:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .overflow_inline:
            return ranges
        .overflow_x:
            return ranges
        .overflow_y:
            return ranges
        .padding:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_block:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_block_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_block_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_bottom:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_inline:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_inline_end:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_inline_start:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_left:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_right:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .padding_top:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .paint_order:
            return ranges
        .perspective:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .perspective_origin:
            return ranges
        .pointer_events:
            return ranges
        .position:
            return ranges
        .position_anchor:
            return ranges
        .position_area:
            return ranges
        .position_try_fallbacks:
            return ranges
        .position_try_order:
            return ranges
        .quotes:
            return ranges
        .r:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .resize:
            return ranges
        .right:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .row_gap:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .rx:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .ry:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .scroll_timeline_axis:
            return ranges
        .scroll_timeline_name:
            return ranges
        .scrollbar_width:
            return ranges
        .shape_image_threshold:
            return ranges
        .shape_margin:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .shape_rendering:
            return ranges
        .stop_color:
            return ranges
        .stop_opacity:
            return ranges
        .stroke:
            return ranges
        .stroke_dashoffset:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .stroke_linecap:
            return ranges
        .stroke_linejoin:
            return ranges
        .stroke_miterlimit:
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .stroke_opacity:
            return ranges
        .stroke_width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .tab_size:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.number, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .table_layout:
            return ranges
        .text_align:
            return ranges
        .text_anchor:
            return ranges
        .text_decoration_color:
            return ranges
        .text_decoration_line:
            return ranges
        .text_decoration_skip_ink:
            return ranges
        .text_decoration_style:
            return ranges
        .text_decoration_thickness:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .text_indent:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .text_justify:
            return ranges
        .text_overflow:
            return ranges
        .text_rendering:
            return ranges
        .text_transform:
            return ranges
        .text_underline_offset:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .text_underline_position:
            return ranges
        .text_wrap_mode:
            return ranges
        .text_wrap_style:
            return ranges
        .top:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .touch_action:
            return ranges
        .transform:
            return ranges
        .transform_box:
            return ranges
        .transform_origin:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .transition_behavior:
            return ranges
        .transition_delay:
            _ = ak.hash_map_set(&ranges, CssValueType.time, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .transition_duration:
            _ = ak.hash_map_set(&ranges, CssValueType.time, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .transition_property:
            return ranges
        .transition_timing_function:
            return ranges
        .translate:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .unicode_bidi:
            return ranges
        .user_select:
            return ranges
        .vertical_align:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .view_timeline_axis:
            return ranges
        .view_timeline_inset:
            return ranges
        .view_timeline_name:
            return ranges
        .view_transition_name:
            return ranges
        .visibility:
            return ranges
        .white_space:
            return ranges
        .white_space_collapse:
            return ranges
        .widows:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = 1.0, max = 2147483647.0))
            return ranges
        .width:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = 0.0, max = 3.4028234663852886e38))
            return ranges
        .will_change:
            return ranges
        .word_spacing:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .writing_mode:
            return ranges
        .x:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .y:
            _ = ak.hash_map_set(&ranges, CssValueType.length, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            _ = ak.hash_map_set(&ranges, CssValueType.percentage, CssNumericRange(min = -3.4028234663852886e38, max = 3.4028234663852886e38))
            return ranges
        .z_index:
            _ = ak.hash_map_set(&ranges, CssValueType.integer, CssNumericRange(min = -2147483648.0, max = 2147483647.0))
            return ranges
        _:
            return ranges

# mark: property_resolves_percentages_relative_to ===============================================

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_resolves_percentages_relative_to.
pub func css_property_resolves_percentages_relative_to(property_id: css_data.PropertyId) -> CssValueType?:
    match property_id:
        .background_position:
            return CssValueType.length
        .background_position_x:
            return CssValueType.length
        .background_position_y:
            return CssValueType.length
        .background_size:
            return CssValueType.length
        .block_size:
            return CssValueType.length
        .border_bottom_left_radius:
            return CssValueType.length
        .border_bottom_right_radius:
            return CssValueType.length
        .border_end_end_radius:
            return CssValueType.length
        .border_end_start_radius:
            return CssValueType.length
        .border_image_width:
            return CssValueType.length
        .border_radius:
            return CssValueType.length
        .border_start_end_radius:
            return CssValueType.length
        .border_start_start_radius:
            return CssValueType.length
        .border_top_left_radius:
            return CssValueType.length
        .border_top_right_radius:
            return CssValueType.length
        .bottom:
            return CssValueType.length
        .column_gap:
            return CssValueType.length
        .cx:
            return CssValueType.length
        .cy:
            return CssValueType.length
        .flex_basis:
            return CssValueType.length
        .font_size:
            return CssValueType.length
        .gap:
            return CssValueType.length
        .grid:
            return CssValueType.length
        .grid_auto_columns:
            return CssValueType.length
        .grid_auto_rows:
            return CssValueType.length
        .grid_template:
            return CssValueType.length
        .grid_template_columns:
            return CssValueType.length
        .grid_template_rows:
            return CssValueType.length
        .height:
            return CssValueType.length
        .inline_size:
            return CssValueType.length
        .inset:
            return CssValueType.length
        .inset_block:
            return CssValueType.length
        .inset_block_end:
            return CssValueType.length
        .inset_block_start:
            return CssValueType.length
        .inset_inline:
            return CssValueType.length
        .inset_inline_end:
            return CssValueType.length
        .inset_inline_start:
            return CssValueType.length
        .left:
            return CssValueType.length
        .letter_spacing:
            return CssValueType.length
        .line_height:
            return CssValueType.length
        .margin:
            return CssValueType.length
        .margin_block:
            return CssValueType.length
        .margin_block_end:
            return CssValueType.length
        .margin_block_start:
            return CssValueType.length
        .margin_bottom:
            return CssValueType.length
        .margin_inline:
            return CssValueType.length
        .margin_inline_end:
            return CssValueType.length
        .margin_inline_start:
            return CssValueType.length
        .margin_left:
            return CssValueType.length
        .margin_right:
            return CssValueType.length
        .margin_top:
            return CssValueType.length
        .mask_position:
            return CssValueType.length
        .mask_size:
            return CssValueType.length
        .max_block_size:
            return CssValueType.length
        .max_height:
            return CssValueType.length
        .max_inline_size:
            return CssValueType.length
        .max_width:
            return CssValueType.length
        .min_block_size:
            return CssValueType.length
        .min_height:
            return CssValueType.length
        .min_inline_size:
            return CssValueType.length
        .min_width:
            return CssValueType.length
        .object_position:
            return CssValueType.length
        .padding:
            return CssValueType.length
        .padding_block:
            return CssValueType.length
        .padding_block_end:
            return CssValueType.length
        .padding_block_start:
            return CssValueType.length
        .padding_bottom:
            return CssValueType.length
        .padding_inline:
            return CssValueType.length
        .padding_inline_end:
            return CssValueType.length
        .padding_inline_start:
            return CssValueType.length
        .padding_left:
            return CssValueType.length
        .padding_right:
            return CssValueType.length
        .padding_top:
            return CssValueType.length
        .perspective_origin:
            return CssValueType.length
        .r:
            return CssValueType.length
        .right:
            return CssValueType.length
        .row_gap:
            return CssValueType.length
        .rx:
            return CssValueType.length
        .ry:
            return CssValueType.length
        .shape_margin:
            return CssValueType.length
        .stroke_dasharray:
            return CssValueType.length
        .stroke_dashoffset:
            return CssValueType.length
        .stroke_width:
            return CssValueType.length
        .text_decoration_thickness:
            return CssValueType.length
        .text_indent:
            return CssValueType.length
        .text_underline_offset:
            return CssValueType.length
        .top:
            return CssValueType.length
        .transform:
            return CssValueType.length
        .transform_origin:
            return CssValueType.length
        .translate:
            return CssValueType.length
        .vertical_align:
            return CssValueType.length
        .view_timeline_inset:
            return CssValueType.length
        .width:
            return CssValueType.length
        .word_spacing:
            return CssValueType.length
        .x:
            return CssValueType.length
        .y:
            return CssValueType.length
        _:
            return none

# mark: The range checks ========================================================================

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_angle.
pub func css_property_accepts_angle(property_id: css_data.PropertyId, value: CssAngle) -> bool:
    match property_id:
        _: return false

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_flex.
pub func css_property_accepts_flex(property_id: css_data.PropertyId, value: CssFlex) -> bool:
    match property_id:
        _: return false

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_frequency.
pub func css_property_accepts_frequency(property_id: css_data.PropertyId, value: CssFrequency) -> bool:
    match property_id:
        _: return false

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_length.
pub func css_property_accepts_length(property_id: css_data.PropertyId, value: CssLength) -> bool:
    match property_id:
        .background_position_x: return true
        .background_position_y: return true
        .background_size: return css_length_raw_value(&value) >= 0.0
        .block_size: return css_length_raw_value(&value) >= 0.0
        .border_block_end_width: return css_length_raw_value(&value) >= 0.0
        .border_block_start_width: return css_length_raw_value(&value) >= 0.0
        .border_block_width: return css_length_raw_value(&value) >= 0.0
        .border_bottom_left_radius: return css_length_raw_value(&value) >= 0.0
        .border_bottom_right_radius: return css_length_raw_value(&value) >= 0.0
        .border_bottom_width: return css_length_raw_value(&value) >= 0.0
        .border_end_end_radius: return css_length_raw_value(&value) >= 0.0
        .border_end_start_radius: return css_length_raw_value(&value) >= 0.0
        .border_image_outset: return css_length_raw_value(&value) >= 0.0
        .border_image_width: return css_length_raw_value(&value) >= 0.0
        .border_inline_end_width: return css_length_raw_value(&value) >= 0.0
        .border_inline_start_width: return css_length_raw_value(&value) >= 0.0
        .border_inline_width: return css_length_raw_value(&value) >= 0.0
        .border_left_width: return css_length_raw_value(&value) >= 0.0
        .border_radius: return css_length_raw_value(&value) >= 0.0
        .border_right_width: return css_length_raw_value(&value) >= 0.0
        .border_spacing: return css_length_raw_value(&value) >= 0.0
        .border_start_end_radius: return css_length_raw_value(&value) >= 0.0
        .border_start_start_radius: return css_length_raw_value(&value) >= 0.0
        .border_top_left_radius: return css_length_raw_value(&value) >= 0.0
        .border_top_right_radius: return css_length_raw_value(&value) >= 0.0
        .border_top_width: return css_length_raw_value(&value) >= 0.0
        .border_width: return css_length_raw_value(&value) >= 0.0
        .bottom: return true
        .column_gap: return css_length_raw_value(&value) >= 0.0
        .column_height: return css_length_raw_value(&value) >= 0.0
        .column_width: return css_length_raw_value(&value) >= 0.0
        .cx: return true
        .cy: return true
        .flex_basis: return css_length_raw_value(&value) >= 0.0
        .font_size: return css_length_raw_value(&value) >= 0.0
        .gap: return css_length_raw_value(&value) >= 0.0
        .grid: return css_length_raw_value(&value) >= 0.0
        .grid_auto_columns: return css_length_raw_value(&value) >= 0.0
        .grid_auto_rows: return css_length_raw_value(&value) >= 0.0
        .grid_template: return css_length_raw_value(&value) >= 0.0
        .grid_template_columns: return css_length_raw_value(&value) >= 0.0
        .grid_template_rows: return css_length_raw_value(&value) >= 0.0
        .height: return css_length_raw_value(&value) >= 0.0
        .inline_size: return css_length_raw_value(&value) >= 0.0
        .inset: return true
        .inset_block: return true
        .inset_block_end: return true
        .inset_block_start: return true
        .inset_inline: return true
        .inset_inline_end: return true
        .inset_inline_start: return true
        .left: return true
        .letter_spacing: return true
        .line_height: return css_length_raw_value(&value) >= 0.0
        .margin: return true
        .margin_block: return true
        .margin_block_end: return true
        .margin_block_start: return true
        .margin_bottom: return true
        .margin_inline: return true
        .margin_inline_end: return true
        .margin_inline_start: return true
        .margin_left: return true
        .margin_right: return true
        .margin_top: return true
        .mask_size: return css_length_raw_value(&value) >= 0.0
        .max_block_size: return css_length_raw_value(&value) >= 0.0
        .max_height: return css_length_raw_value(&value) >= 0.0
        .max_inline_size: return css_length_raw_value(&value) >= 0.0
        .max_width: return css_length_raw_value(&value) >= 0.0
        .min_block_size: return css_length_raw_value(&value) >= 0.0
        .min_height: return css_length_raw_value(&value) >= 0.0
        .min_inline_size: return css_length_raw_value(&value) >= 0.0
        .min_width: return css_length_raw_value(&value) >= 0.0
        .outline_offset: return true
        .outline_width: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_block: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_block_end: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_block_start: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_bottom: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_inline: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_inline_end: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_inline_start: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_left: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_right: return css_length_raw_value(&value) >= 0.0
        .overflow_clip_margin_top: return css_length_raw_value(&value) >= 0.0
        .padding: return css_length_raw_value(&value) >= 0.0
        .padding_block: return css_length_raw_value(&value) >= 0.0
        .padding_block_end: return css_length_raw_value(&value) >= 0.0
        .padding_block_start: return css_length_raw_value(&value) >= 0.0
        .padding_bottom: return css_length_raw_value(&value) >= 0.0
        .padding_inline: return css_length_raw_value(&value) >= 0.0
        .padding_inline_end: return css_length_raw_value(&value) >= 0.0
        .padding_inline_start: return css_length_raw_value(&value) >= 0.0
        .padding_left: return css_length_raw_value(&value) >= 0.0
        .padding_right: return css_length_raw_value(&value) >= 0.0
        .padding_top: return css_length_raw_value(&value) >= 0.0
        .perspective: return css_length_raw_value(&value) >= 0.0
        .r: return css_length_raw_value(&value) >= 0.0
        .right: return true
        .row_gap: return css_length_raw_value(&value) >= 0.0
        .rx: return css_length_raw_value(&value) >= 0.0
        .ry: return css_length_raw_value(&value) >= 0.0
        .shape_margin: return css_length_raw_value(&value) >= 0.0
        .stroke_dashoffset: return css_length_raw_value(&value) >= 0.0
        .stroke_width: return css_length_raw_value(&value) >= 0.0
        .tab_size: return css_length_raw_value(&value) >= 0.0
        .text_decoration_thickness: return true
        .text_indent: return true
        .text_underline_offset: return true
        .top: return true
        .transform_origin: return true
        .translate: return true
        .vertical_align: return true
        .width: return css_length_raw_value(&value) >= 0.0
        .word_spacing: return true
        .x: return true
        .y: return true
        _: return false

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_percentage.
pub func css_property_accepts_percentage(property_id: css_data.PropertyId, value: CssPercentage) -> bool:
    match property_id:
        .background_position_x: return true
        .background_position_y: return true
        .background_size: return css_percentage_value(&value) >= 0.0
        .block_size: return css_percentage_value(&value) >= 0.0
        .border_bottom_left_radius: return css_percentage_value(&value) >= 0.0
        .border_bottom_right_radius: return css_percentage_value(&value) >= 0.0
        .border_end_end_radius: return css_percentage_value(&value) >= 0.0
        .border_end_start_radius: return css_percentage_value(&value) >= 0.0
        .border_image_slice: return css_percentage_value(&value) >= 0.0
        .border_image_width: return css_percentage_value(&value) >= 0.0
        .border_radius: return css_percentage_value(&value) >= 0.0
        .border_start_end_radius: return css_percentage_value(&value) >= 0.0
        .border_start_start_radius: return css_percentage_value(&value) >= 0.0
        .border_top_left_radius: return css_percentage_value(&value) >= 0.0
        .border_top_right_radius: return css_percentage_value(&value) >= 0.0
        .bottom: return true
        .column_gap: return css_percentage_value(&value) >= 0.0
        .cx: return true
        .cy: return true
        .flex_basis: return css_percentage_value(&value) >= 0.0
        .font_size: return css_percentage_value(&value) >= 0.0
        .font_width: return css_percentage_value(&value) >= 0.0
        .gap: return css_percentage_value(&value) >= 0.0
        .grid: return css_percentage_value(&value) >= 0.0
        .grid_auto_columns: return css_percentage_value(&value) >= 0.0
        .grid_auto_rows: return css_percentage_value(&value) >= 0.0
        .grid_template: return css_percentage_value(&value) >= 0.0
        .grid_template_columns: return css_percentage_value(&value) >= 0.0
        .grid_template_rows: return css_percentage_value(&value) >= 0.0
        .height: return css_percentage_value(&value) >= 0.0
        .inline_size: return css_percentage_value(&value) >= 0.0
        .inset: return true
        .inset_block: return true
        .inset_block_end: return true
        .inset_block_start: return true
        .inset_inline: return true
        .inset_inline_end: return true
        .inset_inline_start: return true
        .left: return true
        .letter_spacing: return true
        .line_height: return css_percentage_value(&value) >= 0.0
        .margin: return true
        .margin_block: return true
        .margin_block_end: return true
        .margin_block_start: return true
        .margin_bottom: return true
        .margin_inline: return true
        .margin_inline_end: return true
        .margin_inline_start: return true
        .margin_left: return true
        .margin_right: return true
        .margin_top: return true
        .mask_size: return css_percentage_value(&value) >= 0.0
        .max_block_size: return css_percentage_value(&value) >= 0.0
        .max_height: return css_percentage_value(&value) >= 0.0
        .max_inline_size: return css_percentage_value(&value) >= 0.0
        .max_width: return css_percentage_value(&value) >= 0.0
        .min_block_size: return css_percentage_value(&value) >= 0.0
        .min_height: return css_percentage_value(&value) >= 0.0
        .min_inline_size: return css_percentage_value(&value) >= 0.0
        .min_width: return css_percentage_value(&value) >= 0.0
        .padding: return css_percentage_value(&value) >= 0.0
        .padding_block: return css_percentage_value(&value) >= 0.0
        .padding_block_end: return css_percentage_value(&value) >= 0.0
        .padding_block_start: return css_percentage_value(&value) >= 0.0
        .padding_bottom: return css_percentage_value(&value) >= 0.0
        .padding_inline: return css_percentage_value(&value) >= 0.0
        .padding_inline_end: return css_percentage_value(&value) >= 0.0
        .padding_inline_start: return css_percentage_value(&value) >= 0.0
        .padding_left: return css_percentage_value(&value) >= 0.0
        .padding_right: return css_percentage_value(&value) >= 0.0
        .padding_top: return css_percentage_value(&value) >= 0.0
        .r: return css_percentage_value(&value) >= 0.0
        .right: return true
        .row_gap: return css_percentage_value(&value) >= 0.0
        .rx: return css_percentage_value(&value) >= 0.0
        .ry: return css_percentage_value(&value) >= 0.0
        .shape_margin: return css_percentage_value(&value) >= 0.0
        .stroke_dashoffset: return css_percentage_value(&value) >= 0.0
        .stroke_width: return css_percentage_value(&value) >= 0.0
        .text_decoration_thickness: return true
        .text_indent: return true
        .text_underline_offset: return true
        .top: return true
        .transform_origin: return true
        .translate: return true
        .vertical_align: return true
        .width: return css_percentage_value(&value) >= 0.0
        .word_spacing: return true
        .x: return true
        .y: return true
        _: return false

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_resolution.
pub func css_property_accepts_resolution(property_id: css_data.PropertyId, value: CssResolution) -> bool:
    match property_id:
        _: return false

## Ported from Build/Libraries/LibWeb/CSS/PropertyID.cpp Web::CSS::property_accepts_time.
pub func css_property_accepts_time(property_id: css_data.PropertyId, value: CssTime) -> bool:
    match property_id:
        .animation_delay: return true
        .animation_duration: return css_time_raw_value(&value) >= 0.0
        .transition_delay: return true
        .transition_duration: return css_time_raw_value(&value) >= 0.0
        _: return false