Gitweb links:
...log
http://git.netsurf-browser.org/libcss.git/shortlog/c1ccd83393e42fffece5b45013c5ef7ef1ace41e
...commit
http://git.netsurf-browser.org/libcss.git/commit/c1ccd83393e42fffece5b45013c5ef7ef1ace41e
...tree
http://git.netsurf-browser.org/libcss.git/tree/c1ccd83393e42fffece5b45013c5ef7ef1ace41e
The branch, lcneves/units has been updated
via c1ccd83393e42fffece5b45013c5ef7ef1ace41e (commit)
from d5e7ae65b97628fc27db7bba817545a8da287d05 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libcss.git/commit/?id=c1ccd83393e42fffece5b45013c5ef7ef1ace41e
commit c1ccd83393e42fffece5b45013c5ef7ef1ace41e
Author: Lucas Neves <[email protected]>
Commit: Lucas Neves <[email protected]>
WIP: Select: Add generator for computed properties.
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 <[email protected]>
+
+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 }
+
-----------------------------------------------------------------------
Summary of changes:
src/select/computed_properties.py | 117 +++++++++++++++++++++++++++++++++++++
1 file changed, 117 insertions(+)
create mode 100644 src/select/computed_properties.py
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 <[email protected]>
+
+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 }
+
--
Cascading Style Sheets library
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org