From 854258c76ebc4c3c8c87c836297b91107fb83f1d Mon Sep 17 00:00:00 2001 From: Ravi Shankar Date: Mon, 3 Oct 2016 20:40:34 +0530 Subject: [PATCH 1/2] Add NS_FONT_STRETCH_* to bindgen script --- components/style/binding_tools/regen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py index c29aa936f54..18fef011d74 100755 --- a/components/style/binding_tools/regen.py +++ b/components/style/binding_tools/regen.py @@ -48,6 +48,7 @@ COMPILATION_TARGETS = { "--ignore-methods", ], "includes": [ + "{}/dist/include/gfxFontConstants.h", "{}/dist/include/nsThemeConstants.h", "{}/dist/include/mozilla/dom/AnimationEffectReadOnlyBinding.h", "{}/dist/include/mozilla/ServoElementSnapshot.h", @@ -73,6 +74,7 @@ COMPILATION_TARGETS = { "whitelist_vars": [ "NS_THEME_.*", "NODE_.*", + "NS_FONT_STRETCH_.*", "NS_FONT_STYLE_.*", "NS_STYLE_.*", "NS_CORNER_.*", From 68d25d908ab69028f5c0e53d72c7288165e90301 Mon Sep 17 00:00:00 2001 From: Ravi Shankar Date: Tue, 4 Oct 2016 13:25:00 +0530 Subject: [PATCH 2/2] Regen struct bindings --- .../style/gecko_bindings/structs_debug.rs | 48 +++++++++++++++++-- .../style/gecko_bindings/structs_release.rs | 48 +++++++++++++++++-- 2 files changed, 90 insertions(+), 6 deletions(-) diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index d8b44c696c4..118ecd6d174 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -25,6 +25,18 @@ impl ::std::clone::Clone for __BindgenUnionField { fn clone(&self) -> Self { Self::new() } } impl ::std::marker::Copy for __BindgenUnionField { } +pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1; +pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2; +pub const NS_FONT_STRETCH_ULTRA_CONDENSED: ::std::os::raw::c_int = -4; +pub const NS_FONT_STRETCH_EXTRA_CONDENSED: ::std::os::raw::c_int = -3; +pub const NS_FONT_STRETCH_CONDENSED: ::std::os::raw::c_int = -2; +pub const NS_FONT_STRETCH_SEMI_CONDENSED: ::std::os::raw::c_int = -1; +pub const NS_FONT_STRETCH_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_STRETCH_SEMI_EXPANDED: ::std::os::raw::c_uint = 1; +pub const NS_FONT_STRETCH_EXPANDED: ::std::os::raw::c_uint = 2; +pub const NS_FONT_STRETCH_EXTRA_EXPANDED: ::std::os::raw::c_uint = 3; +pub const NS_FONT_STRETCH_ULTRA_EXPANDED: ::std::os::raw::c_uint = 4; pub const NS_THEME_NONE: ::std::os::raw::c_uint = 0; pub const NS_THEME_BUTTON: ::std::os::raw::c_uint = 1; pub const NS_THEME_RADIO: ::std::os::raw::c_uint = 2; @@ -148,9 +160,6 @@ pub const NS_THEME_MAC_DISCLOSURE_BUTTON_OPEN: ::std::os::raw::c_uint = 245; pub const NS_THEME_MAC_DISCLOSURE_BUTTON_CLOSED: ::std::os::raw::c_uint = 246; pub const NS_THEME_GTK_INFO_BAR: ::std::os::raw::c_uint = 247; pub const NS_THEME_MAC_SOURCE_LIST: ::std::os::raw::c_uint = 248; -pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0; -pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1; -pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2; pub const NS_CORNER_TOP_LEFT_X: ::std::os::raw::c_uint = 0; pub const NS_CORNER_TOP_LEFT_Y: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_RIGHT_X: ::std::os::raw::c_uint = 2; @@ -222,6 +231,12 @@ pub const NS_STYLE_VOLUME_MEDIUM: ::std::os::raw::c_uint = 3; pub const NS_STYLE_VOLUME_LOUD: ::std::os::raw::c_uint = 4; pub const NS_STYLE_VOLUME_X_LOUD: ::std::os::raw::c_uint = 5; pub const NS_STYLE_COLOR_INHERIT_FROM_BODY: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_WILL_CHANGE_STACKING_CONTEXT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_TRANSFORM: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_SCROLL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_OPACITY: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_FIXPOS_CB: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_ABSPOS_CB: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE: ::std::os::raw::c_uint = 0; @@ -240,6 +255,11 @@ pub const NS_STYLE_IMAGELAYER_CLIP_MOZ_ALMOST_PADDING: ::std::os::raw::c_uint pub const NS_STYLE_IMAGELAYER_ORIGIN_BORDER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_ORIGIN_PADDING: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_ORIGIN_CONTENT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_IMAGELAYER_POSITION_CENTER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_TOP: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_RIGHT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_REPEAT_NO_REPEAT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_X: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_Y: ::std::os::raw::c_uint = 2; @@ -371,6 +391,8 @@ pub const NS_STYLE_FILTER_SATURATE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_FILTER_SEPIA: ::std::os::raw::c_uint = 9; pub const NS_STYLE_FILTER_HUE_ROTATE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_FILTER_DROP_SHADOW: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_FONT_WEIGHT_BOLDER: ::std::os::raw::c_int = -1; +pub const NS_STYLE_FONT_WEIGHT_LIGHTER: ::std::os::raw::c_int = -2; pub const NS_STYLE_FONT_SIZE_XXSMALL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FONT_SIZE_XSMALL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FONT_SIZE_SMALL: ::std::os::raw::c_uint = 2; @@ -397,6 +419,9 @@ pub const NS_STYLE_FONT_BUTTON: ::std::os::raw::c_uint = 13; pub const NS_STYLE_FONT_PULL_DOWN_MENU: ::std::os::raw::c_uint = 14; pub const NS_STYLE_FONT_LIST: ::std::os::raw::c_uint = 15; pub const NS_STYLE_FONT_FIELD: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_GRID_AUTO_FLOW_ROW: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint = 2; @@ -436,6 +461,7 @@ pub const NS_STYLE_OVERFLOW_SCROLLBARS_HORIZONTAL: ::std::os::raw::c_uint = 5; pub const NS_STYLE_OVERFLOW_SCROLLBARS_VERTICAL: ::std::os::raw::c_uint = 6; pub const NS_STYLE_OVERFLOW_CLIP_BOX_PADDING_BOX: ::std::os::raw::c_uint = 0; pub const NS_STYLE_OVERFLOW_CLIP_BOX_CONTENT_BOX: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_LIST_STYLE_CUSTOM: ::std::os::raw::c_int = -1; pub const NS_STYLE_LIST_STYLE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_LIST_STYLE_DISC: ::std::os::raw::c_uint = 1; pub const NS_STYLE_LIST_STYLE_CIRCLE: ::std::os::raw::c_uint = 2; @@ -531,6 +557,11 @@ pub const NS_STYLE_TEXT_TRANSFORM_CAPITALIZE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_TRANSFORM_LOWERCASE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_TRANSFORM_UPPERCASE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_TRANSFORM_FULL_WIDTH: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_TOUCH_ACTION_NONE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_AUTO: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_PAN_X: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_PAN_Y: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0; @@ -634,6 +665,7 @@ pub const NS_STYLE_PAGE_BREAK_AVOID: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PAGE_BREAK_LEFT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_PAGE_BREAK_RIGHT: ::std::os::raw::c_uint = 4; pub const NS_STYLE_COLUMN_COUNT_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_COLUMN_COUNT_UNLIMITED: ::std::os::raw::c_int = -1; pub const NS_STYLE_COLUMN_FILL_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COLUMN_FILL_BALANCE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IME_MODE_AUTO: ::std::os::raw::c_uint = 0; @@ -692,7 +724,14 @@ pub const NS_STYLE_STROKE_PROP_CONTEXT_VALUE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ANCHOR_START: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ANCHOR_MIDDLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_ANCHOR_END: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_OVER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_UNDER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_RIGHT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILL_MASK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILLED: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_OPEN: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SHAPE_MASK: ::std::os::raw::c_uint = 7; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_CIRCLE: ::std::os::raw::c_uint = 2; @@ -773,7 +812,10 @@ pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_INHERIT_BIT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_INHERIT_MASK: ::std::os::raw::c_uint = 16777215; +pub const NS_STYLE_INHERITED_STRUCT_MASK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_RESET_STRUCT_MASK: ::std::os::raw::c_uint = 1; pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: ::std::os::raw::c_uint = 16777216; pub const NS_STYLE_HAS_PSEUDO_ELEMENT_DATA: ::std::os::raw::c_uint = 33554432; diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index d52856aa9d9..359061c330a 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -25,6 +25,18 @@ impl ::std::clone::Clone for __BindgenUnionField { fn clone(&self) -> Self { Self::new() } } impl ::std::marker::Copy for __BindgenUnionField { } +pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1; +pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2; +pub const NS_FONT_STRETCH_ULTRA_CONDENSED: ::std::os::raw::c_int = -4; +pub const NS_FONT_STRETCH_EXTRA_CONDENSED: ::std::os::raw::c_int = -3; +pub const NS_FONT_STRETCH_CONDENSED: ::std::os::raw::c_int = -2; +pub const NS_FONT_STRETCH_SEMI_CONDENSED: ::std::os::raw::c_int = -1; +pub const NS_FONT_STRETCH_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_STRETCH_SEMI_EXPANDED: ::std::os::raw::c_uint = 1; +pub const NS_FONT_STRETCH_EXPANDED: ::std::os::raw::c_uint = 2; +pub const NS_FONT_STRETCH_EXTRA_EXPANDED: ::std::os::raw::c_uint = 3; +pub const NS_FONT_STRETCH_ULTRA_EXPANDED: ::std::os::raw::c_uint = 4; pub const NS_THEME_NONE: ::std::os::raw::c_uint = 0; pub const NS_THEME_BUTTON: ::std::os::raw::c_uint = 1; pub const NS_THEME_RADIO: ::std::os::raw::c_uint = 2; @@ -148,9 +160,6 @@ pub const NS_THEME_MAC_DISCLOSURE_BUTTON_OPEN: ::std::os::raw::c_uint = 245; pub const NS_THEME_MAC_DISCLOSURE_BUTTON_CLOSED: ::std::os::raw::c_uint = 246; pub const NS_THEME_GTK_INFO_BAR: ::std::os::raw::c_uint = 247; pub const NS_THEME_MAC_SOURCE_LIST: ::std::os::raw::c_uint = 248; -pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0; -pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1; -pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2; pub const NS_CORNER_TOP_LEFT_X: ::std::os::raw::c_uint = 0; pub const NS_CORNER_TOP_LEFT_Y: ::std::os::raw::c_uint = 1; pub const NS_CORNER_TOP_RIGHT_X: ::std::os::raw::c_uint = 2; @@ -222,6 +231,12 @@ pub const NS_STYLE_VOLUME_MEDIUM: ::std::os::raw::c_uint = 3; pub const NS_STYLE_VOLUME_LOUD: ::std::os::raw::c_uint = 4; pub const NS_STYLE_VOLUME_X_LOUD: ::std::os::raw::c_uint = 5; pub const NS_STYLE_COLOR_INHERIT_FROM_BODY: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_WILL_CHANGE_STACKING_CONTEXT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_TRANSFORM: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_SCROLL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_OPACITY: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_FIXPOS_CB: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WILL_CHANGE_ABSPOS_CB: ::std::os::raw::c_uint = 1; pub const NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE: ::std::os::raw::c_uint = 0; @@ -240,6 +255,11 @@ pub const NS_STYLE_IMAGELAYER_CLIP_MOZ_ALMOST_PADDING: ::std::os::raw::c_uint pub const NS_STYLE_IMAGELAYER_ORIGIN_BORDER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_ORIGIN_PADDING: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_ORIGIN_CONTENT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_IMAGELAYER_POSITION_CENTER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_TOP: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_POSITION_RIGHT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_REPEAT_NO_REPEAT: ::std::os::raw::c_uint = 0; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_X: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_Y: ::std::os::raw::c_uint = 2; @@ -371,6 +391,8 @@ pub const NS_STYLE_FILTER_SATURATE: ::std::os::raw::c_uint = 8; pub const NS_STYLE_FILTER_SEPIA: ::std::os::raw::c_uint = 9; pub const NS_STYLE_FILTER_HUE_ROTATE: ::std::os::raw::c_uint = 10; pub const NS_STYLE_FILTER_DROP_SHADOW: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_FONT_WEIGHT_BOLDER: ::std::os::raw::c_int = -1; +pub const NS_STYLE_FONT_WEIGHT_LIGHTER: ::std::os::raw::c_int = -2; pub const NS_STYLE_FONT_SIZE_XXSMALL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_FONT_SIZE_XSMALL: ::std::os::raw::c_uint = 1; pub const NS_STYLE_FONT_SIZE_SMALL: ::std::os::raw::c_uint = 2; @@ -397,6 +419,9 @@ pub const NS_STYLE_FONT_BUTTON: ::std::os::raw::c_uint = 13; pub const NS_STYLE_FONT_PULL_DOWN_MENU: ::std::os::raw::c_uint = 14; pub const NS_STYLE_FONT_LIST: ::std::os::raw::c_uint = 15; pub const NS_STYLE_FONT_FIELD: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_GRID_AUTO_FLOW_ROW: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint = 2; @@ -436,6 +461,7 @@ pub const NS_STYLE_OVERFLOW_SCROLLBARS_HORIZONTAL: ::std::os::raw::c_uint = 5; pub const NS_STYLE_OVERFLOW_SCROLLBARS_VERTICAL: ::std::os::raw::c_uint = 6; pub const NS_STYLE_OVERFLOW_CLIP_BOX_PADDING_BOX: ::std::os::raw::c_uint = 0; pub const NS_STYLE_OVERFLOW_CLIP_BOX_CONTENT_BOX: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_LIST_STYLE_CUSTOM: ::std::os::raw::c_int = -1; pub const NS_STYLE_LIST_STYLE_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_LIST_STYLE_DISC: ::std::os::raw::c_uint = 1; pub const NS_STYLE_LIST_STYLE_CIRCLE: ::std::os::raw::c_uint = 2; @@ -531,6 +557,11 @@ pub const NS_STYLE_TEXT_TRANSFORM_CAPITALIZE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_TRANSFORM_LOWERCASE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_TRANSFORM_UPPERCASE: ::std::os::raw::c_uint = 3; pub const NS_STYLE_TEXT_TRANSFORM_FULL_WIDTH: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_TOUCH_ACTION_NONE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_AUTO: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_PAN_X: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_PAN_Y: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0; @@ -634,6 +665,7 @@ pub const NS_STYLE_PAGE_BREAK_AVOID: ::std::os::raw::c_uint = 2; pub const NS_STYLE_PAGE_BREAK_LEFT: ::std::os::raw::c_uint = 3; pub const NS_STYLE_PAGE_BREAK_RIGHT: ::std::os::raw::c_uint = 4; pub const NS_STYLE_COLUMN_COUNT_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_COLUMN_COUNT_UNLIMITED: ::std::os::raw::c_int = -1; pub const NS_STYLE_COLUMN_FILL_AUTO: ::std::os::raw::c_uint = 0; pub const NS_STYLE_COLUMN_FILL_BALANCE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_IME_MODE_AUTO: ::std::os::raw::c_uint = 0; @@ -692,7 +724,14 @@ pub const NS_STYLE_STROKE_PROP_CONTEXT_VALUE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ANCHOR_START: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_ANCHOR_MIDDLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_ANCHOR_END: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_OVER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_UNDER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_POSITION_RIGHT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILL_MASK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILLED: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_OPEN: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SHAPE_MASK: ::std::os::raw::c_uint = 7; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_EMPHASIS_STYLE_CIRCLE: ::std::os::raw::c_uint = 2; @@ -773,7 +812,10 @@ pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0; pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1; pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_INHERIT_BIT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_INHERIT_MASK: ::std::os::raw::c_uint = 16777215; +pub const NS_STYLE_INHERITED_STRUCT_MASK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_RESET_STRUCT_MASK: ::std::os::raw::c_uint = 1; pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: ::std::os::raw::c_uint = 16777216; pub const NS_STYLE_HAS_PSEUDO_ELEMENT_DATA: ::std::os::raw::c_uint = 33554432;