summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Neves <lcneves@gmail.com>2017-10-25 19:40:19 -0400
committerLucas Neves <lcneves@gmail.com>2017-10-25 19:41:20 -0400
commitc1ccd83393e42fffece5b45013c5ef7ef1ace41e (patch)
tree1c1428efc91320a78c3fe2c48ac9eed556b334d7
parentd5e7ae65b97628fc27db7bba817545a8da287d05 (diff)
downloadlibcss-c1ccd83393e42fffece5b45013c5ef7ef1ace41e.tar.gz
WIP: Select: Add generator for computed properties.
-rw-r--r--src/select/computed_properties.py117
1 files changed, 117 insertions, 0 deletions
diff --git a/src/select/computed_properties.py b/src/select/computed_properties.py
new file mode 100644
index 0000000..fa8218d
--- /dev/null
+++ b/src/select/computed_properties.py
@@ -0,0 +1,117 @@
+# This file is part of LibCSS.
+# Licensed under the MIT License,
+# http://www.opensource.org/licenses/mit-license.php
+# Copyright 2017 Lucas Neves <lcneves@gmail.com>
+
+uncommon = {
+ border_spacing,
+ break_before,
+ break_after,
+ break_inside,
+ clip,
+ column_count,
+ column_fill,
+ column_gap,
+ column_rule_color,
+ column_rule_style,
+ column_rule_width,
+ content,
+ counter_increment,
+ counter_reset,
+ cursor,
+ letter_spacing,
+ outline_color,
+ outline_width,
+ word_spacing
+}
+
+page = {
+ page_break_after,
+ page_break_before,
+ page_break_inside,
+ orphans,
+ windows
+}
+
+style = {
+ align_content,
+ align_items,
+ align_self,
+ background_attachment,
+ background_repeat,
+ background_color,
+ background_image,
+ background_position,
+ border_collapse,
+ border_top_style,
+ border_right_style,
+ border_bottom_style,
+ border_left_style,
+ border_top_color,
+ border_right_color,
+ border_bottom_color,
+ border_left_color,
+ border_top_width,
+ border_right_width,
+ border_bottom_width,
+ border_left_width,
+ top,
+ right,
+ bottom,
+ left,
+ box_sizing,
+ caption_side,
+ clear,
+ color,
+ direction,
+ display,
+ empty_cells,
+ flex_basis,
+ flex_direction,
+ flex_grow,
+ flex_shrink,
+ flex_wrap,
+ float_prop,
+ font_family,
+ font_size,
+ font_style,
+ font_variant,
+ font_weight,
+ height,
+ justify_content,
+ line_height,
+ list_style_image,
+ list_style_position,
+ list_style_type,
+ margin_top,
+ margin_right,
+ margin_bottom,
+ margin_left,
+ max_height,
+ max_width,
+ min_height,
+ min_width,
+ order,
+ outline_style,
+ overflow,
+ padding_top,
+ padding_right,
+ padding_bottom,
+ padding_left,
+ position,
+ quotes,
+ table_layout,
+ text_align,
+ text_decoration,
+ text_indent,
+ text_transform,
+ unicode_bidi,
+ vertical_align,
+ visibility,
+ white_space,
+ width,
+ z_index
+}
+
+groups = { uncommon, page, style }
+