diff --git a/ports/geckolib/gecko_style_structs.rs b/ports/geckolib/gecko_style_structs.rs new file mode 100644 index 00000000000..723620fce3f --- /dev/null +++ b/ports/geckolib/gecko_style_structs.rs @@ -0,0 +1,4494 @@ +/* automatically generated by rust-bindgen */ + +pub const NS_ERROR_MODULE_XPCOM: ::std::os::raw::c_uint = 1; +pub const NS_ERROR_MODULE_BASE: ::std::os::raw::c_uint = 2; +pub const NS_ERROR_MODULE_GFX: ::std::os::raw::c_uint = 3; +pub const NS_ERROR_MODULE_WIDGET: ::std::os::raw::c_uint = 4; +pub const NS_ERROR_MODULE_CALENDAR: ::std::os::raw::c_uint = 5; +pub const NS_ERROR_MODULE_NETWORK: ::std::os::raw::c_uint = 6; +pub const NS_ERROR_MODULE_PLUGINS: ::std::os::raw::c_uint = 7; +pub const NS_ERROR_MODULE_LAYOUT: ::std::os::raw::c_uint = 8; +pub const NS_ERROR_MODULE_HTMLPARSER: ::std::os::raw::c_uint = 9; +pub const NS_ERROR_MODULE_RDF: ::std::os::raw::c_uint = 10; +pub const NS_ERROR_MODULE_UCONV: ::std::os::raw::c_uint = 11; +pub const NS_ERROR_MODULE_REG: ::std::os::raw::c_uint = 12; +pub const NS_ERROR_MODULE_FILES: ::std::os::raw::c_uint = 13; +pub const NS_ERROR_MODULE_DOM: ::std::os::raw::c_uint = 14; +pub const NS_ERROR_MODULE_IMGLIB: ::std::os::raw::c_uint = 15; +pub const NS_ERROR_MODULE_MAILNEWS: ::std::os::raw::c_uint = 16; +pub const NS_ERROR_MODULE_EDITOR: ::std::os::raw::c_uint = 17; +pub const NS_ERROR_MODULE_XPCONNECT: ::std::os::raw::c_uint = 18; +pub const NS_ERROR_MODULE_PROFILE: ::std::os::raw::c_uint = 19; +pub const NS_ERROR_MODULE_LDAP: ::std::os::raw::c_uint = 20; +pub const NS_ERROR_MODULE_SECURITY: ::std::os::raw::c_uint = 21; +pub const NS_ERROR_MODULE_DOM_XPATH: ::std::os::raw::c_uint = 22; +pub const NS_ERROR_MODULE_URILOADER: ::std::os::raw::c_uint = 24; +pub const NS_ERROR_MODULE_CONTENT: ::std::os::raw::c_uint = 25; +pub const NS_ERROR_MODULE_PYXPCOM: ::std::os::raw::c_uint = 26; +pub const NS_ERROR_MODULE_XSLT: ::std::os::raw::c_uint = 27; +pub const NS_ERROR_MODULE_IPC: ::std::os::raw::c_uint = 28; +pub const NS_ERROR_MODULE_SVG: ::std::os::raw::c_uint = 29; +pub const NS_ERROR_MODULE_STORAGE: ::std::os::raw::c_uint = 30; +pub const NS_ERROR_MODULE_SCHEMA: ::std::os::raw::c_uint = 31; +pub const NS_ERROR_MODULE_DOM_FILE: ::std::os::raw::c_uint = 32; +pub const NS_ERROR_MODULE_DOM_INDEXEDDB: ::std::os::raw::c_uint = 33; +pub const NS_ERROR_MODULE_DOM_FILEHANDLE: ::std::os::raw::c_uint = 34; +pub const NS_ERROR_MODULE_SIGNED_JAR: ::std::os::raw::c_uint = 35; +pub const NS_ERROR_MODULE_DOM_FILESYSTEM: ::std::os::raw::c_uint = 36; +pub const NS_ERROR_MODULE_DOM_BLUETOOTH: ::std::os::raw::c_uint = 37; +pub const NS_ERROR_MODULE_SIGNED_APP: ::std::os::raw::c_uint = 38; +pub const NS_ERROR_MODULE_DOM_ANIM: ::std::os::raw::c_uint = 39; +pub const NS_ERROR_MODULE_DOM_PUSH: ::std::os::raw::c_uint = 40; +pub const NS_ERROR_MODULE_GENERAL: ::std::os::raw::c_uint = 51; +pub const NS_ERROR_SEVERITY_SUCCESS: ::std::os::raw::c_uint = 0; +pub const NS_ERROR_SEVERITY_ERROR: ::std::os::raw::c_uint = 1; +pub const NS_ERROR_MODULE_BASE_OFFSET: ::std::os::raw::c_uint = 69; +pub const MOZ_STRING_WITH_OBSOLETE_API: ::std::os::raw::c_uint = 1; +pub const NSID_LENGTH: ::std::os::raw::c_uint = 39; +pub const NS_NUMBER_OF_FLAGS_IN_REFCNT: ::std::os::raw::c_uint = 2; +pub const TWIPS_PER_POINT_INT: ::std::os::raw::c_uint = 20; +pub const POINTS_PER_INCH_INT: ::std::os::raw::c_uint = 72; +pub const NS_FONT_VARIANT_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_FONT_VARIANT_SMALL_CAPS: ::std::os::raw::c_uint = 1; +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; +pub const NS_CORNER_TOP_RIGHT_Y: ::std::os::raw::c_uint = 3; +pub const NS_CORNER_BOTTOM_RIGHT_X: ::std::os::raw::c_uint = 4; +pub const NS_CORNER_BOTTOM_RIGHT_Y: ::std::os::raw::c_uint = 5; +pub const NS_CORNER_BOTTOM_LEFT_X: ::std::os::raw::c_uint = 6; +pub const NS_CORNER_BOTTOM_LEFT_Y: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_CLIP_SHAPE_SIZING_NOBOX: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CLIP_SHAPE_SIZING_CONTENT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CLIP_SHAPE_SIZING_PADDING: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CLIP_SHAPE_SIZING_BORDER: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_CLIP_SHAPE_SIZING_MARGIN: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CLIP_SHAPE_SIZING_FILL: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_CLIP_SHAPE_SIZING_STROKE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_CLIP_SHAPE_SIZING_VIEW: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_BASIC_SHAPE_POLYGON: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BASIC_SHAPE_CIRCLE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BASIC_SHAPE_ELLIPSE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BASIC_SHAPE_INSET: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_BOX_SHADOW_INSET: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLOAT_EDGE_CONTENT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLOAT_EDGE_MARGIN: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_USER_FOCUS_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_USER_FOCUS_IGNORE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_USER_FOCUS_NORMAL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_USER_FOCUS_SELECT_ALL: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_USER_FOCUS_SELECT_BEFORE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_USER_FOCUS_SELECT_AFTER: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_USER_FOCUS_SELECT_SAME: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_USER_FOCUS_SELECT_MENU: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_USER_SELECT_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_USER_SELECT_TEXT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_USER_SELECT_ELEMENT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_USER_SELECT_ELEMENTS: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_USER_SELECT_ALL: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_USER_SELECT_TOGGLE: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_USER_SELECT_TRI_STATE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_USER_SELECT_AUTO: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_USER_SELECT_MOZ_ALL: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_USER_SELECT_MOZ_NONE: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_USER_SELECT_MOZ_TEXT: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_USER_INPUT_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_USER_INPUT_ENABLED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_USER_INPUT_DISABLED: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_USER_INPUT_AUTO: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_USER_MODIFY_READ_ONLY: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_USER_MODIFY_READ_WRITE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_USER_MODIFY_WRITE_ONLY: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_WINDOW_DRAGGING_DEFAULT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_WINDOW_DRAGGING_DRAG: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WINDOW_DRAGGING_NO_DRAG: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BOX_ALIGN_STRETCH: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BOX_ALIGN_START: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BOX_ALIGN_CENTER: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BOX_ALIGN_BASELINE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_BOX_ALIGN_END: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_BOX_PACK_START: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BOX_PACK_CENTER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BOX_PACK_END: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BOX_PACK_JUSTIFY: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_BOX_DECORATION_BREAK_SLICE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BOX_DECORATION_BREAK_CLONE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BOX_DIRECTION_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BOX_DIRECTION_REVERSE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BOX_ORIENT_HORIZONTAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BOX_ORIENT_VERTICAL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_ORIENT_INLINE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_ORIENT_BLOCK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_ORIENT_HORIZONTAL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_ORIENT_VERTICAL: ::std::os::raw::c_uint = 3; +pub const NS_RADIUS_FARTHEST_SIDE: ::std::os::raw::c_uint = 0; +pub const NS_RADIUS_CLOSEST_SIDE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_STACK_SIZING_IGNORE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_STACK_SIZING_STRETCH_TO_FIT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_AZIMUTH_LEFT_SIDE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_AZIMUTH_FAR_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_AZIMUTH_LEFT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_AZIMUTH_CENTER_LEFT: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_AZIMUTH_CENTER: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_AZIMUTH_CENTER_RIGHT: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_AZIMUTH_RIGHT: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_AZIMUTH_FAR_RIGHT: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_AZIMUTH_RIGHT_SIDE: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_AZIMUTH_BEHIND: ::std::os::raw::c_uint = 128; +pub const NS_STYLE_AZIMUTH_LEFTWARDS: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_AZIMUTH_RIGHTWARDS: ::std::os::raw::c_uint = 32; +pub const NS_STYLE_ELEVATION_BELOW: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_ELEVATION_LEVEL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_ELEVATION_ABOVE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_ELEVATION_HIGHER: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_ELEVATION_LOWER: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_PITCH_X_LOW: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_PITCH_LOW: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_PITCH_MEDIUM: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_PITCH_HIGH: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_PITCH_X_HIGH: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_SPEAK_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SPEAK_NORMAL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SPEAK_SPELL_OUT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_SPEAK_HEADER_ONCE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SPEAK_HEADER_ALWAYS: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SPEAK_NUMERAL_DIGITS: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SPEAK_NUMERAL_CONTINUOUS: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SPEAK_PUNCTUATION_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SPEAK_PUNCTUATION_CODE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SPEECH_RATE_X_SLOW: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SPEECH_RATE_SLOW: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SPEECH_RATE_MEDIUM: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_SPEECH_RATE_FAST: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_SPEECH_RATE_X_FAST: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_SPEECH_RATE_FASTER: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_SPEECH_RATE_SLOWER: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_VOLUME_SILENT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_VOLUME_X_SOFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_VOLUME_SOFT: ::std::os::raw::c_uint = 2; +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_MOZ_USE_TEXT_COLOR: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_COLOR_INHERIT_FROM_BODY: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE: ::std::os::raw::c_uint + = + 0; +pub const NS_STYLE_ANIMATION_PLAY_STATE_RUNNING: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_ANIMATION_PLAY_STATE_PAUSED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_ATTACHMENT_SCROLL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_IMAGELAYER_ATTACHMENT_FIXED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_ATTACHMENT_LOCAL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_IMAGELAYER_CLIP_BORDER: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_IMAGELAYER_CLIP_PADDING: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGELAYER_CLIP_CONTENT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_IMAGELAYER_CLIP_MOZ_ALMOST_PADDING: ::std::os::raw::c_uint + = + 127; +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_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; +pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_IMAGELAYER_SIZE_CONTAIN: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_IMAGELAYER_SIZE_COVER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_MASK_MODE_ALPHA: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_MASK_MODE_LUMINANCE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_MASK_MODE_MATCH_SOURCE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BG_INLINE_POLICY_EACH_BOX: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BG_INLINE_POLICY_CONTINUOUS: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BG_INLINE_POLICY_BOUNDING_BOX: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BORDER_COLLAPSE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BORDER_SEPARATE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BORDER_WIDTH_THIN: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BORDER_WIDTH_MEDIUM: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BORDER_WIDTH_THICK: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BORDER_STYLE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BORDER_STYLE_GROOVE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BORDER_STYLE_RIDGE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BORDER_STYLE_DOTTED: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_BORDER_STYLE_DASHED: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_BORDER_STYLE_SOLID: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_BORDER_STYLE_DOUBLE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_BORDER_STYLE_INSET: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_BORDER_STYLE_OUTSET: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_BORDER_STYLE_HIDDEN: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_BORDER_STYLE_AUTO: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_BORDER_IMAGE_REPEAT_STRETCH: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BORDER_IMAGE_REPEAT_REPEAT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BORDER_IMAGE_REPEAT_ROUND: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BORDER_IMAGE_SLICE_NOFILL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BORDER_IMAGE_SLICE_FILL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CLEAR_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CLEAR_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CLEAR_RIGHT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CLEAR_INLINE_START: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_CLEAR_INLINE_END: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CLEAR_BOTH: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_CLEAR_LINE: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_CONTENT_OPEN_QUOTE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CONTENT_CLOSE_QUOTE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CONTENT_NO_OPEN_QUOTE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CONTENT_NO_CLOSE_QUOTE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_CONTENT_ALT_CONTENT: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CURSOR_AUTO: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CURSOR_CROSSHAIR: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CURSOR_DEFAULT: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_CURSOR_POINTER: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CURSOR_MOVE: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_CURSOR_E_RESIZE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_CURSOR_NE_RESIZE: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_CURSOR_NW_RESIZE: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_CURSOR_N_RESIZE: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_CURSOR_SE_RESIZE: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_CURSOR_SW_RESIZE: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_CURSOR_S_RESIZE: ::std::os::raw::c_uint = 12; +pub const NS_STYLE_CURSOR_W_RESIZE: ::std::os::raw::c_uint = 13; +pub const NS_STYLE_CURSOR_TEXT: ::std::os::raw::c_uint = 14; +pub const NS_STYLE_CURSOR_WAIT: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_CURSOR_HELP: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_CURSOR_COPY: ::std::os::raw::c_uint = 17; +pub const NS_STYLE_CURSOR_ALIAS: ::std::os::raw::c_uint = 18; +pub const NS_STYLE_CURSOR_CONTEXT_MENU: ::std::os::raw::c_uint = 19; +pub const NS_STYLE_CURSOR_CELL: ::std::os::raw::c_uint = 20; +pub const NS_STYLE_CURSOR_GRAB: ::std::os::raw::c_uint = 21; +pub const NS_STYLE_CURSOR_GRABBING: ::std::os::raw::c_uint = 22; +pub const NS_STYLE_CURSOR_SPINNING: ::std::os::raw::c_uint = 23; +pub const NS_STYLE_CURSOR_ZOOM_IN: ::std::os::raw::c_uint = 24; +pub const NS_STYLE_CURSOR_ZOOM_OUT: ::std::os::raw::c_uint = 25; +pub const NS_STYLE_CURSOR_NOT_ALLOWED: ::std::os::raw::c_uint = 26; +pub const NS_STYLE_CURSOR_COL_RESIZE: ::std::os::raw::c_uint = 27; +pub const NS_STYLE_CURSOR_ROW_RESIZE: ::std::os::raw::c_uint = 28; +pub const NS_STYLE_CURSOR_NO_DROP: ::std::os::raw::c_uint = 29; +pub const NS_STYLE_CURSOR_VERTICAL_TEXT: ::std::os::raw::c_uint = 30; +pub const NS_STYLE_CURSOR_ALL_SCROLL: ::std::os::raw::c_uint = 31; +pub const NS_STYLE_CURSOR_NESW_RESIZE: ::std::os::raw::c_uint = 32; +pub const NS_STYLE_CURSOR_NWSE_RESIZE: ::std::os::raw::c_uint = 33; +pub const NS_STYLE_CURSOR_NS_RESIZE: ::std::os::raw::c_uint = 34; +pub const NS_STYLE_CURSOR_EW_RESIZE: ::std::os::raw::c_uint = 35; +pub const NS_STYLE_CURSOR_NONE: ::std::os::raw::c_uint = 36; +pub const NS_STYLE_DIRECTION_LTR: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_DIRECTION_RTL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WRITING_MODE_HORIZONTAL_TB: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_WRITING_MODE_VERTICAL_RL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WRITING_MODE_VERTICAL_LR: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_WRITING_MODE_SIDEWAYS_MASK: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_DISPLAY_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_DISPLAY_BLOCK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_DISPLAY_INLINE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_DISPLAY_INLINE_BLOCK: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_DISPLAY_LIST_ITEM: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_DISPLAY_TABLE: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_DISPLAY_INLINE_TABLE: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_DISPLAY_TABLE_ROW_GROUP: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_DISPLAY_TABLE_COLUMN: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP: ::std::os::raw::c_uint = 12; +pub const NS_STYLE_DISPLAY_TABLE_HEADER_GROUP: ::std::os::raw::c_uint = 13; +pub const NS_STYLE_DISPLAY_TABLE_FOOTER_GROUP: ::std::os::raw::c_uint = 14; +pub const NS_STYLE_DISPLAY_TABLE_ROW: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_DISPLAY_TABLE_CELL: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_DISPLAY_TABLE_CAPTION: ::std::os::raw::c_uint = 17; +pub const NS_STYLE_DISPLAY_BOX: ::std::os::raw::c_uint = 18; +pub const NS_STYLE_DISPLAY_INLINE_BOX: ::std::os::raw::c_uint = 19; +pub const NS_STYLE_DISPLAY_XUL_GRID: ::std::os::raw::c_uint = 20; +pub const NS_STYLE_DISPLAY_INLINE_XUL_GRID: ::std::os::raw::c_uint = 21; +pub const NS_STYLE_DISPLAY_XUL_GRID_GROUP: ::std::os::raw::c_uint = 22; +pub const NS_STYLE_DISPLAY_XUL_GRID_LINE: ::std::os::raw::c_uint = 23; +pub const NS_STYLE_DISPLAY_STACK: ::std::os::raw::c_uint = 24; +pub const NS_STYLE_DISPLAY_INLINE_STACK: ::std::os::raw::c_uint = 25; +pub const NS_STYLE_DISPLAY_DECK: ::std::os::raw::c_uint = 26; +pub const NS_STYLE_DISPLAY_POPUP: ::std::os::raw::c_uint = 27; +pub const NS_STYLE_DISPLAY_GROUPBOX: ::std::os::raw::c_uint = 28; +pub const NS_STYLE_DISPLAY_FLEX: ::std::os::raw::c_uint = 29; +pub const NS_STYLE_DISPLAY_INLINE_FLEX: ::std::os::raw::c_uint = 30; +pub const NS_STYLE_DISPLAY_GRID: ::std::os::raw::c_uint = 31; +pub const NS_STYLE_DISPLAY_INLINE_GRID: ::std::os::raw::c_uint = 32; +pub const NS_STYLE_DISPLAY_RUBY: ::std::os::raw::c_uint = 33; +pub const NS_STYLE_DISPLAY_RUBY_BASE: ::std::os::raw::c_uint = 34; +pub const NS_STYLE_DISPLAY_RUBY_BASE_CONTAINER: ::std::os::raw::c_uint = 35; +pub const NS_STYLE_DISPLAY_RUBY_TEXT: ::std::os::raw::c_uint = 36; +pub const NS_STYLE_DISPLAY_RUBY_TEXT_CONTAINER: ::std::os::raw::c_uint = 37; +pub const NS_STYLE_DISPLAY_CONTENTS: ::std::os::raw::c_uint = 38; +pub const NS_STYLE_CONTAIN_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CONTAIN_STRICT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CONTAIN_LAYOUT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CONTAIN_STYLE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CONTAIN_PAINT: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_ALIGN_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_ALIGN_NORMAL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_ALIGN_START: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_ALIGN_END: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_ALIGN_FLEX_START: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_ALIGN_FLEX_END: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_ALIGN_CENTER: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_ALIGN_LEFT: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_ALIGN_RIGHT: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_ALIGN_BASELINE: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_ALIGN_LAST_BASELINE: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_ALIGN_STRETCH: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_ALIGN_SELF_START: ::std::os::raw::c_uint = 12; +pub const NS_STYLE_ALIGN_SELF_END: ::std::os::raw::c_uint = 13; +pub const NS_STYLE_ALIGN_SPACE_BETWEEN: ::std::os::raw::c_uint = 14; +pub const NS_STYLE_ALIGN_SPACE_AROUND: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_ALIGN_SPACE_EVENLY: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_ALIGN_LEGACY: ::std::os::raw::c_uint = 32; +pub const NS_STYLE_ALIGN_SAFE: ::std::os::raw::c_uint = 64; +pub const NS_STYLE_ALIGN_UNSAFE: ::std::os::raw::c_uint = 128; +pub const NS_STYLE_ALIGN_FLAG_BITS: ::std::os::raw::c_uint = 224; +pub const NS_STYLE_ALIGN_ALL_BITS: ::std::os::raw::c_uint = 255; +pub const NS_STYLE_ALIGN_ALL_SHIFT: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_FLEX_DIRECTION_ROW: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLEX_DIRECTION_ROW_REVERSE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FLEX_DIRECTION_COLUMN: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_FLEX_DIRECTION_COLUMN_REVERSE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FLEX_WRAP_NOWRAP: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLEX_WRAP_WRAP: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FLEX_WRAP_WRAP_REVERSE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_ORDER_INITIAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLOAT_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLOAT_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FLOAT_RIGHT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_FLOAT_INLINE_START: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FLOAT_INLINE_END: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CLIP_PATH_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CLIP_PATH_URL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CLIP_PATH_SHAPE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CLIP_PATH_BOX: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FILTER_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FILTER_URL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FILTER_BLUR: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_FILTER_BRIGHTNESS: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FILTER_CONTRAST: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_FILTER_GRAYSCALE: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_FILTER_INVERT: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_FILTER_OPACITY: ::std::os::raw::c_uint = 7; +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_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; +pub const NS_STYLE_FONT_SIZE_MEDIUM: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FONT_SIZE_LARGE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_FONT_SIZE_XLARGE: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_FONT_SIZE_XXLARGE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_FONT_SIZE_XXXLARGE: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_FONT_SIZE_LARGER: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_FONT_SIZE_SMALLER: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_FONT_CAPTION: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FONT_ICON: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_FONT_MENU: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FONT_MESSAGE_BOX: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_FONT_SMALL_CAPTION: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_FONT_STATUS_BAR: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_FONT_WINDOW: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_FONT_DOCUMENT: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_FONT_WORKSPACE: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_FONT_DESKTOP: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_FONT_INFO: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_FONT_DIALOG: ::std::os::raw::c_uint = 12; +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_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; +pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1; +pub const NS_MATHML_DEFAULT_SCRIPT_MIN_SIZE_PT: ::std::os::raw::c_uint = 8; +pub const NS_MATHML_MATHVARIANT_NONE: ::std::os::raw::c_uint = 0; +pub const NS_MATHML_MATHVARIANT_NORMAL: ::std::os::raw::c_uint = 1; +pub const NS_MATHML_MATHVARIANT_BOLD: ::std::os::raw::c_uint = 2; +pub const NS_MATHML_MATHVARIANT_ITALIC: ::std::os::raw::c_uint = 3; +pub const NS_MATHML_MATHVARIANT_BOLD_ITALIC: ::std::os::raw::c_uint = 4; +pub const NS_MATHML_MATHVARIANT_SCRIPT: ::std::os::raw::c_uint = 5; +pub const NS_MATHML_MATHVARIANT_BOLD_SCRIPT: ::std::os::raw::c_uint = 6; +pub const NS_MATHML_MATHVARIANT_FRAKTUR: ::std::os::raw::c_uint = 7; +pub const NS_MATHML_MATHVARIANT_DOUBLE_STRUCK: ::std::os::raw::c_uint = 8; +pub const NS_MATHML_MATHVARIANT_BOLD_FRAKTUR: ::std::os::raw::c_uint = 9; +pub const NS_MATHML_MATHVARIANT_SANS_SERIF: ::std::os::raw::c_uint = 10; +pub const NS_MATHML_MATHVARIANT_BOLD_SANS_SERIF: ::std::os::raw::c_uint = 11; +pub const NS_MATHML_MATHVARIANT_SANS_SERIF_ITALIC: ::std::os::raw::c_uint = + 12; +pub const NS_MATHML_MATHVARIANT_SANS_SERIF_BOLD_ITALIC: ::std::os::raw::c_uint + = + 13; +pub const NS_MATHML_MATHVARIANT_MONOSPACE: ::std::os::raw::c_uint = 14; +pub const NS_MATHML_MATHVARIANT_INITIAL: ::std::os::raw::c_uint = 15; +pub const NS_MATHML_MATHVARIANT_TAILED: ::std::os::raw::c_uint = 16; +pub const NS_MATHML_MATHVARIANT_LOOPED: ::std::os::raw::c_uint = 17; +pub const NS_MATHML_MATHVARIANT_STRETCHED: ::std::os::raw::c_uint = 18; +pub const NS_MATHML_DISPLAYSTYLE_INLINE: ::std::os::raw::c_uint = 0; +pub const NS_MATHML_DISPLAYSTYLE_BLOCK: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_WIDTH_MIN_CONTENT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WIDTH_FIT_CONTENT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_WIDTH_AVAILABLE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_POSITION_STATIC: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_POSITION_RELATIVE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_POSITION_ABSOLUTE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_POSITION_FIXED: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_POSITION_STICKY: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CLIP_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CLIP_RECT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CLIP_TYPE_MASK: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_CLIP_LEFT_AUTO: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_CLIP_TOP_AUTO: ::std::os::raw::c_uint = 32; +pub const NS_STYLE_CLIP_RIGHT_AUTO: ::std::os::raw::c_uint = 64; +pub const NS_STYLE_CLIP_BOTTOM_AUTO: ::std::os::raw::c_uint = 128; +pub const NS_STYLE_FRAME_YES: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FRAME_NO: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FRAME_0: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_FRAME_1: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_FRAME_ON: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_FRAME_OFF: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_FRAME_AUTO: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_FRAME_SCROLL: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_FRAME_NOSCROLL: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_OVERFLOW_VISIBLE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_OVERFLOW_HIDDEN: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_OVERFLOW_SCROLL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_OVERFLOW_AUTO: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_OVERFLOW_CLIP: ::std::os::raw::c_uint = 4; +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_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; +pub const NS_STYLE_LIST_STYLE_SQUARE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_LIST_STYLE_DECIMAL: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_LIST_STYLE_HEBREW: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_LIST_STYLE_JAPANESE_INFORMAL: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_LIST_STYLE_JAPANESE_FORMAL: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_LIST_STYLE_KOREAN_HANGUL_FORMAL: ::std::os::raw::c_uint = + 8; +pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_INFORMAL: ::std::os::raw::c_uint = + 9; +pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_FORMAL: ::std::os::raw::c_uint = + 10; +pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_INFORMAL: ::std::os::raw::c_uint = + 11; +pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_FORMAL: ::std::os::raw::c_uint = + 12; +pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_INFORMAL: ::std::os::raw::c_uint = + 13; +pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_FORMAL: ::std::os::raw::c_uint = + 14; +pub const NS_STYLE_LIST_STYLE_ETHIOPIC_NUMERIC: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_LIST_STYLE_DISCLOSURE_CLOSED: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_LIST_STYLE_DISCLOSURE_OPEN: ::std::os::raw::c_uint = 17; +pub const NS_STYLE_LIST_STYLE__MAX: ::std::os::raw::c_uint = 18; +pub const NS_STYLE_LIST_STYLE_LOWER_ROMAN: ::std::os::raw::c_uint = 100; +pub const NS_STYLE_LIST_STYLE_UPPER_ROMAN: ::std::os::raw::c_uint = 101; +pub const NS_STYLE_LIST_STYLE_LOWER_ALPHA: ::std::os::raw::c_uint = 102; +pub const NS_STYLE_LIST_STYLE_UPPER_ALPHA: ::std::os::raw::c_uint = 103; +pub const NS_STYLE_LIST_STYLE_POSITION_INSIDE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_LIST_STYLE_POSITION_OUTSIDE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_MARGIN_SIZE_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_POINTER_EVENTS_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_POINTER_EVENTS_VISIBLEPAINTED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_POINTER_EVENTS_VISIBLEFILL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_POINTER_EVENTS_VISIBLESTROKE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_POINTER_EVENTS_VISIBLE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_POINTER_EVENTS_PAINTED: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_POINTER_EVENTS_FILL: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_POINTER_EVENTS_STROKE: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_POINTER_EVENTS_ALL: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_POINTER_EVENTS_AUTO: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_IMAGE_ORIENTATION_FLIP: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_IMAGE_ORIENTATION_FROM_IMAGE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_ISOLATION_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_ISOLATION_ISOLATE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_OBJECT_FIT_FILL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_OBJECT_FIT_CONTAIN: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_OBJECT_FIT_COVER: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_OBJECT_FIT_NONE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_OBJECT_FIT_SCALE_DOWN: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_RESIZE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_RESIZE_BOTH: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_RESIZE_HORIZONTAL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_RESIZE_VERTICAL: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_TEXT_ALIGN_DEFAULT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_ALIGN_LEFT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_ALIGN_RIGHT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_ALIGN_CENTER: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_TEXT_ALIGN_JUSTIFY: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_TEXT_ALIGN_CHAR: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_TEXT_ALIGN_END: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_TEXT_ALIGN_AUTO: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_TEXT_ALIGN_MOZ_RIGHT: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_TEXT_ALIGN_MOZ_LEFT: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER_OR_INHERIT: ::std::os::raw::c_uint = + 11; +pub const NS_STYLE_TEXT_ALIGN_UNSAFE: ::std::os::raw::c_uint = 12; +pub const NS_STYLE_TEXT_ALIGN_MATCH_PARENT: ::std::os::raw::c_uint = 13; +pub const NS_STYLE_TEXT_DECORATION_LINE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_DECORATION_LINE_UNDERLINE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_DECORATION_LINE_OVERLINE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_DECORATION_LINE_LINE_THROUGH: ::std::os::raw::c_uint = + 4; +pub const NS_STYLE_TEXT_DECORATION_LINE_BLINK: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_TEXT_DECORATION_LINE_PREF_ANCHORS: ::std::os::raw::c_uint = + 16; +pub const NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL: ::std::os::raw::c_uint = + 32; +pub const NS_STYLE_TEXT_DECORATION_STYLE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_DECORATION_STYLE_DOTTED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_DECORATION_STYLE_DASHED: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_DECORATION_STYLE_SOLID: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_TEXT_DECORATION_STYLE_DOUBLE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_TEXT_DECORATION_STYLE_WAVY: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_TEXT_OVERFLOW_CLIP: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_OVERFLOW_ELLIPSIS: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_OVERFLOW_STRING: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_TRANSFORM_NONE: ::std::os::raw::c_uint = 0; +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_FULLWIDTH: ::std::os::raw::c_uint = 4; +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; +pub const NS_STYLE_TRANSFORM_BOX_FILL_BOX: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TRANSFORM_BOX_VIEW_BOX: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint = + 0; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_LINEAR: ::std::os::raw::c_uint = + 1; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN: ::std::os::raw::c_uint + = + 2; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_OUT: ::std::os::raw::c_uint + = + 3; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT: + ::std::os::raw::c_uint = + 4; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_START: + ::std::os::raw::c_uint = + 5; +pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_END: ::std::os::raw::c_uint + = + 6; +pub const NS_STYLE_VERTICAL_ALIGN_BASELINE: ::std::os::raw::c_uint = 14; +pub const NS_STYLE_VERTICAL_ALIGN_SUB: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_VERTICAL_ALIGN_SUPER: ::std::os::raw::c_uint = 16; +pub const NS_STYLE_VERTICAL_ALIGN_TOP: ::std::os::raw::c_uint = 17; +pub const NS_STYLE_VERTICAL_ALIGN_TEXT_TOP: ::std::os::raw::c_uint = 18; +pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE: ::std::os::raw::c_uint = 19; +pub const NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM: ::std::os::raw::c_uint = 20; +pub const NS_STYLE_VERTICAL_ALIGN_BOTTOM: ::std::os::raw::c_uint = 21; +pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE_WITH_BASELINE: ::std::os::raw::c_uint + = + 22; +pub const NS_STYLE_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_VISIBILITY_COLLAPSE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TABSIZE_INITIAL: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_WHITESPACE_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_WHITESPACE_PRE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WHITESPACE_NOWRAP: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_WHITESPACE_PRE_WRAP: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_WHITESPACE_PRE_LINE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_WHITESPACE_PRE_SPACE: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_WORDBREAK_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_WORDBREAK_BREAK_ALL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_WORDBREAK_KEEP_ALL: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_WORDWRAP_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_WORDWRAP_BREAK_WORD: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_HYPHENS_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_HYPHENS_MANUAL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_HYPHENS_AUTO: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_RUBY_ALIGN_START: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_RUBY_ALIGN_CENTER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_RUBY_ALIGN_SPACE_BETWEEN: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_RUBY_ALIGN_SPACE_AROUND: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_RUBY_POSITION_OVER: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_RUBY_POSITION_UNDER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_RUBY_POSITION_INTER_CHARACTER: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_SIZE_ADJUST_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_SIZE_ADJUST_AUTO: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_ORIENTATION_MIXED: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_ORIENTATION_UPRIGHT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_ORIENTATION_SIDEWAYS: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_ALL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_2: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_3: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_4: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_LINE_HEIGHT_BLOCK_HEIGHT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_UNICODE_BIDI_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_UNICODE_BIDI_EMBED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_UNICODE_BIDI_ISOLATE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_UNICODE_BIDI_OVERRIDE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_UNICODE_BIDI_ISOLATE_OVERRIDE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_UNICODE_BIDI_PLAINTEXT: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_TABLE_LAYOUT_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TABLE_LAYOUT_FIXED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TABLE_EMPTY_CELLS_HIDE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TABLE_EMPTY_CELLS_SHOW: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CAPTION_SIDE_TOP: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CAPTION_SIDE_RIGHT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CAPTION_SIDE_BOTTOM: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CAPTION_SIDE_LEFT: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_CAPTION_SIDE_TOP_OUTSIDE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_CAPTION_SIDE_BOTTOM_OUTSIDE: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_CELL_SCOPE_ROW: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CELL_SCOPE_COL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CELL_SCOPE_ROWGROUP: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_CELL_SCOPE_COLGROUP: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_PAGE_MARKS_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_PAGE_MARKS_CROP: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_PAGE_MARKS_REGISTER: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_PAGE_SIZE_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_PAGE_SIZE_PORTRAIT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_PAGE_SIZE_LANDSCAPE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_PAGE_BREAK_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_PAGE_BREAK_ALWAYS: ::std::os::raw::c_uint = 1; +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_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; +pub const NS_STYLE_IME_MODE_NORMAL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IME_MODE_ACTIVE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_IME_MODE_DISABLED: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_IME_MODE_INACTIVE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_GRADIENT_SHAPE_LINEAR: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_GRADIENT_SHAPE_ELLIPTICAL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_GRADIENT_SHAPE_CIRCULAR: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_SIDE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_CORNER: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_SIDE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_CORNER: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_GRADIENT_SIZE_EXPLICIT_SIZE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_DOMINANT_BASELINE_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_DOMINANT_BASELINE_USE_SCRIPT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_DOMINANT_BASELINE_NO_CHANGE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_DOMINANT_BASELINE_RESET_SIZE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_DOMINANT_BASELINE_IDEOGRAPHIC: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_DOMINANT_BASELINE_ALPHABETIC: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_DOMINANT_BASELINE_HANGING: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_DOMINANT_BASELINE_MATHEMATICAL: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_DOMINANT_BASELINE_CENTRAL: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_DOMINANT_BASELINE_MIDDLE: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_DOMINANT_BASELINE_TEXT_AFTER_EDGE: ::std::os::raw::c_uint = + 10; +pub const NS_STYLE_DOMINANT_BASELINE_TEXT_BEFORE_EDGE: ::std::os::raw::c_uint + = + 11; +pub const NS_STYLE_FILL_RULE_NONZERO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FILL_RULE_EVENODD: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGE_RENDERING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZEQUALITY: ::std::os::raw::c_uint = + 2; +pub const NS_STYLE_IMAGE_RENDERING_CRISPEDGES: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_MASK_TYPE_LUMINANCE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_MASK_TYPE_ALPHA: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_PAINT_ORDER_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_PAINT_ORDER_FILL: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_PAINT_ORDER_STROKE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_PAINT_ORDER_MARKERS: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_PAINT_ORDER_BITWIDTH: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_SHAPE_RENDERING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SHAPE_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SHAPE_RENDERING_CRISPEDGES: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_SHAPE_RENDERING_GEOMETRICPRECISION: ::std::os::raw::c_uint + = + 3; +pub const NS_STYLE_STROKE_LINECAP_BUTT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_STROKE_LINECAP_ROUND: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_STROKE_LINECAP_SQUARE: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_STROKE_LINEJOIN_MITER: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_STROKE_LINEJOIN_ROUND: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_STROKE_LINEJOIN_BEVEL: ::std::os::raw::c_uint = 2; +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_STYLE_NONE: ::std::os::raw::c_uint = 0; +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; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOUBLE_CIRCLE: ::std::os::raw::c_uint = + 3; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_TRIANGLE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SESAME: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_TEXT_EMPHASIS_STYLE_STRING: ::std::os::raw::c_uint = 255; +pub const NS_STYLE_TEXT_RENDERING_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TEXT_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_TEXT_RENDERING_OPTIMIZELEGIBILITY: ::std::os::raw::c_uint = + 2; +pub const NS_STYLE_TEXT_RENDERING_GEOMETRICPRECISION: ::std::os::raw::c_uint = + 3; +pub const NS_STYLE_COLOR_INTERPOLATION_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_COLOR_INTERPOLATION_SRGB: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_COLOR_INTERPOLATION_LINEARRGB: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_VECTOR_EFFECT_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_VECTOR_EFFECT_NON_SCALING_STROKE: ::std::os::raw::c_uint = + 1; +pub const NS_STYLE_BACKFACE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BACKFACE_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TRANSFORM_STYLE_FLAT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_CONTEXT_FILL_OPACITY: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_CONTEXT_STROKE_OPACITY: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BLEND_NORMAL: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_BLEND_MULTIPLY: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_BLEND_SCREEN: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_BLEND_OVERLAY: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_BLEND_DARKEN: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_BLEND_LIGHTEN: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_BLEND_COLOR_DODGE: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_BLEND_COLOR_BURN: ::std::os::raw::c_uint = 7; +pub const NS_STYLE_BLEND_HARD_LIGHT: ::std::os::raw::c_uint = 8; +pub const NS_STYLE_BLEND_SOFT_LIGHT: ::std::os::raw::c_uint = 9; +pub const NS_STYLE_BLEND_DIFFERENCE: ::std::os::raw::c_uint = 10; +pub const NS_STYLE_BLEND_EXCLUSION: ::std::os::raw::c_uint = 11; +pub const NS_STYLE_BLEND_HUE: ::std::os::raw::c_uint = 12; +pub const NS_STYLE_BLEND_SATURATION: ::std::os::raw::c_uint = 13; +pub const NS_STYLE_BLEND_COLOR: ::std::os::raw::c_uint = 14; +pub const NS_STYLE_BLEND_LUMINOSITY: ::std::os::raw::c_uint = 15; +pub const NS_STYLE_MASK_COMPOSITE_ADD: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_MASK_COMPOSITE_SUBSTRACT: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_MASK_COMPOSITE_INTERSECT: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_MASK_COMPOSITE_EXCLUDE: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_HIDDEN: ::std::os::raw::c_uint + = + 0; +pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_VISIBLE: + ::std::os::raw::c_uint = + 1; +pub const NS_STYLE_COUNTER_SYSTEM_CYCLIC: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_COUNTER_SYSTEM_NUMERIC: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_COUNTER_SYSTEM_ALPHABETIC: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_COUNTER_SYSTEM_SYMBOLIC: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_COUNTER_SYSTEM_ADDITIVE: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_COUNTER_SYSTEM_FIXED: ::std::os::raw::c_uint = 5; +pub const NS_STYLE_COUNTER_SYSTEM_EXTENDS: ::std::os::raw::c_uint = 6; +pub const NS_STYLE_COUNTER_RANGE_INFINITE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_COUNTER_SPEAKAS_BULLETS: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_COUNTER_SPEAKAS_NUMBERS: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_COUNTER_SPEAKAS_WORDS: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_COUNTER_SPEAKAS_SPELL_OUT: ::std::os::raw::c_uint = 3; +pub const NS_STYLE_COUNTER_SPEAKAS_OTHER: ::std::os::raw::c_uint = 255; +pub const NS_STYLE_SCROLL_BEHAVIOR_AUTO: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SCROLL_BEHAVIOR_SMOOTH: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SCROLL_SNAP_TYPE_NONE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SCROLL_SNAP_TYPE_MANDATORY: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SCROLL_SNAP_TYPE_PROXIMITY: ::std::os::raw::c_uint = 2; +pub const NS_STYLE_ORIENTATION_PORTRAIT: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_ORIENTATION_LANDSCAPE: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_SCAN_PROGRESSIVE: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_SCAN_INTERLACE: ::std::os::raw::c_uint = 1; +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_MASK: ::std::os::raw::c_uint = 16777215; +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; +pub const NS_STYLE_RELEVANT_LINK_VISITED: ::std::os::raw::c_uint = 67108864; +pub const NS_STYLE_IS_STYLE_IF_VISITED: ::std::os::raw::c_uint = 134217728; +pub const NS_STYLE_CHILD_USES_GRANDANCESTOR_STYLE: ::std::os::raw::c_uint = + 268435456; +pub const NS_STYLE_IS_SHARED: ::std::os::raw::c_uint = 536870912; +pub const NS_STYLE_IS_GOING_AWAY: ::std::os::raw::c_uint = 1073741824; +pub const NS_STYLE_SUPPRESS_LINEBREAK: ::std::os::raw::c_uint = 2147483648; +pub const NS_STYLE_IN_DISPLAY_NONE_SUBTREE: ::std::os::raw::c_ulonglong = + 4294967296; +pub const NS_STYLE_INELIGIBLE_FOR_SHARING: ::std::os::raw::c_ulonglong = + 8589934592; +pub const NS_STYLE_HAS_CHILD_THAT_USES_RESET_STYLE: + ::std::os::raw::c_ulonglong = + 17179869184; +pub const NS_STYLE_CONTEXT_TYPE_SHIFT: ::std::os::raw::c_uint = 35; +pub const NS_RULE_NODE_IS_ANIMATION_RULE: ::std::os::raw::c_uint = 16777216; +pub const NS_RULE_NODE_GC_MARK: ::std::os::raw::c_uint = 33554432; +pub const NS_RULE_NODE_USED_DIRECTLY: ::std::os::raw::c_uint = 67108864; +pub const NS_RULE_NODE_IS_IMPORTANT: ::std::os::raw::c_uint = 134217728; +pub const NS_RULE_NODE_LEVEL_MASK: ::std::os::raw::c_uint = 4026531840; +pub const NS_RULE_NODE_LEVEL_SHIFT: ::std::os::raw::c_uint = 28; +pub const NS_RULE_NODE_HAS_ANIMATION_DATA: ::std::os::raw::c_uint = + 2147483648; +pub const BORDER_COLOR_FOREGROUND: ::std::os::raw::c_uint = 32; +pub const OUTLINE_COLOR_INITIAL: ::std::os::raw::c_uint = 128; +pub const BORDER_COLOR_SPECIAL: ::std::os::raw::c_uint = 160; +pub const BORDER_STYLE_MASK: ::std::os::raw::c_uint = 31; +pub const NS_SPACING_MARGIN: ::std::os::raw::c_uint = 0; +pub const NS_SPACING_PADDING: ::std::os::raw::c_uint = 1; +pub const NS_SPACING_BORDER: ::std::os::raw::c_uint = 2; +/** + * MozRefCountType is Mozilla's reference count type. + * + * We use the same type to represent the refcount of RefCounted objects + * as well, in order to be able to use the leak detection facilities + * that are implemented by XPCOM. + * + * Note that this type is not in the mozilla namespace so that it is + * usable for both C and C++ code. + */ +pub type MozRefCountType = usize; +pub type MozExternalRefCountType = u32; +pub const NS_ERROR_NO_INTERFACE: nsresult = nsresult::NS_NOINTERFACE; +pub const NS_ERROR_INVALID_ARG: nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; +pub const NS_ERROR_INVALID_POINTER: nsresult = + nsresult::NS_ERROR_ILLEGAL_VALUE; +pub const NS_ERROR_NULL_POINTER: nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; +pub const NS_BINDING_SUCCEEDED: nsresult = nsresult::NS_OK; +pub const NS_NET_STATUS_RESOLVING_HOST: nsresult = + nsresult::NS_BINDING_REDIRECTED; +pub const NS_NET_STATUS_RESOLVED_HOST: nsresult = + nsresult::NS_ERROR_ALREADY_CONNECTED; +pub const NS_NET_STATUS_CONNECTED_TO: nsresult = + nsresult::NS_BINDING_RETARGETED; +pub const NS_NET_STATUS_WAITING_FOR: nsresult = + nsresult::NS_ERROR_MALFORMED_URI; +pub const NS_STATE_PROPERTY_EXISTS: nsresult = nsresult::NS_OK; +pub const NS_ERROR_HTMLPARSER_CONTINUE: nsresult = nsresult::NS_OK; +pub const NS_RDF_ASSERTION_ACCEPTED: nsresult = nsresult::NS_OK; +pub const NS_EXACT_LENGTH: nsresult = nsresult::NS_OK_UDEC_EXACTLENGTH; +pub const NS_PARTIAL_MORE_INPUT: nsresult = nsresult::NS_OK_UDEC_MOREINPUT; +pub const NS_PARTIAL_MORE_OUTPUT: nsresult = nsresult::NS_OK_UDEC_MOREOUTPUT; +pub const NS_ERROR_ILLEGAL_INPUT: nsresult = + nsresult::NS_ERROR_UDEC_ILLEGALINPUT; +pub const NS_ERROR_XPATH_INVALID_ARG: nsresult = + nsresult::NS_ERROR_ILLEGAL_VALUE; +pub const NS_SUCCESS_RESTART_APP: nsresult = nsresult::NS_SUCCESS_DONT_FIXUP; +#[repr(i32)] +#[derive(Copy, Clone, Debug)] +pub enum nsresult { + NS_OK = 0, + NS_ERROR_BASE = -1041039360, + NS_ERROR_NOT_INITIALIZED = -1041039359, + NS_ERROR_ALREADY_INITIALIZED = -1041039358, + NS_ERROR_NOT_IMPLEMENTED = -2147467263, + NS_NOINTERFACE = -2147467262, + NS_ERROR_ABORT = -2147467260, + NS_ERROR_FAILURE = -2147467259, + NS_ERROR_UNEXPECTED = -2147418113, + NS_ERROR_OUT_OF_MEMORY = -2147024882, + NS_ERROR_ILLEGAL_VALUE = -2147024809, + NS_ERROR_NO_AGGREGATION = -2147221232, + NS_ERROR_NOT_AVAILABLE = -2147221231, + NS_ERROR_FACTORY_NOT_REGISTERED = -2147221164, + NS_ERROR_FACTORY_REGISTER_AGAIN = -2147221163, + NS_ERROR_FACTORY_NOT_LOADED = -2147221000, + NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT = -1041039103, + NS_ERROR_FACTORY_EXISTS = -1041039104, + NS_ERROR_CANNOT_CONVERT_DATA = -2142896127, + NS_ERROR_OBJECT_IS_IMMUTABLE = -2142896126, + NS_ERROR_LOSS_OF_SIGNIFICANT_DATA = -2142896125, + NS_ERROR_NOT_SAME_THREAD = -2142896124, + NS_ERROR_ILLEGAL_DURING_SHUTDOWN = -2142896098, + NS_ERROR_SERVICE_NOT_AVAILABLE = -2142896106, + NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA = 4587521, + NS_SUCCESS_INTERRUPTED_TRAVERSE = 4587522, + NS_ERROR_SERVICE_NOT_FOUND = 4587542, + NS_ERROR_SERVICE_IN_USE = 4587543, + NS_BASE_STREAM_CLOSED = -2142830590, + NS_BASE_STREAM_OSERROR = -2142830589, + NS_BASE_STREAM_ILLEGAL_ARGS = -2142830588, + NS_BASE_STREAM_NO_CONVERTER = -2142830587, + NS_BASE_STREAM_BAD_CONVERSION = -2142830586, + NS_BASE_STREAM_WOULD_BLOCK = -2142830585, + NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE = -2142765055, + NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND = -2142765054, + NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE = -2142765053, + NS_ERROR_GFX_PRINTER_STARTDOC = -2142765052, + NS_ERROR_GFX_PRINTER_ENDDOC = -2142765051, + NS_ERROR_GFX_PRINTER_STARTPAGE = -2142765050, + NS_ERROR_GFX_PRINTER_DOC_IS_BUSY = -2142765049, + NS_ERROR_GFX_CMAP_MALFORMED = -2142765005, + NS_SUCCESS_EVENT_CONSUMED = 4784129, + NS_BINDING_FAILED = -2142568447, + NS_BINDING_ABORTED = -2142568446, + NS_BINDING_REDIRECTED = -2142568445, + NS_BINDING_RETARGETED = -2142568444, + NS_ERROR_MALFORMED_URI = -2142568438, + NS_ERROR_IN_PROGRESS = -2142568433, + NS_ERROR_NO_CONTENT = -2142568431, + NS_ERROR_UNKNOWN_PROTOCOL = -2142568430, + NS_ERROR_INVALID_CONTENT_ENCODING = -2142568421, + NS_ERROR_CORRUPTED_CONTENT = -2142568419, + NS_ERROR_INVALID_SIGNATURE = -2142568390, + NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY = -2142568414, + NS_ERROR_ALREADY_OPENED = -2142568375, + NS_ERROR_ALREADY_CONNECTED = -2142568437, + NS_ERROR_NOT_CONNECTED = -2142568436, + NS_ERROR_CONNECTION_REFUSED = -2142568435, + NS_ERROR_NET_TIMEOUT = -2142568434, + NS_ERROR_OFFLINE = -2142568432, + NS_ERROR_PORT_ACCESS_NOT_ALLOWED = -2142568429, + NS_ERROR_NET_RESET = -2142568428, + NS_ERROR_NET_INTERRUPT = -2142568377, + NS_ERROR_PROXY_CONNECTION_REFUSED = -2142568376, + NS_ERROR_NET_PARTIAL_TRANSFER = -2142568372, + NS_ERROR_NOT_RESUMABLE = -2142568423, + NS_ERROR_REDIRECT_LOOP = -2142568417, + NS_ERROR_ENTITY_CHANGED = -2142568416, + NS_ERROR_UNSAFE_CONTENT_TYPE = -2142568374, + NS_ERROR_REMOTE_XUL = -2142568373, + NS_ERROR_LOAD_SHOWED_ERRORPAGE = -2142568371, + NS_ERROR_FTP_LOGIN = -2142568427, + NS_ERROR_FTP_CWD = -2142568426, + NS_ERROR_FTP_PASV = -2142568425, + NS_ERROR_FTP_PWD = -2142568424, + NS_ERROR_FTP_LIST = -2142568420, + NS_ERROR_UNKNOWN_HOST = -2142568418, + NS_ERROR_DNS_LOOKUP_QUEUE_FULL = -2142568415, + NS_ERROR_UNKNOWN_PROXY_HOST = -2142568406, + NS_ERROR_UNKNOWN_SOCKET_TYPE = -2142568397, + NS_ERROR_SOCKET_CREATE_FAILED = -2142568396, + NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED = -2142568395, + NS_ERROR_SOCKET_ADDRESS_IN_USE = -2142568394, + NS_ERROR_CACHE_KEY_NOT_FOUND = -2142568387, + NS_ERROR_CACHE_DATA_IS_STREAM = -2142568386, + NS_ERROR_CACHE_DATA_IS_NOT_STREAM = -2142568385, + NS_ERROR_CACHE_WAIT_FOR_VALIDATION = -2142568384, + NS_ERROR_CACHE_ENTRY_DOOMED = -2142568383, + NS_ERROR_CACHE_READ_ACCESS_DENIED = -2142568382, + NS_ERROR_CACHE_WRITE_ACCESS_DENIED = -2142568381, + NS_ERROR_CACHE_IN_USE = -2142568380, + NS_ERROR_DOCUMENT_NOT_CACHED = -2142568378, + NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS = -2142568368, + NS_ERROR_HOST_IS_IP_ADDRESS = -2142568367, + NS_SUCCESS_ADOPTED_DATA = 4915290, + NS_NET_STATUS_BEGIN_FTP_TRANSACTION = 4915227, + NS_NET_STATUS_END_FTP_TRANSACTION = 4915228, + NS_SUCCESS_AUTH_FINISHED = 4915240, + NS_NET_STATUS_READING = -2142568440, + NS_NET_STATUS_WRITING = -2142568439, + NS_NET_STATUS_CONNECTING_TO = -2142568441, + NS_NET_STATUS_SENDING_TO = -2142568443, + NS_NET_STATUS_RECEIVING_FROM = -2142568442, + NS_ERROR_INTERCEPTION_FAILED = -2142568348, + NS_ERROR_PLUGINS_PLUGINSNOTCHANGED = -2142501912, + NS_ERROR_PLUGIN_DISABLED = -2142501911, + NS_ERROR_PLUGIN_BLOCKLISTED = -2142501910, + NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = -2142501909, + NS_ERROR_PLUGIN_CLICKTOPLAY = -2142501908, + NS_PLUGIN_INIT_PENDING = 4981741, + NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272, + NS_POSITION_BEFORE_TABLE = 5046275, + NS_STATE_PROPERTY_NOT_THERE = 5046277, + NS_ERROR_HTMLPARSER_EOF = -2142370840, + NS_ERROR_HTMLPARSER_UNKNOWN = -2142370839, + NS_ERROR_HTMLPARSER_CANTPROPAGATE = -2142370838, + NS_ERROR_HTMLPARSER_CONTEXTMISMATCH = -2142370837, + NS_ERROR_HTMLPARSER_BADFILENAME = -2142370836, + NS_ERROR_HTMLPARSER_BADURL = -2142370835, + NS_ERROR_HTMLPARSER_INVALIDPARSERCONTEXT = -2142370834, + NS_ERROR_HTMLPARSER_INTERRUPTED = -2142370833, + NS_ERROR_HTMLPARSER_BLOCK = -2142370832, + NS_ERROR_HTMLPARSER_BADTOKENIZER = -2142370831, + NS_ERROR_HTMLPARSER_BADATTRIBUTE = -2142370830, + NS_ERROR_HTMLPARSER_UNRESOLVEDDTD = -2142370829, + NS_ERROR_HTMLPARSER_MISPLACEDTABLECONTENT = -2142370828, + NS_ERROR_HTMLPARSER_BADDTD = -2142370827, + NS_ERROR_HTMLPARSER_BADCONTEXT = -2142370826, + NS_ERROR_HTMLPARSER_STOPPARSING = -2142370825, + NS_ERROR_HTMLPARSER_UNTERMINATEDSTRINGLITERAL = -2142370824, + NS_ERROR_HTMLPARSER_HIERARCHYTOODEEP = -2142370823, + NS_ERROR_HTMLPARSER_FAKE_ENDTAG = -2142370822, + NS_ERROR_HTMLPARSER_INVALID_COMMENT = -2142370821, + NS_HTMLTOKENS_NOT_AN_ENTITY = 5113808, + NS_HTMLPARSER_VALID_META_CHARSET = 5114808, + NS_RDF_CURSOR_EMPTY = 5177345, + NS_RDF_NO_VALUE = 5177346, + NS_RDF_ASSERTION_REJECTED = 5177347, + NS_RDF_STOP_VISIT = 5177348, + NS_ERROR_UCONV_NOCONV = -2142240767, + NS_ERROR_UDEC_ILLEGALINPUT = -2142240754, + NS_SUCCESS_USING_FALLBACK_LOCALE = 5242882, + NS_OK_UDEC_EXACTLENGTH = 5242891, + NS_OK_UDEC_MOREINPUT = 5242892, + NS_OK_UDEC_MOREOUTPUT = 5242893, + NS_OK_UDEC_NOBOMFOUND = 5242894, + NS_OK_UENC_EXACTLENGTH = 5242913, + NS_OK_UENC_MOREOUTPUT = 5242914, + NS_ERROR_UENC_NOMAPPING = 5242915, + NS_OK_UENC_MOREINPUT = 5242916, + NS_ERROR_FILE_UNRECOGNIZED_PATH = -2142109695, + NS_ERROR_FILE_UNRESOLVABLE_SYMLINK = -2142109694, + NS_ERROR_FILE_EXECUTION_FAILED = -2142109693, + NS_ERROR_FILE_UNKNOWN_TYPE = -2142109692, + NS_ERROR_FILE_DESTINATION_NOT_DIR = -2142109691, + NS_ERROR_FILE_TARGET_DOES_NOT_EXIST = -2142109690, + NS_ERROR_FILE_COPY_OR_MOVE_FAILED = -2142109689, + NS_ERROR_FILE_ALREADY_EXISTS = -2142109688, + NS_ERROR_FILE_INVALID_PATH = -2142109687, + NS_ERROR_FILE_DISK_FULL = -2142109686, + NS_ERROR_FILE_CORRUPTED = -2142109685, + NS_ERROR_FILE_NOT_DIRECTORY = -2142109684, + NS_ERROR_FILE_IS_DIRECTORY = -2142109683, + NS_ERROR_FILE_IS_LOCKED = -2142109682, + NS_ERROR_FILE_TOO_BIG = -2142109681, + NS_ERROR_FILE_NO_DEVICE_SPACE = -2142109680, + NS_ERROR_FILE_NAME_TOO_LONG = -2142109679, + NS_ERROR_FILE_NOT_FOUND = -2142109678, + NS_ERROR_FILE_READ_ONLY = -2142109677, + NS_ERROR_FILE_DIR_NOT_EMPTY = -2142109676, + NS_ERROR_FILE_ACCESS_DENIED = -2142109675, + NS_SUCCESS_FILE_DIRECTORY_EMPTY = 5373953, + NS_SUCCESS_AGGREGATE_RESULT = 5373954, + NS_ERROR_DOM_INDEX_SIZE_ERR = -2142044159, + NS_ERROR_DOM_HIERARCHY_REQUEST_ERR = -2142044157, + NS_ERROR_DOM_WRONG_DOCUMENT_ERR = -2142044156, + NS_ERROR_DOM_INVALID_CHARACTER_ERR = -2142044155, + NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR = -2142044153, + NS_ERROR_DOM_NOT_FOUND_ERR = -2142044152, + NS_ERROR_DOM_NOT_SUPPORTED_ERR = -2142044151, + NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR = -2142044150, + NS_ERROR_DOM_INVALID_STATE_ERR = -2142044149, + NS_ERROR_DOM_SYNTAX_ERR = -2142044148, + NS_ERROR_DOM_INVALID_MODIFICATION_ERR = -2142044147, + NS_ERROR_DOM_NAMESPACE_ERR = -2142044146, + NS_ERROR_DOM_INVALID_ACCESS_ERR = -2142044145, + NS_ERROR_DOM_TYPE_MISMATCH_ERR = -2142044143, + NS_ERROR_DOM_SECURITY_ERR = -2142044142, + NS_ERROR_DOM_NETWORK_ERR = -2142044141, + NS_ERROR_DOM_ABORT_ERR = -2142044140, + NS_ERROR_DOM_URL_MISMATCH_ERR = -2142044139, + NS_ERROR_DOM_QUOTA_EXCEEDED_ERR = -2142044138, + NS_ERROR_DOM_TIMEOUT_ERR = -2142044137, + NS_ERROR_DOM_INVALID_NODE_TYPE_ERR = -2142044136, + NS_ERROR_DOM_DATA_CLONE_ERR = -2142044135, + NS_ERROR_TYPE_ERR = -2142044134, + NS_ERROR_RANGE_ERR = -2142044133, + NS_ERROR_DOM_ENCODING_NOT_SUPPORTED_ERR = -2142044132, + NS_ERROR_DOM_INVALID_POINTER_ERR = -2142044131, + NS_ERROR_DOM_UNKNOWN_ERR = -2142044130, + NS_ERROR_DOM_DATA_ERR = -2142044129, + NS_ERROR_DOM_OPERATION_ERR = -2142044128, + NS_ERROR_DOM_SECMAN_ERR = -2142043159, + NS_ERROR_DOM_WRONG_TYPE_ERR = -2142043158, + NS_ERROR_DOM_NOT_OBJECT_ERR = -2142043157, + NS_ERROR_DOM_NOT_XPC_OBJECT_ERR = -2142043156, + NS_ERROR_DOM_NOT_NUMBER_ERR = -2142043155, + NS_ERROR_DOM_NOT_BOOLEAN_ERR = -2142043154, + NS_ERROR_DOM_NOT_FUNCTION_ERR = -2142043153, + NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR = -2142043152, + NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN = -2142043151, + NS_ERROR_DOM_PROP_ACCESS_DENIED = -2142043150, + NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED = -2142043149, + NS_ERROR_DOM_BAD_URI = -2142043148, + NS_ERROR_DOM_RETVAL_UNDEFINED = -2142043147, + NS_ERROR_DOM_QUOTA_REACHED = -2142043146, + NS_ERROR_DOM_JS_EXCEPTION = -2142043145, + NS_ERROR_UNCATCHABLE_EXCEPTION = -2142043144, + NS_ERROR_DOM_DOMEXCEPTION = -2142043143, + NS_ERROR_DOM_EXCEPTION_ON_JSCONTEXT = -2142043142, + NS_SUCCESS_DOM_NO_OPERATION = 5439489, + NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW = 5439490, + NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW_UNCATCHABLE = 5439491, + NS_IMAGELIB_SUCCESS_LOAD_FINISHED = 5505024, + NS_IMAGELIB_CHANGING_OWNER = 5505025, + NS_IMAGELIB_ERROR_FAILURE = -2141978619, + NS_IMAGELIB_ERROR_NO_DECODER = -2141978618, + NS_IMAGELIB_ERROR_NOT_FINISHED = -2141978617, + NS_IMAGELIB_ERROR_NO_ENCODER = -2141978615, + NS_ERROR_EDITOR_NO_SELECTION = -2141847551, + NS_ERROR_EDITOR_NO_TEXTNODE = -2141847550, + NS_FOUND_TARGET = -2141847549, + NS_EDITOR_ELEMENT_NOT_FOUND = 5636097, + NS_ERROR_XPC_NOT_ENOUGH_ARGS = -2141782015, + NS_ERROR_XPC_NEED_OUT_OBJECT = -2141782014, + NS_ERROR_XPC_CANT_SET_OUT_VAL = -2141782013, + NS_ERROR_XPC_NATIVE_RETURNED_FAILURE = -2141782012, + NS_ERROR_XPC_CANT_GET_INTERFACE_INFO = -2141782011, + NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO = -2141782010, + NS_ERROR_XPC_CANT_GET_METHOD_INFO = -2141782009, + NS_ERROR_XPC_UNEXPECTED = -2141782008, + NS_ERROR_XPC_BAD_CONVERT_JS = -2141782007, + NS_ERROR_XPC_BAD_CONVERT_NATIVE = -2141782006, + NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF = -2141782005, + NS_ERROR_XPC_BAD_OP_ON_WN_PROTO = -2141782004, + NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN = -2141782003, + NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN = -2141782002, + NS_ERROR_XPC_CANT_WATCH_WN_STATIC = -2141782001, + NS_ERROR_XPC_CANT_EXPORT_WN_STATIC = -2141782000, + NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED = -2141781999, + NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED = -2141781998, + NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE = -2141781997, + NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE = -2141781996, + NS_ERROR_XPC_CI_RETURNED_FAILURE = -2141781995, + NS_ERROR_XPC_GS_RETURNED_FAILURE = -2141781994, + NS_ERROR_XPC_BAD_CID = -2141781993, + NS_ERROR_XPC_BAD_IID = -2141781992, + NS_ERROR_XPC_CANT_CREATE_WN = -2141781991, + NS_ERROR_XPC_JS_THREW_EXCEPTION = -2141781990, + NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT = -2141781989, + NS_ERROR_XPC_JS_THREW_JS_OBJECT = -2141781988, + NS_ERROR_XPC_JS_THREW_NULL = -2141781987, + NS_ERROR_XPC_JS_THREW_STRING = -2141781986, + NS_ERROR_XPC_JS_THREW_NUMBER = -2141781985, + NS_ERROR_XPC_JAVASCRIPT_ERROR = -2141781984, + NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS = -2141781983, + NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY = -2141781982, + NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY = -2141781981, + NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY = -2141781980, + NS_ERROR_XPC_CANT_GET_ARRAY_INFO = -2141781979, + NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING = -2141781978, + NS_ERROR_XPC_SECURITY_MANAGER_VETO = -2141781977, + NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE = -2141781976, + NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS = -2141781975, + NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT = -2141781974, + NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT = -2141781973, + NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE = -2141781972, + NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD = -2141781971, + NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE = -2141781970, + NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED = -2141781969, + NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED = -2141781968, + NS_ERROR_XPC_BAD_ID_STRING = -2141781967, + NS_ERROR_XPC_BAD_INITIALIZER_NAME = -2141781966, + NS_ERROR_XPC_HAS_BEEN_SHUTDOWN = -2141781965, + NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN = -2141781964, + NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL = -2141781963, + NS_ERROR_XPC_CANT_PASS_CPOW_TO_NATIVE = -2141781962, + NS_ERROR_LAUNCHED_CHILD_PROCESS = -2141716280, + NS_ERROR_CSP_FORM_ACTION_VIOLATION = -2141585310, + NS_ERROR_CSP_FRAME_ANCESTOR_VIOLATION = -2141585309, + NS_ERROR_SRI_CORRUPT = -2141585208, + NS_ERROR_SRI_DISABLED = -2141585207, + NS_ERROR_SRI_NOT_ELIGIBLE = -2141585206, + NS_ERROR_CMS_VERIFY_NOT_SIGNED = -2141584384, + NS_ERROR_CMS_VERIFY_NO_CONTENT_INFO = -2141584383, + NS_ERROR_CMS_VERIFY_BAD_DIGEST = -2141584382, + NS_ERROR_CMS_VERIFY_NOCERT = -2141584380, + NS_ERROR_CMS_VERIFY_UNTRUSTED = -2141584379, + NS_ERROR_CMS_VERIFY_ERROR_UNVERIFIED = -2141584377, + NS_ERROR_CMS_VERIFY_ERROR_PROCESSING = -2141584376, + NS_ERROR_CMS_VERIFY_BAD_SIGNATURE = -2141584375, + NS_ERROR_CMS_VERIFY_DIGEST_MISMATCH = -2141584374, + NS_ERROR_CMS_VERIFY_UNKNOWN_ALGO = -2141584373, + NS_ERROR_CMS_VERIFY_UNSUPPORTED_ALGO = -2141584372, + NS_ERROR_CMS_VERIFY_MALFORMED_SIGNATURE = -2141584371, + NS_ERROR_CMS_VERIFY_HEADER_MISMATCH = -2141584370, + NS_ERROR_CMS_VERIFY_NOT_YET_ATTEMPTED = -2141584369, + NS_ERROR_CMS_VERIFY_CERT_WITHOUT_ADDRESS = -2141584368, + NS_ERROR_CMS_ENCRYPT_NO_BULK_ALG = -2141584352, + NS_ERROR_CMS_ENCRYPT_INCOMPLETE = -2141584351, + NS_ERROR_DOM_INVALID_EXPRESSION_ERR = -2141519821, + NS_ERROR_DOM_TYPE_ERR = -2141519820, + NS_ERROR_WONT_HANDLE_CONTENT = -2141388799, + NS_ERROR_MALWARE_URI = -2141388770, + NS_ERROR_PHISHING_URI = -2141388769, + NS_ERROR_TRACKING_URI = -2141388766, + NS_ERROR_UNWANTED_URI = -2141388765, + NS_ERROR_FORBIDDEN_URI = -2141388764, + NS_ERROR_SAVE_LINK_AS_TIMEOUT = -2141388768, + NS_ERROR_PARSED_DATA_CACHED = -2141388767, + NS_REFRESHURI_HEADER_FOUND = 6094850, + NS_ERROR_IMAGE_SRC_CHANGED = -2141323260, + NS_ERROR_IMAGE_BLOCKED = -2141323259, + NS_ERROR_CONTENT_BLOCKED = -2141323258, + NS_ERROR_CONTENT_BLOCKED_SHOW_ALT = -2141323257, + NS_PROPTABLE_PROP_NOT_THERE = -2141323254, + NS_ERROR_XBL_BLOCKED = -2141323249, + NS_ERROR_CONTENT_CRASHED = -2141323248, + NS_HTML_STYLE_PROPERTY_NOT_THERE = 6160386, + NS_CONTENT_BLOCKED = 6160392, + NS_CONTENT_BLOCKED_SHOW_ALT = 6160393, + NS_PROPTABLE_PROP_OVERWRITTEN = 6160395, + NS_FINDBROADCASTER_NOT_FOUND = 6160396, + NS_FINDBROADCASTER_FOUND = 6160397, + NS_FINDBROADCASTER_AWAIT_OVERLAYS = 6160398, + NS_ERROR_XSLT_PARSE_FAILURE = -2141192191, + NS_ERROR_XPATH_PARSE_FAILURE = -2141192190, + NS_ERROR_XSLT_ALREADY_SET = -2141192189, + NS_ERROR_XSLT_EXECUTION_FAILURE = -2141192188, + NS_ERROR_XPATH_UNKNOWN_FUNCTION = -2141192187, + NS_ERROR_XSLT_BAD_RECURSION = -2141192186, + NS_ERROR_XSLT_BAD_VALUE = -2141192185, + NS_ERROR_XSLT_NODESET_EXPECTED = -2141192184, + NS_ERROR_XSLT_ABORTED = -2141192183, + NS_ERROR_XSLT_NETWORK_ERROR = -2141192182, + NS_ERROR_XSLT_WRONG_MIME_TYPE = -2141192181, + NS_ERROR_XSLT_LOAD_RECURSION = -2141192180, + NS_ERROR_XPATH_BAD_ARGUMENT_COUNT = -2141192179, + NS_ERROR_XPATH_BAD_EXTENSION_FUNCTION = -2141192178, + NS_ERROR_XPATH_PAREN_EXPECTED = -2141192177, + NS_ERROR_XPATH_INVALID_AXIS = -2141192176, + NS_ERROR_XPATH_NO_NODE_TYPE_TEST = -2141192175, + NS_ERROR_XPATH_BRACKET_EXPECTED = -2141192174, + NS_ERROR_XPATH_INVALID_VAR_NAME = -2141192173, + NS_ERROR_XPATH_UNEXPECTED_END = -2141192172, + NS_ERROR_XPATH_OPERATOR_EXPECTED = -2141192171, + NS_ERROR_XPATH_UNCLOSED_LITERAL = -2141192170, + NS_ERROR_XPATH_BAD_COLON = -2141192169, + NS_ERROR_XPATH_BAD_BANG = -2141192168, + NS_ERROR_XPATH_ILLEGAL_CHAR = -2141192167, + NS_ERROR_XPATH_BINARY_EXPECTED = -2141192166, + NS_ERROR_XSLT_LOAD_BLOCKED_ERROR = -2141192165, + NS_ERROR_XPATH_INVALID_EXPRESSION_EVALUATED = -2141192164, + NS_ERROR_XPATH_UNBALANCED_CURLY_BRACE = -2141192163, + NS_ERROR_XSLT_BAD_NODE_NAME = -2141192162, + NS_ERROR_XSLT_VAR_ALREADY_SET = -2141192161, + NS_ERROR_XSLT_CALL_TO_KEY_NOT_ALLOWED = -2141192160, + NS_XSLT_GET_NEW_HANDLER = 6291457, + NS_ERROR_TRANSPORT_INIT = -2141126655, + NS_ERROR_DUPLICATE_HANDLE = -2141126654, + NS_ERROR_BRIDGE_OPEN_PARENT = -2141126653, + NS_ERROR_BRIDGE_OPEN_CHILD = -2141126652, + NS_ERROR_DOM_SVG_WRONG_TYPE_ERR = -2141061120, + NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE = -2141061118, + NS_ERROR_STORAGE_BUSY = -2140995583, + NS_ERROR_STORAGE_IOERR = -2140995582, + NS_ERROR_STORAGE_CONSTRAINT = -2140995581, + NS_ERROR_DOM_FILE_NOT_FOUND_ERR = -2140864512, + NS_ERROR_DOM_FILE_NOT_READABLE_ERR = -2140864511, + NS_ERROR_DOM_FILE_ABORT_ERR = -2140864510, + NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR = -2140798975, + NS_ERROR_DOM_INDEXEDDB_NOT_FOUND_ERR = -2140798973, + NS_ERROR_DOM_INDEXEDDB_CONSTRAINT_ERR = -2140798972, + NS_ERROR_DOM_INDEXEDDB_DATA_ERR = -2140798971, + NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR = -2140798970, + NS_ERROR_DOM_INDEXEDDB_TRANSACTION_INACTIVE_ERR = -2140798969, + NS_ERROR_DOM_INDEXEDDB_ABORT_ERR = -2140798968, + NS_ERROR_DOM_INDEXEDDB_READ_ONLY_ERR = -2140798967, + NS_ERROR_DOM_INDEXEDDB_TIMEOUT_ERR = -2140798966, + NS_ERROR_DOM_INDEXEDDB_QUOTA_ERR = -2140798965, + NS_ERROR_DOM_INDEXEDDB_VERSION_ERR = -2140798964, + NS_ERROR_DOM_INDEXEDDB_RECOVERABLE_ERR = -2140797975, + NS_ERROR_DOM_FILEHANDLE_UNKNOWN_ERR = -2140733439, + NS_ERROR_DOM_FILEHANDLE_NOT_ALLOWED_ERR = -2140733438, + NS_ERROR_DOM_FILEHANDLE_INACTIVE_ERR = -2140733437, + NS_ERROR_DOM_FILEHANDLE_ABORT_ERR = -2140733436, + NS_ERROR_DOM_FILEHANDLE_READ_ONLY_ERR = -2140733435, + NS_ERROR_DOM_FILEHANDLE_QUOTA_ERR = -2140733434, + NS_ERROR_SIGNED_JAR_NOT_SIGNED = -2140667903, + NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY = -2140667902, + NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY = -2140667901, + NS_ERROR_SIGNED_JAR_ENTRY_MISSING = -2140667900, + NS_ERROR_SIGNED_JAR_WRONG_SIGNATURE = -2140667899, + NS_ERROR_SIGNED_JAR_ENTRY_TOO_LARGE = -2140667898, + NS_ERROR_SIGNED_JAR_ENTRY_INVALID = -2140667897, + NS_ERROR_SIGNED_JAR_MANIFEST_INVALID = -2140667896, + NS_ERROR_DOM_FILESYSTEM_INVALID_PATH_ERR = -2140602367, + NS_ERROR_DOM_FILESYSTEM_INVALID_MODIFICATION_ERR = -2140602366, + NS_ERROR_DOM_FILESYSTEM_NO_MODIFICATION_ALLOWED_ERR = -2140602365, + NS_ERROR_DOM_FILESYSTEM_PATH_EXISTS_ERR = -2140602364, + NS_ERROR_DOM_FILESYSTEM_TYPE_MISMATCH_ERR = -2140602363, + NS_ERROR_DOM_FILESYSTEM_UNKNOWN_ERR = -2140602362, + NS_ERROR_DOM_BLUETOOTH_FAIL = -2140536831, + NS_ERROR_DOM_BLUETOOTH_NOT_READY = -2140536830, + NS_ERROR_DOM_BLUETOOTH_NOMEM = -2140536829, + NS_ERROR_DOM_BLUETOOTH_BUSY = -2140536828, + NS_ERROR_DOM_BLUETOOTH_DONE = -2140536827, + NS_ERROR_DOM_BLUETOOTH_UNSUPPORTED = -2140536826, + NS_ERROR_DOM_BLUETOOTH_PARM_INVALID = -2140536825, + NS_ERROR_DOM_BLUETOOTH_UNHANDLED = -2140536824, + NS_ERROR_DOM_BLUETOOTH_AUTH_FAILURE = -2140536823, + NS_ERROR_DOM_BLUETOOTH_RMT_DEV_DOWN = -2140536822, + NS_ERROR_DOM_BLUETOOTH_AUTH_REJECTED = -2140536821, + NS_ERROR_SIGNED_APP_MANIFEST_INVALID = -2140471295, + NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = -2140405759, + NS_ERROR_DOM_ANIM_NO_TARGET_ERR = -2140405758, + NS_ERROR_DOM_ANIM_TARGET_NOT_IN_DOC_ERR = -2140405757, + NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = -2140340223, + NS_ERROR_DOM_PUSH_DENIED_ERR = -2140340222, + NS_ERROR_DOM_PUSH_ABORT_ERR = -2140340221, + NS_ERROR_DOM_PUSH_SERVICE_UNREACHABLE = -2140340220, + NS_ERROR_DOWNLOAD_COMPLETE = -2139619327, + NS_ERROR_DOWNLOAD_NOT_PARTIAL = -2139619326, + NS_ERROR_UNORM_MOREOUTPUT = -2139619295, + NS_ERROR_DOCSHELL_REQUEST_REJECTED = -2139618327, + NS_ERROR_DOCUMENT_IS_PRINTMODE = -2139617327, + NS_SUCCESS_DONT_FIXUP = 7864321, + NS_SUCCESS_RESTART_APP_NOT_SAME_PROFILE = 7864323, + NS_SUCCESS_UNORM_NOTFOUND = 7864337, + NS_ERROR_NOT_IN_TREE = -2139619290, + NS_OK_NO_NAME_CLAUSE_HANDLED = 7864354, +} +pub type nsrefcnt = MozRefCountType; +/** + * typedefs for backwards compatibility + */ +pub type nsSubstring = nsAString_internal; +pub type nsCSubstring = nsACString_internal; +pub type nsAFlatString = nsString; +pub type nsASingleFragmentString = nsSubstring; +pub type nsAFlatCString = nsCString; +pub type nsASingleFragmentCString = nsCSubstring; +/** + * @see nsTAString + */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsReadingIterator { + pub mStart: *const CharT, + pub mEnd: *const CharT, + pub mPosition: *const CharT, +} +/** + * @see nsTAString + */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsWritingIterator { + pub mStart: *mut CharT, + pub mEnd: *mut CharT, + pub mPosition: *mut CharT, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsStringComparator; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsDefaultStringComparator { + pub _base: nsStringComparator, +} +#[repr(C)] +pub struct nsAString_internal { + pub mData: *mut ::std::os::raw::c_ushort, + pub mLength: ::std::os::raw::c_uint, + pub mFlags: u32, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsAString_internal_nsTSubstring_h_unnamed_1 { + F_NONE = 0, + F_TERMINATED = 1, + F_VOIDED = 2, + F_SHARED = 4, + F_OWNED = 8, + F_FIXED = 16, + F_LITERAL = 32, + F_CLASS_FIXED = 65536, +} +#[test] +fn bindgen_test_layout_nsAString_internal() { + assert_eq!(:: std:: mem:: size_of:: < nsAString_internal > ( ) , + 16usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCStringComparator; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsDefaultCStringComparator { + pub _base: nsCStringComparator, +} +#[repr(C)] +pub struct nsACString_internal { + pub mData: *mut ::std::os::raw::c_char, + pub mLength: ::std::os::raw::c_uint, + pub mFlags: u32, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsACString_internal_nsTSubstring_h_unnamed_2 { + F_NONE = 0, + F_TERMINATED = 1, + F_VOIDED = 2, + F_SHARED = 4, + F_OWNED = 8, + F_FIXED = 16, + F_LITERAL = 32, + F_CLASS_FIXED = 65536, +} +#[test] +fn bindgen_test_layout_nsACString_internal() { + assert_eq!(:: std:: mem:: size_of:: < nsACString_internal > ( ) , + 16usize); +} +/** + * ASCII case-insensitive comparator. (for Unicode case-insensitive + * comparision, see nsUnicharUtils.h) + */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCaseInsensitiveCStringComparator { + pub _base: nsCStringComparator, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCaseInsensitiveCStringArrayComparator; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsSubstringTuple { + pub mHead: *const nsSubstringTuple, + pub mFragA: *const nsAString_internal, + pub mFragB: *const nsAString_internal, +} +#[test] +fn bindgen_test_layout_nsSubstringTuple() { + assert_eq!(:: std:: mem:: size_of:: < nsSubstringTuple > ( ) , 24usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCSubstringTuple { + pub mHead: *const nsCSubstringTuple, + pub mFragA: *const nsACString_internal, + pub mFragB: *const nsACString_internal, +} +#[test] +fn bindgen_test_layout_nsCSubstringTuple() { + assert_eq!(:: std:: mem:: size_of:: < nsCSubstringTuple > ( ) , 24usize); +} +#[repr(C)] +pub struct nsString { + pub _base: nsAString_internal, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsString_Segment { + pub mBegin: u32, + pub mLength: u32, +} +#[test] +fn bindgen_test_layout_nsString_Segment() { + assert_eq!(:: std:: mem:: size_of:: < nsString_Segment > ( ) , 8usize); +} +#[test] +fn bindgen_test_layout_nsString() { + assert_eq!(:: std:: mem:: size_of:: < nsString > ( ) , 16usize); +} +#[repr(C)] +pub struct nsFixedString { + pub _base: nsString, + pub mFixedCapacity: ::std::os::raw::c_uint, + pub mFixedBuf: *mut ::std::os::raw::c_ushort, +} +#[test] +fn bindgen_test_layout_nsFixedString() { + assert_eq!(:: std:: mem:: size_of:: < nsFixedString > ( ) , 32usize); +} +#[repr(C)] +pub struct nsAutoString { + pub _base: nsFixedString, + pub mStorage: [::std::os::raw::c_ushort; 64usize], +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsAutoString_nsTString_h_unnamed_3 { kDefaultStorageSize = 64, } +#[test] +fn bindgen_test_layout_nsAutoString() { + assert_eq!(:: std:: mem:: size_of:: < nsAutoString > ( ) , 160usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsTArrayElementTraits<> { + pub _phantom0: ::std::marker::PhantomData, +} +#[repr(C)] +pub struct nsXPIDLString { + pub _base: nsString, +} +#[test] +fn bindgen_test_layout_nsXPIDLString() { + assert_eq!(:: std:: mem:: size_of:: < nsXPIDLString > ( ) , 16usize); +} +#[repr(C)] +pub struct nsGetterCopies { + pub mString: *mut nsAString_internal, + pub mData: *mut ::std::os::raw::c_ushort, +} +#[test] +fn bindgen_test_layout_nsGetterCopies() { + assert_eq!(:: std:: mem:: size_of:: < nsGetterCopies > ( ) , 16usize); +} +#[repr(C)] +pub struct nsAdoptingString { + pub _base: nsXPIDLString, +} +#[test] +fn bindgen_test_layout_nsAdoptingString() { + assert_eq!(:: std:: mem:: size_of:: < nsAdoptingString > ( ) , 16usize); +} +#[repr(C)] +pub struct nsCString { + pub _base: nsACString_internal, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCString_Segment { + pub mBegin: u32, + pub mLength: u32, +} +#[test] +fn bindgen_test_layout_nsCString_Segment() { + assert_eq!(:: std:: mem:: size_of:: < nsCString_Segment > ( ) , 8usize); +} +#[test] +fn bindgen_test_layout_nsCString() { + assert_eq!(:: std:: mem:: size_of:: < nsCString > ( ) , 16usize); +} +#[repr(C)] +pub struct nsFixedCString { + pub _base: nsCString, + pub mFixedCapacity: ::std::os::raw::c_uint, + pub mFixedBuf: *mut ::std::os::raw::c_char, +} +#[test] +fn bindgen_test_layout_nsFixedCString() { + assert_eq!(:: std:: mem:: size_of:: < nsFixedCString > ( ) , 32usize); +} +#[repr(C)] +pub struct nsAutoCString { + pub _base: nsFixedCString, + pub mStorage: [::std::os::raw::c_char; 64usize], +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsAutoCString_nsTString_h_unnamed_4 { kDefaultStorageSize = 64, } +#[test] +fn bindgen_test_layout_nsAutoCString() { + assert_eq!(:: std:: mem:: size_of:: < nsAutoCString > ( ) , 96usize); +} +#[repr(C)] +pub struct nsXPIDLCString { + pub _base: nsCString, +} +#[test] +fn bindgen_test_layout_nsXPIDLCString() { + assert_eq!(:: std:: mem:: size_of:: < nsXPIDLCString > ( ) , 16usize); +} +#[repr(C)] +pub struct nsCGetterCopies { + pub mString: *mut nsACString_internal, + pub mData: *mut ::std::os::raw::c_char, +} +#[test] +fn bindgen_test_layout_nsCGetterCopies() { + assert_eq!(:: std:: mem:: size_of:: < nsCGetterCopies > ( ) , 16usize); +} +#[repr(C)] +pub struct nsAdoptingCString { + pub _base: nsXPIDLCString, +} +#[test] +fn bindgen_test_layout_nsAdoptingCString() { + assert_eq!(:: std:: mem:: size_of:: < nsAdoptingCString > ( ) , 16usize); +} +/** + * A helper class that converts a UTF-16 string to ASCII in a lossy manner + */ +#[repr(C)] +pub struct NS_LossyConvertUTF16toASCII { + pub _base: nsAutoCString, +} +#[test] +fn bindgen_test_layout_NS_LossyConvertUTF16toASCII() { + assert_eq!(:: std:: mem:: size_of:: < NS_LossyConvertUTF16toASCII > ( ) , + 96usize); +} +#[repr(C)] +pub struct NS_ConvertASCIItoUTF16 { + pub _base: nsAutoString, +} +#[test] +fn bindgen_test_layout_NS_ConvertASCIItoUTF16() { + assert_eq!(:: std:: mem:: size_of:: < NS_ConvertASCIItoUTF16 > ( ) , + 160usize); +} +/** + * A helper class that converts a UTF-16 string to UTF-8 + */ +#[repr(C)] +pub struct NS_ConvertUTF16toUTF8 { + pub _base: nsAutoCString, +} +#[test] +fn bindgen_test_layout_NS_ConvertUTF16toUTF8() { + assert_eq!(:: std:: mem:: size_of:: < NS_ConvertUTF16toUTF8 > ( ) , + 96usize); +} +#[repr(C)] +pub struct NS_ConvertUTF8toUTF16 { + pub _base: nsAutoString, +} +#[test] +fn bindgen_test_layout_NS_ConvertUTF8toUTF16() { + assert_eq!(:: std:: mem:: size_of:: < NS_ConvertUTF8toUTF16 > ( ) , + 160usize); +} +pub type nsVoidableString = nsAutoString; +pub enum ErrorReporter { } +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSTokenType { + eCSSToken_Whitespace = 0, + eCSSToken_Comment = 1, + eCSSToken_Ident = 2, + eCSSToken_Function = 3, + eCSSToken_AtKeyword = 4, + eCSSToken_ID = 5, + eCSSToken_Hash = 6, + eCSSToken_Number = 7, + eCSSToken_Dimension = 8, + eCSSToken_Percentage = 9, + eCSSToken_String = 10, + eCSSToken_Bad_String = 11, + eCSSToken_URL = 12, + eCSSToken_Bad_URL = 13, + eCSSToken_Symbol = 14, + eCSSToken_Includes = 15, + eCSSToken_Dashmatch = 16, + eCSSToken_Beginsmatch = 17, + eCSSToken_Endsmatch = 18, + eCSSToken_Containsmatch = 19, + eCSSToken_URange = 20, + eCSSToken_HTMLComment = 21, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSTokenSerializationType { + eCSSTokenSerialization_Nothing = 0, + eCSSTokenSerialization_Whitespace = 1, + eCSSTokenSerialization_AtKeyword_or_Hash = 2, + eCSSTokenSerialization_Number = 3, + eCSSTokenSerialization_Dimension = 4, + eCSSTokenSerialization_Percentage = 5, + eCSSTokenSerialization_URange = 6, + eCSSTokenSerialization_URL_or_BadURL = 7, + eCSSTokenSerialization_Function = 8, + eCSSTokenSerialization_Ident = 9, + eCSSTokenSerialization_CDC = 10, + eCSSTokenSerialization_DashMatch = 11, + eCSSTokenSerialization_ContainsMatch = 12, + eCSSTokenSerialization_Symbol_Hash = 13, + eCSSTokenSerialization_Symbol_At = 14, + eCSSTokenSerialization_Symbol_Dot_or_Plus = 15, + eCSSTokenSerialization_Symbol_Minus = 16, + eCSSTokenSerialization_Symbol_OpenParen = 17, + eCSSTokenSerialization_Symbol_Question = 18, + eCSSTokenSerialization_Symbol_Assorted = 19, + eCSSTokenSerialization_Symbol_Equals = 20, + eCSSTokenSerialization_Symbol_Bar = 21, + eCSSTokenSerialization_Symbol_Slash = 22, + eCSSTokenSerialization_Symbol_Asterisk = 23, + eCSSTokenSerialization_Other = 24, +} +#[repr(C)] +pub struct nsCSSToken { + pub mIdent: nsAutoString, + pub mNumber: f32, + pub mInteger: i32, + pub mInteger2: i32, + pub mType: nsCSSTokenType, + pub mSymbol: ::std::os::raw::c_ushort, + pub mIntegerValid: bool, + pub mHasSign: bool, +} +#[test] +fn bindgen_test_layout_nsCSSToken() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSToken > ( ) , 184usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCSSScannerPosition { + pub mOffset: u32, + pub mLineNumber: u32, + pub mLineOffset: u32, + pub mTokenLineNumber: u32, + pub mTokenLineOffset: u32, + pub mTokenOffset: u32, + pub mInitialized: bool, +} +#[test] +fn bindgen_test_layout_nsCSSScannerPosition() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSScannerPosition > ( ) , + 28usize); +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSScannerExclude { + eCSSScannerExclude_None = 0, + eCSSScannerExclude_Comments = 1, + eCSSScannerExclude_WhitespaceAndComments = 2, +} +#[repr(C)] +pub struct nsCSSScanner { + pub mBuffer: *const ::std::os::raw::c_ushort, + pub mOffset: u32, + pub mCount: u32, + pub mLineNumber: u32, + pub mLineOffset: u32, + pub mTokenLineNumber: u32, + pub mTokenLineOffset: u32, + pub mTokenOffset: u32, + pub mRecordStartOffset: u32, + pub mEOFCharacters: nsCSSScanner_EOFCharacters, + pub mReporter: *mut ErrorReporter, + pub mSVGMode: bool, + pub mRecording: bool, + pub mSeenBadToken: bool, + pub mSeenVariableReference: bool, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSScanner_EOFCharacters { + eEOFCharacters_None = 0, + eEOFCharacters_DropBackslash = 1, + eEOFCharacters_ReplacementChar = 2, + eEOFCharacters_Asterisk = 4, + eEOFCharacters_Slash = 8, + eEOFCharacters_DoubleQuote = 16, + eEOFCharacters_SingleQuote = 32, + eEOFCharacters_CloseParen = 64, +} +#[test] +fn bindgen_test_layout_nsCSSScanner() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSScanner > ( ) , 64usize); +} +#[repr(C)] +pub struct nsCSSGridTemplateAreaToken { + pub mName: nsAutoString, + pub isTrash: bool, +} +#[test] +fn bindgen_test_layout_nsCSSGridTemplateAreaToken() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSGridTemplateAreaToken > ( ) , + 168usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCSSGridTemplateAreaScanner { + pub mBuffer: *const ::std::os::raw::c_ushort, + pub mOffset: u32, + pub mCount: u32, +} +#[test] +fn bindgen_test_layout_nsCSSGridTemplateAreaScanner() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSGridTemplateAreaScanner > ( ) + , 16usize); +} +/** + * A "unique identifier". This is modeled after OSF DCE UUIDs. + */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsID { + pub m0: u32, + pub m1: u16, + pub m2: u16, + pub m3: [u8; 8usize], +} +#[test] +fn bindgen_test_layout_nsID() { + assert_eq!(:: std:: mem:: size_of:: < nsID > ( ) , 16usize); +} +pub type nsCID = nsID; +/** + * An "interface id" which can be used to uniquely identify a given + * interface. + */ +pub type nsIID = nsID; +/** + * Basic component object model interface. Objects which implement + * this interface support runtime interface discovery (QueryInterface) + * and a reference counted memory model (AddRef/Release). This is + * modelled after the win32 IUnknown API. + */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsISupports { + pub _vftable: *const _vftable_nsISupports, +} +#[repr(C)] +pub struct _vftable_nsISupports { +} +#[test] +fn bindgen_test_layout_nsISupports() { + assert_eq!(:: std:: mem:: size_of:: < nsISupports > ( ) , 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsAutoOwningThread { + pub mThread: *mut ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_nsAutoOwningThread() { + assert_eq!(:: std:: mem:: size_of:: < nsAutoOwningThread > ( ) , 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCycleCollectingAutoRefCnt { + pub mRefCntAndFlags: usize, +} +#[test] +fn bindgen_test_layout_nsCycleCollectingAutoRefCnt() { + assert_eq!(:: std:: mem:: size_of:: < nsCycleCollectingAutoRefCnt > ( ) , + 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsAutoRefCnt { + pub mValue: nsrefcnt, +} +#[test] +fn bindgen_test_layout_nsAutoRefCnt() { + assert_eq!(:: std:: mem:: size_of:: < nsAutoRefCnt > ( ) , 8usize); +} +#[repr(C)] +pub struct ThreadSafeAutoRefCnt { + pub mValue: [u8; 8usize], +} +#[test] +fn bindgen_test_layout_ThreadSafeAutoRefCnt() { + assert_eq!(:: std:: mem:: size_of:: < ThreadSafeAutoRefCnt > ( ) , + 8usize); +} +/** + * There are two ways of implementing QueryInterface, and we use both: + * + * Table-driven QueryInterface uses a static table of IID->offset mappings + * and a shared helper function. Using it tends to reduce codesize and improve + * runtime performance (due to processor cache hits). + * + * Macro-driven QueryInterface generates a QueryInterface function directly + * using common macros. This is necessary if special QueryInterface features + * are being used (such as tearoffs and conditional interfaces). + * + * These methods can be combined into a table-driven function call followed + * by custom code for tearoffs and conditionals. + */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct QITableEntry { + pub iid: *const nsIID, + pub offset: i32, +} +#[test] +fn bindgen_test_layout_QITableEntry() { + assert_eq!(:: std:: mem:: size_of:: < QITableEntry > ( ) , 16usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct RefPtrTraits { + pub _phantom0: ::std::marker::PhantomData, +} +#[repr(C)] +pub struct RefPtr { + pub mRawPtr: *mut T, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct RefPtrGetterAddRefs { + pub mTargetSmartPtr: *mut RefPtr, + pub _phantom0: ::std::marker::PhantomData, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsCOMPtr_helper; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsQueryInterface { + pub mRawPtr: *mut nsISupports, +} +#[test] +fn bindgen_test_layout_nsQueryInterface() { + assert_eq!(:: std:: mem:: size_of:: < nsQueryInterface > ( ) , 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsQueryInterfaceWithError { + pub mRawPtr: *mut nsISupports, + pub mErrorPtr: *mut nsresult, +} +#[test] +fn bindgen_test_layout_nsQueryInterfaceWithError() { + assert_eq!(:: std:: mem:: size_of:: < nsQueryInterfaceWithError > ( ) , + 16usize); +} +//////////////////////////////////////////////////////////////////////////// +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsGetServiceByCID { + pub mCID: *const nsCID, +} +#[test] +fn bindgen_test_layout_nsGetServiceByCID() { + assert_eq!(:: std:: mem:: size_of:: < nsGetServiceByCID > ( ) , 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsGetServiceByCIDWithError { + pub mCID: *const nsCID, + pub mErrorPtr: *mut nsresult, +} +#[test] +fn bindgen_test_layout_nsGetServiceByCIDWithError() { + assert_eq!(:: std:: mem:: size_of:: < nsGetServiceByCIDWithError > ( ) , + 16usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsGetServiceByContractID { + pub mContractID: *const ::std::os::raw::c_char, +} +#[test] +fn bindgen_test_layout_nsGetServiceByContractID() { + assert_eq!(:: std:: mem:: size_of:: < nsGetServiceByContractID > ( ) , + 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsGetServiceByContractIDWithError { + pub mContractID: *const ::std::os::raw::c_char, + pub mErrorPtr: *mut nsresult, +} +#[test] +fn bindgen_test_layout_nsGetServiceByContractIDWithError() { + assert_eq!(:: std:: mem:: size_of:: < nsGetServiceByContractIDWithError > + ( ) , 16usize); +} +/** + * Factors implementation for all template versions of nsCOMPtr. + * + * Here's the way people normally do things like this: + * + * template class Foo { ... }; + * template<> class Foo { ... }; + * template class Foo : private Foo { ... }; + */ +#[repr(C)] +pub struct nsCOMPtr_base { + pub mRawPtr: *mut nsISupports, +} +#[test] +fn bindgen_test_layout_nsCOMPtr_base() { + assert_eq!(:: std:: mem:: size_of:: < nsCOMPtr_base > ( ) , 8usize); +} +#[repr(C)] +pub struct nsCOMPtr { + pub mRawPtr: *mut T, +} +/** + * This class is designed to be used for anonymous temporary objects in the + * argument list of calls that return COM interface pointers, e.g., + * + * nsCOMPtr fooP; + * ...->QueryInterface(iid, getter_AddRefs(fooP)) + * + * DO NOT USE THIS TYPE DIRECTLY IN YOUR CODE. Use |getter_AddRefs()| instead. + * + * When initialized with a |nsCOMPtr|, as in the example above, it returns + * a |void**|, a |T**|, or an |nsISupports**| as needed, that the outer call + * (|QueryInterface| in this case) can fill in. + * + * This type should be a nested class inside |nsCOMPtr|. + */ +#[repr(C)] +pub struct nsGetterAddRefs { + pub mTargetSmartPtr: *mut nsCOMPtr, + pub _phantom0: ::std::marker::PhantomData, +} +#[repr(C)] +pub struct nsAutoPtr { + pub mRawPtr: *mut T, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsAutoPtrGetterTransfers { + pub mTargetSmartPtr: *mut nsAutoPtr, + pub _phantom0: ::std::marker::PhantomData, +} +pub type PLDHashNumber = u32; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct PLDHashEntryHdr { + pub mKeyHash: PLDHashNumber, +} +#[test] +fn bindgen_test_layout_PLDHashEntryHdr() { + assert_eq!(:: std:: mem:: size_of:: < PLDHashEntryHdr > ( ) , 4usize); +} +#[repr(C)] +pub struct Checker { + pub mState: [u8; 4usize], + pub mIsWritable: [u8; 4usize], +} +#[test] +fn bindgen_test_layout_Checker() { + assert_eq!(:: std:: mem:: size_of:: < Checker > ( ) , 8usize); +} +#[repr(C)] +pub struct PLDHashTable { + pub mOps: *const PLDHashTableOps, + pub mHashShift: i16, + pub mEntrySize: u32, + pub mEntryCount: u32, + pub mRemovedCount: u32, + pub mEntryStore: [u8; 16usize], + pub mChecker: Checker, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum PLDHashTable_SearchReason { ForSearchOrRemove = 0, ForAdd = 1, } +#[test] +fn bindgen_test_layout_PLDHashTable() { + assert_eq!(:: std:: mem:: size_of:: < PLDHashTable > ( ) , 48usize); +} +pub type PLDHashHashKey = + ::std::option::Option PLDHashNumber>; +pub type PLDHashMatchEntry = + ::std::option::Option bool>; +pub type PLDHashMoveEntry = + ::std::option::Option; +pub type PLDHashClearEntry = + ::std::option::Option; +pub type PLDHashInitEntry = + ::std::option::Option; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct PLDHashTableOps { + pub hashKey: PLDHashHashKey, + pub matchEntry: PLDHashMatchEntry, + pub moveEntry: PLDHashMoveEntry, + pub clearEntry: PLDHashClearEntry, + pub initEntry: PLDHashInitEntry, +} +#[test] +fn bindgen_test_layout_PLDHashTableOps() { + assert_eq!(:: std:: mem:: size_of:: < PLDHashTableOps > ( ) , 40usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct PLDHashEntryStub { + pub _base: PLDHashEntryHdr, + pub key: *const ::std::os::raw::c_void, +} +#[test] +fn bindgen_test_layout_PLDHashEntryStub() { + assert_eq!(:: std:: mem:: size_of:: < PLDHashEntryStub > ( ) , 16usize); +} +/** + * a base class for templated hashtables. + * + * Clients will rarely need to use this class directly. Check the derived + * classes first, to see if they will meet your needs. + * + * @param EntryType the templated entry-type class that is managed by the + * hashtable. EntryType must extend the following declaration, + * and must not declare any virtual functions or derive from classes + * with virtual functions. Any vtable pointer would break the + * PLDHashTable code. + *
   class EntryType : public PLDHashEntryHdr
