Copy as Markdown

Other Tools

/* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* enum types for CSS properties and their values */
#ifndef nsCSSPropertyID_h___
#define nsCSSPropertyID_h___
#include <nsHashKeys.h>
/*
Declare the enum list using the magic of preprocessing
enum values are "eCSSProperty_foo" (where foo is the property)
To change the list of properties, see ServoCSSPropList.h
*/
enum nsCSSPropertyID : int32_t {
eCSSProperty_UNKNOWN = -1,
eCSSProperty_align_content,
eCSSProperty_align_items,
eCSSProperty_align_self,
eCSSProperty_aspect_ratio,
eCSSProperty_backface_visibility,
eCSSProperty_baseline_source,
eCSSProperty_border_collapse,
eCSSProperty_border_image_repeat,
eCSSProperty_box_decoration_break,
eCSSProperty_box_sizing,
eCSSProperty_break_inside,
eCSSProperty_caption_side,
eCSSProperty_clear,
eCSSProperty_color_interpolation,
eCSSProperty_color_interpolation_filters,
eCSSProperty_column_count,
eCSSProperty_column_fill,
eCSSProperty_column_span,
eCSSProperty_contain,
eCSSProperty_container_type,
eCSSProperty_content_visibility,
eCSSProperty_direction,
eCSSProperty_display,
eCSSProperty_dominant_baseline,
eCSSProperty_empty_cells,
eCSSProperty_flex_direction,
eCSSProperty_flex_wrap,
eCSSProperty_float,
eCSSProperty_font_kerning,
eCSSProperty_font_language_override,
eCSSProperty_font_optical_sizing,
eCSSProperty_font_size_adjust,
eCSSProperty_font_stretch,
eCSSProperty_font_style,
eCSSProperty_font_variant_caps,
eCSSProperty_font_variant_east_asian,
eCSSProperty_font_variant_emoji,
eCSSProperty_font_variant_ligatures,
eCSSProperty_font_variant_numeric,
eCSSProperty_font_variant_position,
eCSSProperty_font_weight,
eCSSProperty_forced_color_adjust,
eCSSProperty_grid_auto_flow,
eCSSProperty_hyphens,
eCSSProperty_image_orientation,
eCSSProperty_image_rendering,
eCSSProperty_ime_mode,
eCSSProperty_initial_letter,
eCSSProperty_isolation,
eCSSProperty_justify_content,
eCSSProperty_justify_items,
eCSSProperty_justify_self,
eCSSProperty_line_break,
eCSSProperty_list_style_position,
eCSSProperty_mask_type,
eCSSProperty_masonry_auto_flow,
eCSSProperty_math_depth,
eCSSProperty_math_style,
eCSSProperty_mix_blend_mode,
eCSSProperty__moz_box_align,
eCSSProperty__moz_box_collapse,
eCSSProperty__moz_box_direction,
eCSSProperty__moz_box_orient,
eCSSProperty__moz_box_pack,
eCSSProperty__moz_control_character_visibility,
eCSSProperty__moz_float_edge,
eCSSProperty__moz_inert,
eCSSProperty__moz_math_variant,
eCSSProperty__moz_min_font_size_ratio,
eCSSProperty__moz_orient,
eCSSProperty__moz_osx_font_smoothing,
eCSSProperty__moz_text_size_adjust,
eCSSProperty__moz_theme,
eCSSProperty__moz_top_layer,
eCSSProperty__moz_user_focus,
eCSSProperty__moz_user_input,
eCSSProperty__moz_user_modify,
eCSSProperty__moz_window_dragging,
eCSSProperty__moz_window_shadow,
eCSSProperty_object_fit,
eCSSProperty_offset_rotate,
eCSSProperty_outline_style,
eCSSProperty_overflow_anchor,
eCSSProperty_overflow_wrap,
eCSSProperty_page_orientation,
eCSSProperty_paint_order,
eCSSProperty_pointer_events,
eCSSProperty_position,
eCSSProperty_print_color_adjust,
eCSSProperty_resize,
eCSSProperty_ruby_align,
eCSSProperty_ruby_position,
eCSSProperty_scroll_behavior,
eCSSProperty_scroll_snap_align,
eCSSProperty_scroll_snap_stop,
eCSSProperty_scroll_snap_type,
eCSSProperty_scrollbar_gutter,
eCSSProperty_scrollbar_width,
eCSSProperty_shape_rendering,
eCSSProperty_stroke_linecap,
eCSSProperty_stroke_linejoin,
eCSSProperty_table_layout,
eCSSProperty_text_align,
eCSSProperty_text_align_last,
eCSSProperty_text_anchor,
eCSSProperty_text_combine_upright,
eCSSProperty_text_decoration_line,
eCSSProperty_text_decoration_skip_ink,
eCSSProperty_text_decoration_style,
eCSSProperty_text_emphasis_position,
eCSSProperty_text_justify,
eCSSProperty_text_orientation,
eCSSProperty_text_rendering,
eCSSProperty_text_transform,
eCSSProperty_text_underline_position,
eCSSProperty_text_wrap_mode,
eCSSProperty_text_wrap_style,
eCSSProperty_touch_action,
eCSSProperty_transform_box,
eCSSProperty_transform_style,
eCSSProperty_unicode_bidi,
eCSSProperty_user_select,
eCSSProperty_vector_effect,
eCSSProperty_visibility,
eCSSProperty__webkit_line_clamp,
eCSSProperty__webkit_text_security,
eCSSProperty_white_space_collapse,
eCSSProperty_word_break,
eCSSProperty_writing_mode,
eCSSProperty__x_text_scale,
eCSSProperty_z_index,
eCSSProperty_zoom,
eCSSProperty_appearance,
eCSSProperty__moz_default_appearance,
eCSSProperty__moz_force_broken_image_icon,
eCSSProperty__moz_subtree_hidden_only_visually,
eCSSProperty_break_after,
eCSSProperty_break_before,
eCSSProperty_clip_rule,
eCSSProperty_fill_rule,
eCSSProperty_overflow_clip_box_block,
eCSSProperty_overflow_clip_box_inline,
eCSSProperty_fill_opacity,
eCSSProperty_stroke_opacity,
eCSSProperty__moz_box_ordinal_group,
eCSSProperty_order,
eCSSProperty__x_span,
eCSSProperty_font_synthesis_position,
eCSSProperty_font_synthesis_small_caps,
eCSSProperty_font_synthesis_style,
eCSSProperty_font_synthesis_weight,
eCSSProperty_flex_grow,
eCSSProperty_flex_shrink,
eCSSProperty__moz_box_flex,
eCSSProperty_stroke_miterlimit,
eCSSProperty_overflow_block,
eCSSProperty_overflow_inline,
eCSSProperty_overflow_x,
eCSSProperty_overflow_y,
eCSSProperty_overscroll_behavior_block,
eCSSProperty_overscroll_behavior_inline,
eCSSProperty_overscroll_behavior_x,
eCSSProperty_overscroll_behavior_y,
eCSSProperty_flood_opacity,
eCSSProperty__moz_window_opacity,
eCSSProperty_opacity,
eCSSProperty_shape_image_threshold,
eCSSProperty_stop_opacity,
eCSSProperty_border_block_end_style,
eCSSProperty_border_block_start_style,
eCSSProperty_border_bottom_style,
eCSSProperty_border_inline_end_style,
eCSSProperty_border_inline_start_style,
eCSSProperty_border_left_style,
eCSSProperty_border_right_style,
eCSSProperty_border_top_style,
eCSSProperty_column_rule_style,
eCSSProperty_accent_color,
eCSSProperty_align_tracks,
eCSSProperty_animation_composition,
eCSSProperty_animation_delay,
eCSSProperty_animation_direction,
eCSSProperty_animation_duration,
eCSSProperty_animation_fill_mode,
eCSSProperty_animation_iteration_count,
eCSSProperty_animation_name,
eCSSProperty_animation_play_state,
eCSSProperty_animation_timeline,
eCSSProperty_animation_timing_function,
eCSSProperty_backdrop_filter,
eCSSProperty_background_attachment,
eCSSProperty_background_blend_mode,
eCSSProperty_background_clip,
eCSSProperty_background_image,
eCSSProperty_background_origin,
eCSSProperty_background_position_x,
eCSSProperty_background_position_y,
eCSSProperty_background_repeat,
eCSSProperty_background_size,
eCSSProperty_border_image_outset,
eCSSProperty_border_image_slice,
eCSSProperty_border_image_width,
eCSSProperty_border_spacing,
eCSSProperty_box_shadow,
eCSSProperty_caret_color,
eCSSProperty_clip,
eCSSProperty_clip_path,
eCSSProperty_color,
eCSSProperty_color_scheme,
eCSSProperty_column_width,
eCSSProperty_container_name,
eCSSProperty_content,
eCSSProperty_counter_increment,
eCSSProperty_counter_reset,
eCSSProperty_counter_set,
eCSSProperty_cursor,
eCSSProperty_d,
eCSSProperty_filter,
eCSSProperty_flex_basis,
eCSSProperty_font_family,
eCSSProperty_font_feature_settings,
eCSSProperty_font_palette,
eCSSProperty_font_size,
eCSSProperty_font_variant_alternates,
eCSSProperty_font_variation_settings,
eCSSProperty_grid_template_areas,
eCSSProperty_hyphenate_character,
eCSSProperty_justify_tracks,
eCSSProperty_letter_spacing,
eCSSProperty_line_height,
eCSSProperty_list_style_type,
eCSSProperty_mask_clip,
eCSSProperty_mask_composite,
eCSSProperty_mask_image,
eCSSProperty_mask_mode,
eCSSProperty_mask_origin,
eCSSProperty_mask_position_x,
eCSSProperty_mask_position_y,
eCSSProperty_mask_repeat,
eCSSProperty_mask_size,
eCSSProperty__moz_context_properties,
eCSSProperty_offset_anchor,
eCSSProperty_offset_path,
eCSSProperty_offset_position,
eCSSProperty_page,
eCSSProperty_perspective,
eCSSProperty_quotes,
eCSSProperty_rotate,
eCSSProperty_scale,
eCSSProperty_scroll_timeline_axis,
eCSSProperty_scroll_timeline_name,
eCSSProperty_scrollbar_color,
eCSSProperty_shape_outside,
eCSSProperty_size,
eCSSProperty_stroke_dasharray,
eCSSProperty_stroke_dashoffset,
eCSSProperty_stroke_width,
eCSSProperty_tab_size,
eCSSProperty_text_decoration_thickness,
eCSSProperty_text_emphasis_style,
eCSSProperty_text_indent,
eCSSProperty_text_overflow,
eCSSProperty_text_shadow,
eCSSProperty_transition_behavior,
eCSSProperty_transition_delay,
eCSSProperty_transition_duration,
eCSSProperty_transition_property,
eCSSProperty_transition_timing_function,
eCSSProperty_translate,
eCSSProperty_vertical_align,
eCSSProperty_view_timeline_axis,
eCSSProperty_view_timeline_inset,
eCSSProperty_view_timeline_name,
eCSSProperty__webkit_text_stroke_width,
eCSSProperty_will_change,
eCSSProperty_word_spacing,
eCSSProperty__x_lang,
eCSSProperty_object_position,
eCSSProperty_perspective_origin,
eCSSProperty_fill,
eCSSProperty_stroke,
eCSSProperty__moz_window_transform_origin,
eCSSProperty_transform_origin,
eCSSProperty_grid_template_columns,
eCSSProperty_grid_template_rows,
eCSSProperty_border_image_source,
eCSSProperty_list_style_image,
eCSSProperty_grid_auto_columns,
eCSSProperty_grid_auto_rows,
eCSSProperty__moz_window_transform,
eCSSProperty_transform,
eCSSProperty_column_gap,
eCSSProperty_row_gap,
eCSSProperty_marker_end,
eCSSProperty_marker_mid,
eCSSProperty_marker_start,
eCSSProperty_contain_intrinsic_block_size,
eCSSProperty_contain_intrinsic_height,
eCSSProperty_contain_intrinsic_inline_size,
eCSSProperty_contain_intrinsic_width,
eCSSProperty_grid_column_end,
eCSSProperty_grid_column_start,
eCSSProperty_grid_row_end,
eCSSProperty_grid_row_start,
eCSSProperty_max_block_size,
eCSSProperty_max_height,
eCSSProperty_max_inline_size,
eCSSProperty_max_width,
eCSSProperty_cx,
eCSSProperty_cy,
eCSSProperty_offset_distance,
eCSSProperty_x,
eCSSProperty_y,
eCSSProperty_border_bottom_left_radius,
eCSSProperty_border_bottom_right_radius,
eCSSProperty_border_end_end_radius,
eCSSProperty_border_end_start_radius,
eCSSProperty_border_start_end_radius,
eCSSProperty_border_start_start_radius,
eCSSProperty_border_top_left_radius,
eCSSProperty_border_top_right_radius,
eCSSProperty_block_size,
eCSSProperty_height,
eCSSProperty_inline_size,
eCSSProperty_min_block_size,
eCSSProperty_min_height,
eCSSProperty_min_inline_size,
eCSSProperty_min_width,
eCSSProperty_width,
eCSSProperty_border_block_end_width,
eCSSProperty_border_block_start_width,
eCSSProperty_border_bottom_width,
eCSSProperty_border_inline_end_width,
eCSSProperty_border_inline_start_width,
eCSSProperty_border_left_width,
eCSSProperty_border_right_width,
eCSSProperty_border_top_width,
eCSSProperty_column_rule_width,
eCSSProperty_outline_width,
eCSSProperty_padding_block_end,
eCSSProperty_padding_block_start,
eCSSProperty_padding_bottom,
eCSSProperty_padding_inline_end,
eCSSProperty_padding_inline_start,
eCSSProperty_padding_left,
eCSSProperty_padding_right,
eCSSProperty_padding_top,
eCSSProperty_r,
eCSSProperty_shape_margin,
eCSSProperty_rx,
eCSSProperty_ry,
eCSSProperty_scroll_padding_block_end,
eCSSProperty_scroll_padding_block_start,
eCSSProperty_scroll_padding_bottom,
eCSSProperty_scroll_padding_inline_end,
eCSSProperty_scroll_padding_inline_start,
eCSSProperty_scroll_padding_left,
eCSSProperty_scroll_padding_right,
eCSSProperty_scroll_padding_top,
eCSSProperty__moz_window_input_region_margin,
eCSSProperty_outline_offset,
eCSSProperty_overflow_clip_margin,
eCSSProperty_scroll_margin_block_end,
eCSSProperty_scroll_margin_block_start,
eCSSProperty_scroll_margin_bottom,
eCSSProperty_scroll_margin_inline_end,
eCSSProperty_scroll_margin_inline_start,
eCSSProperty_scroll_margin_left,
eCSSProperty_scroll_margin_right,
eCSSProperty_scroll_margin_top,
eCSSProperty_bottom,
eCSSProperty_inset_block_end,
eCSSProperty_inset_block_start,
eCSSProperty_inset_inline_end,
eCSSProperty_inset_inline_start,
eCSSProperty_left,
eCSSProperty_margin_block_end,
eCSSProperty_margin_block_start,
eCSSProperty_margin_bottom,
eCSSProperty_margin_inline_end,
eCSSProperty_margin_inline_start,
eCSSProperty_margin_left,
eCSSProperty_margin_right,
eCSSProperty_margin_top,
eCSSProperty_right,
eCSSProperty_text_underline_offset,
eCSSProperty_top,
eCSSProperty_background_color,
eCSSProperty_border_block_end_color,
eCSSProperty_border_block_start_color,
eCSSProperty_border_bottom_color,
eCSSProperty_border_inline_end_color,
eCSSProperty_border_inline_start_color,
eCSSProperty_border_left_color,
eCSSProperty_border_right_color,
eCSSProperty_border_top_color,
eCSSProperty_column_rule_color,
eCSSProperty_flood_color,
eCSSProperty_lighting_color,
eCSSProperty_outline_color,
eCSSProperty_stop_color,
eCSSProperty_text_decoration_color,
eCSSProperty_text_emphasis_color,
eCSSProperty__webkit_text_fill_color,
eCSSProperty__webkit_text_stroke_color,
eCSSProperty_background,
eCSSProperty_background_position,
eCSSProperty_border_color,
eCSSProperty_border_style,
eCSSProperty_border_width,
eCSSProperty_border_top,
eCSSProperty_border_right,
eCSSProperty_border_bottom,
eCSSProperty_border_left,
eCSSProperty_border_block_start,
eCSSProperty_border_block_end,
eCSSProperty_border_inline_start,
eCSSProperty_border_inline_end,
eCSSProperty_border,
eCSSProperty_border_radius,
eCSSProperty_border_image,
eCSSProperty_border_block_width,
eCSSProperty_border_block_style,
eCSSProperty_border_block_color,
eCSSProperty_border_inline_width,
eCSSProperty_border_inline_style,
eCSSProperty_border_inline_color,
eCSSProperty_border_block,
eCSSProperty_border_inline,
eCSSProperty_overflow,
eCSSProperty_overflow_clip_box,
eCSSProperty_overscroll_behavior,
eCSSProperty_container,
eCSSProperty_page_break_before,
eCSSProperty_page_break_after,
eCSSProperty_page_break_inside,
eCSSProperty_offset,
eCSSProperty_columns,
eCSSProperty_column_rule,
eCSSProperty_font,
eCSSProperty_font_variant,
eCSSProperty_font_synthesis,
eCSSProperty_marker,
eCSSProperty_text_emphasis,
eCSSProperty_text_wrap,
eCSSProperty_white_space,
eCSSProperty__webkit_text_stroke,
eCSSProperty_list_style,
eCSSProperty_margin,
eCSSProperty_margin_block,
eCSSProperty_margin_inline,
eCSSProperty_scroll_margin,
eCSSProperty_scroll_margin_block,
eCSSProperty_scroll_margin_inline,
eCSSProperty_outline,
eCSSProperty_padding,
eCSSProperty_padding_block,
eCSSProperty_padding_inline,
eCSSProperty_scroll_padding,
eCSSProperty_scroll_padding_block,
eCSSProperty_scroll_padding_inline,
eCSSProperty_flex_flow,
eCSSProperty_flex,
eCSSProperty_gap,
eCSSProperty_grid_row,
eCSSProperty_grid_column,
eCSSProperty_grid_area,
eCSSProperty_grid_template,
eCSSProperty_grid,
eCSSProperty_place_content,
eCSSProperty_place_self,
eCSSProperty_place_items,
eCSSProperty_inset,
eCSSProperty_inset_block,
eCSSProperty_inset_inline,
eCSSProperty_contain_intrinsic_size,
eCSSProperty_mask,
eCSSProperty_mask_position,
eCSSProperty_text_decoration,
eCSSProperty_transition,
eCSSProperty_animation,
eCSSProperty_scroll_timeline,
eCSSProperty_view_timeline,
eCSSProperty_all,
eCSSPropertyAlias__webkit_background_clip,
eCSSPropertyAlias__webkit_background_origin,
eCSSPropertyAlias__webkit_background_size,
eCSSPropertyAlias__moz_border_start_color,
eCSSPropertyAlias__moz_border_start_style,
eCSSPropertyAlias__moz_border_start_width,
eCSSPropertyAlias__moz_border_end_color,
eCSSPropertyAlias__moz_border_end_style,
eCSSPropertyAlias__moz_border_end_width,
eCSSPropertyAlias__webkit_border_top_left_radius,
eCSSPropertyAlias__webkit_border_top_right_radius,
eCSSPropertyAlias__webkit_border_bottom_right_radius,
eCSSPropertyAlias__webkit_border_bottom_left_radius,
eCSSPropertyAlias__moz_transform,
eCSSPropertyAlias__webkit_transform,
eCSSPropertyAlias__moz_perspective,
eCSSPropertyAlias__webkit_perspective,
eCSSPropertyAlias__moz_perspective_origin,
eCSSPropertyAlias__webkit_perspective_origin,
eCSSPropertyAlias__moz_backface_visibility,
eCSSPropertyAlias__webkit_backface_visibility,
eCSSPropertyAlias__moz_transform_style,
eCSSPropertyAlias__webkit_transform_style,
eCSSPropertyAlias__moz_transform_origin,
eCSSPropertyAlias__webkit_transform_origin,
eCSSPropertyAlias__moz_appearance,
eCSSPropertyAlias__webkit_appearance,
eCSSPropertyAlias__webkit_box_shadow,
eCSSPropertyAlias__webkit_filter,
eCSSPropertyAlias__moz_font_feature_settings,
eCSSPropertyAlias__moz_font_language_override,
eCSSPropertyAlias_color_adjust,
eCSSPropertyAlias__moz_hyphens,
eCSSPropertyAlias__webkit_text_size_adjust,
eCSSPropertyAlias_word_wrap,
eCSSPropertyAlias__moz_tab_size,
eCSSPropertyAlias__moz_margin_start,
eCSSPropertyAlias__moz_margin_end,
eCSSPropertyAlias__moz_padding_start,
eCSSPropertyAlias__moz_padding_end,
eCSSPropertyAlias__webkit_flex_direction,
eCSSPropertyAlias__webkit_flex_wrap,
eCSSPropertyAlias__webkit_justify_content,
eCSSPropertyAlias__webkit_align_content,
eCSSPropertyAlias__webkit_align_items,
eCSSPropertyAlias__webkit_flex_grow,
eCSSPropertyAlias__webkit_flex_shrink,
eCSSPropertyAlias__webkit_align_self,
eCSSPropertyAlias__webkit_order,
eCSSPropertyAlias__webkit_flex_basis,
eCSSPropertyAlias__moz_box_sizing,
eCSSPropertyAlias__webkit_box_sizing,
eCSSPropertyAlias_grid_column_gap,
eCSSPropertyAlias_grid_row_gap,
eCSSPropertyAlias__webkit_clip_path,
eCSSPropertyAlias__webkit_mask_repeat,
eCSSPropertyAlias__webkit_mask_position_x,
eCSSPropertyAlias__webkit_mask_position_y,
eCSSPropertyAlias__webkit_mask_clip,
eCSSPropertyAlias__webkit_mask_origin,
eCSSPropertyAlias__webkit_mask_size,
eCSSPropertyAlias__webkit_mask_composite,
eCSSPropertyAlias__webkit_mask_image,
eCSSPropertyAlias__moz_user_select,
eCSSPropertyAlias__webkit_user_select,
eCSSPropertyAlias__moz_transition_duration,
eCSSPropertyAlias__webkit_transition_duration,
eCSSPropertyAlias__moz_transition_timing_function,
eCSSPropertyAlias__webkit_transition_timing_function,
eCSSPropertyAlias__moz_transition_property,
eCSSPropertyAlias__webkit_transition_property,
eCSSPropertyAlias__moz_transition_delay,
eCSSPropertyAlias__webkit_transition_delay,
eCSSPropertyAlias__moz_animation_name,
eCSSPropertyAlias__webkit_animation_name,
eCSSPropertyAlias__moz_animation_duration,
eCSSPropertyAlias__webkit_animation_duration,
eCSSPropertyAlias__moz_animation_timing_function,
eCSSPropertyAlias__webkit_animation_timing_function,
eCSSPropertyAlias__moz_animation_iteration_count,
eCSSPropertyAlias__webkit_animation_iteration_count,
eCSSPropertyAlias__moz_animation_direction,
eCSSPropertyAlias__webkit_animation_direction,
eCSSPropertyAlias__moz_animation_play_state,
eCSSPropertyAlias__webkit_animation_play_state,
eCSSPropertyAlias__moz_animation_fill_mode,
eCSSPropertyAlias__webkit_animation_fill_mode,
eCSSPropertyAlias__moz_animation_delay,
eCSSPropertyAlias__webkit_animation_delay,
eCSSPropertyAlias__webkit_box_align,
eCSSPropertyAlias__webkit_box_direction,
eCSSPropertyAlias__webkit_box_flex,
eCSSPropertyAlias__webkit_box_orient,
eCSSPropertyAlias__webkit_box_pack,
eCSSPropertyAlias__webkit_box_ordinal_group,
eCSSPropertyAlias__moz_border_start,
eCSSPropertyAlias__moz_border_end,
eCSSPropertyAlias__webkit_border_radius,
eCSSPropertyAlias__moz_border_image,
eCSSPropertyAlias__webkit_border_image,
eCSSPropertyAlias__webkit_flex_flow,
eCSSPropertyAlias__webkit_flex,
eCSSPropertyAlias_grid_gap,
eCSSPropertyAlias__webkit_mask,
eCSSPropertyAlias__webkit_mask_position,
eCSSPropertyAlias__moz_transition,
eCSSPropertyAlias__webkit_transition,
eCSSPropertyAlias__moz_animation,
eCSSPropertyAlias__webkit_animation,
// Some of the values below could probably overlap with each other
// if we had a need for them to do so.
// Extra value to represent custom properties (--*).
eCSSPropertyExtra_variable,
};
// MOZ_DBG support is defined in nsCSSProps.h since it depends on
// nsCSSProps::GetStringValue
const nsCSSPropertyID
eCSSProperty_COUNT_no_shorthands = eCSSProperty_background;
const nsCSSPropertyID
eCSSProperty_COUNT = eCSSPropertyAlias__webkit_background_clip;
const nsCSSPropertyID
eCSSProperty_COUNT_with_aliases = eCSSPropertyExtra_variable;
namespace mozilla {
template<>
inline PLDHashNumber
Hash<nsCSSPropertyID>(const nsCSSPropertyID& aValue)
{
return uint32_t(aValue);
}
} // namespace mozilla
// The "descriptors" that can appear in a @font-face rule.
// They have the syntax of properties but different value rules.
enum nsCSSFontDesc {
eCSSFontDesc_UNKNOWN = -1,
#define CSS_FONT_DESC(name_, method_) eCSSFontDesc_##method_,
#include "nsCSSFontDescList.h"
#undef CSS_FONT_DESC
eCSSFontDesc_COUNT
};
// The "descriptors" that can appear in a @counter-style rule.
// They have the syntax of properties but different value rules.
enum nsCSSCounterDesc {
eCSSCounterDesc_UNKNOWN = -1,
#define CSS_COUNTER_DESC(name_, method_) eCSSCounterDesc_##method_,
#include "nsCSSCounterDescList.h"
#undef CSS_COUNTER_DESC
eCSSCounterDesc_COUNT
};
namespace mozilla {
// FIXME: The underlying type of this enum should be uint8_t, but we can't do
enum class CountedUnknownProperty : uint32_t {
#define COUNTED_UNKNOWN_PROPERTY(name_, method_) method_,
#include "mozilla/CountedUnknownProperties.h"
#undef COUNTED_UNKNOWN_PROPERTY
Count,
};
} // namespace mozilla
#endif /* nsCSSPropertyID_h___ */