+ *   {
+ *   public: or friend nsTHashtable;
+ *     // KeyType is what we use when Get()ing or Put()ing this entry
+ *     // this should either be a simple datatype (uint32_t, nsISupports*) or
+ *     // a const reference (const nsAString&)
+ *     typedef something KeyType;
+ *     // KeyTypePointer is the pointer-version of KeyType, because
+ *     // PLDHashTable.h requires keys to cast to const void*
+ *     typedef const something* KeyTypePointer;
+ *
+ *     EntryType(KeyTypePointer aKey);
+ *
+ *     // A copy or C++11 Move constructor must be defined, even if
+ *     // AllowMemMove() == true, otherwise you will cause link errors.
+ *     EntryType(const EntryType& aEnt);  // Either this...
+ *     EntryType(EntryType&& aEnt);       // ...or this
+ *
+ *     // the destructor must be defined... or you will cause link errors!
+ *     ~EntryType();
+ *
+ *     // KeyEquals(): does this entry match this key?
+ *     bool KeyEquals(KeyTypePointer aKey) const;
+ *
+ *     // KeyToPointer(): Convert KeyType to KeyTypePointer
+ *     static KeyTypePointer KeyToPointer(KeyType aKey);
+ *
+ *     // HashKey(): calculate the hash number
+ *     static PLDHashNumber HashKey(KeyTypePointer aKey);
+ *
+ *     // ALLOW_MEMMOVE can we move this class with memmove(), or do we have
+ *     // to use the copy constructor?
+ *     enum { ALLOW_MEMMOVE = true/false };
+ *   }
+ * + * @see nsInterfaceHashtable + * @see nsDataHashtable + * @see nsClassHashtable + * @author "Benjamin Smedberg " + */ +#[repr(C)] +pub struct nsTHashtable { + pub mTable: PLDHashTable, + pub _phantom0: ::std::marker::PhantomData, +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsDataHashtable { + _bindgen_opaque_blob: [u64; 0usize], +} +#[test] +fn bindgen_test_layout_nsDataHashtable() { + assert_eq!(:: std:: mem:: size_of:: < nsDataHashtable > ( ) , 0usize); +} +pub enum CSSVariableResolver { } +#[repr(C)] +pub struct CSSVariableValues { + /** + * Map of variable names to IDs. Variable IDs are indexes into + * mVariables. + */ + pub mVariableIDs: [u8; 48usize], + /** + * Array of variables, indexed by variable ID. + */ + pub mVariables: [u8; 8usize], +} +#[repr(C)] +pub struct CSSVariableValues_Variable { + pub mVariableName: nsString, + pub mValue: nsString, + pub mFirstToken: nsCSSTokenSerializationType, + pub mLastToken: nsCSSTokenSerializationType, +} +#[test] +fn bindgen_test_layout_CSSVariableValues_Variable() { + assert_eq!(:: std:: mem:: size_of:: < CSSVariableValues_Variable > ( ) , + 40usize); +} +#[test] +fn bindgen_test_layout_CSSVariableValues() { + assert_eq!(:: std:: mem:: size_of:: < CSSVariableValues > ( ) , 56usize); +} +#[repr(i8)] +#[derive(Copy, Clone, Debug)] +pub enum SheetType { + Agent = 0, + User = 1, + PresHint = 2, + SVGAttrAnimation = 3, + Doc = 4, + ScopedDoc = 5, + StyleAttr = 6, + Override = 7, + Animation = 8, + Transition = 9, + Count = 10, + Unknown = -1, +} +pub type nscolor = u32; +pub type nscoord = i32; +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsIntPoint { + _bindgen_opaque_blob: [u64; 1usize], +} +#[test] +fn bindgen_test_layout_nsIntPoint() { + assert_eq!(:: std:: mem:: size_of:: < nsIntPoint > ( ) , 8usize); +} +/** + * If something in this types or the assertions below needs to change, ask + * bholley, heycam or emilio before! + * + *
+ */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsPoint { + pub x: nscoord, + pub y: nscoord, +} +#[test] +fn bindgen_test_layout_nsPoint() { + assert_eq!(:: std:: mem:: size_of:: < nsPoint > ( ) , 8usize); +} +/** + *
+ */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsMargin { + pub top: nscoord, + pub right: nscoord, + pub bottom: nscoord, + pub left: nscoord, +} +#[test] +fn bindgen_test_layout_nsMargin() { + assert_eq!(:: std:: mem:: size_of:: < nsMargin > ( ) , 16usize); +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsIntMargin { + _bindgen_opaque_blob: [u64; 2usize], +} +#[test] +fn bindgen_test_layout_nsIntMargin() { + assert_eq!(:: std:: mem:: size_of:: < nsIntMargin > ( ) , 16usize); +} +pub const eFamily_generic_first: FontFamilyType = + FontFamilyType::eFamily_serif; +pub const eFamily_generic_last: FontFamilyType = + FontFamilyType::eFamily_fantasy; +pub const eFamily_generic_count: FontFamilyType = + FontFamilyType::eFamily_monospace; +/** + * type of font family name, either a name (e.g. Helvetica) or a + * generic (e.g. serif, sans-serif), with the ability to distinguish + * between unquoted and quoted names for serializaiton + */ +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum FontFamilyType { + eFamily_none = 0, + eFamily_named = 1, + eFamily_named_quoted = 2, + eFamily_serif = 3, + eFamily_sans_serif = 4, + eFamily_monospace = 5, + eFamily_cursive = 6, + eFamily_fantasy = 7, + eFamily_moz_variable = 8, + eFamily_moz_fixed = 9, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum QuotedName { eQuotedName = 0, eUnquotedName = 1, } +/** + * font family name, a string for the name if not a generic and + * a font type indicated named family or which generic family + */ +#[repr(C)] +pub struct FontFamilyName { + pub mType: FontFamilyType, + pub mName: nsString, +} +#[test] +fn bindgen_test_layout_FontFamilyName() { + assert_eq!(:: std:: mem:: size_of:: < FontFamilyName > ( ) , 24usize); +} +/** + * font family list, array of font families and a default font type. + * font family names are either named strings or generics. the default + * font type is used to preserve the variable font fallback behavior + */ +#[repr(C)] +pub struct FontFamilyList { + pub mFontlist: [u8; 8usize], + pub mDefaultFontType: FontFamilyType, +} +#[test] +fn bindgen_test_layout_FontFamilyList() { + assert_eq!(:: std:: mem:: size_of:: < FontFamilyList > ( ) , 16usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct gfxFontFeature { + pub mTag: u32, + pub mValue: u32, +} +#[test] +fn bindgen_test_layout_gfxFontFeature() { + assert_eq!(:: std:: mem:: size_of:: < gfxFontFeature > ( ) , 8usize); +} +#[repr(C)] +pub struct gfxAlternateValue { + pub alternate: u32, + pub value: nsString, +} +#[test] +fn bindgen_test_layout_gfxAlternateValue() { + assert_eq!(:: std:: mem:: size_of:: < gfxAlternateValue > ( ) , 24usize); +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct gfxFontFeatureValueSet { + _bindgen_opaque_blob: [u64; 8usize], +} +#[test] +fn bindgen_test_layout_gfxFontFeatureValueSet() { + assert_eq!(:: std:: mem:: size_of:: < gfxFontFeatureValueSet > ( ) , + 64usize); +} +pub enum gfxFontStyle { } +pub type nsFontFamilyEnumFunc = + ::std::option::Option bool>; +#[repr(C)] +pub struct nsFont { + pub fontlist: FontFamilyList, + pub style: u8, + pub systemFont: bool, + pub variantCaps: u8, + pub variantNumeric: u8, + pub variantPosition: u8, + pub variantLigatures: u16, + pub variantEastAsian: u16, + pub variantAlternates: u16, + pub smoothing: u8, + pub weight: u16, + pub stretch: i16, + pub kerning: u8, + pub synthesis: u8, + pub size: nscoord, + pub sizeAdjust: f32, + pub alternateValues: [u8; 8usize], + pub featureValueLookup: RefPtr, + pub fontFeatureSettings: [u8; 8usize], + pub languageOverride: nsString, +} +#[test] +fn bindgen_test_layout_nsFont() { + assert_eq!(:: std:: mem:: size_of:: < nsFont > ( ) , 88usize); +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsIntRect { + _bindgen_opaque_blob: [u64; 2usize], +} +#[test] +fn bindgen_test_layout_nsIntRect() { + assert_eq!(:: std:: mem:: size_of:: < nsIntRect > ( ) , 16usize); +} +/** + *
+ */ +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsRect { + pub x: nscoord, + pub y: nscoord, + pub width: nscoord, + pub height: nscoord, +} +#[test] +fn bindgen_test_layout_nsRect() { + assert_eq!(:: std:: mem:: size_of:: < nsRect > ( ) , 16usize); +} +#[repr(i8)] +#[derive(Copy, Clone, Debug)] +pub enum StyleBoxSizing { Content = 0, Padding = 1, Border = 2, } +pub enum PlaybackDirection { } +pub enum FillMode { } +pub enum WritingMode { } +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum LogicalAxis { eLogicalAxisBlock = 0, eLogicalAxisInline = 1, } +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum LogicalEdge { eLogicalEdgeStart = 0, eLogicalEdgeEnd = 1, } +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum LogicalSide { + eLogicalSideBStart = 0, + eLogicalSideBEnd = 1, + eLogicalSideIStart = 2, + eLogicalSideIEnd = 3, +} +pub const eStyleUnit_MAX: nsStyleUnit = nsStyleUnit::eStyleUnit_Calc; +#[repr(i8)] +#[derive(Copy, Clone, Debug)] +pub enum nsStyleUnit { + eStyleUnit_Null = 0, + eStyleUnit_Normal = 1, + eStyleUnit_Auto = 2, + eStyleUnit_None = 3, + eStyleUnit_Percent = 10, + eStyleUnit_Factor = 11, + eStyleUnit_Degree = 12, + eStyleUnit_Grad = 13, + eStyleUnit_Radian = 14, + eStyleUnit_Turn = 15, + eStyleUnit_FlexFraction = 16, + eStyleUnit_Coord = 20, + eStyleUnit_Integer = 30, + eStyleUnit_Enumerated = 32, + eStyleUnit_Calc = 40, +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsStyleCoord_h_unnamed_5 { + pub _bindgen_data_: u64, +} +impl nsStyleCoord_h_unnamed_5 { } +pub type nsStyleUnion = nsStyleCoord_h_unnamed_5; +/** + * Class that hold a single size specification used by the style + * system. The size specification consists of two parts -- a number + * and a unit. The number is an integer, a floating point value, an + * nscoord, or undefined, and the unit is an nsStyleUnit. Checking + * the unit is a must before asking for the value in any particular + * form. + */ +#[repr(C)] +pub struct nsStyleCoord { + pub mUnit: nsStyleUnit, + pub mValue: nsStyleUnion, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsStyleCoord_CalcValue { + pub mLength: nscoord, + pub mPercent: f32, + pub mHasPercent: bool, +} +#[test] +fn bindgen_test_layout_nsStyleCoord_CalcValue() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleCoord_CalcValue > ( ) , + 12usize); +} +#[repr(C)] +pub struct nsStyleCoord_Calc { + pub _base: nsStyleCoord_CalcValue, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsStyleCoord_Calc() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleCoord_Calc > ( ) , 32usize); +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsStyleCoord_CoordConstructorType { CoordConstructor = 0, } +#[test] +fn bindgen_test_layout_nsStyleCoord() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleCoord > ( ) , 16usize); +} +/** + * Class that represents a set of top/right/bottom/left nsStyleCoords. + * This is commonly used to hold the widths of the borders, margins, + * or paddings of a box. + */ +#[repr(C)] +pub struct nsStyleSides { + pub mUnits: [nsStyleUnit; 4usize], + pub mValues: [nsStyleUnion; 4usize], +} +#[test] +fn bindgen_test_layout_nsStyleSides() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleSides > ( ) , 40usize); +} +/** + * Class that represents a set of top-left/top-right/bottom-left/bottom-right + * nsStyleCoord pairs. This is used to hold the dimensions of the + * corners of a box (for, e.g., border-radius and outline-radius). + */ +#[repr(C)] +pub struct nsStyleCorners { + pub mUnits: [nsStyleUnit; 8usize], + pub mValues: [nsStyleUnion; 8usize], +} +#[test] +fn bindgen_test_layout_nsStyleCorners() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleCorners > ( ) , 72usize); +} +pub type nsLoadFlags = u32; +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsIRequest { + pub _base: nsISupports, +} +#[repr(C)] +pub struct _vftable_nsIRequest { + pub _base: _vftable_nsISupports, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsIRequest_nsIRequest_h_unnamed_6 { + LOAD_REQUESTMASK = 65535, + LOAD_NORMAL = 0, + LOAD_BACKGROUND = 1, + INHIBIT_PIPELINE = 64, + INHIBIT_CACHING = 128, + INHIBIT_PERSISTENT_CACHING = 256, + LOAD_BYPASS_CACHE = 512, + LOAD_FROM_CACHE = 1024, + VALIDATE_ALWAYS = 2048, + VALIDATE_NEVER = 4096, + VALIDATE_ONCE_PER_SESSION = 8192, + LOAD_ANONYMOUS = 16384, + LOAD_FRESH_CONNECTION = 32768, +} +pub enum nsIContentSecurityPolicy { } +pub enum nsIDOMDocument { } +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsIPrincipal { + _bindgen_opaque_blob: [u64; 1usize], +} +#[test] +fn bindgen_test_layout_nsIPrincipal() { + assert_eq!(:: std:: mem:: size_of:: < nsIPrincipal > ( ) , 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsIExpandedPrincipal { + pub _base: nsISupports, +} +#[repr(C)] +pub struct _vftable_nsIExpandedPrincipal { + pub _base: _vftable_nsISupports, +} +/** + * This structure precedes the string buffers "we" allocate. It may be the + * case that nsTAString::mData does not point to one of these special + * buffers. The mFlags member variable distinguishes the buffer type. + * + * When this header is in use, it enables reference counting, and capacity + * tracking. NOTE: A string buffer can be modified only if its reference + * count is 1. + */ +#[repr(C)] +pub struct nsStringBuffer { + pub mRefCount: [u8; 4usize], + pub mStorageSize: u32, +} +#[test] +fn bindgen_test_layout_nsStringBuffer() { + assert_eq!(:: std:: mem:: size_of:: < nsStringBuffer > ( ) , 8usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsIAtom { + pub _base: nsISupports, + pub mLength: u32, + pub mHash: u32, + /** + * WARNING! There is an invisible constraint on |mString|: the chars it + * points to must belong to an nsStringBuffer. This is so that the + * nsStringBuffer::FromData() calls above are valid. + */ + pub mString: *mut ::std::os::raw::c_ushort, +} +#[repr(C)] +pub struct _vftable_nsIAtom { + pub _base: _vftable_nsISupports, +} +#[test] +fn bindgen_test_layout_nsIAtom() { + assert_eq!(:: std:: mem:: size_of:: < nsIAtom > ( ) , 24usize); +} +#[repr(C)] +pub struct nsAtomString { + pub _base: nsString, +} +#[test] +fn bindgen_test_layout_nsAtomString() { + assert_eq!(:: std:: mem:: size_of:: < nsAtomString > ( ) , 16usize); +} +#[repr(C)] +pub struct nsAtomCString { + pub _base: nsCString, +} +#[test] +fn bindgen_test_layout_nsAtomCString() { + assert_eq!(:: std:: mem:: size_of:: < nsAtomCString > ( ) , 16usize); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsDependentAtomString { + pub _base: [u8; 16usize], +} +/** + * A class for holding strong references to handle-managed objects. + * + * This is intended for use with objects like StyleSheetHandle, where + * the handle type is not a pointer but which can still have ->AddRef() + * and ->Release() called on it. + */ +#[repr(C)] +pub struct HandleRefPtr { + pub mHandle: T, +} +/** + * A class for holding strong references to nsPresArena-allocated + * objects. + * + * Since the arena's lifetime is not related to the refcounts + * of the objects allocated within it, it is possible to have a strong + * reference to an arena-allocated object that lives until the + * destruction of the arena. An ArenaRefPtr acts like a weak reference + * in that it will clear its referent if the arena is about to go away. + * + * T must be a class that has these two methods: + * + * static mozilla::ArenaObjectID ArenaObjectID(); + * U* Arena(); + * + * where U is a class that has these two methods: + * + * void RegisterArenaRefPtr(ArenaRefPtr*); + * void DeregisterArenaRefPtr(ArenaRefPtr*); + * + * Currently, both nsPresArena and nsIPresShell can be used as U. + * + * The ArenaObjectID method must return the mozilla::ArenaObjectID that + * uniquely identifies T, and the Arena method must return the nsPresArena + * (or a proxy for it) in which the object was allocated. + */ +#[repr(C)] +pub struct ArenaRefPtr { + pub mPtr: RefPtr, + pub _phantom0: ::std::marker::PhantomData, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct nsIURI { + pub _base: nsISupports, +} +#[repr(C)] +pub struct _vftable_nsIURI { + pub _base: _vftable_nsISupports, +} +pub const eCSSProperty_COUNT_DUMMY: nsCSSProperty = + nsCSSProperty::eCSSProperty__x_text_zoom; +pub const eCSSProperty__moz_outline_radius: nsCSSProperty = + nsCSSProperty::eCSSProperty_COUNT_no_shorthands; +pub const eCSSProperty_COUNT_DUMMY2: nsCSSProperty = + nsCSSProperty::eCSSProperty__moz_transform; +pub const eCSSPropertyAlias_MozTransformOrigin: nsCSSProperty = + nsCSSProperty::eCSSProperty_COUNT; +pub const eCSSProperty_COUNT_DUMMY3: nsCSSProperty = + nsCSSProperty::eCSSPropertyAlias_WebkitUserSelect; +pub const eCSSPropertyExtra_no_properties: nsCSSProperty = + nsCSSProperty::eCSSProperty_COUNT_with_aliases; +#[repr(i32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSProperty { + eCSSProperty_UNKNOWN = -1, + eCSSProperty_appearance = 0, + eCSSProperty__moz_outline_radius_topLeft = 1, + eCSSProperty__moz_outline_radius_topRight = 2, + eCSSProperty__moz_outline_radius_bottomRight = 3, + eCSSProperty__moz_outline_radius_bottomLeft = 4, + eCSSProperty__moz_tab_size = 5, + eCSSProperty__x_system_font = 6, + eCSSProperty_animation_delay = 7, + eCSSProperty_animation_direction = 8, + eCSSProperty_animation_duration = 9, + eCSSProperty_animation_fill_mode = 10, + eCSSProperty_animation_iteration_count = 11, + eCSSProperty_animation_name = 12, + eCSSProperty_animation_play_state = 13, + eCSSProperty_animation_timing_function = 14, + eCSSProperty_background_attachment = 15, + eCSSProperty_background_clip = 16, + eCSSProperty_background_color = 17, + eCSSProperty_background_image = 18, + eCSSProperty_background_blend_mode = 19, + eCSSProperty_background_origin = 20, + eCSSProperty_background_position = 21, + eCSSProperty_background_repeat = 22, + eCSSProperty_background_size = 23, + eCSSProperty_binding = 24, + eCSSProperty_block_size = 25, + eCSSProperty_border_block_end_color = 26, + eCSSProperty_border_block_end_style = 27, + eCSSProperty_border_block_end_width = 28, + eCSSProperty_border_block_start_color = 29, + eCSSProperty_border_block_start_style = 30, + eCSSProperty_border_block_start_width = 31, + eCSSProperty_border_bottom_color = 32, + eCSSProperty_border_bottom_colors = 33, + eCSSProperty_border_bottom_style = 34, + eCSSProperty_border_bottom_width = 35, + eCSSProperty_border_collapse = 36, + eCSSProperty_border_image_source = 37, + eCSSProperty_border_image_slice = 38, + eCSSProperty_border_image_width = 39, + eCSSProperty_border_image_outset = 40, + eCSSProperty_border_image_repeat = 41, + eCSSProperty_border_inline_end_color = 42, + eCSSProperty_border_inline_end_style = 43, + eCSSProperty_border_inline_end_width = 44, + eCSSProperty_border_inline_start_color = 45, + eCSSProperty_border_inline_start_style = 46, + eCSSProperty_border_inline_start_width = 47, + eCSSProperty_border_left_color = 48, + eCSSProperty_border_left_colors = 49, + eCSSProperty_border_left_style = 50, + eCSSProperty_border_left_width = 51, + eCSSProperty_border_right_color = 52, + eCSSProperty_border_right_colors = 53, + eCSSProperty_border_right_style = 54, + eCSSProperty_border_right_width = 55, + eCSSProperty_border_spacing = 56, + eCSSProperty_border_top_color = 57, + eCSSProperty_border_top_colors = 58, + eCSSProperty_border_top_style = 59, + eCSSProperty_border_top_width = 60, + eCSSProperty_border_top_left_radius = 61, + eCSSProperty_border_top_right_radius = 62, + eCSSProperty_border_bottom_right_radius = 63, + eCSSProperty_border_bottom_left_radius = 64, + eCSSProperty_bottom = 65, + eCSSProperty_box_decoration_break = 66, + eCSSProperty_box_shadow = 67, + eCSSProperty_box_sizing = 68, + eCSSProperty_caption_side = 69, + eCSSProperty_clear = 70, + eCSSProperty_clip = 71, + eCSSProperty_color = 72, + eCSSProperty__moz_column_count = 73, + eCSSProperty__moz_column_fill = 74, + eCSSProperty__moz_column_width = 75, + eCSSProperty__moz_column_gap = 76, + eCSSProperty__moz_column_rule_color = 77, + eCSSProperty__moz_column_rule_style = 78, + eCSSProperty__moz_column_rule_width = 79, + eCSSProperty_contain = 80, + eCSSProperty_content = 81, + eCSSProperty__moz_control_character_visibility = 82, + eCSSProperty_counter_increment = 83, + eCSSProperty_counter_reset = 84, + eCSSProperty_cursor = 85, + eCSSProperty_direction = 86, + eCSSProperty_display = 87, + eCSSProperty_empty_cells = 88, + eCSSProperty_align_content = 89, + eCSSProperty_align_items = 90, + eCSSProperty_align_self = 91, + eCSSProperty_flex_basis = 92, + eCSSProperty_flex_direction = 93, + eCSSProperty_webkit_box_orient = 94, + eCSSProperty_flex_grow = 95, + eCSSProperty_flex_shrink = 96, + eCSSProperty_flex_wrap = 97, + eCSSProperty_order = 98, + eCSSProperty_justify_content = 99, + eCSSProperty_justify_items = 100, + eCSSProperty_justify_self = 101, + eCSSProperty_float = 102, + eCSSProperty_float_edge = 103, + eCSSProperty_font_family = 104, + eCSSProperty_font_feature_settings = 105, + eCSSProperty_font_kerning = 106, + eCSSProperty_font_language_override = 107, + eCSSProperty_font_size = 108, + eCSSProperty_font_size_adjust = 109, + eCSSProperty_osx_font_smoothing = 110, + eCSSProperty_font_stretch = 111, + eCSSProperty_font_style = 112, + eCSSProperty_font_synthesis = 113, + eCSSProperty_font_variant_alternates = 114, + eCSSProperty_font_variant_caps = 115, + eCSSProperty_font_variant_east_asian = 116, + eCSSProperty_font_variant_ligatures = 117, + eCSSProperty_font_variant_numeric = 118, + eCSSProperty_font_variant_position = 119, + eCSSProperty_font_weight = 120, + eCSSProperty_force_broken_image_icon = 121, + eCSSProperty_grid_auto_flow = 122, + eCSSProperty_grid_auto_columns = 123, + eCSSProperty_grid_auto_rows = 124, + eCSSProperty_grid_template_areas = 125, + eCSSProperty_grid_template_columns = 126, + eCSSProperty_grid_template_rows = 127, + eCSSProperty_grid_column_start = 128, + eCSSProperty_grid_column_end = 129, + eCSSProperty_grid_row_start = 130, + eCSSProperty_grid_row_end = 131, + eCSSProperty_grid_column_gap = 132, + eCSSProperty_grid_row_gap = 133, + eCSSProperty_height = 134, + eCSSProperty_image_orientation = 135, + eCSSProperty_image_region = 136, + eCSSProperty_ime_mode = 137, + eCSSProperty_inline_size = 138, + eCSSProperty_left = 139, + eCSSProperty_letter_spacing = 140, + eCSSProperty_line_height = 141, + eCSSProperty_list_style_image = 142, + eCSSProperty_list_style_position = 143, + eCSSProperty_list_style_type = 144, + eCSSProperty_margin_block_end = 145, + eCSSProperty_margin_block_start = 146, + eCSSProperty_margin_bottom = 147, + eCSSProperty_margin_inline_end = 148, + eCSSProperty_margin_inline_start = 149, + eCSSProperty_margin_left = 150, + eCSSProperty_margin_right = 151, + eCSSProperty_margin_top = 152, + eCSSProperty_marker_offset = 153, + eCSSProperty_max_block_size = 154, + eCSSProperty_max_height = 155, + eCSSProperty_max_inline_size = 156, + eCSSProperty_max_width = 157, + eCSSProperty__moz_min_font_size_ratio = 158, + eCSSProperty_min_height = 159, + eCSSProperty_min_block_size = 160, + eCSSProperty_min_inline_size = 161, + eCSSProperty_min_width = 162, + eCSSProperty_mix_blend_mode = 163, + eCSSProperty_isolation = 164, + eCSSProperty_object_fit = 165, + eCSSProperty_object_position = 166, + eCSSProperty_offset_block_end = 167, + eCSSProperty_offset_block_start = 168, + eCSSProperty_offset_inline_end = 169, + eCSSProperty_offset_inline_start = 170, + eCSSProperty_opacity = 171, + eCSSProperty_orient = 172, + eCSSProperty_outline_color = 173, + eCSSProperty_outline_style = 174, + eCSSProperty_outline_width = 175, + eCSSProperty_outline_offset = 176, + eCSSProperty_overflow_clip_box = 177, + eCSSProperty_overflow_x = 178, + eCSSProperty_overflow_y = 179, + eCSSProperty_padding_block_end = 180, + eCSSProperty_padding_block_start = 181, + eCSSProperty_padding_bottom = 182, + eCSSProperty_padding_inline_end = 183, + eCSSProperty_padding_inline_start = 184, + eCSSProperty_padding_left = 185, + eCSSProperty_padding_right = 186, + eCSSProperty_padding_top = 187, + eCSSProperty_page_break_after = 188, + eCSSProperty_page_break_before = 189, + eCSSProperty_page_break_inside = 190, + eCSSProperty_paint_order = 191, + eCSSProperty_pointer_events = 192, + eCSSProperty_position = 193, + eCSSProperty_quotes = 194, + eCSSProperty_resize = 195, + eCSSProperty_right = 196, + eCSSProperty_ruby_align = 197, + eCSSProperty_ruby_position = 198, + eCSSProperty_scroll_behavior = 199, + eCSSProperty_scroll_snap_coordinate = 200, + eCSSProperty_scroll_snap_destination = 201, + eCSSProperty_scroll_snap_points_x = 202, + eCSSProperty_scroll_snap_points_y = 203, + eCSSProperty_scroll_snap_type_x = 204, + eCSSProperty_scroll_snap_type_y = 205, + eCSSProperty_table_layout = 206, + eCSSProperty_text_align = 207, + eCSSProperty_text_align_last = 208, + eCSSProperty_text_combine_upright = 209, + eCSSProperty_text_decoration_color = 210, + eCSSProperty_text_decoration_line = 211, + eCSSProperty_text_decoration_style = 212, + eCSSProperty_text_emphasis_color = 213, + eCSSProperty_text_emphasis_position = 214, + eCSSProperty_text_emphasis_style = 215, + eCSSProperty_text_indent = 216, + eCSSProperty_text_orientation = 217, + eCSSProperty_text_overflow = 218, + eCSSProperty_text_shadow = 219, + eCSSProperty_text_size_adjust = 220, + eCSSProperty_text_transform = 221, + eCSSProperty_transform = 222, + eCSSProperty_transform_box = 223, + eCSSProperty_transform_origin = 224, + eCSSProperty_perspective_origin = 225, + eCSSProperty_perspective = 226, + eCSSProperty_transform_style = 227, + eCSSProperty_backface_visibility = 228, + eCSSProperty_top = 229, + eCSSProperty__moz_top_layer = 230, + eCSSProperty_touch_action = 231, + eCSSProperty_transition_delay = 232, + eCSSProperty_transition_duration = 233, + eCSSProperty_transition_property = 234, + eCSSProperty_transition_timing_function = 235, + eCSSProperty_unicode_bidi = 236, + eCSSProperty_user_focus = 237, + eCSSProperty_user_input = 238, + eCSSProperty_user_modify = 239, + eCSSProperty_user_select = 240, + eCSSProperty_vertical_align = 241, + eCSSProperty_visibility = 242, + eCSSProperty_white_space = 243, + eCSSProperty_width = 244, + eCSSProperty__moz_window_dragging = 245, + eCSSProperty__moz_window_shadow = 246, + eCSSProperty_word_break = 247, + eCSSProperty_word_spacing = 248, + eCSSProperty_word_wrap = 249, + eCSSProperty_hyphens = 250, + eCSSProperty_writing_mode = 251, + eCSSProperty_z_index = 252, + eCSSProperty_box_align = 253, + eCSSProperty_box_direction = 254, + eCSSProperty_box_flex = 255, + eCSSProperty_box_orient = 256, + eCSSProperty_box_pack = 257, + eCSSProperty_box_ordinal_group = 258, + eCSSProperty_stack_sizing = 259, + eCSSProperty_script_level = 260, + eCSSProperty_script_size_multiplier = 261, + eCSSProperty_script_min_size = 262, + eCSSProperty_math_variant = 263, + eCSSProperty_math_display = 264, + eCSSProperty_clip_path = 265, + eCSSProperty_clip_rule = 266, + eCSSProperty_color_interpolation = 267, + eCSSProperty_color_interpolation_filters = 268, + eCSSProperty_dominant_baseline = 269, + eCSSProperty_fill = 270, + eCSSProperty_fill_opacity = 271, + eCSSProperty_fill_rule = 272, + eCSSProperty_filter = 273, + eCSSProperty_flood_color = 274, + eCSSProperty_flood_opacity = 275, + eCSSProperty_image_rendering = 276, + eCSSProperty_lighting_color = 277, + eCSSProperty_marker_end = 278, + eCSSProperty_marker_mid = 279, + eCSSProperty_marker_start = 280, + eCSSProperty_mask = 281, + eCSSProperty_mask_type = 282, + eCSSProperty_shape_rendering = 283, + eCSSProperty_stop_color = 284, + eCSSProperty_stop_opacity = 285, + eCSSProperty_stroke = 286, + eCSSProperty_stroke_dasharray = 287, + eCSSProperty_stroke_dashoffset = 288, + eCSSProperty_stroke_linecap = 289, + eCSSProperty_stroke_linejoin = 290, + eCSSProperty_stroke_miterlimit = 291, + eCSSProperty_stroke_opacity = 292, + eCSSProperty_stroke_width = 293, + eCSSProperty_text_anchor = 294, + eCSSProperty_text_rendering = 295, + eCSSProperty_vector_effect = 296, + eCSSProperty_will_change = 297, + eCSSProperty__x_lang = 298, + eCSSProperty__x_span = 299, + eCSSProperty__x_text_zoom = 300, + eCSSProperty_COUNT_no_shorthands = 301, + eCSSProperty_all = 302, + eCSSProperty_animation = 303, + eCSSProperty_background = 304, + eCSSProperty_border = 305, + eCSSProperty_border_block_end = 306, + eCSSProperty_border_block_start = 307, + eCSSProperty_border_bottom = 308, + eCSSProperty_border_color = 309, + eCSSProperty_border_image = 310, + eCSSProperty_border_inline_end = 311, + eCSSProperty_border_inline_start = 312, + eCSSProperty_border_left = 313, + eCSSProperty_border_right = 314, + eCSSProperty_border_style = 315, + eCSSProperty_border_top = 316, + eCSSProperty_border_width = 317, + eCSSProperty_border_radius = 318, + eCSSProperty__moz_columns = 319, + eCSSProperty__moz_column_rule = 320, + eCSSProperty_flex = 321, + eCSSProperty_flex_flow = 322, + eCSSProperty_font = 323, + eCSSProperty_font_variant = 324, + eCSSProperty_grid = 325, + eCSSProperty_grid_column = 326, + eCSSProperty_grid_row = 327, + eCSSProperty_grid_area = 328, + eCSSProperty_grid_gap = 329, + eCSSProperty_list_style = 330, + eCSSProperty_margin = 331, + eCSSProperty_outline = 332, + eCSSProperty_overflow = 333, + eCSSProperty_padding = 334, + eCSSProperty_scroll_snap_type = 335, + eCSSProperty_text_decoration = 336, + eCSSProperty_text_emphasis = 337, + eCSSProperty_transition = 338, + eCSSProperty_marker = 339, + eCSSProperty__moz_transform = 340, + eCSSProperty_COUNT = 341, + eCSSPropertyAlias_MozPerspectiveOrigin = 342, + eCSSPropertyAlias_MozPerspective = 343, + eCSSPropertyAlias_MozTransformStyle = 344, + eCSSPropertyAlias_MozBackfaceVisibility = 345, + eCSSPropertyAlias_MozBorderImage = 346, + eCSSPropertyAlias_MozTransition = 347, + eCSSPropertyAlias_MozTransitionDelay = 348, + eCSSPropertyAlias_MozTransitionDuration = 349, + eCSSPropertyAlias_MozTransitionProperty = 350, + eCSSPropertyAlias_MozTransitionTimingFunction = 351, + eCSSPropertyAlias_MozAnimation = 352, + eCSSPropertyAlias_MozAnimationDelay = 353, + eCSSPropertyAlias_MozAnimationDirection = 354, + eCSSPropertyAlias_MozAnimationDuration = 355, + eCSSPropertyAlias_MozAnimationFillMode = 356, + eCSSPropertyAlias_MozAnimationIterationCount = 357, + eCSSPropertyAlias_MozAnimationName = 358, + eCSSPropertyAlias_MozAnimationPlayState = 359, + eCSSPropertyAlias_MozAnimationTimingFunction = 360, + eCSSPropertyAlias_MozBoxSizing = 361, + eCSSPropertyAlias_MozFontFeatureSettings = 362, + eCSSPropertyAlias_MozFontLanguageOverride = 363, + eCSSPropertyAlias_MozPaddingEnd = 364, + eCSSPropertyAlias_MozPaddingStart = 365, + eCSSPropertyAlias_MozMarginEnd = 366, + eCSSPropertyAlias_MozMarginStart = 367, + eCSSPropertyAlias_MozBorderEnd = 368, + eCSSPropertyAlias_MozBorderEndColor = 369, + eCSSPropertyAlias_MozBorderEndStyle = 370, + eCSSPropertyAlias_MozBorderEndWidth = 371, + eCSSPropertyAlias_MozBorderStart = 372, + eCSSPropertyAlias_MozBorderStartColor = 373, + eCSSPropertyAlias_MozBorderStartStyle = 374, + eCSSPropertyAlias_MozBorderStartWidth = 375, + eCSSPropertyAlias_MozHyphens = 376, + eCSSPropertyAlias_WebkitAnimation = 377, + eCSSPropertyAlias_WebkitAnimationDelay = 378, + eCSSPropertyAlias_WebkitAnimationDirection = 379, + eCSSPropertyAlias_WebkitAnimationDuration = 380, + eCSSPropertyAlias_WebkitAnimationFillMode = 381, + eCSSPropertyAlias_WebkitAnimationIterationCount = 382, + eCSSPropertyAlias_WebkitAnimationName = 383, + eCSSPropertyAlias_WebkitAnimationPlayState = 384, + eCSSPropertyAlias_WebkitAnimationTimingFunction = 385, + eCSSPropertyAlias_WebkitFilter = 386, + eCSSPropertyAlias_WebkitTextSizeAdjust = 387, + eCSSPropertyAlias_WebkitTransform = 388, + eCSSPropertyAlias_WebkitTransformOrigin = 389, + eCSSPropertyAlias_WebkitTransformStyle = 390, + eCSSPropertyAlias_WebkitBackfaceVisibility = 391, + eCSSPropertyAlias_WebkitPerspective = 392, + eCSSPropertyAlias_WebkitPerspectiveOrigin = 393, + eCSSPropertyAlias_WebkitTransition = 394, + eCSSPropertyAlias_WebkitTransitionDelay = 395, + eCSSPropertyAlias_WebkitTransitionDuration = 396, + eCSSPropertyAlias_WebkitTransitionProperty = 397, + eCSSPropertyAlias_WebkitTransitionTimingFunction = 398, + eCSSPropertyAlias_WebkitBorderRadius = 399, + eCSSPropertyAlias_WebkitBorderTopLeftRadius = 400, + eCSSPropertyAlias_WebkitBorderTopRightRadius = 401, + eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 402, + eCSSPropertyAlias_WebkitBorderBottomRightRadius = 403, + eCSSPropertyAlias_WebkitBackgroundClip = 404, + eCSSPropertyAlias_WebkitBackgroundOrigin = 405, + eCSSPropertyAlias_WebkitBackgroundSize = 406, + eCSSPropertyAlias_WebkitBorderImage = 407, + eCSSPropertyAlias_WebkitBoxShadow = 408, + eCSSPropertyAlias_WebkitBoxSizing = 409, + eCSSPropertyAlias_WebkitBoxFlex = 410, + eCSSPropertyAlias_WebkitBoxOrdinalGroup = 411, + eCSSPropertyAlias_WebkitBoxAlign = 412, + eCSSPropertyAlias_WebkitBoxPack = 413, + eCSSPropertyAlias_WebkitUserSelect = 414, + eCSSProperty_COUNT_with_aliases = 415, + eCSSPropertyExtra_all_properties = 416, + eCSSPropertyExtra_x_none_value = 417, + eCSSPropertyExtra_x_auto_value = 418, + eCSSPropertyExtra_variable = 419, +} +#[repr(i32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSFontDesc { + eCSSFontDesc_UNKNOWN = -1, + eCSSFontDesc_Family = 0, + eCSSFontDesc_Style = 1, + eCSSFontDesc_Weight = 2, + eCSSFontDesc_Stretch = 3, + eCSSFontDesc_Src = 4, + eCSSFontDesc_UnicodeRange = 5, + eCSSFontDesc_FontFeatureSettings = 6, + eCSSFontDesc_FontLanguageOverride = 7, + eCSSFontDesc_Display = 8, + eCSSFontDesc_COUNT = 9, +} +#[repr(i32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSCounterDesc { + eCSSCounterDesc_UNKNOWN = -1, + eCSSCounterDesc_System = 0, + eCSSCounterDesc_Symbols = 1, + eCSSCounterDesc_AdditiveSymbols = 2, + eCSSCounterDesc_Negative = 3, + eCSSCounterDesc_Prefix = 4, + eCSSCounterDesc_Suffix = 5, + eCSSCounterDesc_Range = 6, + eCSSCounterDesc_Pad = 7, + eCSSCounterDesc_Fallback = 8, + eCSSCounterDesc_SpeakAs = 9, + eCSSCounterDesc_COUNT = 10, +} +#[repr(i32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSPropertyLogicalGroup { + eCSSPropertyLogicalGroup_UNKNOWN = -1, + eCSSPropertyLogicalGroup_BorderColor = 0, + eCSSPropertyLogicalGroup_BorderStyle = 1, + eCSSPropertyLogicalGroup_BorderWidth = 2, + eCSSPropertyLogicalGroup_Margin = 3, + eCSSPropertyLogicalGroup_MaxSize = 4, + eCSSPropertyLogicalGroup_Offset = 5, + eCSSPropertyLogicalGroup_Padding = 6, + eCSSPropertyLogicalGroup_MinSize = 7, + eCSSPropertyLogicalGroup_Size = 8, + eCSSPropertyLogicalGroup_WebkitBoxOrient = 9, + eCSSPropertyLogicalGroup_COUNT = 10, +} +pub enum CSSStyleSheet { } +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct URLValue { + _bindgen_opaque_blob: [u64; 7usize], +} +#[test] +fn bindgen_test_layout_URLValue() { + assert_eq!(:: std:: mem:: size_of:: < URLValue > ( ) , 56usize); +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct ImageValue { + _bindgen_opaque_blob: [u64; 13usize], +} +#[test] +fn bindgen_test_layout_ImageValue() { + assert_eq!(:: std:: mem:: size_of:: < ImageValue > ( ) , 104usize); +} +#[repr(C)] +pub struct GridNamedArea { + pub mName: nsString, + pub mColumnStart: u32, + pub mColumnEnd: u32, + pub mRowStart: u32, + pub mRowEnd: u32, +} +#[test] +fn bindgen_test_layout_GridNamedArea() { + assert_eq!(:: std:: mem:: size_of:: < GridNamedArea > ( ) , 32usize); +} +#[repr(C)] +pub struct GridTemplateAreasValue { + pub mNamedAreas: [u8; 8usize], + pub mTemplates: [u8; 8usize], + pub mNColumns: u32, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_GridTemplateAreasValue() { + assert_eq!(:: std:: mem:: size_of:: < GridTemplateAreasValue > ( ) , + 40usize); +} +#[repr(C)] +pub struct FontFamilyListRefCnt { + pub _base: FontFamilyList, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_FontFamilyListRefCnt() { + assert_eq!(:: std:: mem:: size_of:: < FontFamilyListRefCnt > ( ) , + 32usize); +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSUnit { + eCSSUnit_Null = 0, + eCSSUnit_Auto = 1, + eCSSUnit_Inherit = 2, + eCSSUnit_Initial = 3, + eCSSUnit_Unset = 4, + eCSSUnit_None = 5, + eCSSUnit_Normal = 6, + eCSSUnit_System_Font = 7, + eCSSUnit_All = 8, + eCSSUnit_Dummy = 9, + eCSSUnit_DummyInherit = 10, + eCSSUnit_String = 11, + eCSSUnit_Ident = 12, + eCSSUnit_Attr = 14, + eCSSUnit_Local_Font = 15, + eCSSUnit_Font_Format = 16, + eCSSUnit_Element = 17, + eCSSUnit_Array = 20, + eCSSUnit_Counter = 21, + eCSSUnit_Counters = 22, + eCSSUnit_Cubic_Bezier = 23, + eCSSUnit_Steps = 24, + eCSSUnit_Symbols = 25, + eCSSUnit_Function = 26, + eCSSUnit_Calc = 30, + eCSSUnit_Calc_Plus = 31, + eCSSUnit_Calc_Minus = 32, + eCSSUnit_Calc_Times_L = 33, + eCSSUnit_Calc_Times_R = 34, + eCSSUnit_Calc_Divided = 35, + eCSSUnit_URL = 40, + eCSSUnit_Image = 41, + eCSSUnit_Gradient = 42, + eCSSUnit_TokenStream = 43, + eCSSUnit_GridTemplateAreas = 44, + eCSSUnit_Pair = 50, + eCSSUnit_Triplet = 51, + eCSSUnit_Rect = 52, + eCSSUnit_List = 53, + eCSSUnit_ListDep = 54, + eCSSUnit_SharedList = 55, + eCSSUnit_PairList = 56, + eCSSUnit_PairListDep = 57, + eCSSUnit_FontFamilyList = 58, + eCSSUnit_Integer = 70, + eCSSUnit_Enumerated = 71, + eCSSUnit_EnumColor = 80, + eCSSUnit_RGBColor = 81, + eCSSUnit_RGBAColor = 82, + eCSSUnit_HexColor = 83, + eCSSUnit_ShortHexColor = 84, + eCSSUnit_PercentageRGBColor = 85, + eCSSUnit_PercentageRGBAColor = 86, + eCSSUnit_HSLColor = 87, + eCSSUnit_HSLAColor = 88, + eCSSUnit_Percent = 90, + eCSSUnit_Number = 91, + eCSSUnit_PhysicalMillimeter = 200, + eCSSUnit_ViewportWidth = 700, + eCSSUnit_ViewportHeight = 701, + eCSSUnit_ViewportMin = 702, + eCSSUnit_ViewportMax = 703, + eCSSUnit_EM = 800, + eCSSUnit_XHeight = 801, + eCSSUnit_Char = 802, + eCSSUnit_RootEM = 803, + eCSSUnit_Point = 900, + eCSSUnit_Inch = 901, + eCSSUnit_Millimeter = 902, + eCSSUnit_Centimeter = 903, + eCSSUnit_Pica = 904, + eCSSUnit_Pixel = 905, + eCSSUnit_Degree = 1000, + eCSSUnit_Grad = 1001, + eCSSUnit_Radian = 1002, + eCSSUnit_Turn = 1003, + eCSSUnit_Hertz = 2000, + eCSSUnit_Kilohertz = 2001, + eCSSUnit_Seconds = 3000, + eCSSUnit_Milliseconds = 3001, + eCSSUnit_FlexFraction = 4000, +} +#[repr(C)] +pub struct nsCSSValue { + pub mUnit: nsCSSUnit, + pub mValue: nsCSSValue_nsCSSValue_h_unnamed_8, +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsCSSValue_Serialization { eNormalized = 0, eAuthorSpecified = 1, } +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct nsCSSValue_nsCSSValue_h_unnamed_8 { + pub _bindgen_data_: u64, +} +impl nsCSSValue_nsCSSValue_h_unnamed_8 { } +#[test] +fn bindgen_test_layout_nsCSSValue() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValue > ( ) , 16usize); +} +#[repr(C)] +pub struct Array { + pub mRefCnt: usize, + pub mCount: usize, + pub mArray: [nsCSSValue; 1usize], +} +#[test] +fn bindgen_test_layout_Array() { + assert_eq!(:: std:: mem:: size_of:: < Array > ( ) , 32usize); +} +#[repr(C)] +pub struct nsCSSValueList { + pub mValue: nsCSSValue, + pub mNext: *mut nsCSSValueList, +} +#[test] +fn bindgen_test_layout_nsCSSValueList() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueList > ( ) , 24usize); +} +#[repr(C)] +pub struct nsCSSValueList_heap { + pub _base: nsCSSValueList, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsCSSValueList_heap() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueList_heap > ( ) , + 40usize); +} +#[repr(C)] +pub struct nsCSSValueSharedList { + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, + pub mHead: *mut nsCSSValueList, +} +#[test] +fn bindgen_test_layout_nsCSSValueSharedList() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueSharedList > ( ) , + 24usize); +} +#[repr(C)] +pub struct nsCSSRect { + pub mTop: nsCSSValue, + pub mRight: nsCSSValue, + pub mBottom: nsCSSValue, + pub mLeft: nsCSSValue, +} +#[test] +fn bindgen_test_layout_nsCSSRect() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSRect > ( ) , 64usize); +} +#[repr(C)] +pub struct nsCSSRect_heap { + pub _base: nsCSSRect, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsCSSRect_heap() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSRect_heap > ( ) , 80usize); +} +#[repr(C)] +pub struct nsCSSValuePair { + pub mXValue: nsCSSValue, + pub mYValue: nsCSSValue, +} +#[test] +fn bindgen_test_layout_nsCSSValuePair() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValuePair > ( ) , 32usize); +} +#[repr(C)] +pub struct nsCSSValuePair_heap { + pub _base: nsCSSValuePair, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsCSSValuePair_heap() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValuePair_heap > ( ) , + 48usize); +} +#[repr(C)] +pub struct nsCSSValueTriplet { + pub mXValue: nsCSSValue, + pub mYValue: nsCSSValue, + pub mZValue: nsCSSValue, +} +#[test] +fn bindgen_test_layout_nsCSSValueTriplet() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueTriplet > ( ) , 48usize); +} +#[repr(C)] +pub struct nsCSSValueTriplet_heap { + pub _base: nsCSSValueTriplet, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsCSSValueTriplet_heap() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueTriplet_heap > ( ) , + 64usize); +} +#[repr(C)] +pub struct nsCSSValuePairList { + pub mXValue: nsCSSValue, + pub mYValue: nsCSSValue, + pub mNext: *mut nsCSSValuePairList, +} +#[test] +fn bindgen_test_layout_nsCSSValuePairList() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValuePairList > ( ) , + 40usize); +} +#[repr(C)] +pub struct nsCSSValuePairList_heap { + pub _base: nsCSSValuePairList, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsCSSValuePairList_heap() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValuePairList_heap > ( ) , + 56usize); +} +#[repr(C)] +pub struct nsCSSValueGradientStop { + pub mLocation: nsCSSValue, + pub mColor: nsCSSValue, + pub mIsInterpolationHint: bool, +} +#[test] +fn bindgen_test_layout_nsCSSValueGradientStop() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueGradientStop > ( ) , + 40usize); +} +#[repr(C)] +pub struct nsCSSValueGradient { + pub mIsRadial: bool, + pub mIsRepeating: bool, + pub mIsLegacySyntax: bool, + pub mIsExplicitSize: bool, + pub mBgPos: nsCSSValuePair, + pub mAngle: nsCSSValue, + pub mRadialValues: [nsCSSValue; 2usize], + pub mStops: [u8; 8usize], + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsCSSValueGradient() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueGradient > ( ) , + 112usize); +} +#[repr(C)] +pub struct nsCSSValueTokenStream { + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, + pub mPropertyID: nsCSSProperty, + pub mShorthandPropertyID: nsCSSProperty, + pub mTokenStream: nsString, + pub mBaseURI: nsCOMPtr, + pub mSheetURI: nsCOMPtr, + pub mSheetPrincipal: nsCOMPtr, + pub mLineNumber: u32, + pub mLineOffset: u32, + pub mLevel: SheetType, +} +#[test] +fn bindgen_test_layout_nsCSSValueTokenStream() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueTokenStream > ( ) , + 80usize); +} +#[repr(C)] +pub struct nsCSSValueFloatColor { + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, + pub mComponent1: f32, + pub mComponent2: f32, + pub mComponent3: f32, + pub mAlpha: f32, +} +#[test] +fn bindgen_test_layout_nsCSSValueFloatColor() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSValueFloatColor > ( ) , + 32usize); +} +#[repr(C)] +pub struct nsCSSCornerSizes { + pub mTopLeft: nsCSSValue, + pub mTopRight: nsCSSValue, + pub mBottomRight: nsCSSValue, + pub mBottomLeft: nsCSSValue, +} +#[test] +fn bindgen_test_layout_nsCSSCornerSizes() { + assert_eq!(:: std:: mem:: size_of:: < nsCSSCornerSizes > ( ) , 64usize); +} +pub enum imgIContainer { } +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct imgIRequest { + _bindgen_opaque_blob: [u64; 1usize], +} +#[test] +fn bindgen_test_layout_imgIRequest() { + assert_eq!(:: std:: mem:: size_of:: < imgIRequest > ( ) , 8usize); +} +pub enum imgStatusNotifyRunnable { } +pub enum ProxyBehaviour { } +pub enum Image { } +pub enum ImageURL { } +pub enum ProgressTracker { } +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct imgRequestProxy { + _bindgen_opaque_blob: [u64; 15usize], +} +#[test] +fn bindgen_test_layout_imgRequestProxy() { + assert_eq!(:: std:: mem:: size_of:: < imgRequestProxy > ( ) , 120usize); +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct imgRequestProxyStatic { + _bindgen_opaque_blob: [u64; 16usize], +} +#[test] +fn bindgen_test_layout_imgRequestProxyStatic() { + assert_eq!(:: std:: mem:: size_of:: < imgRequestProxyStatic > ( ) , + 128usize); +} +pub type CounterValue = i32; +pub enum NegativeType { } +pub enum PadType { } +#[repr(C)] +#[derive(Copy, Clone)] +pub struct CounterStyle { + pub _vftable: *const _vftable_CounterStyle, + pub mStyle: i32, +} +#[repr(C)] +pub struct _vftable_CounterStyle { +} +#[test] +fn bindgen_test_layout_CounterStyle() { + assert_eq!(:: std:: mem:: size_of:: < CounterStyle > ( ) , 16usize); +} +#[repr(C)] +pub struct AnonymousCounterStyle { + pub _base: CounterStyle, + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, + pub mSingleString: bool, + pub mSystem: u8, + pub mSymbols: [u8; 8usize], +} +#[repr(C)] +pub struct _vftable_AnonymousCounterStyle { + pub _base: _vftable_CounterStyle, +} +#[test] +fn bindgen_test_layout_AnonymousCounterStyle() { + assert_eq!(:: std:: mem:: size_of:: < AnonymousCounterStyle > ( ) , + 48usize); +} +#[repr(C)] +#[derive(Copy, Clone, Debug)] +pub struct CounterStyleManager { + _bindgen_opaque_blob: [u64; 9usize], +} +#[test] +fn bindgen_test_layout_CounterStyleManager() { + assert_eq!(:: std:: mem:: size_of:: < CounterStyleManager > ( ) , + 72usize); +} +pub enum nsIFrame { } +pub enum nsStyleContext { } +pub enum nsTextFrame { } +#[repr(C)] +pub struct nsStyleFont { + pub mFont: nsFont, + pub mSize: nscoord, + pub mGenericID: u8, + pub mScriptLevel: i8, + pub mMathVariant: u8, + pub mMathDisplay: u8, + pub mMinFontSizeRatio: u8, + pub mExplicitLanguage: bool, + pub mAllowZoom: bool, + pub mScriptUnconstrainedSize: nscoord, + pub mScriptMinSize: nscoord, + pub mScriptSizeMultiplier: f32, + pub mLanguage: nsCOMPtr, +} +#[test] +fn bindgen_test_layout_nsStyleFont() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleFont > ( ) , 120usize); +} +#[repr(C)] +pub struct nsStyleGradientStop { + pub mLocation: nsStyleCoord, + pub mColor: nscolor, + pub mIsInterpolationHint: bool, +} +#[test] +fn bindgen_test_layout_nsStyleGradientStop() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleGradientStop > ( ) , + 24usize); +} +#[repr(C)] +pub struct nsStyleGradient { + pub mShape: u8, + pub mSize: u8, + pub mRepeating: bool, + pub mLegacySyntax: bool, + pub mBgPosX: nsStyleCoord, + pub mBgPosY: nsStyleCoord, + pub mAngle: nsStyleCoord, + pub mRadiusX: nsStyleCoord, + pub mRadiusY: nsStyleCoord, + pub mStops: [u8; 8usize], + pub mRefCnt: nsAutoRefCnt, + pub _mOwningThread: nsAutoOwningThread, +} +#[test] +fn bindgen_test_layout_nsStyleGradient() { + assert_eq!(:: std:: mem:: size_of:: < nsStyleGradient > ( ) , 112usize); +} +#[repr(u32)] +#[derive(Copy, Clone, Debug)] +pub enum nsStyleImageType { + eStyleImageType_Null = 0, + eStyleImageType_Image = 1, + eStyleImageType_Gradient = 2, + eStyleImageType_Element = 3, +} +/** + * Represents a paintable image of one of the following types. + * (1) A real image loaded from an external source. + * (2) A CSS linear or radial gradient. + * (3) An element within a document, or an ,