diff --git a/Cargo.lock b/Cargo.lock index f12188f620b..46e912a8548 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -584,24 +584,6 @@ dependencies = [ "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "cstr" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cstr-macros 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "procedural-masquerade 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "cstr-macros" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "procedural-masquerade 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "darling" version = "0.4.0" @@ -991,25 +973,6 @@ dependencies = [ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "geckoservo" -version = "0.0.1" -dependencies = [ - "atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.23.2 (registry+https://github.com/rust-lang/crates.io-index)", - "cstr 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "malloc_size_of 0.0.1", - "nsstring 0.1.0", - "parking_lot 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", - "selectors 0.19.0", - "servo_arc 0.1.1", - "smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "style 0.0.1", - "style_traits 0.0.1", -] - [[package]] name = "getopts" version = "0.2.14" @@ -1976,13 +1939,6 @@ dependencies = [ "serde 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "nsstring" -version = "0.1.0" -dependencies = [ - "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "num" version = "0.1.37" @@ -3042,7 +2998,6 @@ dependencies = [ "malloc_size_of 0.0.1", "malloc_size_of_derive 0.0.1", "matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "nsstring 0.1.0", "num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3122,27 +3077,6 @@ dependencies = [ "webrender_api 0.57.2 (git+https://github.com/servo/webrender)", ] -[[package]] -name = "stylo_tests" -version = "0.0.1" -dependencies = [ - "atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.23.2 (registry+https://github.com/rust-lang/crates.io-index)", - "cstr 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "env_logger 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.17.2 (registry+https://github.com/rust-lang/crates.io-index)", - "geckoservo 0.0.1", - "libc 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "malloc_size_of 0.0.1", - "regex 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "selectors 0.19.0", - "size_of_test 0.0.1", - "smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "style 0.0.1", - "style_traits 0.0.1", -] - [[package]] name = "swapper" version = "0.1.0" @@ -3860,8 +3794,6 @@ dependencies = [ "checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9" "checksum cssparser 0.23.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8a807ac3ab7a217829c2a3b65732b926b2befe6a35f33b4bf8b503692430f223" "checksum cssparser-macros 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "079adec4af52bb5275eadd004292028c79eb3c5f5b4ee8086a36d4197032f6df" -"checksum cstr 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bc6b738cea084b0bf479106e0089d58d8c3dbc35d1fef3c485e19e20ea47d252" -"checksum cstr-macros 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0472c17c83d3ec1af32fb6ee2b3ad56ae0b6e69355d63d1d30602055c34324a8" "checksum darling 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2a78af487e4eb8f4421a1770687b328af6bb4494ca93435210678c6eea875c11" "checksum darling_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b315f49c7b6db3708bca6e6913c194581a44ec619b7a39e131d4dd63733a3698" "checksum darling_macro 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "eb69a38fdeaeaf3db712e1df170de67ee9dfc24fb88ca3e9d21e703ec25a4d8e" diff --git a/Cargo.toml b/Cargo.toml index 55ee0c37e77..4f107203f28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,9 +2,6 @@ members = [ "ports/servo", "tests/unit/*", - - "ports/geckolib", - "ports/geckolib/tests", ] default-members = [ "ports/servo", diff --git a/components/style/Cargo.toml b/components/style/Cargo.toml index 5ee9d3ead9a..f6089962b47 100644 --- a/components/style/Cargo.toml +++ b/components/style/Cargo.toml @@ -16,13 +16,13 @@ path = "lib.rs" doctest = false [features] -gecko = ["nsstring", "num_cpus", +gecko = ["num_cpus", "style_traits/gecko", "fallible/known_system_malloc"] use_bindgen = ["bindgen", "regex", "toml"] servo = ["serde", "style_traits/servo", "servo_atoms", "servo_config", "html5ever", "cssparser/serde", "encoding_rs", "malloc_size_of/servo", "arrayvec/use_union", "servo_url", "string_cache"] -gecko_debug = ["nsstring/gecko_debug"] +gecko_debug = [] [dependencies] app_units = "0.6" @@ -46,7 +46,6 @@ log = "0.4" malloc_size_of = { path = "../malloc_size_of" } malloc_size_of_derive = { path = "../malloc_size_of_derive" } matches = "0.1" -nsstring = {path = "../../support/gecko/nsstring", optional = true} num_cpus = {version = "1.1.0", optional = true} num-integer = "0.1.32" num-traits = "0.1.32" diff --git a/components/style/gecko/generated/atom_macro.rs b/components/style/gecko/generated/atom_macro.rs deleted file mode 100644 index 17f5e38d1c8..00000000000 --- a/components/style/gecko/generated/atom_macro.rs +++ /dev/null @@ -1,20899 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -/* Autogenerated file created by components/style/gecko/binding_tools/regen_atoms.py, DO NOT EDIT DIRECTLY */ - -use gecko_bindings::structs::nsStaticAtom; -use string_cache::Atom; - -pub enum nsICSSPseudoElement {} - -pub enum nsICSSAnonBoxPseudo {} - -#[inline(always)] -pub unsafe fn atom_from_static(ptr: *mut nsStaticAtom) -> Atom { - Atom::from_static(ptr) -} - - -cfg_if! { - if #[cfg(not(target_env = "msvc"))] { - extern { - #[link_name = "_ZN9nsGkAtoms6_emptyE"] - pub static nsGkAtoms__empty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3mozE"] - pub static nsGkAtoms_moz: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12mozframetypeE"] - pub static nsGkAtoms_mozframetype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11_moz_absposE"] - pub static nsGkAtoms__moz_abspos: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14_moz_activatedE"] - pub static nsGkAtoms__moz_activated: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14_moz_anonclassE"] - pub static nsGkAtoms__moz_anonclass: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13_moz_resizingE"] - pub static nsGkAtoms__moz_resizing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18mozallowfullscreenE"] - pub static nsGkAtoms_mozallowfullscreen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7moztypeE"] - pub static nsGkAtoms_moztype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mozdirtyE"] - pub static nsGkAtoms_mozdirty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25mozdisallowselectionprintE"] - pub static nsGkAtoms_mozdisallowselectionprint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12mozdonotsendE"] - pub static nsGkAtoms_mozdonotsend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18mozeditorbogusnodeE"] - pub static nsGkAtoms_mozeditorbogusnode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25mozgeneratedcontentbeforeE"] - pub static nsGkAtoms_mozgeneratedcontentbefore: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24mozgeneratedcontentafterE"] - pub static nsGkAtoms_mozgeneratedcontentafter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24mozgeneratedcontentimageE"] - pub static nsGkAtoms_mozgeneratedcontentimage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mozquoteE"] - pub static nsGkAtoms_mozquote: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12mozsignatureE"] - pub static nsGkAtoms_mozsignature: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13_moz_is_glyphE"] - pub static nsGkAtoms__moz_is_glyph: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18_moz_original_sizeE"] - pub static nsGkAtoms__moz_original_size: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11_moz_targetE"] - pub static nsGkAtoms__moz_target: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10menuactiveE"] - pub static nsGkAtoms_menuactive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13_poundDefaultE"] - pub static nsGkAtoms__poundDefault: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9_asteriskE"] - pub static nsGkAtoms__asterisk: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1aE"] - pub static nsGkAtoms_a: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4abbrE"] - pub static nsGkAtoms_abbr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5abortE"] - pub static nsGkAtoms_abort: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5aboveE"] - pub static nsGkAtoms_above: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9acceltextE"] - pub static nsGkAtoms_acceltext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6acceptE"] - pub static nsGkAtoms_accept: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13acceptcharsetE"] - pub static nsGkAtoms_acceptcharset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9accesskeyE"] - pub static nsGkAtoms_accesskey: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7acronymE"] - pub static nsGkAtoms_acronym: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6actionE"] - pub static nsGkAtoms_action: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6activeE"] - pub static nsGkAtoms_active: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13activateontabE"] - pub static nsGkAtoms_activateontab: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7actuateE"] - pub static nsGkAtoms_actuate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7addressE"] - pub static nsGkAtoms_address: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5afterE"] - pub static nsGkAtoms_after: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9after_endE"] - pub static nsGkAtoms_after_end: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11after_startE"] - pub static nsGkAtoms_after_start: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5alignE"] - pub static nsGkAtoms_align: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5alinkE"] - pub static nsGkAtoms_alink: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3allE"] - pub static nsGkAtoms_all: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9allowdirsE"] - pub static nsGkAtoms_allowdirs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11alloweventsE"] - pub static nsGkAtoms_allowevents: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23allownegativeassertionsE"] - pub static nsGkAtoms_allownegativeassertions: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10allowformsE"] - pub static nsGkAtoms_allowforms: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15allowfullscreenE"] - pub static nsGkAtoms_allowfullscreen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11allowmodalsE"] - pub static nsGkAtoms_allowmodals: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20alloworientationlockE"] - pub static nsGkAtoms_alloworientationlock: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19allowpaymentrequestE"] - pub static nsGkAtoms_allowpaymentrequest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16allowpointerlockE"] - pub static nsGkAtoms_allowpointerlock: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26allowpopupstoescapesandboxE"] - pub static nsGkAtoms_allowpopupstoescapesandbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11allowpopupsE"] - pub static nsGkAtoms_allowpopups: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17allowpresentationE"] - pub static nsGkAtoms_allowpresentation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15allowsameoriginE"] - pub static nsGkAtoms_allowsameorigin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12allowscriptsE"] - pub static nsGkAtoms_allowscripts: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18allowtopnavigationE"] - pub static nsGkAtoms_allowtopnavigation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14allowuntrustedE"] - pub static nsGkAtoms_allowuntrusted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3altE"] - pub static nsGkAtoms_alt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9alternateE"] - pub static nsGkAtoms_alternate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6alwaysE"] - pub static nsGkAtoms_always: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8ancestorE"] - pub static nsGkAtoms_ancestor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14ancestorOrSelfE"] - pub static nsGkAtoms_ancestorOrSelf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6anchorE"] - pub static nsGkAtoms_anchor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4_andE"] - pub static nsGkAtoms__and: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10animationsE"] - pub static nsGkAtoms_animations: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6anonidE"] - pub static nsGkAtoms_anonid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12anonlocationE"] - pub static nsGkAtoms_anonlocation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3anyE"] - pub static nsGkAtoms_any: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6appletE"] - pub static nsGkAtoms_applet: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12applyImportsE"] - pub static nsGkAtoms_applyImports: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14applyTemplatesE"] - pub static nsGkAtoms_applyTemplates: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7archiveE"] - pub static nsGkAtoms_archive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4areaE"] - pub static nsGkAtoms_area: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21aria_activedescendantE"] - pub static nsGkAtoms_aria_activedescendant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11aria_atomicE"] - pub static nsGkAtoms_aria_atomic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17aria_autocompleteE"] - pub static nsGkAtoms_aria_autocomplete: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aria_busyE"] - pub static nsGkAtoms_aria_busy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_checkedE"] - pub static nsGkAtoms_aria_checked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_controlsE"] - pub static nsGkAtoms_aria_controls: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_currentE"] - pub static nsGkAtoms_aria_current: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16aria_describedbyE"] - pub static nsGkAtoms_aria_describedby: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_disabledE"] - pub static nsGkAtoms_aria_disabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15aria_dropeffectE"] - pub static nsGkAtoms_aria_dropeffect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_expandedE"] - pub static nsGkAtoms_aria_expanded: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11aria_flowtoE"] - pub static nsGkAtoms_aria_flowto: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_haspopupE"] - pub static nsGkAtoms_aria_haspopup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11aria_hiddenE"] - pub static nsGkAtoms_aria_hidden: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_invalidE"] - pub static nsGkAtoms_aria_invalid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15aria_labelledbyE"] - pub static nsGkAtoms_aria_labelledby: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10aria_levelE"] - pub static nsGkAtoms_aria_level: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aria_liveE"] - pub static nsGkAtoms_aria_live: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14aria_multilineE"] - pub static nsGkAtoms_aria_multiline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20aria_multiselectableE"] - pub static nsGkAtoms_aria_multiselectable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aria_ownsE"] - pub static nsGkAtoms_aria_owns: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_posinsetE"] - pub static nsGkAtoms_aria_posinset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_pressedE"] - pub static nsGkAtoms_aria_pressed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_readonlyE"] - pub static nsGkAtoms_aria_readonly: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_relevantE"] - pub static nsGkAtoms_aria_relevant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_requiredE"] - pub static nsGkAtoms_aria_required: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_selectedE"] - pub static nsGkAtoms_aria_selected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_setsizeE"] - pub static nsGkAtoms_aria_setsize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aria_sortE"] - pub static nsGkAtoms_aria_sort: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_valuemaxE"] - pub static nsGkAtoms_aria_valuemax: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_valueminE"] - pub static nsGkAtoms_aria_valuemin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_valuenowE"] - pub static nsGkAtoms_aria_valuenow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5arrowE"] - pub static nsGkAtoms_arrow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7articleE"] - pub static nsGkAtoms_article: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2asE"] - pub static nsGkAtoms_as: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9ascendingE"] - pub static nsGkAtoms_ascending: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5asideE"] - pub static nsGkAtoms_aside: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11aspectRatioE"] - pub static nsGkAtoms_aspectRatio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6assignE"] - pub static nsGkAtoms_assign: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5asyncE"] - pub static nsGkAtoms_async: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9attributeE"] - pub static nsGkAtoms_attribute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10attributesE"] - pub static nsGkAtoms_attributes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12attributeSetE"] - pub static nsGkAtoms_attributeSet: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5auralE"] - pub static nsGkAtoms_aural: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5_autoE"] - pub static nsGkAtoms__auto: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9autocheckE"] - pub static nsGkAtoms_autocheck: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12autocompleteE"] - pub static nsGkAtoms_autocomplete: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24autocomplete_richlistboxE"] - pub static nsGkAtoms_autocomplete_richlistbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9autofocusE"] - pub static nsGkAtoms_autofocus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8autoplayE"] - pub static nsGkAtoms_autoplay: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16autorepeatbuttonE"] - pub static nsGkAtoms_autorepeatbutton: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4axisE"] - pub static nsGkAtoms_axis: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1bE"] - pub static nsGkAtoms_b: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10backgroundE"] - pub static nsGkAtoms_background: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4baseE"] - pub static nsGkAtoms_base: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8basefontE"] - pub static nsGkAtoms_basefont: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8baselineE"] - pub static nsGkAtoms_baseline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3bdiE"] - pub static nsGkAtoms_bdi: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3bdoE"] - pub static nsGkAtoms_bdo: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6beforeE"] - pub static nsGkAtoms_before: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10before_endE"] - pub static nsGkAtoms_before_end: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12before_startE"] - pub static nsGkAtoms_before_start: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5belowE"] - pub static nsGkAtoms_below: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7bgcolorE"] - pub static nsGkAtoms_bgcolor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7bgsoundE"] - pub static nsGkAtoms_bgsound: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3bigE"] - pub static nsGkAtoms_big: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7bindingE"] - pub static nsGkAtoms_binding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8bindingsE"] - pub static nsGkAtoms_bindings: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22bindToUntrustedContentE"] - pub static nsGkAtoms_bindToUntrustedContent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8blankrowE"] - pub static nsGkAtoms_blankrow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5blockE"] - pub static nsGkAtoms_block: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10blockquoteE"] - pub static nsGkAtoms_blockquote: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4blurE"] - pub static nsGkAtoms_blur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4bodyE"] - pub static nsGkAtoms_body: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7booleanE"] - pub static nsGkAtoms_boolean: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6borderE"] - pub static nsGkAtoms_border: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11bordercolorE"] - pub static nsGkAtoms_bordercolor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4bothE"] - pub static nsGkAtoms_both: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6bottomE"] - pub static nsGkAtoms_bottom: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9bottomendE"] - pub static nsGkAtoms_bottomend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11bottomstartE"] - pub static nsGkAtoms_bottomstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10bottomleftE"] - pub static nsGkAtoms_bottomleft: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12bottommarginE"] - pub static nsGkAtoms_bottommargin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13bottompaddingE"] - pub static nsGkAtoms_bottompadding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11bottomrightE"] - pub static nsGkAtoms_bottomright: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3boxE"] - pub static nsGkAtoms_box: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2brE"] - pub static nsGkAtoms_br: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7brailleE"] - pub static nsGkAtoms_braille: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9broadcastE"] - pub static nsGkAtoms_broadcast: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11broadcasterE"] - pub static nsGkAtoms_broadcaster: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14broadcastersetE"] - pub static nsGkAtoms_broadcasterset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7browserE"] - pub static nsGkAtoms_browser: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10mozbrowserE"] - pub static nsGkAtoms_mozbrowser: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6buttonE"] - pub static nsGkAtoms_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24brighttitlebarforegroundE"] - pub static nsGkAtoms_brighttitlebarforeground: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12callTemplateE"] - pub static nsGkAtoms_callTemplate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6cancelE"] - pub static nsGkAtoms_cancel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6canvasE"] - pub static nsGkAtoms_canvas: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7captionE"] - pub static nsGkAtoms_caption: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7captureE"] - pub static nsGkAtoms_capture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9caseOrderE"] - pub static nsGkAtoms_caseOrder: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20cdataSectionElementsE"] - pub static nsGkAtoms_cdataSectionElements: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7ceilingE"] - pub static nsGkAtoms_ceiling: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4cellE"] - pub static nsGkAtoms_cell: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11cellpaddingE"] - pub static nsGkAtoms_cellpadding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11cellspacingE"] - pub static nsGkAtoms_cellspacing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6centerE"] - pub static nsGkAtoms_center: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2chE"] - pub static nsGkAtoms_ch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6changeE"] - pub static nsGkAtoms_change: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5_charE"] - pub static nsGkAtoms__char: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13characterDataE"] - pub static nsGkAtoms_characterData: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8charcodeE"] - pub static nsGkAtoms_charcode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7charoffE"] - pub static nsGkAtoms_charoff: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7charsetE"] - pub static nsGkAtoms_charset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8checkboxE"] - pub static nsGkAtoms_checkbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7checkedE"] - pub static nsGkAtoms_checked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5childE"] - pub static nsGkAtoms_child: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8childrenE"] - pub static nsGkAtoms_children: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9childListE"] - pub static nsGkAtoms_childList: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6chooseE"] - pub static nsGkAtoms_choose: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12chromemarginE"] - pub static nsGkAtoms_chromemargin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17chromeOnlyContentE"] - pub static nsGkAtoms_chromeOnlyContent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24exposeToUntrustedContentE"] - pub static nsGkAtoms_exposeToUntrustedContent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4circE"] - pub static nsGkAtoms_circ: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6circleE"] - pub static nsGkAtoms_circle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4citeE"] - pub static nsGkAtoms_cite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10cjkDecimalE"] - pub static nsGkAtoms_cjkDecimal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6_classE"] - pub static nsGkAtoms__class: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7classidE"] - pub static nsGkAtoms_classid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5clearE"] - pub static nsGkAtoms_clear: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5clickE"] - pub static nsGkAtoms_click: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10clickcountE"] - pub static nsGkAtoms_clickcount: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12clickthroughE"] - pub static nsGkAtoms_clickthrough: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11movetoclickE"] - pub static nsGkAtoms_movetoclick: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4clipE"] - pub static nsGkAtoms_clip: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5closeE"] - pub static nsGkAtoms_close: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6closedE"] - pub static nsGkAtoms_closed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9closemenuE"] - pub static nsGkAtoms_closemenu: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21coalesceduplicatearcsE"] - pub static nsGkAtoms_coalesceduplicatearcs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4codeE"] - pub static nsGkAtoms_code: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8codebaseE"] - pub static nsGkAtoms_codebase: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8codetypeE"] - pub static nsGkAtoms_codetype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3colE"] - pub static nsGkAtoms_col: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8colgroupE"] - pub static nsGkAtoms_colgroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8collapseE"] - pub static nsGkAtoms_collapse: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9collapsedE"] - pub static nsGkAtoms_collapsed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5colorE"] - pub static nsGkAtoms_color: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10colorIndexE"] - pub static nsGkAtoms_colorIndex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4colsE"] - pub static nsGkAtoms_cols: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7colspanE"] - pub static nsGkAtoms_colspan: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6columnE"] - pub static nsGkAtoms_column: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7columnsE"] - pub static nsGkAtoms_columns: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8comboboxE"] - pub static nsGkAtoms_combobox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7commandE"] - pub static nsGkAtoms_command: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8commandsE"] - pub static nsGkAtoms_commands: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10commandsetE"] - pub static nsGkAtoms_commandset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13commandupdateE"] - pub static nsGkAtoms_commandupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14commandupdaterE"] - pub static nsGkAtoms_commandupdater: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7commentE"] - pub static nsGkAtoms_comment: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7compactE"] - pub static nsGkAtoms_compact: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6concatE"] - pub static nsGkAtoms_concat: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10conditionsE"] - pub static nsGkAtoms_conditions: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11constructorE"] - pub static nsGkAtoms_constructor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20consumeoutsideclicksE"] - pub static nsGkAtoms_consumeoutsideclicks: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9containerE"] - pub static nsGkAtoms_container: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11containmentE"] - pub static nsGkAtoms_containment: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8containsE"] - pub static nsGkAtoms_contains: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7contentE"] - pub static nsGkAtoms_content: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15contenteditableE"] - pub static nsGkAtoms_contenteditable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24headerContentDispositionE"] - pub static nsGkAtoms_headerContentDisposition: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21headerContentLanguageE"] - pub static nsGkAtoms_headerContentLanguage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15contentLocationE"] - pub static nsGkAtoms_contentLocation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23headerContentScriptTypeE"] - pub static nsGkAtoms_headerContentScriptType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22headerContentStyleTypeE"] - pub static nsGkAtoms_headerContentStyleType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17headerContentTypeE"] - pub static nsGkAtoms_headerContentType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13consumeanchorE"] - pub static nsGkAtoms_consumeanchor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7contextE"] - pub static nsGkAtoms_context: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11contextmenuE"] - pub static nsGkAtoms_contextmenu: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7controlE"] - pub static nsGkAtoms_control: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8controlsE"] - pub static nsGkAtoms_controls: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6coordsE"] - pub static nsGkAtoms_coords: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4copyE"] - pub static nsGkAtoms_copy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6copyOfE"] - pub static nsGkAtoms_copyOf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5countE"] - pub static nsGkAtoms_count: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4cropE"] - pub static nsGkAtoms_crop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11crossoriginE"] - pub static nsGkAtoms_crossorigin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6curposE"] - pub static nsGkAtoms_curpos: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7currentE"] - pub static nsGkAtoms_current: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12cutoutregionE"] - pub static nsGkAtoms_cutoutregion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6cyclerE"] - pub static nsGkAtoms_cycler: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4dataE"] - pub static nsGkAtoms_data: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8datalistE"] - pub static nsGkAtoms_datalist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10datal10nidE"] - pub static nsGkAtoms_datal10nid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12datal10nargsE"] - pub static nsGkAtoms_datal10nargs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13datal10nattrsE"] - pub static nsGkAtoms_datal10nattrs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8dataTypeE"] - pub static nsGkAtoms_dataType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8dateTimeE"] - pub static nsGkAtoms_dateTime: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11datasourcesE"] - pub static nsGkAtoms_datasources: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4dateE"] - pub static nsGkAtoms_date: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8datetimeE"] - pub static nsGkAtoms_datetime: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11datetimeboxE"] - pub static nsGkAtoms_datetimebox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8dblclickE"] - pub static nsGkAtoms_dblclick: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2ddE"] - pub static nsGkAtoms_dd: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5debugE"] - pub static nsGkAtoms_debug: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7decimalE"] - pub static nsGkAtoms_decimal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13decimalFormatE"] - pub static nsGkAtoms_decimalFormat: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16decimalSeparatorE"] - pub static nsGkAtoms_decimalSeparator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4deckE"] - pub static nsGkAtoms_deck: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7declareE"] - pub static nsGkAtoms_declare: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13decoderDoctorE"] - pub static nsGkAtoms_decoderDoctor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9decrementE"] - pub static nsGkAtoms_decrement: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8_defaultE"] - pub static nsGkAtoms__default: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18headerDefaultStyleE"] - pub static nsGkAtoms_headerDefaultStyle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13defaultActionE"] - pub static nsGkAtoms_defaultAction: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14defaultcheckedE"] - pub static nsGkAtoms_defaultchecked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12defaultLabelE"] - pub static nsGkAtoms_defaultLabel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15defaultselectedE"] - pub static nsGkAtoms_defaultselected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12defaultvalueE"] - pub static nsGkAtoms_defaultvalue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19defaultplaybackrateE"] - pub static nsGkAtoms_defaultplaybackrate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5deferE"] - pub static nsGkAtoms_defer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3delE"] - pub static nsGkAtoms_del: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10descendantE"] - pub static nsGkAtoms_descendant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16descendantOrSelfE"] - pub static nsGkAtoms_descendantOrSelf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10descendingE"] - pub static nsGkAtoms_descending: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11descriptionE"] - pub static nsGkAtoms_description: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10destructorE"] - pub static nsGkAtoms_destructor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7detailsE"] - pub static nsGkAtoms_details: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17deviceAspectRatioE"] - pub static nsGkAtoms_deviceAspectRatio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12deviceHeightE"] - pub static nsGkAtoms_deviceHeight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16devicePixelRatioE"] - pub static nsGkAtoms_devicePixelRatio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11deviceWidthE"] - pub static nsGkAtoms_deviceWidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3dfnE"] - pub static nsGkAtoms_dfn: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6dialogE"] - pub static nsGkAtoms_dialog: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10differenceE"] - pub static nsGkAtoms_difference: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5digitE"] - pub static nsGkAtoms_digit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3dirE"] - pub static nsGkAtoms_dir: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12dirAutoSetByE"] - pub static nsGkAtoms_dirAutoSetBy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14directionalityE"] - pub static nsGkAtoms_directionality: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9directoryE"] - pub static nsGkAtoms_directory: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21disableOutputEscapingE"] - pub static nsGkAtoms_disableOutputEscaping: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8disabledE"] - pub static nsGkAtoms_disabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20disableglobalhistoryE"] - pub static nsGkAtoms_disableglobalhistory: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14disablehistoryE"] - pub static nsGkAtoms_disablehistory: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17disablefullscreenE"] - pub static nsGkAtoms_disablefullscreen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17disclosure_closedE"] - pub static nsGkAtoms_disclosure_closed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15disclosure_openE"] - pub static nsGkAtoms_disclosure_open: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7displayE"] - pub static nsGkAtoms_display: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11displayModeE"] - pub static nsGkAtoms_displayMode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8distinctE"] - pub static nsGkAtoms_distinct: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3divE"] - pub static nsGkAtoms_div: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2dlE"] - pub static nsGkAtoms_dl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docAbstractE"] - pub static nsGkAtoms_docAbstract: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18docAcknowledgmentsE"] - pub static nsGkAtoms_docAcknowledgments: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12docAfterwordE"] - pub static nsGkAtoms_docAfterword: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docAppendixE"] - pub static nsGkAtoms_docAppendix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docBacklinkE"] - pub static nsGkAtoms_docBacklink: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14docBiblioentryE"] - pub static nsGkAtoms_docBiblioentry: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15docBibliographyE"] - pub static nsGkAtoms_docBibliography: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12docBibliorefE"] - pub static nsGkAtoms_docBiblioref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10docChapterE"] - pub static nsGkAtoms_docChapter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docColophonE"] - pub static nsGkAtoms_docColophon: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13docConclusionE"] - pub static nsGkAtoms_docConclusion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8docCoverE"] - pub static nsGkAtoms_docCover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9docCreditE"] - pub static nsGkAtoms_docCredit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10docCreditsE"] - pub static nsGkAtoms_docCredits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13docDedicationE"] - pub static nsGkAtoms_docDedication: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10docEndnoteE"] - pub static nsGkAtoms_docEndnote: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docEndnotesE"] - pub static nsGkAtoms_docEndnotes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docEpigraphE"] - pub static nsGkAtoms_docEpigraph: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docEpilogueE"] - pub static nsGkAtoms_docEpilogue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9docErrataE"] - pub static nsGkAtoms_docErrata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10docExampleE"] - pub static nsGkAtoms_docExample: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docFootnoteE"] - pub static nsGkAtoms_docFootnote: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docForewordE"] - pub static nsGkAtoms_docForeword: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docGlossaryE"] - pub static nsGkAtoms_docGlossary: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docGlossrefE"] - pub static nsGkAtoms_docGlossref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8docIndexE"] - pub static nsGkAtoms_docIndex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15docIntroductionE"] - pub static nsGkAtoms_docIntroduction: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10docNoterefE"] - pub static nsGkAtoms_docNoteref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9docNoticeE"] - pub static nsGkAtoms_docNotice: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12docPagebreakE"] - pub static nsGkAtoms_docPagebreak: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docPagelistE"] - pub static nsGkAtoms_docPagelist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7docPartE"] - pub static nsGkAtoms_docPart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10docPrefaceE"] - pub static nsGkAtoms_docPreface: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docPrologueE"] - pub static nsGkAtoms_docPrologue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12docPullquoteE"] - pub static nsGkAtoms_docPullquote: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6docQnaE"] - pub static nsGkAtoms_docQna: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11docSubtitleE"] - pub static nsGkAtoms_docSubtitle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6docTipE"] - pub static nsGkAtoms_docTip: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6docTocE"] - pub static nsGkAtoms_docToc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13doctypePublicE"] - pub static nsGkAtoms_doctypePublic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13doctypeSystemE"] - pub static nsGkAtoms_doctypeSystem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8documentE"] - pub static nsGkAtoms_document: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8downloadE"] - pub static nsGkAtoms_download: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15DOMAttrModifiedE"] - pub static nsGkAtoms_DOMAttrModified: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24DOMCharacterDataModifiedE"] - pub static nsGkAtoms_DOMCharacterDataModified: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15DOMNodeInsertedE"] - pub static nsGkAtoms_DOMNodeInserted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms27DOMNodeInsertedIntoDocumentE"] - pub static nsGkAtoms_DOMNodeInsertedIntoDocument: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14DOMNodeRemovedE"] - pub static nsGkAtoms_DOMNodeRemoved: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26DOMNodeRemovedFromDocumentE"] - pub static nsGkAtoms_DOMNodeRemovedFromDocument: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18DOMSubtreeModifiedE"] - pub static nsGkAtoms_DOMSubtreeModified: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7double_E"] - pub static nsGkAtoms_double_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4dragE"] - pub static nsGkAtoms_drag: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7dragendE"] - pub static nsGkAtoms_dragend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9dragenterE"] - pub static nsGkAtoms_dragenter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9drageventE"] - pub static nsGkAtoms_dragevent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8dragexitE"] - pub static nsGkAtoms_dragexit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9draggableE"] - pub static nsGkAtoms_draggable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8draggingE"] - pub static nsGkAtoms_dragging: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9dragleaveE"] - pub static nsGkAtoms_dragleave: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8dragoverE"] - pub static nsGkAtoms_dragover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11dragSessionE"] - pub static nsGkAtoms_dragSession: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9dragstartE"] - pub static nsGkAtoms_dragstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14drawintitlebarE"] - pub static nsGkAtoms_drawintitlebar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9drawtitleE"] - pub static nsGkAtoms_drawtitle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4dropE"] - pub static nsGkAtoms_drop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9dropAfterE"] - pub static nsGkAtoms_dropAfter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10dropBeforeE"] - pub static nsGkAtoms_dropBefore: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6dropOnE"] - pub static nsGkAtoms_dropOn: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10dropMarkerE"] - pub static nsGkAtoms_dropMarker: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2dtE"] - pub static nsGkAtoms_dt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8editableE"] - pub static nsGkAtoms_editable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7editingE"] - pub static nsGkAtoms_editing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6editorE"] - pub static nsGkAtoms_editor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17editorDisplayListE"] - pub static nsGkAtoms_editorDisplayList: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7elementE"] - pub static nsGkAtoms_element: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16elementAvailableE"] - pub static nsGkAtoms_elementAvailable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8elementsE"] - pub static nsGkAtoms_elements: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2emE"] - pub static nsGkAtoms_em: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5embedE"] - pub static nsGkAtoms_embed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8embossedE"] - pub static nsGkAtoms_embossed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5emptyE"] - pub static nsGkAtoms_empty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8encodingE"] - pub static nsGkAtoms_encoding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7enctypeE"] - pub static nsGkAtoms_enctype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3endE"] - pub static nsGkAtoms_end: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8endEventE"] - pub static nsGkAtoms_endEvent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9end_afterE"] - pub static nsGkAtoms_end_after: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10end_beforeE"] - pub static nsGkAtoms_end_before: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9equalsizeE"] - pub static nsGkAtoms_equalsize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5errorE"] - pub static nsGkAtoms_error: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16ethiopic_numericE"] - pub static nsGkAtoms_ethiopic_numeric: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4evenE"] - pub static nsGkAtoms_even: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5eventE"] - pub static nsGkAtoms_event: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6eventsE"] - pub static nsGkAtoms_events: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21excludeResultPrefixesE"] - pub static nsGkAtoms_excludeResultPrefixes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8excludesE"] - pub static nsGkAtoms_excludes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4exprE"] - pub static nsGkAtoms_expr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7extendsE"] - pub static nsGkAtoms_extends: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24extensionElementPrefixesE"] - pub static nsGkAtoms_extensionElementPrefixes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4faceE"] - pub static nsGkAtoms_face: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8fallbackE"] - pub static nsGkAtoms_fallback: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6_falseE"] - pub static nsGkAtoms__false: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8farthestE"] - pub static nsGkAtoms_farthest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5fieldE"] - pub static nsGkAtoms_field: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8fieldsetE"] - pub static nsGkAtoms_fieldset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4fileE"] - pub static nsGkAtoms_file: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10figcaptionE"] - pub static nsGkAtoms_figcaption: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6figureE"] - pub static nsGkAtoms_figure: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7findbarE"] - pub static nsGkAtoms_findbar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5fixedE"] - pub static nsGkAtoms_fixed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5flagsE"] - pub static nsGkAtoms_flags: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4flexE"] - pub static nsGkAtoms_flex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4flipE"] - pub static nsGkAtoms_flip: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8floatingE"] - pub static nsGkAtoms_floating: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5floorE"] - pub static nsGkAtoms_floor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10flowlengthE"] - pub static nsGkAtoms_flowlength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5focusE"] - pub static nsGkAtoms_focus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7focusedE"] - pub static nsGkAtoms_focused: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12followanchorE"] - pub static nsGkAtoms_followanchor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9followingE"] - pub static nsGkAtoms_following: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16followingSiblingE"] - pub static nsGkAtoms_followingSibling: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4fontE"] - pub static nsGkAtoms_font: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10fontWeightE"] - pub static nsGkAtoms_fontWeight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10fontpickerE"] - pub static nsGkAtoms_fontpicker: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6footerE"] - pub static nsGkAtoms_footer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4_forE"] - pub static nsGkAtoms__for: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7forEachE"] - pub static nsGkAtoms_forEach: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21forceOwnRefreshDriverE"] - pub static nsGkAtoms_forceOwnRefreshDriver: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4formE"] - pub static nsGkAtoms_form: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10formactionE"] - pub static nsGkAtoms_formaction: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6formatE"] - pub static nsGkAtoms_format: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12formatNumberE"] - pub static nsGkAtoms_formatNumber: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11formenctypeE"] - pub static nsGkAtoms_formenctype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10formmethodE"] - pub static nsGkAtoms_formmethod: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14formnovalidateE"] - pub static nsGkAtoms_formnovalidate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10formtargetE"] - pub static nsGkAtoms_formtarget: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5frameE"] - pub static nsGkAtoms_frame: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11frameborderE"] - pub static nsGkAtoms_frameborder: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8framesetE"] - pub static nsGkAtoms_frameset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4fromE"] - pub static nsGkAtoms_from: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16fullscreenchangeE"] - pub static nsGkAtoms_fullscreenchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15fullscreenerrorE"] - pub static nsGkAtoms_fullscreenerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17functionAvailableE"] - pub static nsGkAtoms_functionAvailable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12freshProcessE"] - pub static nsGkAtoms_freshProcess: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10generateIdE"] - pub static nsGkAtoms_generateId: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6getterE"] - pub static nsGkAtoms_getter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9glyphcharE"] - pub static nsGkAtoms_glyphchar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7glyphidE"] - pub static nsGkAtoms_glyphid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16graphicsDocumentE"] - pub static nsGkAtoms_graphicsDocument: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14graphicsObjectE"] - pub static nsGkAtoms_graphicsObject: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14graphicsSymbolE"] - pub static nsGkAtoms_graphicsSymbol: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4gridE"] - pub static nsGkAtoms_grid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5groupE"] - pub static nsGkAtoms_group: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8groupboxE"] - pub static nsGkAtoms_groupbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17groupingSeparatorE"] - pub static nsGkAtoms_groupingSeparator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12groupingSizeE"] - pub static nsGkAtoms_groupingSize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4growE"] - pub static nsGkAtoms_grow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6gutterE"] - pub static nsGkAtoms_gutter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2h1E"] - pub static nsGkAtoms_h1: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2h2E"] - pub static nsGkAtoms_h2: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2h3E"] - pub static nsGkAtoms_h3: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2h4E"] - pub static nsGkAtoms_h4: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2h5E"] - pub static nsGkAtoms_h5: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2h6E"] - pub static nsGkAtoms_h6: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8handheldE"] - pub static nsGkAtoms_handheld: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16handheldFriendlyE"] - pub static nsGkAtoms_handheldFriendly: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7handlerE"] - pub static nsGkAtoms_handler: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8handlersE"] - pub static nsGkAtoms_handlers: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4HARDE"] - pub static nsGkAtoms_HARD: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8haspopupE"] - pub static nsGkAtoms_haspopup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11hasSameNodeE"] - pub static nsGkAtoms_hasSameNode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4hboxE"] - pub static nsGkAtoms_hbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4headE"] - pub static nsGkAtoms_head: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6headerE"] - pub static nsGkAtoms_header: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7headersE"] - pub static nsGkAtoms_headers: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6hebrewE"] - pub static nsGkAtoms_hebrew: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6heightE"] - pub static nsGkAtoms_height: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6hgroupE"] - pub static nsGkAtoms_hgroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6hiddenE"] - pub static nsGkAtoms_hidden: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10hidechromeE"] - pub static nsGkAtoms_hidechrome: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16hidecolumnpickerE"] - pub static nsGkAtoms_hidecolumnpicker: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4highE"] - pub static nsGkAtoms_high: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7highestE"] - pub static nsGkAtoms_highest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10horizontalE"] - pub static nsGkAtoms_horizontal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5hoverE"] - pub static nsGkAtoms_hover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2hrE"] - pub static nsGkAtoms_hr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4hrefE"] - pub static nsGkAtoms_href: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8hreflangE"] - pub static nsGkAtoms_hreflang: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6hspaceE"] - pub static nsGkAtoms_hspace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4htmlE"] - pub static nsGkAtoms_html: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9httpEquivE"] - pub static nsGkAtoms_httpEquiv: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1iE"] - pub static nsGkAtoms_i: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4iconE"] - pub static nsGkAtoms_icon: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2idE"] - pub static nsGkAtoms_id: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3_ifE"] - pub static nsGkAtoms__if: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6iframeE"] - pub static nsGkAtoms_iframe: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ignorecaseE"] - pub static nsGkAtoms_ignorecase: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ignorekeysE"] - pub static nsGkAtoms_ignorekeys: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15ignoreuserfocusE"] - pub static nsGkAtoms_ignoreuserfocus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ilayerE"] - pub static nsGkAtoms_ilayer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5imageE"] - pub static nsGkAtoms_image: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17imageClickedPointE"] - pub static nsGkAtoms_imageClickedPoint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3imgE"] - pub static nsGkAtoms_img: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14implementationE"] - pub static nsGkAtoms_implementation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10implementsE"] - pub static nsGkAtoms_implements: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6importE"] - pub static nsGkAtoms_import: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7includeE"] - pub static nsGkAtoms_include: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8includesE"] - pub static nsGkAtoms_includes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9incrementE"] - pub static nsGkAtoms_increment: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6indentE"] - pub static nsGkAtoms_indent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13indeterminateE"] - pub static nsGkAtoms_indeterminate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5indexE"] - pub static nsGkAtoms_index: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5inferE"] - pub static nsGkAtoms_infer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8infinityE"] - pub static nsGkAtoms_infinity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7inheritE"] - pub static nsGkAtoms_inherit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8inheritsE"] - pub static nsGkAtoms_inherits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12inheritstyleE"] - pub static nsGkAtoms_inheritstyle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13initial_scaleE"] - pub static nsGkAtoms_initial_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5inputE"] - pub static nsGkAtoms_input: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9inputmodeE"] - pub static nsGkAtoms_inputmode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3insE"] - pub static nsGkAtoms_ins: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11insertafterE"] - pub static nsGkAtoms_insertafter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12insertbeforeE"] - pub static nsGkAtoms_insertbefore: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7installE"] - pub static nsGkAtoms_install: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10instanceOfE"] - pub static nsGkAtoms_instanceOf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5int32E"] - pub static nsGkAtoms_int32: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5int64E"] - pub static nsGkAtoms_int64: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7integerE"] - pub static nsGkAtoms_integer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9integrityE"] - pub static nsGkAtoms_integrity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12intersectionE"] - pub static nsGkAtoms_intersection: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24intersectionobserverlistE"] - pub static nsGkAtoms_intersectionobserverlist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2isE"] - pub static nsGkAtoms_is: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11iscontainerE"] - pub static nsGkAtoms_iscontainer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7isemptyE"] - pub static nsGkAtoms_isempty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5ismapE"] - pub static nsGkAtoms_ismap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6itemidE"] - pub static nsGkAtoms_itemid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8itempropE"] - pub static nsGkAtoms_itemprop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7itemrefE"] - pub static nsGkAtoms_itemref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9itemscopeE"] - pub static nsGkAtoms_itemscope: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8itemtypeE"] - pub static nsGkAtoms_itemtype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15japanese_formalE"] - pub static nsGkAtoms_japanese_formal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17japanese_informalE"] - pub static nsGkAtoms_japanese_informal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3kbdE"] - pub static nsGkAtoms_kbd: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17keepcurrentinviewE"] - pub static nsGkAtoms_keepcurrentinview: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16keepobjectsaliveE"] - pub static nsGkAtoms_keepobjectsalive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3keyE"] - pub static nsGkAtoms_key: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7keycodeE"] - pub static nsGkAtoms_keycode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17keystatuseschangeE"] - pub static nsGkAtoms_keystatuseschange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7keydownE"] - pub static nsGkAtoms_keydown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6keygenE"] - pub static nsGkAtoms_keygen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8keypressE"] - pub static nsGkAtoms_keypress: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6keysetE"] - pub static nsGkAtoms_keyset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9keysystemE"] - pub static nsGkAtoms_keysystem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7keytextE"] - pub static nsGkAtoms_keytext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5keyupE"] - pub static nsGkAtoms_keyup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4kindE"] - pub static nsGkAtoms_kind: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20korean_hangul_formalE"] - pub static nsGkAtoms_korean_hangul_formal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19korean_hanja_formalE"] - pub static nsGkAtoms_korean_hanja_formal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21korean_hanja_informalE"] - pub static nsGkAtoms_korean_hanja_informal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5labelE"] - pub static nsGkAtoms_label: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6labelsE"] - pub static nsGkAtoms_labels: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4langE"] - pub static nsGkAtoms_lang: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8languageE"] - pub static nsGkAtoms_language: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4lastE"] - pub static nsGkAtoms_last: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5layerE"] - pub static nsGkAtoms_layer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13LayerActivityE"] - pub static nsGkAtoms_LayerActivity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6layoutE"] - pub static nsGkAtoms_layout: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7leadingE"] - pub static nsGkAtoms_leading: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4leafE"] - pub static nsGkAtoms_leaf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4leftE"] - pub static nsGkAtoms_left: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10leftmarginE"] - pub static nsGkAtoms_leftmargin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11leftpaddingE"] - pub static nsGkAtoms_leftpadding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6legendE"] - pub static nsGkAtoms_legend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6lengthE"] - pub static nsGkAtoms_length: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11letterValueE"] - pub static nsGkAtoms_letterValue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5levelE"] - pub static nsGkAtoms_level: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2liE"] - pub static nsGkAtoms_li: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4lineE"] - pub static nsGkAtoms_line: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4linkE"] - pub static nsGkAtoms_link: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7listboxE"] - pub static nsGkAtoms_listbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11listboxbodyE"] - pub static nsGkAtoms_listboxbody: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8listcellE"] - pub static nsGkAtoms_listcell: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7listcolE"] - pub static nsGkAtoms_listcol: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8listcolsE"] - pub static nsGkAtoms_listcols: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8listenerE"] - pub static nsGkAtoms_listener: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8listheadE"] - pub static nsGkAtoms_listhead: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10listheaderE"] - pub static nsGkAtoms_listheader: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7listingE"] - pub static nsGkAtoms_listing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8listitemE"] - pub static nsGkAtoms_listitem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8listrowsE"] - pub static nsGkAtoms_listrows: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4loadE"] - pub static nsGkAtoms_load: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19triggeringprincipalE"] - pub static nsGkAtoms_triggeringprincipal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9localedirE"] - pub static nsGkAtoms_localedir: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9localNameE"] - pub static nsGkAtoms_localName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8longdescE"] - pub static nsGkAtoms_longdesc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4loopE"] - pub static nsGkAtoms_loop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3lowE"] - pub static nsGkAtoms_low: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10lowerAlphaE"] - pub static nsGkAtoms_lowerAlpha: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10lowerFirstE"] - pub static nsGkAtoms_lowerFirst: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10lowerRomanE"] - pub static nsGkAtoms_lowerRoman: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6lowestE"] - pub static nsGkAtoms_lowest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6lowsrcE"] - pub static nsGkAtoms_lowsrc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3ltrE"] - pub static nsGkAtoms_ltr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7lwthemeE"] - pub static nsGkAtoms_lwtheme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16lwthemetextcolorE"] - pub static nsGkAtoms_lwthemetextcolor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4mainE"] - pub static nsGkAtoms_main: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3mapE"] - pub static nsGkAtoms_map: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8manifestE"] - pub static nsGkAtoms_manifest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12marginBottomE"] - pub static nsGkAtoms_marginBottom: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10marginLeftE"] - pub static nsGkAtoms_marginLeft: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11marginRightE"] - pub static nsGkAtoms_marginRight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9marginTopE"] - pub static nsGkAtoms_marginTop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12marginheightE"] - pub static nsGkAtoms_marginheight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11marginwidthE"] - pub static nsGkAtoms_marginwidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4markE"] - pub static nsGkAtoms_mark: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7marqueeE"] - pub static nsGkAtoms_marquee: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5matchE"] - pub static nsGkAtoms_match: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3maxE"] - pub static nsGkAtoms_max: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9maxheightE"] - pub static nsGkAtoms_maxheight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13maximum_scaleE"] - pub static nsGkAtoms_maximum_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9maxlengthE"] - pub static nsGkAtoms_maxlength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6maxposE"] - pub static nsGkAtoms_maxpos: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8maxwidthE"] - pub static nsGkAtoms_maxwidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mayscriptE"] - pub static nsGkAtoms_mayscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mediaE"] - pub static nsGkAtoms_media: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mediaTypeE"] - pub static nsGkAtoms_mediaType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6memberE"] - pub static nsGkAtoms_member: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4menuE"] - pub static nsGkAtoms_menu: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7menubarE"] - pub static nsGkAtoms_menubar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10menubuttonE"] - pub static nsGkAtoms_menubutton: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10menuButtonE"] - pub static nsGkAtoms_menuButton: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11menucaptionE"] - pub static nsGkAtoms_menucaption: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9menugroupE"] - pub static nsGkAtoms_menugroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8menuitemE"] - pub static nsGkAtoms_menuitem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8menulistE"] - pub static nsGkAtoms_menulist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9menupopupE"] - pub static nsGkAtoms_menupopup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13menuseparatorE"] - pub static nsGkAtoms_menuseparator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7messageE"] - pub static nsGkAtoms_message: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4metaE"] - pub static nsGkAtoms_meta: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8referrerE"] - pub static nsGkAtoms_referrer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14referrerpolicyE"] - pub static nsGkAtoms_referrerpolicy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20headerReferrerPolicyE"] - pub static nsGkAtoms_headerReferrerPolicy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5meterE"] - pub static nsGkAtoms_meter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6methodE"] - pub static nsGkAtoms_method: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6middleE"] - pub static nsGkAtoms_middle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3minE"] - pub static nsGkAtoms_min: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9minheightE"] - pub static nsGkAtoms_minheight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13minimum_scaleE"] - pub static nsGkAtoms_minimum_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9minlengthE"] - pub static nsGkAtoms_minlength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6minposE"] - pub static nsGkAtoms_minpos: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9minusSignE"] - pub static nsGkAtoms_minusSign: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8minwidthE"] - pub static nsGkAtoms_minwidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mixedE"] - pub static nsGkAtoms_mixed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19messagemanagergroupE"] - pub static nsGkAtoms_messagemanagergroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3modE"] - pub static nsGkAtoms_mod: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4modeE"] - pub static nsGkAtoms_mode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9modifiersE"] - pub static nsGkAtoms_modifiers: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10monochromeE"] - pub static nsGkAtoms_monochrome: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mousedownE"] - pub static nsGkAtoms_mousedown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mousemoveE"] - pub static nsGkAtoms_mousemove: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mouseoutE"] - pub static nsGkAtoms_mouseout: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mouseoverE"] - pub static nsGkAtoms_mouseover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12mousethroughE"] - pub static nsGkAtoms_mousethrough: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7mouseupE"] - pub static nsGkAtoms_mouseup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19mozfullscreenchangeE"] - pub static nsGkAtoms_mozfullscreenchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18mozfullscreenerrorE"] - pub static nsGkAtoms_mozfullscreenerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20mozpointerlockchangeE"] - pub static nsGkAtoms_mozpointerlockchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19mozpointerlockerrorE"] - pub static nsGkAtoms_mozpointerlockerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18mozprivatebrowsingE"] - pub static nsGkAtoms_mozprivatebrowsing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10moz_opaqueE"] - pub static nsGkAtoms_moz_opaque: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15moz_action_hintE"] - pub static nsGkAtoms_moz_action_hint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18x_moz_errormessageE"] - pub static nsGkAtoms_x_moz_errormessage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8multicolE"] - pub static nsGkAtoms_multicol: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8multipleE"] - pub static nsGkAtoms_multiple: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4muteE"] - pub static nsGkAtoms_mute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mutedE"] - pub static nsGkAtoms_muted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4nameE"] - pub static nsGkAtoms_name: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10_namespaceE"] - pub static nsGkAtoms__namespace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14namespaceAliasE"] - pub static nsGkAtoms_namespaceAlias: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12namespaceUriE"] - pub static nsGkAtoms_namespaceUri: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3NaNE"] - pub static nsGkAtoms_NaN: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24nativeAnonymousChildListE"] - pub static nsGkAtoms_nativeAnonymousChildList: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3navE"] - pub static nsGkAtoms_nav: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6negateE"] - pub static nsGkAtoms_negate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5neverE"] - pub static nsGkAtoms_never: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4_newE"] - pub static nsGkAtoms__new: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7newlineE"] - pub static nsGkAtoms_newline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8nextBidiE"] - pub static nsGkAtoms_nextBidi: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15nextTabParentIdE"] - pub static nsGkAtoms_nextTabParentId: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2noE"] - pub static nsGkAtoms_no: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11noautofocusE"] - pub static nsGkAtoms_noautofocus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10noautohideE"] - pub static nsGkAtoms_noautohide: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16norolluponanchorE"] - pub static nsGkAtoms_norolluponanchor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4nobrE"] - pub static nsGkAtoms_nobr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4nodeE"] - pub static nsGkAtoms_node: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12nodefaultsrcE"] - pub static nsGkAtoms_nodefaultsrc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7nodeSetE"] - pub static nsGkAtoms_nodeSet: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7noembedE"] - pub static nsGkAtoms_noembed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8noframesE"] - pub static nsGkAtoms_noframes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6nohrefE"] - pub static nsGkAtoms_nohref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11noisolationE"] - pub static nsGkAtoms_noisolation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8nomoduleE"] - pub static nsGkAtoms_nomodule: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5nonceE"] - pub static nsGkAtoms_nonce: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4noneE"] - pub static nsGkAtoms_none: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8noresizeE"] - pub static nsGkAtoms_noresize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6normalE"] - pub static nsGkAtoms_normal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14normalizeSpaceE"] - pub static nsGkAtoms_normalizeSpace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8noscriptE"] - pub static nsGkAtoms_noscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7noshadeE"] - pub static nsGkAtoms_noshade: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12notificationE"] - pub static nsGkAtoms_notification: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10novalidateE"] - pub static nsGkAtoms_novalidate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4_notE"] - pub static nsGkAtoms__not: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6nowrapE"] - pub static nsGkAtoms_nowrap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6numberE"] - pub static nsGkAtoms_number: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4nullE"] - pub static nsGkAtoms_null: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6objectE"] - pub static nsGkAtoms_object: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10objectTypeE"] - pub static nsGkAtoms_objectType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8observerE"] - pub static nsGkAtoms_observer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8observesE"] - pub static nsGkAtoms_observes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3oddE"] - pub static nsGkAtoms_odd: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3OFFE"] - pub static nsGkAtoms_OFF: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2olE"] - pub static nsGkAtoms_ol: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18omitXmlDeclarationE"] - pub static nsGkAtoms_omitXmlDeclaration: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19ona2dpstatuschangedE"] - pub static nsGkAtoms_ona2dpstatuschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onabortE"] - pub static nsGkAtoms_onabort: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onmozaccesskeynotfoundE"] - pub static nsGkAtoms_onmozaccesskeynotfound: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onactivateE"] - pub static nsGkAtoms_onactivate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onadapteraddedE"] - pub static nsGkAtoms_onadapteradded: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onadapterremovedE"] - pub static nsGkAtoms_onadapterremoved: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onafterprintE"] - pub static nsGkAtoms_onafterprint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onafterscriptexecuteE"] - pub static nsGkAtoms_onafterscriptexecute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onalertingE"] - pub static nsGkAtoms_onalerting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onanimationcancelE"] - pub static nsGkAtoms_onanimationcancel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onanimationendE"] - pub static nsGkAtoms_onanimationend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onanimationiterationE"] - pub static nsGkAtoms_onanimationiteration: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onanimationstartE"] - pub static nsGkAtoms_onanimationstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onantennaavailablechangeE"] - pub static nsGkAtoms_onantennaavailablechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onAppCommandE"] - pub static nsGkAtoms_onAppCommand: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onappinstalledE"] - pub static nsGkAtoms_onappinstalled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onattributechangedE"] - pub static nsGkAtoms_onattributechanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onattributereadreqE"] - pub static nsGkAtoms_onattributereadreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onattributewritereqE"] - pub static nsGkAtoms_onattributewritereq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onaudioprocessE"] - pub static nsGkAtoms_onaudioprocess: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onauxclickE"] - pub static nsGkAtoms_onauxclick: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onbeforecopyE"] - pub static nsGkAtoms_onbeforecopy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onbeforecutE"] - pub static nsGkAtoms_onbeforecut: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onbeforepasteE"] - pub static nsGkAtoms_onbeforepaste: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onbeforeevictedE"] - pub static nsGkAtoms_onbeforeevicted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onbeforeprintE"] - pub static nsGkAtoms_onbeforeprint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onbeforescriptexecuteE"] - pub static nsGkAtoms_onbeforescriptexecute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onbeforeunloadE"] - pub static nsGkAtoms_onbeforeunload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onblockedE"] - pub static nsGkAtoms_onblocked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onblurE"] - pub static nsGkAtoms_onblur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onbroadcastE"] - pub static nsGkAtoms_onbroadcast: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onbusyE"] - pub static nsGkAtoms_onbusy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onbufferedamountlowE"] - pub static nsGkAtoms_onbufferedamountlow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8oncachedE"] - pub static nsGkAtoms_oncached: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14oncallschangedE"] - pub static nsGkAtoms_oncallschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8oncancelE"] - pub static nsGkAtoms_oncancel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17oncardstatechangeE"] - pub static nsGkAtoms_oncardstatechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15oncfstatechangeE"] - pub static nsGkAtoms_oncfstatechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onchangeE"] - pub static nsGkAtoms_onchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23oncharacteristicchangedE"] - pub static nsGkAtoms_oncharacteristicchanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onchargingchangeE"] - pub static nsGkAtoms_onchargingchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onchargingtimechangeE"] - pub static nsGkAtoms_onchargingtimechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10oncheckingE"] - pub static nsGkAtoms_onchecking: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onCheckboxStateChangeE"] - pub static nsGkAtoms_onCheckboxStateChange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onclickE"] - pub static nsGkAtoms_onclick: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onclirmodechangeE"] - pub static nsGkAtoms_onclirmodechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7oncloseE"] - pub static nsGkAtoms_onclose: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9oncommandE"] - pub static nsGkAtoms_oncommand: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15oncommandupdateE"] - pub static nsGkAtoms_oncommandupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10oncompleteE"] - pub static nsGkAtoms_oncomplete: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16oncompositionendE"] - pub static nsGkAtoms_oncompositionend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18oncompositionstartE"] - pub static nsGkAtoms_oncompositionstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19oncompositionupdateE"] - pub static nsGkAtoms_oncompositionupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onconnectE"] - pub static nsGkAtoms_onconnect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onconnectedE"] - pub static nsGkAtoms_onconnected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onconnectingE"] - pub static nsGkAtoms_onconnecting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onconnectionavailableE"] - pub static nsGkAtoms_onconnectionavailable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onconnectionstatechangedE"] - pub static nsGkAtoms_onconnectionstatechanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13oncontextmenuE"] - pub static nsGkAtoms_oncontextmenu: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6oncopyE"] - pub static nsGkAtoms_oncopy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23oncurrentchannelchangedE"] - pub static nsGkAtoms_oncurrentchannelchanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22oncurrentsourcechangedE"] - pub static nsGkAtoms_oncurrentsourcechanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5oncutE"] - pub static nsGkAtoms_oncut: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12ondatachangeE"] - pub static nsGkAtoms_ondatachange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ondataerrorE"] - pub static nsGkAtoms_ondataerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ondblclickE"] - pub static nsGkAtoms_ondblclick: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9ondeletedE"] - pub static nsGkAtoms_ondeleted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17ondeliverysuccessE"] - pub static nsGkAtoms_ondeliverysuccess: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15ondeliveryerrorE"] - pub static nsGkAtoms_ondeliveryerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13ondevicefoundE"] - pub static nsGkAtoms_ondevicefound: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14ondevicepairedE"] - pub static nsGkAtoms_ondevicepaired: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16ondeviceunpairedE"] - pub static nsGkAtoms_ondeviceunpaired: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9ondialingE"] - pub static nsGkAtoms_ondialing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ondisabledE"] - pub static nsGkAtoms_ondisabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23ondischargingtimechangeE"] - pub static nsGkAtoms_ondischargingtimechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12ondisconnectE"] - pub static nsGkAtoms_ondisconnect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14ondisconnectedE"] - pub static nsGkAtoms_ondisconnected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15ondisconnectingE"] - pub static nsGkAtoms_ondisconnecting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19ondisplaypasskeyreqE"] - pub static nsGkAtoms_ondisplaypasskeyreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13ondownloadingE"] - pub static nsGkAtoms_ondownloading: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onDOMActivateE"] - pub static nsGkAtoms_onDOMActivate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onDOMAttrModifiedE"] - pub static nsGkAtoms_onDOMAttrModified: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26onDOMCharacterDataModifiedE"] - pub static nsGkAtoms_onDOMCharacterDataModified: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onDOMFocusInE"] - pub static nsGkAtoms_onDOMFocusIn: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onDOMFocusOutE"] - pub static nsGkAtoms_onDOMFocusOut: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onDOMMouseScrollE"] - pub static nsGkAtoms_onDOMMouseScroll: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onDOMNodeInsertedE"] - pub static nsGkAtoms_onDOMNodeInserted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms29onDOMNodeInsertedIntoDocumentE"] - pub static nsGkAtoms_onDOMNodeInsertedIntoDocument: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onDOMNodeRemovedE"] - pub static nsGkAtoms_onDOMNodeRemoved: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28onDOMNodeRemovedFromDocumentE"] - pub static nsGkAtoms_onDOMNodeRemovedFromDocument: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onDOMSubtreeModifiedE"] - pub static nsGkAtoms_onDOMSubtreeModified: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ondataE"] - pub static nsGkAtoms_ondata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ondragE"] - pub static nsGkAtoms_ondrag: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ondragdropE"] - pub static nsGkAtoms_ondragdrop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9ondragendE"] - pub static nsGkAtoms_ondragend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ondragenterE"] - pub static nsGkAtoms_ondragenter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ondragexitE"] - pub static nsGkAtoms_ondragexit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13ondraggestureE"] - pub static nsGkAtoms_ondraggesture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ondragleaveE"] - pub static nsGkAtoms_ondragleave: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ondragoverE"] - pub static nsGkAtoms_ondragover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ondragstartE"] - pub static nsGkAtoms_ondragstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7ondrainE"] - pub static nsGkAtoms_ondrain: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ondropE"] - pub static nsGkAtoms_ondrop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16oneitbroadcastedE"] - pub static nsGkAtoms_oneitbroadcasted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onenabledE"] - pub static nsGkAtoms_onenabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onenterpincodereqE"] - pub static nsGkAtoms_onenterpincodereq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23onemergencycbmodechangeE"] - pub static nsGkAtoms_onemergencycbmodechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onerrorE"] - pub static nsGkAtoms_onerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onevictedE"] - pub static nsGkAtoms_onevicted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onfailedE"] - pub static nsGkAtoms_onfailed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onfetchE"] - pub static nsGkAtoms_onfetch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onfinishE"] - pub static nsGkAtoms_onfinish: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onfocusE"] - pub static nsGkAtoms_onfocus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onfocusinE"] - pub static nsGkAtoms_onfocusin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onfocusoutE"] - pub static nsGkAtoms_onfocusout: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onfrequencychangeE"] - pub static nsGkAtoms_onfrequencychange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onfullscreenchangeE"] - pub static nsGkAtoms_onfullscreenchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onfullscreenerrorE"] - pub static nsGkAtoms_onfullscreenerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onspeakerforcedchangeE"] - pub static nsGkAtoms_onspeakerforcedchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5ongetE"] - pub static nsGkAtoms_onget: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13ongroupchangeE"] - pub static nsGkAtoms_ongroupchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onhashchangeE"] - pub static nsGkAtoms_onhashchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onheadphoneschangeE"] - pub static nsGkAtoms_onheadphoneschange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onheldE"] - pub static nsGkAtoms_onheld: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onhfpstatuschangedE"] - pub static nsGkAtoms_onhfpstatuschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onhidstatuschangedE"] - pub static nsGkAtoms_onhidstatuschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onholdingE"] - pub static nsGkAtoms_onholding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11oniccchangeE"] - pub static nsGkAtoms_oniccchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13oniccdetectedE"] - pub static nsGkAtoms_oniccdetected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15oniccinfochangeE"] - pub static nsGkAtoms_oniccinfochange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15oniccundetectedE"] - pub static nsGkAtoms_oniccundetected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onincomingE"] - pub static nsGkAtoms_onincoming: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7oninputE"] - pub static nsGkAtoms_oninput: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9oninstallE"] - pub static nsGkAtoms_oninstall: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9oninvalidE"] - pub static nsGkAtoms_oninvalid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onkeydownE"] - pub static nsGkAtoms_onkeydown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onkeypressE"] - pub static nsGkAtoms_onkeypress: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onkeyupE"] - pub static nsGkAtoms_onkeyup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onlanguagechangeE"] - pub static nsGkAtoms_onlanguagechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onlevelchangeE"] - pub static nsGkAtoms_onlevelchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onLoadE"] - pub static nsGkAtoms_onLoad: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onloadE"] - pub static nsGkAtoms_onload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onloadingE"] - pub static nsGkAtoms_onloading: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onloadingdoneE"] - pub static nsGkAtoms_onloadingdone: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onloadingerrorE"] - pub static nsGkAtoms_onloadingerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onpopstateE"] - pub static nsGkAtoms_onpopstate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4onlyE"] - pub static nsGkAtoms_only: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onmessageE"] - pub static nsGkAtoms_onmessage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onmessageerrorE"] - pub static nsGkAtoms_onmessageerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onmidimessageE"] - pub static nsGkAtoms_onmidimessage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onmousedownE"] - pub static nsGkAtoms_onmousedown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onmouseenterE"] - pub static nsGkAtoms_onmouseenter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onmouseleaveE"] - pub static nsGkAtoms_onmouseleave: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onmouselongtapE"] - pub static nsGkAtoms_onmouselongtap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onmousemoveE"] - pub static nsGkAtoms_onmousemove: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onmouseoutE"] - pub static nsGkAtoms_onmouseout: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onmouseoverE"] - pub static nsGkAtoms_onmouseover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onMozMouseHittestE"] - pub static nsGkAtoms_onMozMouseHittest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onmouseupE"] - pub static nsGkAtoms_onmouseup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onMozAfterPaintE"] - pub static nsGkAtoms_onMozAfterPaint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onmozfullscreenchangeE"] - pub static nsGkAtoms_onmozfullscreenchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onmozfullscreenerrorE"] - pub static nsGkAtoms_onmozfullscreenerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onmozkeydownonpluginE"] - pub static nsGkAtoms_onmozkeydownonplugin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onmozkeyuponpluginE"] - pub static nsGkAtoms_onmozkeyuponplugin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onmozpointerlockchangeE"] - pub static nsGkAtoms_onmozpointerlockchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onmozpointerlockerrorE"] - pub static nsGkAtoms_onmozpointerlockerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onMozMousePixelScrollE"] - pub static nsGkAtoms_onMozMousePixelScroll: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onMozScrolledAreaChangedE"] - pub static nsGkAtoms_onMozScrolledAreaChanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onmapfolderlistingreqE"] - pub static nsGkAtoms_onmapfolderlistingreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23onmapmessageslistingreqE"] - pub static nsGkAtoms_onmapmessageslistingreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onmapgetmessagereqE"] - pub static nsGkAtoms_onmapgetmessagereq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onmapsetmessagestatusreqE"] - pub static nsGkAtoms_onmapsetmessagestatusreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onmapsendmessagereqE"] - pub static nsGkAtoms_onmapsendmessagereq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onmapmessageupdatereqE"] - pub static nsGkAtoms_onmapmessageupdatereq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onmuteE"] - pub static nsGkAtoms_onmute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onnewrdsgroupE"] - pub static nsGkAtoms_onnewrdsgroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onnotificationclickE"] - pub static nsGkAtoms_onnotificationclick: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onnotificationcloseE"] - pub static nsGkAtoms_onnotificationclose: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onnoupdateE"] - pub static nsGkAtoms_onnoupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onobexpasswordreqE"] - pub static nsGkAtoms_onobexpasswordreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onobsoleteE"] - pub static nsGkAtoms_onobsolete: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8ononlineE"] - pub static nsGkAtoms_ononline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onofflineE"] - pub static nsGkAtoms_onoffline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onopenE"] - pub static nsGkAtoms_onopen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onorientationchangeE"] - pub static nsGkAtoms_onorientationchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onotastatuschangeE"] - pub static nsGkAtoms_onotastatuschange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onoverflowE"] - pub static nsGkAtoms_onoverflow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onoverflowchangedE"] - pub static nsGkAtoms_onoverflowchanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onpagehideE"] - pub static nsGkAtoms_onpagehide: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onpageshowE"] - pub static nsGkAtoms_onpageshow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onpaintE"] - pub static nsGkAtoms_onpaint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onpairingabortedE"] - pub static nsGkAtoms_onpairingaborted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onpairingconfirmationreqE"] - pub static nsGkAtoms_onpairingconfirmationreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onpairingconsentreqE"] - pub static nsGkAtoms_onpairingconsentreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onpasteE"] - pub static nsGkAtoms_onpaste: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onpendingchangeE"] - pub static nsGkAtoms_onpendingchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onpichangeE"] - pub static nsGkAtoms_onpichange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onpointerlockchangeE"] - pub static nsGkAtoms_onpointerlockchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onpointerlockerrorE"] - pub static nsGkAtoms_onpointerlockerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onpopuphiddenE"] - pub static nsGkAtoms_onpopuphidden: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onpopuphidingE"] - pub static nsGkAtoms_onpopuphiding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onpopuppositionedE"] - pub static nsGkAtoms_onpopuppositioned: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onpopupshowingE"] - pub static nsGkAtoms_onpopupshowing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onpopupshownE"] - pub static nsGkAtoms_onpopupshown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onpullphonebookreqE"] - pub static nsGkAtoms_onpullphonebookreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onpullvcardentryreqE"] - pub static nsGkAtoms_onpullvcardentryreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onpullvcardlistingreqE"] - pub static nsGkAtoms_onpullvcardlistingreq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onpushE"] - pub static nsGkAtoms_onpush: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onpushsubscriptionchangeE"] - pub static nsGkAtoms_onpushsubscriptionchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onpschangeE"] - pub static nsGkAtoms_onpschange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onptychangeE"] - pub static nsGkAtoms_onptychange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onradiostatechangeE"] - pub static nsGkAtoms_onradiostatechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onRadioStateChangeE"] - pub static nsGkAtoms_onRadioStateChange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onrdsdisabledE"] - pub static nsGkAtoms_onrdsdisabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onrdsenabledE"] - pub static nsGkAtoms_onrdsenabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onreaderrorE"] - pub static nsGkAtoms_onreaderror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onreadsuccessE"] - pub static nsGkAtoms_onreadsuccess: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onreadyE"] - pub static nsGkAtoms_onready: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onreadystatechangeE"] - pub static nsGkAtoms_onreadystatechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onreceivedE"] - pub static nsGkAtoms_onreceived: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onremoteheldE"] - pub static nsGkAtoms_onremoteheld: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onremoteresumedE"] - pub static nsGkAtoms_onremoteresumed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onrequestprogressE"] - pub static nsGkAtoms_onrequestprogress: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26onresourcetimingbufferfullE"] - pub static nsGkAtoms_onresourcetimingbufferfull: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onresponseprogressE"] - pub static nsGkAtoms_onresponseprogress: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onretrievingE"] - pub static nsGkAtoms_onretrieving: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onRequestE"] - pub static nsGkAtoms_onRequest: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onrequestmediaplaystatusE"] - pub static nsGkAtoms_onrequestmediaplaystatus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onresetE"] - pub static nsGkAtoms_onreset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onresumingE"] - pub static nsGkAtoms_onresuming: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onresizeE"] - pub static nsGkAtoms_onresize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onrtchangeE"] - pub static nsGkAtoms_onrtchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onscanningstatechangedE"] - pub static nsGkAtoms_onscanningstatechanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onscostatuschangedE"] - pub static nsGkAtoms_onscostatuschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onscrollE"] - pub static nsGkAtoms_onscroll: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onselectE"] - pub static nsGkAtoms_onselect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onselectionchangeE"] - pub static nsGkAtoms_onselectionchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onselectstartE"] - pub static nsGkAtoms_onselectstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onsendingE"] - pub static nsGkAtoms_onsending: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onsentE"] - pub static nsGkAtoms_onsent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5onsetE"] - pub static nsGkAtoms_onset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23onshippingaddresschangeE"] - pub static nsGkAtoms_onshippingaddresschange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onshippingoptionchangeE"] - pub static nsGkAtoms_onshippingoptionchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onshowE"] - pub static nsGkAtoms_onshow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onstatechangeE"] - pub static nsGkAtoms_onstatechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onstatuschangedE"] - pub static nsGkAtoms_onstatuschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onstkcommandE"] - pub static nsGkAtoms_onstkcommand: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onstksessionendE"] - pub static nsGkAtoms_onstksessionend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onstorageE"] - pub static nsGkAtoms_onstorage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onstorageareachangedE"] - pub static nsGkAtoms_onstorageareachanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onsubmitE"] - pub static nsGkAtoms_onsubmit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onsuccessE"] - pub static nsGkAtoms_onsuccess: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12ontypechangeE"] - pub static nsGkAtoms_ontypechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onterminateE"] - pub static nsGkAtoms_onterminate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ontextE"] - pub static nsGkAtoms_ontext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8ontoggleE"] - pub static nsGkAtoms_ontoggle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12ontouchstartE"] - pub static nsGkAtoms_ontouchstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ontouchendE"] - pub static nsGkAtoms_ontouchend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ontouchmoveE"] - pub static nsGkAtoms_ontouchmove: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13ontouchcancelE"] - pub static nsGkAtoms_ontouchcancel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18ontransitioncancelE"] - pub static nsGkAtoms_ontransitioncancel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15ontransitionendE"] - pub static nsGkAtoms_ontransitionend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15ontransitionrunE"] - pub static nsGkAtoms_ontransitionrun: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17ontransitionstartE"] - pub static nsGkAtoms_ontransitionstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onunderflowE"] - pub static nsGkAtoms_onunderflow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onunloadE"] - pub static nsGkAtoms_onunload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onunmuteE"] - pub static nsGkAtoms_onunmute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onupdatefoundE"] - pub static nsGkAtoms_onupdatefound: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onupdatereadyE"] - pub static nsGkAtoms_onupdateready: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onupgradeneededE"] - pub static nsGkAtoms_onupgradeneeded: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onussdreceivedE"] - pub static nsGkAtoms_onussdreceived: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onversionchangeE"] - pub static nsGkAtoms_onversionchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onvisibilitychangeE"] - pub static nsGkAtoms_onvisibilitychange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onvoicechangeE"] - pub static nsGkAtoms_onvoicechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onvoiceschangedE"] - pub static nsGkAtoms_onvoiceschanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onvrdisplayactivateE"] - pub static nsGkAtoms_onvrdisplayactivate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onvrdisplayconnectE"] - pub static nsGkAtoms_onvrdisplayconnect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onvrdisplaydeactivateE"] - pub static nsGkAtoms_onvrdisplaydeactivate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onvrdisplaydisconnectE"] - pub static nsGkAtoms_onvrdisplaydisconnect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onvrdisplaypresentchangeE"] - pub static nsGkAtoms_onvrdisplaypresentchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onwebkitAnimationEndE"] - pub static nsGkAtoms_onwebkitAnimationEnd: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26onwebkitAnimationIterationE"] - pub static nsGkAtoms_onwebkitAnimationIteration: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onwebkitAnimationStartE"] - pub static nsGkAtoms_onwebkitAnimationStart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onwebkitTransitionEndE"] - pub static nsGkAtoms_onwebkitTransitionEnd: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onwebkitanimationendE"] - pub static nsGkAtoms_onwebkitanimationend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26onwebkitanimationiterationE"] - pub static nsGkAtoms_onwebkitanimationiteration: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onwebkitanimationstartE"] - pub static nsGkAtoms_onwebkitanimationstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21onwebkittransitionendE"] - pub static nsGkAtoms_onwebkittransitionend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onwebsocketE"] - pub static nsGkAtoms_onwebsocket: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onwheelE"] - pub static nsGkAtoms_onwheel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4openE"] - pub static nsGkAtoms_open: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8optgroupE"] - pub static nsGkAtoms_optgroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7optimumE"] - pub static nsGkAtoms_optimum: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6optionE"] - pub static nsGkAtoms_option: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3_orE"] - pub static nsGkAtoms__or: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5orderE"] - pub static nsGkAtoms_order: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7ordinalE"] - pub static nsGkAtoms_ordinal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6orientE"] - pub static nsGkAtoms_orient: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11orientationE"] - pub static nsGkAtoms_orientation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9otherwiseE"] - pub static nsGkAtoms_otherwise: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6outputE"] - pub static nsGkAtoms_output: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8overflowE"] - pub static nsGkAtoms_overflow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15overflowchangedE"] - pub static nsGkAtoms_overflowchanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7overlayE"] - pub static nsGkAtoms_overlay: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7overlapE"] - pub static nsGkAtoms_overlap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1pE"] - pub static nsGkAtoms_p: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4packE"] - pub static nsGkAtoms_pack: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4pageE"] - pub static nsGkAtoms_page: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13pageincrementE"] - pub static nsGkAtoms_pageincrement: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5pagexE"] - pub static nsGkAtoms_pagex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5pageyE"] - pub static nsGkAtoms_pagey: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11paint_orderE"] - pub static nsGkAtoms_paint_order: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11palettenameE"] - pub static nsGkAtoms_palettename: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5panelE"] - pub static nsGkAtoms_panel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5paramE"] - pub static nsGkAtoms_param: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9parameterE"] - pub static nsGkAtoms_parameter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6parentE"] - pub static nsGkAtoms_parent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13parentfocusedE"] - pub static nsGkAtoms_parentfocused: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9parsetypeE"] - pub static nsGkAtoms_parsetype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8passwordE"] - pub static nsGkAtoms_password: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7patternE"] - pub static nsGkAtoms_pattern: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16patternSeparatorE"] - pub static nsGkAtoms_patternSeparator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8perMilleE"] - pub static nsGkAtoms_perMille: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7percentE"] - pub static nsGkAtoms_percent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7persistE"] - pub static nsGkAtoms_persist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5phaseE"] - pub static nsGkAtoms_phase: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7pictureE"] - pub static nsGkAtoms_picture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4pingE"] - pub static nsGkAtoms_ping: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6pinnedE"] - pub static nsGkAtoms_pinned: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11placeholderE"] - pub static nsGkAtoms_placeholder: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9plaintextE"] - pub static nsGkAtoms_plaintext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12playbackrateE"] - pub static nsGkAtoms_playbackrate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointSizeE"] - pub static nsGkAtoms_pointSize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17pointerlockchangeE"] - pub static nsGkAtoms_pointerlockchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16pointerlockerrorE"] - pub static nsGkAtoms_pointerlockerror: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4polyE"] - pub static nsGkAtoms_poly: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7polygonE"] - pub static nsGkAtoms_polygon: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5popupE"] - pub static nsGkAtoms_popup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10popupalignE"] - pub static nsGkAtoms_popupalign: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11popupanchorE"] - pub static nsGkAtoms_popupanchor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10popupgroupE"] - pub static nsGkAtoms_popupgroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11popuphiddenE"] - pub static nsGkAtoms_popuphidden: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11popuphidingE"] - pub static nsGkAtoms_popuphiding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8popupsetE"] - pub static nsGkAtoms_popupset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12popupshowingE"] - pub static nsGkAtoms_popupshowing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10popupshownE"] - pub static nsGkAtoms_popupshown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20popupsinherittooltipE"] - pub static nsGkAtoms_popupsinherittooltip: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8positionE"] - pub static nsGkAtoms_position: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6posterE"] - pub static nsGkAtoms_poster: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3preE"] - pub static nsGkAtoms_pre: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9precedingE"] - pub static nsGkAtoms_preceding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16precedingSiblingE"] - pub static nsGkAtoms_precedingSibling: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9predicateE"] - pub static nsGkAtoms_predicate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6prefixE"] - pub static nsGkAtoms_prefix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7preloadE"] - pub static nsGkAtoms_preload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15mozpresentationE"] - pub static nsGkAtoms_mozpresentation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8preserveE"] - pub static nsGkAtoms_preserve: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13preserveSpaceE"] - pub static nsGkAtoms_preserveSpace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14preventdefaultE"] - pub static nsGkAtoms_preventdefault: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7primaryE"] - pub static nsGkAtoms_primary: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5printE"] - pub static nsGkAtoms_print: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8priorityE"] - pub static nsGkAtoms_priority: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21processingInstructionE"] - pub static nsGkAtoms_processingInstruction: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7profileE"] - pub static nsGkAtoms_profile: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8progressE"] - pub static nsGkAtoms_progress: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13progressmeterE"] - pub static nsGkAtoms_progressmeter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14progressNormalE"] - pub static nsGkAtoms_progressNormal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20progressUndeterminedE"] - pub static nsGkAtoms_progressUndetermined: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10projectionE"] - pub static nsGkAtoms_projection: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6promptE"] - pub static nsGkAtoms_prompt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9propagateE"] - pub static nsGkAtoms_propagate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10propertiesE"] - pub static nsGkAtoms_properties: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8propertyE"] - pub static nsGkAtoms_property: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7pubdateE"] - pub static nsGkAtoms_pubdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1qE"] - pub static nsGkAtoms_q: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5queryE"] - pub static nsGkAtoms_query: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8querysetE"] - pub static nsGkAtoms_queryset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9querytypeE"] - pub static nsGkAtoms_querytype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5radioE"] - pub static nsGkAtoms_radio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10radiogroupE"] - pub static nsGkAtoms_radiogroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5rangeE"] - pub static nsGkAtoms_range: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8readonlyE"] - pub static nsGkAtoms_readonly: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4rectE"] - pub static nsGkAtoms_rect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9rectangleE"] - pub static nsGkAtoms_rectangle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7refreshE"] - pub static nsGkAtoms_refresh: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3relE"] - pub static nsGkAtoms_rel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onreloadpageE"] - pub static nsGkAtoms_onreloadpage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3remE"] - pub static nsGkAtoms_rem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6remoteE"] - pub static nsGkAtoms_remote: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13removeelementE"] - pub static nsGkAtoms_removeelement: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21renderingobserverlistE"] - pub static nsGkAtoms_renderingobserverlist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6repeatE"] - pub static nsGkAtoms_repeat: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7replaceE"] - pub static nsGkAtoms_replace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16requestcontextidE"] - pub static nsGkAtoms_requestcontextid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8requiredE"] - pub static nsGkAtoms_required: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8reservedE"] - pub static nsGkAtoms_reserved: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5resetE"] - pub static nsGkAtoms_reset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11resizeafterE"] - pub static nsGkAtoms_resizeafter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12resizebeforeE"] - pub static nsGkAtoms_resizebefore: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7resizerE"] - pub static nsGkAtoms_resizer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10resolutionE"] - pub static nsGkAtoms_resolution: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9resourcesE"] - pub static nsGkAtoms_resources: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6resultE"] - pub static nsGkAtoms_result: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12resultPrefixE"] - pub static nsGkAtoms_resultPrefix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21retargetdocumentfocusE"] - pub static nsGkAtoms_retargetdocumentfocus: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3revE"] - pub static nsGkAtoms_rev: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7reverseE"] - pub static nsGkAtoms_reverse: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8reversedE"] - pub static nsGkAtoms_reversed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11richlistboxE"] - pub static nsGkAtoms_richlistbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12richlistitemE"] - pub static nsGkAtoms_richlistitem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5rightE"] - pub static nsGkAtoms_right: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11rightmarginE"] - pub static nsGkAtoms_rightmargin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12rightpaddingE"] - pub static nsGkAtoms_rightpadding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4roleE"] - pub static nsGkAtoms_role: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18rolluponmousewheelE"] - pub static nsGkAtoms_rolluponmousewheel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5roundE"] - pub static nsGkAtoms_round: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3rowE"] - pub static nsGkAtoms_row: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4rowsE"] - pub static nsGkAtoms_rows: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7rowspanE"] - pub static nsGkAtoms_rowspan: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2rbE"] - pub static nsGkAtoms_rb: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2rpE"] - pub static nsGkAtoms_rp: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2rtE"] - pub static nsGkAtoms_rt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3rtcE"] - pub static nsGkAtoms_rtc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3rtlE"] - pub static nsGkAtoms_rtl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4rubyE"] - pub static nsGkAtoms_ruby: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8rubyBaseE"] - pub static nsGkAtoms_rubyBase: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17rubyBaseContainerE"] - pub static nsGkAtoms_rubyBaseContainer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8rubyTextE"] - pub static nsGkAtoms_rubyText: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17rubyTextContainerE"] - pub static nsGkAtoms_rubyTextContainer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4ruleE"] - pub static nsGkAtoms_rule: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5rulesE"] - pub static nsGkAtoms_rules: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1sE"] - pub static nsGkAtoms_s: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sampE"] - pub static nsGkAtoms_samp: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7sandboxE"] - pub static nsGkAtoms_sandbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6sbattrE"] - pub static nsGkAtoms_sbattr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5scaleE"] - pub static nsGkAtoms_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4scanE"] - pub static nsGkAtoms_scan: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6schemeE"] - pub static nsGkAtoms_scheme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5scopeE"] - pub static nsGkAtoms_scope: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6scopedE"] - pub static nsGkAtoms_scoped: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6screenE"] - pub static nsGkAtoms_screen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7screenXE"] - pub static nsGkAtoms_screenX: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7screenYE"] - pub static nsGkAtoms_screenY: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6scriptE"] - pub static nsGkAtoms_script: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms33scriptEnabledBeforePrintOrPreviewE"] - pub static nsGkAtoms_scriptEnabledBeforePrintOrPreview: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9scrollbarE"] - pub static nsGkAtoms_scrollbar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15scrollbarbuttonE"] - pub static nsGkAtoms_scrollbarbutton: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19scrollbarDownBottomE"] - pub static nsGkAtoms_scrollbarDownBottom: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16scrollbarDownTopE"] - pub static nsGkAtoms_scrollbarDownTop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17scrollbarUpBottomE"] - pub static nsGkAtoms_scrollbarUpBottom: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14scrollbarUpTopE"] - pub static nsGkAtoms_scrollbarUpTop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9scrollboxE"] - pub static nsGkAtoms_scrollbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12scrollcornerE"] - pub static nsGkAtoms_scrollcorner: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9scrollingE"] - pub static nsGkAtoms_scrolling: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14scrollPositionE"] - pub static nsGkAtoms_scrollPosition: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7sectionE"] - pub static nsGkAtoms_section: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6selectE"] - pub static nsGkAtoms_select: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10selectableE"] - pub static nsGkAtoms_selectable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8selectedE"] - pub static nsGkAtoms_selected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13selectedIndexE"] - pub static nsGkAtoms_selectedIndex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13selectedindexE"] - pub static nsGkAtoms_selectedindex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4selfE"] - pub static nsGkAtoms_self: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7seltypeE"] - pub static nsGkAtoms_seltype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9setcookieE"] - pub static nsGkAtoms_setcookie: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6setterE"] - pub static nsGkAtoms_setter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5shapeE"] - pub static nsGkAtoms_shape: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4showE"] - pub static nsGkAtoms_show: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9showcaretE"] - pub static nsGkAtoms_showcaret: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11showresizerE"] - pub static nsGkAtoms_showresizer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6simpleE"] - pub static nsGkAtoms_simple: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19simp_chinese_formalE"] - pub static nsGkAtoms_simp_chinese_formal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21simp_chinese_informalE"] - pub static nsGkAtoms_simp_chinese_informal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6singleE"] - pub static nsGkAtoms_single: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sizeE"] - pub static nsGkAtoms_size: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5sizesE"] - pub static nsGkAtoms_sizes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8sizemodeE"] - pub static nsGkAtoms_sizemode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11sizetopopupE"] - pub static nsGkAtoms_sizetopopup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6sliderE"] - pub static nsGkAtoms_slider: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5smallE"] - pub static nsGkAtoms_small: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6smoothE"] - pub static nsGkAtoms_smooth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4snapE"] - pub static nsGkAtoms_snap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sortE"] - pub static nsGkAtoms_sort: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10sortActiveE"] - pub static nsGkAtoms_sortActive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13sortDirectionE"] - pub static nsGkAtoms_sortDirection: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6sortedE"] - pub static nsGkAtoms_sorted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9sorthintsE"] - pub static nsGkAtoms_sorthints: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10sortLockedE"] - pub static nsGkAtoms_sortLocked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6sourceE"] - pub static nsGkAtoms_source: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5spaceE"] - pub static nsGkAtoms_space: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6spacerE"] - pub static nsGkAtoms_spacer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4spanE"] - pub static nsGkAtoms_span: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10spellcheckE"] - pub static nsGkAtoms_spellcheck: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7spinnerE"] - pub static nsGkAtoms_spinner: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5splitE"] - pub static nsGkAtoms_split: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8splitterE"] - pub static nsGkAtoms_splitter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6springE"] - pub static nsGkAtoms_spring: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6squareE"] - pub static nsGkAtoms_square: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3srcE"] - pub static nsGkAtoms_src: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6srcdocE"] - pub static nsGkAtoms_srcdoc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7srclangE"] - pub static nsGkAtoms_srclang: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6srcsetE"] - pub static nsGkAtoms_srcset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5stackE"] - pub static nsGkAtoms_stack: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10standaloneE"] - pub static nsGkAtoms_standalone: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7standbyE"] - pub static nsGkAtoms_standby: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5startE"] - pub static nsGkAtoms_start: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11start_afterE"] - pub static nsGkAtoms_start_after: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12start_beforeE"] - pub static nsGkAtoms_start_before: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10startsWithE"] - pub static nsGkAtoms_startsWith: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5stateE"] - pub static nsGkAtoms_state: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15statedatasourceE"] - pub static nsGkAtoms_statedatasource: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10staticHintE"] - pub static nsGkAtoms_staticHint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9statusbarE"] - pub static nsGkAtoms_statusbar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10statustextE"] - pub static nsGkAtoms_statustext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4stepE"] - pub static nsGkAtoms_step: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4stopE"] - pub static nsGkAtoms_stop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7stretchE"] - pub static nsGkAtoms_stretch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6strikeE"] - pub static nsGkAtoms_strike: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6stringE"] - pub static nsGkAtoms_string: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12stringLengthE"] - pub static nsGkAtoms_stringLength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10stripSpaceE"] - pub static nsGkAtoms_stripSpace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6strongE"] - pub static nsGkAtoms_strong: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5styleE"] - pub static nsGkAtoms_style: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10stylesheetE"] - pub static nsGkAtoms_stylesheet: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16stylesheetPrefixE"] - pub static nsGkAtoms_stylesheetPrefix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7subjectE"] - pub static nsGkAtoms_subject: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6submitE"] - pub static nsGkAtoms_submit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8substateE"] - pub static nsGkAtoms_substate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9substringE"] - pub static nsGkAtoms_substring: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14substringAfterE"] - pub static nsGkAtoms_substringAfter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15substringBeforeE"] - pub static nsGkAtoms_substringBefore: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3subE"] - pub static nsGkAtoms_sub: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3sumE"] - pub static nsGkAtoms_sum: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3supE"] - pub static nsGkAtoms_sup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7summaryE"] - pub static nsGkAtoms_summary: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14systemPropertyE"] - pub static nsGkAtoms_systemProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3tabE"] - pub static nsGkAtoms_tab: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6tabboxE"] - pub static nsGkAtoms_tabbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8tabindexE"] - pub static nsGkAtoms_tabindex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5tableE"] - pub static nsGkAtoms_table: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8tabpanelE"] - pub static nsGkAtoms_tabpanel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9tabpanelsE"] - pub static nsGkAtoms_tabpanels: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3tagE"] - pub static nsGkAtoms_tag: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6targetE"] - pub static nsGkAtoms_target: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7targetsE"] - pub static nsGkAtoms_targets: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5tbodyE"] - pub static nsGkAtoms_tbody: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2tdE"] - pub static nsGkAtoms_td: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9_templateE"] - pub static nsGkAtoms__template: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15text_decorationE"] - pub static nsGkAtoms_text_decoration: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9terminateE"] - pub static nsGkAtoms_terminate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4termE"] - pub static nsGkAtoms_term: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4testE"] - pub static nsGkAtoms_test: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4textE"] - pub static nsGkAtoms_text: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9textAlignE"] - pub static nsGkAtoms_textAlign: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8textareaE"] - pub static nsGkAtoms_textarea: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7textboxE"] - pub static nsGkAtoms_textbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8textnodeE"] - pub static nsGkAtoms_textnode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25textNodeDirectionalityMapE"] - pub static nsGkAtoms_textNodeDirectionalityMap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5tfootE"] - pub static nsGkAtoms_tfoot: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2thE"] - pub static nsGkAtoms_th: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5theadE"] - pub static nsGkAtoms_thead: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5thumbE"] - pub static nsGkAtoms_thumb: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4timeE"] - pub static nsGkAtoms_time: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5titleE"] - pub static nsGkAtoms_title: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8titlebarE"] - pub static nsGkAtoms_titlebar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8titletipE"] - pub static nsGkAtoms_titletip: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7toggledE"] - pub static nsGkAtoms_toggled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5tokenE"] - pub static nsGkAtoms_token: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8tokenizeE"] - pub static nsGkAtoms_tokenize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7toolbarE"] - pub static nsGkAtoms_toolbar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13toolbarbuttonE"] - pub static nsGkAtoms_toolbarbutton: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11toolbaritemE"] - pub static nsGkAtoms_toolbaritem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7toolboxE"] - pub static nsGkAtoms_toolbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7tooltipE"] - pub static nsGkAtoms_tooltip: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11tooltiptextE"] - pub static nsGkAtoms_tooltiptext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3topE"] - pub static nsGkAtoms_top: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7topleftE"] - pub static nsGkAtoms_topleft: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9topmarginE"] - pub static nsGkAtoms_topmargin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10toppaddingE"] - pub static nsGkAtoms_toppadding: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8toprightE"] - pub static nsGkAtoms_topright: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2trE"] - pub static nsGkAtoms_tr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5trackE"] - pub static nsGkAtoms_track: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19trad_chinese_formalE"] - pub static nsGkAtoms_trad_chinese_formal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21trad_chinese_informalE"] - pub static nsGkAtoms_trad_chinese_informal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8trailingE"] - pub static nsGkAtoms_trailing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9transformE"] - pub static nsGkAtoms_transform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12transform_3dE"] - pub static nsGkAtoms_transform_3d: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12transformiixE"] - pub static nsGkAtoms_transformiix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9translateE"] - pub static nsGkAtoms_translate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11transparentE"] - pub static nsGkAtoms_transparent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4treeE"] - pub static nsGkAtoms_tree: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8treecellE"] - pub static nsGkAtoms_treecell: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12treechildrenE"] - pub static nsGkAtoms_treechildren: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7treecolE"] - pub static nsGkAtoms_treecol: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13treecolpickerE"] - pub static nsGkAtoms_treecolpicker: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8treecolsE"] - pub static nsGkAtoms_treecols: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8treeitemE"] - pub static nsGkAtoms_treeitem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7treerowE"] - pub static nsGkAtoms_treerow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13treeseparatorE"] - pub static nsGkAtoms_treeseparator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6tripleE"] - pub static nsGkAtoms_triple: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5_trueE"] - pub static nsGkAtoms__true: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2ttE"] - pub static nsGkAtoms_tt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3ttyE"] - pub static nsGkAtoms_tty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2tvE"] - pub static nsGkAtoms_tv: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4typeE"] - pub static nsGkAtoms_type: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13typemustmatchE"] - pub static nsGkAtoms_typemustmatch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1uE"] - pub static nsGkAtoms_u: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2ulE"] - pub static nsGkAtoms_ul: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9underflowE"] - pub static nsGkAtoms_underflow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12undeterminedE"] - pub static nsGkAtoms_undetermined: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6unloadE"] - pub static nsGkAtoms_unload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6unmuteE"] - pub static nsGkAtoms_unmute: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17unparsedEntityUriE"] - pub static nsGkAtoms_unparsedEntityUri: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10upperAlphaE"] - pub static nsGkAtoms_upperAlpha: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10upperFirstE"] - pub static nsGkAtoms_upperFirst: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10upperRomanE"] - pub static nsGkAtoms_upperRoman: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3uriE"] - pub static nsGkAtoms_uri: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3useE"] - pub static nsGkAtoms_use: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16useAttributeSetsE"] - pub static nsGkAtoms_useAttributeSets: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6usemapE"] - pub static nsGkAtoms_usemap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13user_scalableE"] - pub static nsGkAtoms_user_scalable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9userInputE"] - pub static nsGkAtoms_userInput: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8validateE"] - pub static nsGkAtoms_validate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6valignE"] - pub static nsGkAtoms_valign: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5valueE"] - pub static nsGkAtoms_value: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6valuesE"] - pub static nsGkAtoms_values: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7valueOfE"] - pub static nsGkAtoms_valueOf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9valuetypeE"] - pub static nsGkAtoms_valuetype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3varE"] - pub static nsGkAtoms_var: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8variableE"] - pub static nsGkAtoms_variable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4vboxE"] - pub static nsGkAtoms_vbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10vcard_nameE"] - pub static nsGkAtoms_vcard_name: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6vendorE"] - pub static nsGkAtoms_vendor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9vendorUrlE"] - pub static nsGkAtoms_vendorUrl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7versionE"] - pub static nsGkAtoms_version: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4vertE"] - pub static nsGkAtoms_vert: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8verticalE"] - pub static nsGkAtoms_vertical: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5audioE"] - pub static nsGkAtoms_audio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5videoE"] - pub static nsGkAtoms_video: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13videocontrolsE"] - pub static nsGkAtoms_videocontrols: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8viewportE"] - pub static nsGkAtoms_viewport: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15viewport_heightE"] - pub static nsGkAtoms_viewport_height: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22viewport_initial_scaleE"] - pub static nsGkAtoms_viewport_initial_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22viewport_maximum_scaleE"] - pub static nsGkAtoms_viewport_maximum_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22viewport_minimum_scaleE"] - pub static nsGkAtoms_viewport_minimum_scale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22viewport_user_scalableE"] - pub static nsGkAtoms_viewport_user_scalable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14viewport_widthE"] - pub static nsGkAtoms_viewport_width: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10visibilityE"] - pub static nsGkAtoms_visibility: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16visuallyselectedE"] - pub static nsGkAtoms_visuallyselected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5vlinkE"] - pub static nsGkAtoms_vlink: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6vspaceE"] - pub static nsGkAtoms_vspace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3wbrE"] - pub static nsGkAtoms_wbr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15webkitdirectoryE"] - pub static nsGkAtoms_webkitdirectory: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4whenE"] - pub static nsGkAtoms_when: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5whereE"] - pub static nsGkAtoms_where: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6widgetE"] - pub static nsGkAtoms_widget: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5widthE"] - pub static nsGkAtoms_width: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10willChangeE"] - pub static nsGkAtoms_willChange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6windowE"] - pub static nsGkAtoms_window: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18headerWindowTargetE"] - pub static nsGkAtoms_headerWindowTarget: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10windowtypeE"] - pub static nsGkAtoms_windowtype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9withParamE"] - pub static nsGkAtoms_withParam: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6wizardE"] - pub static nsGkAtoms_wizard: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4wrapE"] - pub static nsGkAtoms_wrap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24headerDNSPrefetchControlE"] - pub static nsGkAtoms_headerDNSPrefetchControl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9headerCSPE"] - pub static nsGkAtoms_headerCSP: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19headerCSPReportOnlyE"] - pub static nsGkAtoms_headerCSPReportOnly: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9headerXFOE"] - pub static nsGkAtoms_headerXFO: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9x_westernE"] - pub static nsGkAtoms_x_western: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3xmlE"] - pub static nsGkAtoms_xml: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14xml_stylesheetE"] - pub static nsGkAtoms_xml_stylesheet: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5xmlnsE"] - pub static nsGkAtoms_xmlns: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3xmpE"] - pub static nsGkAtoms_xmp: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20xulcontentsgeneratedE"] - pub static nsGkAtoms_xulcontentsgenerated: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3yesE"] - pub static nsGkAtoms_yes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7z_indexE"] - pub static nsGkAtoms_z_index: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9zeroDigitE"] - pub static nsGkAtoms_zeroDigit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10percentageE"] - pub static nsGkAtoms_percentage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1AE"] - pub static nsGkAtoms_A: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18alignment_baselineE"] - pub static nsGkAtoms_alignment_baseline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9amplitudeE"] - pub static nsGkAtoms_amplitude: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7animateE"] - pub static nsGkAtoms_animate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12animateColorE"] - pub static nsGkAtoms_animateColor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13animateMotionE"] - pub static nsGkAtoms_animateMotion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16animateTransformE"] - pub static nsGkAtoms_animateTransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10arithmeticE"] - pub static nsGkAtoms_arithmetic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4atopE"] - pub static nsGkAtoms_atop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7azimuthE"] - pub static nsGkAtoms_azimuth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1BE"] - pub static nsGkAtoms_B: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15backgroundColorE"] - pub static nsGkAtoms_backgroundColor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16background_imageE"] - pub static nsGkAtoms_background_image: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13baseFrequencyE"] - pub static nsGkAtoms_baseFrequency: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14baseline_shiftE"] - pub static nsGkAtoms_baseline_shift: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4biasE"] - pub static nsGkAtoms_bias: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12caption_sideE"] - pub static nsGkAtoms_caption_side: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9clip_pathE"] - pub static nsGkAtoms_clip_path: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9clip_ruleE"] - pub static nsGkAtoms_clip_rule: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8clipPathE"] - pub static nsGkAtoms_clipPath: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13clipPathUnitsE"] - pub static nsGkAtoms_clipPathUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2cmE"] - pub static nsGkAtoms_cm: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9colorBurnE"] - pub static nsGkAtoms_colorBurn: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10colorDodgeE"] - pub static nsGkAtoms_colorDodge: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18colorInterpolationE"] - pub static nsGkAtoms_colorInterpolation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25colorInterpolationFiltersE"] - pub static nsGkAtoms_colorInterpolationFilters: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11colorpickerE"] - pub static nsGkAtoms_colorpicker: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12colorProfileE"] - pub static nsGkAtoms_colorProfile: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6cursorE"] - pub static nsGkAtoms_cursor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2cxE"] - pub static nsGkAtoms_cx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2cyE"] - pub static nsGkAtoms_cy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1dE"] - pub static nsGkAtoms_d: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6darkenE"] - pub static nsGkAtoms_darken: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4defsE"] - pub static nsGkAtoms_defs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3degE"] - pub static nsGkAtoms_deg: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4descE"] - pub static nsGkAtoms_desc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15diffuseConstantE"] - pub static nsGkAtoms_diffuseConstant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6dilateE"] - pub static nsGkAtoms_dilate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9directionE"] - pub static nsGkAtoms_direction: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7disableE"] - pub static nsGkAtoms_disable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4discE"] - pub static nsGkAtoms_disc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8discreteE"] - pub static nsGkAtoms_discrete: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7divisorE"] - pub static nsGkAtoms_divisor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17dominant_baselineE"] - pub static nsGkAtoms_dominant_baseline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9duplicateE"] - pub static nsGkAtoms_duplicate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2dxE"] - pub static nsGkAtoms_dx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2dyE"] - pub static nsGkAtoms_dy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8edgeModeE"] - pub static nsGkAtoms_edgeMode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7ellipseE"] - pub static nsGkAtoms_ellipse: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9elevationE"] - pub static nsGkAtoms_elevation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5erodeE"] - pub static nsGkAtoms_erode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2exE"] - pub static nsGkAtoms_ex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5exactE"] - pub static nsGkAtoms_exact: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9exclusionE"] - pub static nsGkAtoms_exclusion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8exponentE"] - pub static nsGkAtoms_exponent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feBlendE"] - pub static nsGkAtoms_feBlend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13feColorMatrixE"] - pub static nsGkAtoms_feColorMatrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19feComponentTransferE"] - pub static nsGkAtoms_feComponentTransfer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11feCompositeE"] - pub static nsGkAtoms_feComposite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16feConvolveMatrixE"] - pub static nsGkAtoms_feConvolveMatrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17feDiffuseLightingE"] - pub static nsGkAtoms_feDiffuseLighting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17feDisplacementMapE"] - pub static nsGkAtoms_feDisplacementMap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14feDistantLightE"] - pub static nsGkAtoms_feDistantLight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12feDropShadowE"] - pub static nsGkAtoms_feDropShadow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feFloodE"] - pub static nsGkAtoms_feFlood: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feFuncAE"] - pub static nsGkAtoms_feFuncA: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feFuncBE"] - pub static nsGkAtoms_feFuncB: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feFuncGE"] - pub static nsGkAtoms_feFuncG: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feFuncRE"] - pub static nsGkAtoms_feFuncR: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14feGaussianBlurE"] - pub static nsGkAtoms_feGaussianBlur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feImageE"] - pub static nsGkAtoms_feImage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feMergeE"] - pub static nsGkAtoms_feMerge: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11feMergeNodeE"] - pub static nsGkAtoms_feMergeNode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12feMorphologyE"] - pub static nsGkAtoms_feMorphology: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8feOffsetE"] - pub static nsGkAtoms_feOffset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12fePointLightE"] - pub static nsGkAtoms_fePointLight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18feSpecularLightingE"] - pub static nsGkAtoms_feSpecularLighting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11feSpotLightE"] - pub static nsGkAtoms_feSpotLight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6feTileE"] - pub static nsGkAtoms_feTile: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12feTurbulenceE"] - pub static nsGkAtoms_feTurbulence: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4fillE"] - pub static nsGkAtoms_fill: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12fill_opacityE"] - pub static nsGkAtoms_fill_opacity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9fill_ruleE"] - pub static nsGkAtoms_fill_rule: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6filterE"] - pub static nsGkAtoms_filter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11filterUnitsE"] - pub static nsGkAtoms_filterUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6_floatE"] - pub static nsGkAtoms__float: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11flood_colorE"] - pub static nsGkAtoms_flood_color: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13flood_opacityE"] - pub static nsGkAtoms_flood_opacity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9font_faceE"] - pub static nsGkAtoms_font_face: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16font_face_formatE"] - pub static nsGkAtoms_font_face_format: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14font_face_nameE"] - pub static nsGkAtoms_font_face_name: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13font_face_srcE"] - pub static nsGkAtoms_font_face_src: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13font_face_uriE"] - pub static nsGkAtoms_font_face_uri: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11font_familyE"] - pub static nsGkAtoms_font_family: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9font_sizeE"] - pub static nsGkAtoms_font_size: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16font_size_adjustE"] - pub static nsGkAtoms_font_size_adjust: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12font_stretchE"] - pub static nsGkAtoms_font_stretch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10font_styleE"] - pub static nsGkAtoms_font_style: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12font_variantE"] - pub static nsGkAtoms_font_variant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13foreignObjectE"] - pub static nsGkAtoms_foreignObject: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12fractalNoiseE"] - pub static nsGkAtoms_fractalNoise: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2frE"] - pub static nsGkAtoms_fr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2fxE"] - pub static nsGkAtoms_fx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2fyE"] - pub static nsGkAtoms_fy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1GE"] - pub static nsGkAtoms_G: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1gE"] - pub static nsGkAtoms_g: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5gammaE"] - pub static nsGkAtoms_gamma: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8generic_E"] - pub static nsGkAtoms_generic_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8glyphRefE"] - pub static nsGkAtoms_glyphRef: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4gradE"] - pub static nsGkAtoms_grad: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17gradientTransformE"] - pub static nsGkAtoms_gradientTransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13gradientUnitsE"] - pub static nsGkAtoms_gradientUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9hardLightE"] - pub static nsGkAtoms_hardLight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3hueE"] - pub static nsGkAtoms_hue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9hueRotateE"] - pub static nsGkAtoms_hueRotate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8identityE"] - pub static nsGkAtoms_identity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15image_renderingE"] - pub static nsGkAtoms_image_rendering: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2inE"] - pub static nsGkAtoms_in: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3in2E"] - pub static nsGkAtoms_in2: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9interceptE"] - pub static nsGkAtoms_intercept: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2k1E"] - pub static nsGkAtoms_k1: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2k2E"] - pub static nsGkAtoms_k2: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2k3E"] - pub static nsGkAtoms_k3: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2k4E"] - pub static nsGkAtoms_k4: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12kernelMatrixE"] - pub static nsGkAtoms_kernelMatrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16kernelUnitLengthE"] - pub static nsGkAtoms_kernelUnitLength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12lengthAdjustE"] - pub static nsGkAtoms_lengthAdjust: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14letter_spacingE"] - pub static nsGkAtoms_letter_spacing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7lightenE"] - pub static nsGkAtoms_lighten: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14lighting_colorE"] - pub static nsGkAtoms_lighting_color: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17limitingConeAngleE"] - pub static nsGkAtoms_limitingConeAngle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6linearE"] - pub static nsGkAtoms_linear: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14linearGradientE"] - pub static nsGkAtoms_linearGradient: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9linearRGBE"] - pub static nsGkAtoms_linearRGB: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15list_style_typeE"] - pub static nsGkAtoms_list_style_type: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16luminanceToAlphaE"] - pub static nsGkAtoms_luminanceToAlpha: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10luminosityE"] - pub static nsGkAtoms_luminosity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7magnifyE"] - pub static nsGkAtoms_magnify: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6markerE"] - pub static nsGkAtoms_marker: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10marker_endE"] - pub static nsGkAtoms_marker_end: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10marker_midE"] - pub static nsGkAtoms_marker_mid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12marker_startE"] - pub static nsGkAtoms_marker_start: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12markerHeightE"] - pub static nsGkAtoms_markerHeight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11markerUnitsE"] - pub static nsGkAtoms_markerUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11markerWidthE"] - pub static nsGkAtoms_markerWidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4maskE"] - pub static nsGkAtoms_mask: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16maskContentUnitsE"] - pub static nsGkAtoms_maskContentUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mask_typeE"] - pub static nsGkAtoms_mask_type: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9maskUnitsE"] - pub static nsGkAtoms_maskUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6matrixE"] - pub static nsGkAtoms_matrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8metadataE"] - pub static nsGkAtoms_metadata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12missingGlyphE"] - pub static nsGkAtoms_missingGlyph: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2mmE"] - pub static nsGkAtoms_mm: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mpathE"] - pub static nsGkAtoms_mpath: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8noStitchE"] - pub static nsGkAtoms_noStitch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10numOctavesE"] - pub static nsGkAtoms_numOctaves: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8multiplyE"] - pub static nsGkAtoms_multiply: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17objectBoundingBoxE"] - pub static nsGkAtoms_objectBoundingBox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6offsetE"] - pub static nsGkAtoms_offset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onSVGLoadE"] - pub static nsGkAtoms_onSVGLoad: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onSVGResizeE"] - pub static nsGkAtoms_onSVGResize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onSVGScrollE"] - pub static nsGkAtoms_onSVGScroll: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onSVGUnloadE"] - pub static nsGkAtoms_onSVGUnload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onSVGZoomE"] - pub static nsGkAtoms_onSVGZoom: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onzoomE"] - pub static nsGkAtoms_onzoom: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7opacityE"] - pub static nsGkAtoms_opacity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9_operatorE"] - pub static nsGkAtoms__operator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3outE"] - pub static nsGkAtoms_out: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4overE"] - pub static nsGkAtoms_over: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms27overridePreserveAspectRatioE"] - pub static nsGkAtoms_overridePreserveAspectRatio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3padE"] - pub static nsGkAtoms_pad: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4pathE"] - pub static nsGkAtoms_path: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10pathLengthE"] - pub static nsGkAtoms_pathLength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19patternContentUnitsE"] - pub static nsGkAtoms_patternContentUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16patternTransformE"] - pub static nsGkAtoms_patternTransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12patternUnitsE"] - pub static nsGkAtoms_patternUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2pcE"] - pub static nsGkAtoms_pc: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14pointer_eventsE"] - pub static nsGkAtoms_pointer_events: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6pointsE"] - pub static nsGkAtoms_points: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointsAtXE"] - pub static nsGkAtoms_pointsAtX: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointsAtYE"] - pub static nsGkAtoms_pointsAtY: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointsAtZE"] - pub static nsGkAtoms_pointsAtZ: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8polylineE"] - pub static nsGkAtoms_polyline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13preserveAlphaE"] - pub static nsGkAtoms_preserveAlpha: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19preserveAspectRatioE"] - pub static nsGkAtoms_preserveAspectRatio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14primitiveUnitsE"] - pub static nsGkAtoms_primitiveUnits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2ptE"] - pub static nsGkAtoms_pt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2pxE"] - pub static nsGkAtoms_px: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1RE"] - pub static nsGkAtoms_R: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1rE"] - pub static nsGkAtoms_r: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3radE"] - pub static nsGkAtoms_rad: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14radialGradientE"] - pub static nsGkAtoms_radialGradient: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6radiusE"] - pub static nsGkAtoms_radius: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7reflectE"] - pub static nsGkAtoms_reflect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4refXE"] - pub static nsGkAtoms_refX: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4refYE"] - pub static nsGkAtoms_refY: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18requiredExtensionsE"] - pub static nsGkAtoms_requiredExtensions: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16requiredFeaturesE"] - pub static nsGkAtoms_requiredFeatures: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6rotateE"] - pub static nsGkAtoms_rotate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2rxE"] - pub static nsGkAtoms_rx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2ryE"] - pub static nsGkAtoms_ry: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8saturateE"] - pub static nsGkAtoms_saturate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10saturationE"] - pub static nsGkAtoms_saturation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3setE"] - pub static nsGkAtoms_set: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4seedE"] - pub static nsGkAtoms_seed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15shape_renderingE"] - pub static nsGkAtoms_shape_rendering: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16simpleScopeChainE"] - pub static nsGkAtoms_simpleScopeChain: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5skewXE"] - pub static nsGkAtoms_skewX: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5skewYE"] - pub static nsGkAtoms_skewY: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5slopeE"] - pub static nsGkAtoms_slope: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4slotE"] - pub static nsGkAtoms_slot: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9softLightE"] - pub static nsGkAtoms_softLight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7spacingE"] - pub static nsGkAtoms_spacing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16spacingAndGlyphsE"] - pub static nsGkAtoms_spacingAndGlyphs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16specularConstantE"] - pub static nsGkAtoms_specularConstant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16specularExponentE"] - pub static nsGkAtoms_specularExponent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12spreadMethodE"] - pub static nsGkAtoms_spreadMethod: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sRGBE"] - pub static nsGkAtoms_sRGB: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11startOffsetE"] - pub static nsGkAtoms_startOffset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12stdDeviationE"] - pub static nsGkAtoms_stdDeviation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6stitchE"] - pub static nsGkAtoms_stitch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11stitchTilesE"] - pub static nsGkAtoms_stitchTiles: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10stop_colorE"] - pub static nsGkAtoms_stop_color: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12stop_opacityE"] - pub static nsGkAtoms_stop_opacity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6strokeE"] - pub static nsGkAtoms_stroke: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16stroke_dasharrayE"] - pub static nsGkAtoms_stroke_dasharray: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17stroke_dashoffsetE"] - pub static nsGkAtoms_stroke_dashoffset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14stroke_linecapE"] - pub static nsGkAtoms_stroke_linecap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15stroke_linejoinE"] - pub static nsGkAtoms_stroke_linejoin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17stroke_miterlimitE"] - pub static nsGkAtoms_stroke_miterlimit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14stroke_opacityE"] - pub static nsGkAtoms_stroke_opacity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12stroke_widthE"] - pub static nsGkAtoms_stroke_width: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11strokeWidthE"] - pub static nsGkAtoms_strokeWidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12surfaceScaleE"] - pub static nsGkAtoms_surfaceScale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3svgE"] - pub static nsGkAtoms_svg: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15svgContextPaintE"] - pub static nsGkAtoms_svgContextPaint: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9svgSwitchE"] - pub static nsGkAtoms_svgSwitch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6symbolE"] - pub static nsGkAtoms_symbol: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14systemLanguageE"] - pub static nsGkAtoms_systemLanguage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11tableValuesE"] - pub static nsGkAtoms_tableValues: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7targetXE"] - pub static nsGkAtoms_targetX: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7targetYE"] - pub static nsGkAtoms_targetY: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11text_anchorE"] - pub static nsGkAtoms_text_anchor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14text_renderingE"] - pub static nsGkAtoms_text_rendering: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10textLengthE"] - pub static nsGkAtoms_textLength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8textPathE"] - pub static nsGkAtoms_textPath: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4trefE"] - pub static nsGkAtoms_tref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5tspanE"] - pub static nsGkAtoms_tspan: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10turbulenceE"] - pub static nsGkAtoms_turbulence: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12unicode_bidiE"] - pub static nsGkAtoms_unicode_bidi: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14userSpaceOnUseE"] - pub static nsGkAtoms_userSpaceOnUse: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4viewE"] - pub static nsGkAtoms_view: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7viewBoxE"] - pub static nsGkAtoms_viewBox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10viewTargetE"] - pub static nsGkAtoms_viewTarget: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11white_spaceE"] - pub static nsGkAtoms_white_space: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12word_spacingE"] - pub static nsGkAtoms_word_spacing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12writing_modeE"] - pub static nsGkAtoms_writing_mode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1xE"] - pub static nsGkAtoms_x: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2x1E"] - pub static nsGkAtoms_x1: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2x2E"] - pub static nsGkAtoms_x2: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16xChannelSelectorE"] - pub static nsGkAtoms_xChannelSelector: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4xor_E"] - pub static nsGkAtoms_xor_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1yE"] - pub static nsGkAtoms_y: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2y1E"] - pub static nsGkAtoms_y1: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2y2E"] - pub static nsGkAtoms_y2: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16yChannelSelectorE"] - pub static nsGkAtoms_yChannelSelector: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms1zE"] - pub static nsGkAtoms_z: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10zoomAndPanE"] - pub static nsGkAtoms_zoomAndPan: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13vector_effectE"] - pub static nsGkAtoms_vector_effect: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14vertical_alignE"] - pub static nsGkAtoms_vertical_align: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10accumulateE"] - pub static nsGkAtoms_accumulate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8additiveE"] - pub static nsGkAtoms_additive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13attributeNameE"] - pub static nsGkAtoms_attributeName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13attributeTypeE"] - pub static nsGkAtoms_attributeType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12auto_reverseE"] - pub static nsGkAtoms_auto_reverse: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5beginE"] - pub static nsGkAtoms_begin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10beginEventE"] - pub static nsGkAtoms_beginEvent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2byE"] - pub static nsGkAtoms_by: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8calcModeE"] - pub static nsGkAtoms_calcMode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3cssE"] - pub static nsGkAtoms_css: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3durE"] - pub static nsGkAtoms_dur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9keyPointsE"] - pub static nsGkAtoms_keyPoints: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10keySplinesE"] - pub static nsGkAtoms_keySplines: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8keyTimesE"] - pub static nsGkAtoms_keyTimes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25mozAnimateMotionDummyAttrE"] - pub static nsGkAtoms_mozAnimateMotionDummyAttr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onbeginE"] - pub static nsGkAtoms_onbegin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onbeginEventE"] - pub static nsGkAtoms_onbeginEvent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5onendE"] - pub static nsGkAtoms_onend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onendEventE"] - pub static nsGkAtoms_onendEvent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onrepeatE"] - pub static nsGkAtoms_onrepeat: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onrepeatEventE"] - pub static nsGkAtoms_onrepeatEvent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11repeatCountE"] - pub static nsGkAtoms_repeatCount: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9repeatDurE"] - pub static nsGkAtoms_repeatDur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11repeatEventE"] - pub static nsGkAtoms_repeatEvent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7restartE"] - pub static nsGkAtoms_restart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2toE"] - pub static nsGkAtoms_to: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3XMLE"] - pub static nsGkAtoms_XML: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4abs_E"] - pub static nsGkAtoms_abs_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7accent_E"] - pub static nsGkAtoms_accent_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12accentunder_E"] - pub static nsGkAtoms_accentunder_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11actiontype_E"] - pub static nsGkAtoms_actiontype_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15alignmentscope_E"] - pub static nsGkAtoms_alignmentscope_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7altimg_E"] - pub static nsGkAtoms_altimg_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14altimg_height_E"] - pub static nsGkAtoms_altimg_height_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14altimg_valign_E"] - pub static nsGkAtoms_altimg_valign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13altimg_width_E"] - pub static nsGkAtoms_altimg_width_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11annotation_E"] - pub static nsGkAtoms_annotation_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15annotation_xml_E"] - pub static nsGkAtoms_annotation_xml_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6apply_E"] - pub static nsGkAtoms_apply_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7approx_E"] - pub static nsGkAtoms_approx_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arccos_E"] - pub static nsGkAtoms_arccos_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8arccosh_E"] - pub static nsGkAtoms_arccosh_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arccot_E"] - pub static nsGkAtoms_arccot_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8arccoth_E"] - pub static nsGkAtoms_arccoth_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arccsc_E"] - pub static nsGkAtoms_arccsc_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8arccsch_E"] - pub static nsGkAtoms_arccsch_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arcsec_E"] - pub static nsGkAtoms_arcsec_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8arcsech_E"] - pub static nsGkAtoms_arcsech_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arcsin_E"] - pub static nsGkAtoms_arcsin_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8arcsinh_E"] - pub static nsGkAtoms_arcsinh_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arctan_E"] - pub static nsGkAtoms_arctan_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8arctanh_E"] - pub static nsGkAtoms_arctanh_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4arg_E"] - pub static nsGkAtoms_arg_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9bevelled_E"] - pub static nsGkAtoms_bevelled_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5bind_E"] - pub static nsGkAtoms_bind_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5bvar_E"] - pub static nsGkAtoms_bvar_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5card_E"] - pub static nsGkAtoms_card_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17cartesianproduct_E"] - pub static nsGkAtoms_cartesianproduct_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7cbytes_E"] - pub static nsGkAtoms_cbytes_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3cd_E"] - pub static nsGkAtoms_cd_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8cdgroup_E"] - pub static nsGkAtoms_cdgroup_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7cerror_E"] - pub static nsGkAtoms_cerror_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10charalign_E"] - pub static nsGkAtoms_charalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3ci_E"] - pub static nsGkAtoms_ci_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8closure_E"] - pub static nsGkAtoms_closure_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3cn_E"] - pub static nsGkAtoms_cn_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9codomain_E"] - pub static nsGkAtoms_codomain_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12columnalign_E"] - pub static nsGkAtoms_columnalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16columnalignment_E"] - pub static nsGkAtoms_columnalignment_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12columnlines_E"] - pub static nsGkAtoms_columnlines_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14columnspacing_E"] - pub static nsGkAtoms_columnspacing_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11columnspan_E"] - pub static nsGkAtoms_columnspan_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12columnwidth_E"] - pub static nsGkAtoms_columnwidth_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10complexes_E"] - pub static nsGkAtoms_complexes_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8compose_E"] - pub static nsGkAtoms_compose_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10condition_E"] - pub static nsGkAtoms_condition_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10conjugate_E"] - pub static nsGkAtoms_conjugate_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4cos_E"] - pub static nsGkAtoms_cos_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5cosh_E"] - pub static nsGkAtoms_cosh_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4cot_E"] - pub static nsGkAtoms_cot_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5coth_E"] - pub static nsGkAtoms_coth_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9crossout_E"] - pub static nsGkAtoms_crossout_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4csc_E"] - pub static nsGkAtoms_csc_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5csch_E"] - pub static nsGkAtoms_csch_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3cs_E"] - pub static nsGkAtoms_cs_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8csymbol_E"] - pub static nsGkAtoms_csymbol_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5curl_E"] - pub static nsGkAtoms_curl_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13decimalpoint_E"] - pub static nsGkAtoms_decimalpoint_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14definitionURL_E"] - pub static nsGkAtoms_definitionURL_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7degree_E"] - pub static nsGkAtoms_degree_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11denomalign_E"] - pub static nsGkAtoms_denomalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6depth_E"] - pub static nsGkAtoms_depth_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12determinant_E"] - pub static nsGkAtoms_determinant_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5diff_E"] - pub static nsGkAtoms_diff_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13displaystyle_E"] - pub static nsGkAtoms_displaystyle_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11divergence_E"] - pub static nsGkAtoms_divergence_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7divide_E"] - pub static nsGkAtoms_divide_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7domain_E"] - pub static nsGkAtoms_domain_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20domainofapplication_E"] - pub static nsGkAtoms_domainofapplication_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5edge_E"] - pub static nsGkAtoms_edge_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2elE"] - pub static nsGkAtoms_el: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9emptyset_E"] - pub static nsGkAtoms_emptyset_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3eq_E"] - pub static nsGkAtoms_eq_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13equalcolumns_E"] - pub static nsGkAtoms_equalcolumns_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10equalrows_E"] - pub static nsGkAtoms_equalrows_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11equivalent_E"] - pub static nsGkAtoms_equivalent_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11eulergamma_E"] - pub static nsGkAtoms_eulergamma_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7exists_E"] - pub static nsGkAtoms_exists_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4exp_E"] - pub static nsGkAtoms_exp_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13exponentiale_E"] - pub static nsGkAtoms_exponentiale_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10factorial_E"] - pub static nsGkAtoms_factorial_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9factorof_E"] - pub static nsGkAtoms_factorof_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6fence_E"] - pub static nsGkAtoms_fence_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3fn_E"] - pub static nsGkAtoms_fn_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11fontfamily_E"] - pub static nsGkAtoms_fontfamily_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9fontsize_E"] - pub static nsGkAtoms_fontsize_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10fontstyle_E"] - pub static nsGkAtoms_fontstyle_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11fontweight_E"] - pub static nsGkAtoms_fontweight_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7forall_E"] - pub static nsGkAtoms_forall_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13framespacing_E"] - pub static nsGkAtoms_framespacing_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4gcd_E"] - pub static nsGkAtoms_gcd_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4geq_E"] - pub static nsGkAtoms_geq_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11groupalign_E"] - pub static nsGkAtoms_groupalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3gt_E"] - pub static nsGkAtoms_gt_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ident_E"] - pub static nsGkAtoms_ident_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11imaginaryi_E"] - pub static nsGkAtoms_imaginaryi_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10imaginary_E"] - pub static nsGkAtoms_imaginary_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8implies_E"] - pub static nsGkAtoms_implies_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17indentalignfirst_E"] - pub static nsGkAtoms_indentalignfirst_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12indentalign_E"] - pub static nsGkAtoms_indentalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16indentalignlast_E"] - pub static nsGkAtoms_indentalignlast_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17indentshiftfirst_E"] - pub static nsGkAtoms_indentshiftfirst_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12indentshift_E"] - pub static nsGkAtoms_indentshift_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13indenttarget_E"] - pub static nsGkAtoms_indenttarget_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9integers_E"] - pub static nsGkAtoms_integers_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10intersect_E"] - pub static nsGkAtoms_intersect_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9interval_E"] - pub static nsGkAtoms_interval_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4int_E"] - pub static nsGkAtoms_int_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8inverse_E"] - pub static nsGkAtoms_inverse_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7lambda_E"] - pub static nsGkAtoms_lambda_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10laplacian_E"] - pub static nsGkAtoms_laplacian_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8largeop_E"] - pub static nsGkAtoms_largeop_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4lcm_E"] - pub static nsGkAtoms_lcm_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4leq_E"] - pub static nsGkAtoms_leq_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6limit_E"] - pub static nsGkAtoms_limit_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10linebreak_E"] - pub static nsGkAtoms_linebreak_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18linebreakmultchar_E"] - pub static nsGkAtoms_linebreakmultchar_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15linebreakstyle_E"] - pub static nsGkAtoms_linebreakstyle_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14linethickness_E"] - pub static nsGkAtoms_linethickness_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5list_E"] - pub static nsGkAtoms_list_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3ln_E"] - pub static nsGkAtoms_ln_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9location_E"] - pub static nsGkAtoms_location_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8logbase_E"] - pub static nsGkAtoms_logbase_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4log_E"] - pub static nsGkAtoms_log_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13longdivstyle_E"] - pub static nsGkAtoms_longdivstyle_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9lowlimit_E"] - pub static nsGkAtoms_lowlimit_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7lquote_E"] - pub static nsGkAtoms_lquote_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7lspace_E"] - pub static nsGkAtoms_lspace_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3lt_E"] - pub static nsGkAtoms_lt_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8maction_E"] - pub static nsGkAtoms_maction_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12maligngroup_E"] - pub static nsGkAtoms_maligngroup_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11malignmark_E"] - pub static nsGkAtoms_malignmark_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15mathbackground_E"] - pub static nsGkAtoms_mathbackground_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10mathcolor_E"] - pub static nsGkAtoms_mathcolor_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mathsize_E"] - pub static nsGkAtoms_mathsize_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12mathvariant_E"] - pub static nsGkAtoms_mathvariant_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10matrixrow_E"] - pub static nsGkAtoms_matrixrow_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8maxsize_E"] - pub static nsGkAtoms_maxsize_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mean_E"] - pub static nsGkAtoms_mean_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7median_E"] - pub static nsGkAtoms_median_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9menclose_E"] - pub static nsGkAtoms_menclose_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7merror_E"] - pub static nsGkAtoms_merror_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mfenced_E"] - pub static nsGkAtoms_mfenced_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6mfrac_E"] - pub static nsGkAtoms_mfrac_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7mglyph_E"] - pub static nsGkAtoms_mglyph_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3mi_E"] - pub static nsGkAtoms_mi_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16minlabelspacing_E"] - pub static nsGkAtoms_minlabelspacing_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8minsize_E"] - pub static nsGkAtoms_minsize_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6minus_E"] - pub static nsGkAtoms_minus_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11mlabeledtr_E"] - pub static nsGkAtoms_mlabeledtr_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mlongdiv_E"] - pub static nsGkAtoms_mlongdiv_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14mmultiscripts_E"] - pub static nsGkAtoms_mmultiscripts_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3mn_E"] - pub static nsGkAtoms_mn_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12momentabout_E"] - pub static nsGkAtoms_momentabout_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7moment_E"] - pub static nsGkAtoms_moment_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3mo_E"] - pub static nsGkAtoms_mo_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14movablelimits_E"] - pub static nsGkAtoms_movablelimits_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6mover_E"] - pub static nsGkAtoms_mover_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mpadded_E"] - pub static nsGkAtoms_mpadded_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9mphantom_E"] - pub static nsGkAtoms_mphantom_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12mprescripts_E"] - pub static nsGkAtoms_mprescripts_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6mroot_E"] - pub static nsGkAtoms_mroot_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5mrow_E"] - pub static nsGkAtoms_mrow_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10mscarries_E"] - pub static nsGkAtoms_mscarries_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mscarry_E"] - pub static nsGkAtoms_mscarry_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8msgroup_E"] - pub static nsGkAtoms_msgroup_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7msline_E"] - pub static nsGkAtoms_msline_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3ms_E"] - pub static nsGkAtoms_ms_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7mspace_E"] - pub static nsGkAtoms_mspace_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6msqrt_E"] - pub static nsGkAtoms_msqrt_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6msrow_E"] - pub static nsGkAtoms_msrow_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7mstack_E"] - pub static nsGkAtoms_mstack_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7mstyle_E"] - pub static nsGkAtoms_mstyle_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5msub_E"] - pub static nsGkAtoms_msub_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8msubsup_E"] - pub static nsGkAtoms_msubsup_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5msup_E"] - pub static nsGkAtoms_msup_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7mtable_E"] - pub static nsGkAtoms_mtable_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4mtd_E"] - pub static nsGkAtoms_mtd_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6mtext_E"] - pub static nsGkAtoms_mtext_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4mtr_E"] - pub static nsGkAtoms_mtr_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7munder_E"] - pub static nsGkAtoms_munder_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11munderover_E"] - pub static nsGkAtoms_munderover_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15naturalnumbers_E"] - pub static nsGkAtoms_naturalnumbers_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4neq_E"] - pub static nsGkAtoms_neq_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11notanumber_E"] - pub static nsGkAtoms_notanumber_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9notation_E"] - pub static nsGkAtoms_notation_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5note_E"] - pub static nsGkAtoms_note_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6notin_E"] - pub static nsGkAtoms_notin_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12notprsubset_E"] - pub static nsGkAtoms_notprsubset_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10notsubset_E"] - pub static nsGkAtoms_notsubset_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9numalign_E"] - pub static nsGkAtoms_numalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5otherE"] - pub static nsGkAtoms_other: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13outerproduct_E"] - pub static nsGkAtoms_outerproduct_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12partialdiff_E"] - pub static nsGkAtoms_partialdiff_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6piece_E"] - pub static nsGkAtoms_piece_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10piecewise_E"] - pub static nsGkAtoms_piecewise_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3pi_E"] - pub static nsGkAtoms_pi_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5plus_E"] - pub static nsGkAtoms_plus_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6power_E"] - pub static nsGkAtoms_power_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7primes_E"] - pub static nsGkAtoms_primes_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8product_E"] - pub static nsGkAtoms_product_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9prsubset_E"] - pub static nsGkAtoms_prsubset_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9quotient_E"] - pub static nsGkAtoms_quotient_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10rationals_E"] - pub static nsGkAtoms_rationals_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5real_E"] - pub static nsGkAtoms_real_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6reals_E"] - pub static nsGkAtoms_reals_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5reln_E"] - pub static nsGkAtoms_reln_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5root_E"] - pub static nsGkAtoms_root_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9rowalign_E"] - pub static nsGkAtoms_rowalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9rowlines_E"] - pub static nsGkAtoms_rowlines_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11rowspacing_E"] - pub static nsGkAtoms_rowspacing_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7rquote_E"] - pub static nsGkAtoms_rquote_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7rspace_E"] - pub static nsGkAtoms_rspace_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14scalarproduct_E"] - pub static nsGkAtoms_scalarproduct_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15schemaLocation_E"] - pub static nsGkAtoms_schemaLocation_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12scriptlevel_E"] - pub static nsGkAtoms_scriptlevel_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14scriptminsize_E"] - pub static nsGkAtoms_scriptminsize_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21scriptsizemultiplier_E"] - pub static nsGkAtoms_scriptsizemultiplier_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11scriptsize_E"] - pub static nsGkAtoms_scriptsize_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5sdev_E"] - pub static nsGkAtoms_sdev_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5sech_E"] - pub static nsGkAtoms_sech_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sec_E"] - pub static nsGkAtoms_sec_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10selection_E"] - pub static nsGkAtoms_selection_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9selector_E"] - pub static nsGkAtoms_selector_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10semantics_E"] - pub static nsGkAtoms_semantics_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10separator_E"] - pub static nsGkAtoms_separator_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11separators_E"] - pub static nsGkAtoms_separators_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sep_E"] - pub static nsGkAtoms_sep_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8setdiff_E"] - pub static nsGkAtoms_setdiff_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6share_E"] - pub static nsGkAtoms_share_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6shift_E"] - pub static nsGkAtoms_shift_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5side_E"] - pub static nsGkAtoms_side_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5sinh_E"] - pub static nsGkAtoms_sinh_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4sin_E"] - pub static nsGkAtoms_sin_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11stackalign_E"] - pub static nsGkAtoms_stackalign_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9stretchy_E"] - pub static nsGkAtoms_stretchy_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15subscriptshift_E"] - pub static nsGkAtoms_subscriptshift_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7subset_E"] - pub static nsGkAtoms_subset_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17superscriptshift_E"] - pub static nsGkAtoms_superscriptshift_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10symmetric_E"] - pub static nsGkAtoms_symmetric_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5tanh_E"] - pub static nsGkAtoms_tanh_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4tan_E"] - pub static nsGkAtoms_tan_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8tendsto_E"] - pub static nsGkAtoms_tendsto_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6times_E"] - pub static nsGkAtoms_times_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10transpose_E"] - pub static nsGkAtoms_transpose_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6union_E"] - pub static nsGkAtoms_union_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8uplimit_E"] - pub static nsGkAtoms_uplimit_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9variance_E"] - pub static nsGkAtoms_variance_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14vectorproduct_E"] - pub static nsGkAtoms_vectorproduct_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7vector_E"] - pub static nsGkAtoms_vector_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8voffset_E"] - pub static nsGkAtoms_voffset_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5xref_E"] - pub static nsGkAtoms_xref_: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4mathE"] - pub static nsGkAtoms_math: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3avgE"] - pub static nsGkAtoms_avg: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17booleanFromStringE"] - pub static nsGkAtoms_booleanFromString: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13countNonEmptyE"] - pub static nsGkAtoms_countNonEmpty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12daysFromDateE"] - pub static nsGkAtoms_daysFromDate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4initE"] - pub static nsGkAtoms_init: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8instanceE"] - pub static nsGkAtoms_instance: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6monthsE"] - pub static nsGkAtoms_months: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3nowE"] - pub static nsGkAtoms_now: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7secondsE"] - pub static nsGkAtoms_seconds: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19secondsFromDateTimeE"] - pub static nsGkAtoms_secondsFromDateTime: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25onMozSwipeGestureMayStartE"] - pub static nsGkAtoms_onMozSwipeGestureMayStart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onMozSwipeGestureStartE"] - pub static nsGkAtoms_onMozSwipeGestureStart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23onMozSwipeGestureUpdateE"] - pub static nsGkAtoms_onMozSwipeGestureUpdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onMozSwipeGestureEndE"] - pub static nsGkAtoms_onMozSwipeGestureEnd: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onMozSwipeGestureE"] - pub static nsGkAtoms_onMozSwipeGesture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onMozMagnifyGestureStartE"] - pub static nsGkAtoms_onMozMagnifyGestureStart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25onMozMagnifyGestureUpdateE"] - pub static nsGkAtoms_onMozMagnifyGestureUpdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onMozMagnifyGestureE"] - pub static nsGkAtoms_onMozMagnifyGesture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23onMozRotateGestureStartE"] - pub static nsGkAtoms_onMozRotateGestureStart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24onMozRotateGestureUpdateE"] - pub static nsGkAtoms_onMozRotateGestureUpdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onMozRotateGestureE"] - pub static nsGkAtoms_onMozRotateGesture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onMozTapGestureE"] - pub static nsGkAtoms_onMozTapGesture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onMozPressTapGestureE"] - pub static nsGkAtoms_onMozPressTapGesture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18onMozEdgeUIStartedE"] - pub static nsGkAtoms_onMozEdgeUIStarted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onMozEdgeUICanceledE"] - pub static nsGkAtoms_onMozEdgeUICanceled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onMozEdgeUICompletedE"] - pub static nsGkAtoms_onMozEdgeUICompleted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onpointerdownE"] - pub static nsGkAtoms_onpointerdown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onpointermoveE"] - pub static nsGkAtoms_onpointermove: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onpointerupE"] - pub static nsGkAtoms_onpointerup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onpointercancelE"] - pub static nsGkAtoms_onpointercancel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onpointeroverE"] - pub static nsGkAtoms_onpointerover: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onpointeroutE"] - pub static nsGkAtoms_onpointerout: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onpointerenterE"] - pub static nsGkAtoms_onpointerenter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onpointerleaveE"] - pub static nsGkAtoms_onpointerleave: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19ongotpointercaptureE"] - pub static nsGkAtoms_ongotpointercapture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onlostpointercaptureE"] - pub static nsGkAtoms_onlostpointercapture: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14ondevicemotionE"] - pub static nsGkAtoms_ondevicemotion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19ondeviceorientationE"] - pub static nsGkAtoms_ondeviceorientation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms27onabsolutedeviceorientationE"] - pub static nsGkAtoms_onabsolutedeviceorientation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17ondeviceproximityE"] - pub static nsGkAtoms_ondeviceproximity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22onmozorientationchangeE"] - pub static nsGkAtoms_onmozorientationchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onuserproximityE"] - pub static nsGkAtoms_onuserproximity: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13ondevicelightE"] - pub static nsGkAtoms_ondevicelight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14ondevicechangeE"] - pub static nsGkAtoms_ondevicechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13moz_extensionE"] - pub static nsGkAtoms_moz_extension: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18all_urlsPermissionE"] - pub static nsGkAtoms_all_urlsPermission: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13clipboardReadE"] - pub static nsGkAtoms_clipboardRead: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14clipboardWriteE"] - pub static nsGkAtoms_clipboardWrite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8debuggerE"] - pub static nsGkAtoms_debugger: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4tabsE"] - pub static nsGkAtoms_tabs: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18webRequestBlockingE"] - pub static nsGkAtoms_webRequestBlocking: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4httpE"] - pub static nsGkAtoms_http: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5httpsE"] - pub static nsGkAtoms_https: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5proxyE"] - pub static nsGkAtoms_proxy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12cdataTagNameE"] - pub static nsGkAtoms_cdataTagName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14commentTagNameE"] - pub static nsGkAtoms_commentTagName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16documentNodeNameE"] - pub static nsGkAtoms_documentNodeName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24documentFragmentNodeNameE"] - pub static nsGkAtoms_documentFragmentNodeName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20documentTypeNodeNameE"] - pub static nsGkAtoms_documentTypeNodeName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28processingInstructionTagNameE"] - pub static nsGkAtoms_processingInstructionTagName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11textTagNameE"] - pub static nsGkAtoms_textTagName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16placeholderFrameE"] - pub static nsGkAtoms_placeholderFrame: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onloadendE"] - pub static nsGkAtoms_onloadend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onloadstartE"] - pub static nsGkAtoms_onloadstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onprogressE"] - pub static nsGkAtoms_onprogress: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onsuspendE"] - pub static nsGkAtoms_onsuspend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onemptiedE"] - pub static nsGkAtoms_onemptied: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onstalledE"] - pub static nsGkAtoms_onstalled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onplayE"] - pub static nsGkAtoms_onplay: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onpauseE"] - pub static nsGkAtoms_onpause: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16onloadedmetadataE"] - pub static nsGkAtoms_onloadedmetadata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onloadeddataE"] - pub static nsGkAtoms_onloadeddata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onwaitingE"] - pub static nsGkAtoms_onwaiting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onplayingE"] - pub static nsGkAtoms_onplaying: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9oncanplayE"] - pub static nsGkAtoms_oncanplay: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16oncanplaythroughE"] - pub static nsGkAtoms_oncanplaythrough: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onseekingE"] - pub static nsGkAtoms_onseeking: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onseekedE"] - pub static nsGkAtoms_onseeked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9ontimeoutE"] - pub static nsGkAtoms_ontimeout: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12ontimeupdateE"] - pub static nsGkAtoms_ontimeupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onendedE"] - pub static nsGkAtoms_onended: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onratechangeE"] - pub static nsGkAtoms_onratechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16ondurationchangeE"] - pub static nsGkAtoms_ondurationchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onvolumechangeE"] - pub static nsGkAtoms_onvolumechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onaddtrackE"] - pub static nsGkAtoms_onaddtrack: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18oncontrollerchangeE"] - pub static nsGkAtoms_oncontrollerchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11oncuechangeE"] - pub static nsGkAtoms_oncuechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onenterE"] - pub static nsGkAtoms_onenter: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onexitE"] - pub static nsGkAtoms_onexit: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onencryptedE"] - pub static nsGkAtoms_onencrypted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9encryptedE"] - pub static nsGkAtoms_encrypted: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15onwaitingforkeyE"] - pub static nsGkAtoms_onwaitingforkey: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19onkeystatuseschangeE"] - pub static nsGkAtoms_onkeystatuseschange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onremovetrackE"] - pub static nsGkAtoms_onremovetrack: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9loadstartE"] - pub static nsGkAtoms_loadstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7suspendE"] - pub static nsGkAtoms_suspend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7emptiedE"] - pub static nsGkAtoms_emptied: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7stalledE"] - pub static nsGkAtoms_stalled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4playE"] - pub static nsGkAtoms_play: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5pauseE"] - pub static nsGkAtoms_pause: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14loadedmetadataE"] - pub static nsGkAtoms_loadedmetadata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10loadeddataE"] - pub static nsGkAtoms_loadeddata: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7waitingE"] - pub static nsGkAtoms_waiting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7playingE"] - pub static nsGkAtoms_playing: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7seekingE"] - pub static nsGkAtoms_seeking: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6seekedE"] - pub static nsGkAtoms_seeked: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10timeupdateE"] - pub static nsGkAtoms_timeupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5endedE"] - pub static nsGkAtoms_ended: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7canplayE"] - pub static nsGkAtoms_canplay: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14canplaythroughE"] - pub static nsGkAtoms_canplaythrough: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10ratechangeE"] - pub static nsGkAtoms_ratechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14durationchangeE"] - pub static nsGkAtoms_durationchange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12volumechangeE"] - pub static nsGkAtoms_volumechange: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15ondataavailableE"] - pub static nsGkAtoms_ondataavailable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onwarningE"] - pub static nsGkAtoms_onwarning: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onstartE"] - pub static nsGkAtoms_onstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onstopE"] - pub static nsGkAtoms_onstop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7onphotoE"] - pub static nsGkAtoms_onphoto: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onactivestatechangedE"] - pub static nsGkAtoms_onactivestatechanged: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19ongamepadbuttondownE"] - pub static nsGkAtoms_ongamepadbuttondown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17ongamepadbuttonupE"] - pub static nsGkAtoms_ongamepadbuttonup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17ongamepadaxismoveE"] - pub static nsGkAtoms_ongamepadaxismove: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18ongamepadconnectedE"] - pub static nsGkAtoms_ongamepadconnected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21ongamepaddisconnectedE"] - pub static nsGkAtoms_ongamepaddisconnected: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19afterPseudoPropertyE"] - pub static nsGkAtoms_afterPseudoProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18animationsPropertyE"] - pub static nsGkAtoms_animationsProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26animationsOfBeforePropertyE"] - pub static nsGkAtoms_animationsOfBeforeProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25animationsOfAfterPropertyE"] - pub static nsGkAtoms_animationsOfAfterProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24animationEffectsPropertyE"] - pub static nsGkAtoms_animationEffectsProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms33animationEffectsForBeforePropertyE"] - pub static nsGkAtoms_animationEffectsForBeforeProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms32animationEffectsForAfterPropertyE"] - pub static nsGkAtoms_animationEffectsForAfterProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20beforePseudoPropertyE"] - pub static nsGkAtoms_beforePseudoProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms30cssPseudoElementBeforePropertyE"] - pub static nsGkAtoms_cssPseudoElementBeforeProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms29cssPseudoElementAfterPropertyE"] - pub static nsGkAtoms_cssPseudoElementAfterProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19transitionsPropertyE"] - pub static nsGkAtoms_transitionsProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms27transitionsOfBeforePropertyE"] - pub static nsGkAtoms_transitionsOfBeforeProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26transitionsOfAfterPropertyE"] - pub static nsGkAtoms_transitionsOfAfterProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25genConInitializerPropertyE"] - pub static nsGkAtoms_genConInitializerProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24labelMouseDownPtPropertyE"] - pub static nsGkAtoms_labelMouseDownPtProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17lockedStyleStatesE"] - pub static nsGkAtoms_lockedStyleStates: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20apzCallbackTransformE"] - pub static nsGkAtoms_apzCallbackTransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23restylableAnonymousNodeE"] - pub static nsGkAtoms_restylableAnonymousNode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms30docLevelNativeAnonymousContentE"] - pub static nsGkAtoms_docLevelNativeAnonymousContent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16paintRequestTimeE"] - pub static nsGkAtoms_paintRequestTime: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14pseudoPropertyE"] - pub static nsGkAtoms_pseudoProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17manualNACPropertyE"] - pub static nsGkAtoms_manualNACProperty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8JapaneseE"] - pub static nsGkAtoms_Japanese: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7ChineseE"] - pub static nsGkAtoms_Chinese: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9TaiwaneseE"] - pub static nsGkAtoms_Taiwanese: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15HongKongChineseE"] - pub static nsGkAtoms_HongKongChinese: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7UnicodeE"] - pub static nsGkAtoms_Unicode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2koE"] - pub static nsGkAtoms_ko: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5zh_cnE"] - pub static nsGkAtoms_zh_cn: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5zh_hkE"] - pub static nsGkAtoms_zh_hk: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5zh_twE"] - pub static nsGkAtoms_zh_tw: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10x_cyrillicE"] - pub static nsGkAtoms_x_cyrillic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2heE"] - pub static nsGkAtoms_he: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2arE"] - pub static nsGkAtoms_ar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12x_devanagariE"] - pub static nsGkAtoms_x_devanagari: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7x_tamilE"] - pub static nsGkAtoms_x_tamil: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_armnE"] - pub static nsGkAtoms_x_armn: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_bengE"] - pub static nsGkAtoms_x_beng: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_cansE"] - pub static nsGkAtoms_x_cans: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_ethiE"] - pub static nsGkAtoms_x_ethi: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_georE"] - pub static nsGkAtoms_x_geor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_gujrE"] - pub static nsGkAtoms_x_gujr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_guruE"] - pub static nsGkAtoms_x_guru: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_khmrE"] - pub static nsGkAtoms_x_khmr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_kndaE"] - pub static nsGkAtoms_x_knda: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_mlymE"] - pub static nsGkAtoms_x_mlym: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_oryaE"] - pub static nsGkAtoms_x_orya: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_sinhE"] - pub static nsGkAtoms_x_sinh: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_teluE"] - pub static nsGkAtoms_x_telu: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_tibtE"] - pub static nsGkAtoms_x_tibt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2azE"] - pub static nsGkAtoms_az: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2baE"] - pub static nsGkAtoms_ba: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3crhE"] - pub static nsGkAtoms_crh: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2gaE"] - pub static nsGkAtoms_ga: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2nlE"] - pub static nsGkAtoms_nl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6x_mathE"] - pub static nsGkAtoms_x_math: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13TypingTxnNameE"] - pub static nsGkAtoms_TypingTxnName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10IMETxnNameE"] - pub static nsGkAtoms_IMETxnName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13DeleteTxnNameE"] - pub static nsGkAtoms_DeleteTxnName: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5serifE"] - pub static nsGkAtoms_serif: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10sans_serifE"] - pub static nsGkAtoms_sans_serif: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7cursiveE"] - pub static nsGkAtoms_cursive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7fantasyE"] - pub static nsGkAtoms_fantasy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9monospaceE"] - pub static nsGkAtoms_monospace: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8mozfixedE"] - pub static nsGkAtoms_mozfixed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8RemoteIdE"] - pub static nsGkAtoms_RemoteId: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10RemoteTypeE"] - pub static nsGkAtoms_RemoteType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11DisplayPortE"] - pub static nsGkAtoms_DisplayPort: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18DisplayPortMarginsE"] - pub static nsGkAtoms_DisplayPortMargins: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15DisplayPortBaseE"] - pub static nsGkAtoms_DisplayPortBase: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms30AsyncScrollLayerCreationFailedE"] - pub static nsGkAtoms_AsyncScrollLayerCreationFailed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19forcemessagemanagerE"] - pub static nsGkAtoms_forcemessagemanager: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14preloadedStateE"] - pub static nsGkAtoms_preloadedState: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24scrollbar_start_backwardE"] - pub static nsGkAtoms_scrollbar_start_backward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23scrollbar_start_forwardE"] - pub static nsGkAtoms_scrollbar_start_forward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22scrollbar_end_backwardE"] - pub static nsGkAtoms_scrollbar_end_backward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21scrollbar_end_forwardE"] - pub static nsGkAtoms_scrollbar_end_forward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28scrollbar_thumb_proportionalE"] - pub static nsGkAtoms_scrollbar_thumb_proportional: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18overlay_scrollbarsE"] - pub static nsGkAtoms_overlay_scrollbars: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms32windows_accent_color_in_titlebarE"] - pub static nsGkAtoms_windows_accent_color_in_titlebar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21windows_default_themeE"] - pub static nsGkAtoms_windows_default_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18mac_graphite_themeE"] - pub static nsGkAtoms_mac_graphite_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18mac_yosemite_themeE"] - pub static nsGkAtoms_mac_yosemite_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18windows_compositorE"] - pub static nsGkAtoms_windows_compositor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13windows_glassE"] - pub static nsGkAtoms_windows_glass: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13touch_enabledE"] - pub static nsGkAtoms_touch_enabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12menubar_dragE"] - pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23swipe_animation_enabledE"] - pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17gtk_csd_availableE"] - pub static nsGkAtoms_gtk_csd_available: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23gtk_csd_minimize_buttonE"] - pub static nsGkAtoms_gtk_csd_minimize_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23gtk_csd_maximize_buttonE"] - pub static nsGkAtoms_gtk_csd_maximize_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20gtk_csd_close_buttonE"] - pub static nsGkAtoms_gtk_csd_close_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15windows_classicE"] - pub static nsGkAtoms_windows_classic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18windows_theme_aeroE"] - pub static nsGkAtoms_windows_theme_aero: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23windows_theme_aero_liteE"] - pub static nsGkAtoms_windows_theme_aero_lite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23windows_theme_luna_blueE"] - pub static nsGkAtoms_windows_theme_luna_blue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms24windows_theme_luna_oliveE"] - pub static nsGkAtoms_windows_theme_luna_olive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25windows_theme_luna_silverE"] - pub static nsGkAtoms_windows_theme_luna_silver: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20windows_theme_royaleE"] - pub static nsGkAtoms_windows_theme_royale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18windows_theme_zuneE"] - pub static nsGkAtoms_windows_theme_zune: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms21windows_theme_genericE"] - pub static nsGkAtoms_windows_theme_generic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4aeroE"] - pub static nsGkAtoms_aero: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aero_liteE"] - pub static nsGkAtoms_aero_lite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9luna_blueE"] - pub static nsGkAtoms_luna_blue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10luna_oliveE"] - pub static nsGkAtoms_luna_olive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11luna_silverE"] - pub static nsGkAtoms_luna_silver: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6royaleE"] - pub static nsGkAtoms_royale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4zuneE"] - pub static nsGkAtoms_zune: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12windows_win7E"] - pub static nsGkAtoms_windows_win7: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12windows_win8E"] - pub static nsGkAtoms_windows_win8: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13windows_win10E"] - pub static nsGkAtoms_windows_win10: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms29_moz_scrollbar_start_backwardE"] - pub static nsGkAtoms__moz_scrollbar_start_backward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28_moz_scrollbar_start_forwardE"] - pub static nsGkAtoms__moz_scrollbar_start_forward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms27_moz_scrollbar_end_backwardE"] - pub static nsGkAtoms__moz_scrollbar_end_backward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26_moz_scrollbar_end_forwardE"] - pub static nsGkAtoms__moz_scrollbar_end_forward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms33_moz_scrollbar_thumb_proportionalE"] - pub static nsGkAtoms__moz_scrollbar_thumb_proportional: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23_moz_overlay_scrollbarsE"] - pub static nsGkAtoms__moz_overlay_scrollbars: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms37_moz_windows_accent_color_in_titlebarE"] - pub static nsGkAtoms__moz_windows_accent_color_in_titlebar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26_moz_windows_default_themeE"] - pub static nsGkAtoms__moz_windows_default_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23_moz_mac_graphite_themeE"] - pub static nsGkAtoms__moz_mac_graphite_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23_moz_mac_yosemite_themeE"] - pub static nsGkAtoms__moz_mac_yosemite_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23_moz_windows_compositorE"] - pub static nsGkAtoms__moz_windows_compositor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20_moz_windows_classicE"] - pub static nsGkAtoms__moz_windows_classic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18_moz_windows_glassE"] - pub static nsGkAtoms__moz_windows_glass: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18_moz_windows_themeE"] - pub static nsGkAtoms__moz_windows_theme: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15_moz_os_versionE"] - pub static nsGkAtoms__moz_os_version: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18_moz_touch_enabledE"] - pub static nsGkAtoms__moz_touch_enabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17_moz_menubar_dragE"] - pub static nsGkAtoms__moz_menubar_drag: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23_moz_device_pixel_ratioE"] - pub static nsGkAtoms__moz_device_pixel_ratio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms23_moz_device_orientationE"] - pub static nsGkAtoms__moz_device_orientation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25_moz_is_resource_documentE"] - pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28_moz_swipe_animation_enabledE"] - pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms22_moz_gtk_csd_availableE"] - pub static nsGkAtoms__moz_gtk_csd_available: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28_moz_gtk_csd_minimize_buttonE"] - pub static nsGkAtoms__moz_gtk_csd_minimize_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28_moz_gtk_csd_maximize_buttonE"] - pub static nsGkAtoms__moz_gtk_csd_maximize_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms25_moz_gtk_csd_close_buttonE"] - pub static nsGkAtoms__moz_gtk_csd_close_button: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4BackE"] - pub static nsGkAtoms_Back: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7ForwardE"] - pub static nsGkAtoms_Forward: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6ReloadE"] - pub static nsGkAtoms_Reload: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4StopE"] - pub static nsGkAtoms_Stop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6SearchE"] - pub static nsGkAtoms_Search: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9BookmarksE"] - pub static nsGkAtoms_Bookmarks: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4HomeE"] - pub static nsGkAtoms_Home: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5ClearE"] - pub static nsGkAtoms_Clear: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8VolumeUpE"] - pub static nsGkAtoms_VolumeUp: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10VolumeDownE"] - pub static nsGkAtoms_VolumeDown: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9NextTrackE"] - pub static nsGkAtoms_NextTrack: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13PreviousTrackE"] - pub static nsGkAtoms_PreviousTrack: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9MediaStopE"] - pub static nsGkAtoms_MediaStop: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9PlayPauseE"] - pub static nsGkAtoms_PlayPause: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4MenuE"] - pub static nsGkAtoms_Menu: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3NewE"] - pub static nsGkAtoms_New: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4OpenE"] - pub static nsGkAtoms_Open: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5CloseE"] - pub static nsGkAtoms_Close: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4SaveE"] - pub static nsGkAtoms_Save: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4FindE"] - pub static nsGkAtoms_Find: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4HelpE"] - pub static nsGkAtoms_Help: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5PrintE"] - pub static nsGkAtoms_Print: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8SendMailE"] - pub static nsGkAtoms_SendMail: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ForwardMailE"] - pub static nsGkAtoms_ForwardMail: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11ReplyToMailE"] - pub static nsGkAtoms_ReplyToMail: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10mouseWheelE"] - pub static nsGkAtoms_mouseWheel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6pixelsE"] - pub static nsGkAtoms_pixels: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5linesE"] - pub static nsGkAtoms_lines: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5pagesE"] - pub static nsGkAtoms_pages: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10scrollbarsE"] - pub static nsGkAtoms_scrollbars: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3apzE"] - pub static nsGkAtoms_apz: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7restoreE"] - pub static nsGkAtoms_restore: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5alertE"] - pub static nsGkAtoms_alert: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11alertdialogE"] - pub static nsGkAtoms_alertdialog: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11applicationE"] - pub static nsGkAtoms_application: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_colcountE"] - pub static nsGkAtoms_aria_colcount: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_colindexE"] - pub static nsGkAtoms_aria_colindex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_detailsE"] - pub static nsGkAtoms_aria_details: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17aria_errormessageE"] - pub static nsGkAtoms_aria_errormessage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_grabbedE"] - pub static nsGkAtoms_aria_grabbed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10aria_labelE"] - pub static nsGkAtoms_aria_label: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10aria_modalE"] - pub static nsGkAtoms_aria_modal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16aria_orientationE"] - pub static nsGkAtoms_aria_orientation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_rowcountE"] - pub static nsGkAtoms_aria_rowcount: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_rowindexE"] - pub static nsGkAtoms_aria_rowindex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14aria_valuetextE"] - pub static nsGkAtoms_aria_valuetext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14auto_generatedE"] - pub static nsGkAtoms_auto_generated: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6bannerE"] - pub static nsGkAtoms_banner: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9checkableE"] - pub static nsGkAtoms_checkable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7choicesE"] - pub static nsGkAtoms_choices: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12columnheaderE"] - pub static nsGkAtoms_columnheader: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13complementaryE"] - pub static nsGkAtoms_complementary: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15containerAtomicE"] - pub static nsGkAtoms_containerAtomic: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13containerBusyE"] - pub static nsGkAtoms_containerBusy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13containerLiveE"] - pub static nsGkAtoms_containerLive: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17containerLiveRoleE"] - pub static nsGkAtoms_containerLiveRole: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17containerRelevantE"] - pub static nsGkAtoms_containerRelevant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11contentinfoE"] - pub static nsGkAtoms_contentinfo: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6cyclesE"] - pub static nsGkAtoms_cycles: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9datatableE"] - pub static nsGkAtoms_datatable: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14eventFromInputE"] - pub static nsGkAtoms_eventFromInput: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4feedE"] - pub static nsGkAtoms_feed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7grammarE"] - pub static nsGkAtoms_grammar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8gridcellE"] - pub static nsGkAtoms_gridcell: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7headingE"] - pub static nsGkAtoms_heading: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9hitregionE"] - pub static nsGkAtoms_hitregion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11inlinevalueE"] - pub static nsGkAtoms_inlinevalue: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7invalidE"] - pub static nsGkAtoms_invalid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4itemE"] - pub static nsGkAtoms_item: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7itemsetE"] - pub static nsGkAtoms_itemset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10lineNumberE"] - pub static nsGkAtoms_lineNumber: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11linkedPanelE"] - pub static nsGkAtoms_linkedPanel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4liveE"] - pub static nsGkAtoms_live: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16menuitemcheckboxE"] - pub static nsGkAtoms_menuitemcheckbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13menuitemradioE"] - pub static nsGkAtoms_menuitemradio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9multilineE"] - pub static nsGkAtoms_multiline: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10navigationE"] - pub static nsGkAtoms_navigation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6politeE"] - pub static nsGkAtoms_polite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8posinsetE"] - pub static nsGkAtoms_posinset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12presentationE"] - pub static nsGkAtoms_presentation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11progressbarE"] - pub static nsGkAtoms_progressbar: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6regionE"] - pub static nsGkAtoms_region: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8rowgroupE"] - pub static nsGkAtoms_rowgroup: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9rowheaderE"] - pub static nsGkAtoms_rowheader: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6searchE"] - pub static nsGkAtoms_search: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9searchboxE"] - pub static nsGkAtoms_searchbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7select1E"] - pub static nsGkAtoms_select1: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7setsizeE"] - pub static nsGkAtoms_setsize: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8spellingE"] - pub static nsGkAtoms_spelling: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10spinbuttonE"] - pub static nsGkAtoms_spinbutton: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6statusE"] - pub static nsGkAtoms_status: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14tableCellIndexE"] - pub static nsGkAtoms_tableCellIndex: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7tablistE"] - pub static nsGkAtoms_tablist: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10textIndentE"] - pub static nsGkAtoms_textIndent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13textInputTypeE"] - pub static nsGkAtoms_textInputType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20textLineThroughColorE"] - pub static nsGkAtoms_textLineThroughColor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20textLineThroughStyleE"] - pub static nsGkAtoms_textLineThroughStyle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12textPositionE"] - pub static nsGkAtoms_textPosition: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18textUnderlineColorE"] - pub static nsGkAtoms_textUnderlineColor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18textUnderlineStyleE"] - pub static nsGkAtoms_textUnderlineStyle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5timerE"] - pub static nsGkAtoms_timer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11toolbarnameE"] - pub static nsGkAtoms_toolbarname: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16toolbarseparatorE"] - pub static nsGkAtoms_toolbarseparator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13toolbarspacerE"] - pub static nsGkAtoms_toolbarspacer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13toolbarspringE"] - pub static nsGkAtoms_toolbarspring: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8treegridE"] - pub static nsGkAtoms_treegrid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10_undefinedE"] - pub static nsGkAtoms__undefined: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8xmlrolesE"] - pub static nsGkAtoms_xmlroles: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11close_fenceE"] - pub static nsGkAtoms_close_fence: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11denominatorE"] - pub static nsGkAtoms_denominator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9numeratorE"] - pub static nsGkAtoms_numerator: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10open_fenceE"] - pub static nsGkAtoms_open_fence: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10overscriptE"] - pub static nsGkAtoms_overscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12presubscriptE"] - pub static nsGkAtoms_presubscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14presuperscriptE"] - pub static nsGkAtoms_presuperscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10root_indexE"] - pub static nsGkAtoms_root_index: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9subscriptE"] - pub static nsGkAtoms_subscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11superscriptE"] - pub static nsGkAtoms_superscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11underscriptE"] - pub static nsGkAtoms_underscript: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onaudiostartE"] - pub static nsGkAtoms_onaudiostart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onaudioendE"] - pub static nsGkAtoms_onaudioend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onsoundstartE"] - pub static nsGkAtoms_onsoundstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onsoundendE"] - pub static nsGkAtoms_onsoundend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onspeechstartE"] - pub static nsGkAtoms_onspeechstart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onspeechendE"] - pub static nsGkAtoms_onspeechend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onresultE"] - pub static nsGkAtoms_onresult: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9onnomatchE"] - pub static nsGkAtoms_onnomatch: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onresumeE"] - pub static nsGkAtoms_onresume: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6onmarkE"] - pub static nsGkAtoms_onmark: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10onboundaryE"] - pub static nsGkAtoms_onboundary: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13usercontextidE"] - pub static nsGkAtoms_usercontextid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11nsuri_xmlnsE"] - pub static nsGkAtoms_nsuri_xmlns: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9nsuri_xmlE"] - pub static nsGkAtoms_nsuri_xml: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11nsuri_xhtmlE"] - pub static nsGkAtoms_nsuri_xhtml: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11nsuri_xlinkE"] - pub static nsGkAtoms_nsuri_xlink: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10nsuri_xsltE"] - pub static nsGkAtoms_nsuri_xslt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9nsuri_xblE"] - pub static nsGkAtoms_nsuri_xbl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12nsuri_mathmlE"] - pub static nsGkAtoms_nsuri_mathml: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9nsuri_rdfE"] - pub static nsGkAtoms_nsuri_rdf: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9nsuri_xulE"] - pub static nsGkAtoms_nsuri_xul: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9nsuri_svgE"] - pub static nsGkAtoms_nsuri_svg: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onsourceopenE"] - pub static nsGkAtoms_onsourceopen: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onsourceendedE"] - pub static nsGkAtoms_onsourceended: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14onsourceclosedE"] - pub static nsGkAtoms_onsourceclosed: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13onupdatestartE"] - pub static nsGkAtoms_onupdatestart: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8onupdateE"] - pub static nsGkAtoms_onupdate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11onupdateendE"] - pub static nsGkAtoms_onupdateend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17onaddsourcebufferE"] - pub static nsGkAtoms_onaddsourcebuffer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms20onremovesourcebufferE"] - pub static nsGkAtoms_onremovesourcebuffer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5aboutE"] - pub static nsGkAtoms_about: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms2IDE"] - pub static nsGkAtoms_ID: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6nodeIDE"] - pub static nsGkAtoms_nodeID: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aboutEachE"] - pub static nsGkAtoms_aboutEach: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8resourceE"] - pub static nsGkAtoms_resource: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3RDFE"] - pub static nsGkAtoms_RDF: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11DescriptionE"] - pub static nsGkAtoms_Description: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3BagE"] - pub static nsGkAtoms_Bag: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3SeqE"] - pub static nsGkAtoms_Seq: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms3AltE"] - pub static nsGkAtoms_Alt: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9parseTypeE"] - pub static nsGkAtoms_parseType: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5xlinkE"] - pub static nsGkAtoms_xlink: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9xml_spaceE"] - pub static nsGkAtoms_xml_space: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8xml_langE"] - pub static nsGkAtoms_xml_lang: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8xml_baseE"] - pub static nsGkAtoms_xml_base: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9aria_grabE"] - pub static nsGkAtoms_aria_grab: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12aria_channelE"] - pub static nsGkAtoms_aria_channel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11aria_secretE"] - pub static nsGkAtoms_aria_secret: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15aria_templateidE"] - pub static nsGkAtoms_aria_templateid: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13aria_datatypeE"] - pub static nsGkAtoms_aria_datatype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms5localE"] - pub static nsGkAtoms_local: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16xchannelselectorE"] - pub static nsGkAtoms_xchannelselector: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16ychannelselectorE"] - pub static nsGkAtoms_ychannelselector: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17enable_backgroundE"] - pub static nsGkAtoms_enable_background: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8calcmodeE"] - pub static nsGkAtoms_calcmode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16specularexponentE"] - pub static nsGkAtoms_specularexponent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16specularconstantE"] - pub static nsGkAtoms_specularconstant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17gradienttransformE"] - pub static nsGkAtoms_gradienttransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13gradientunitsE"] - pub static nsGkAtoms_gradientunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16rendering_intentE"] - pub static nsGkAtoms_rendering_intent: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12stddeviationE"] - pub static nsGkAtoms_stddeviation: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13basefrequencyE"] - pub static nsGkAtoms_basefrequency: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11baseprofileE"] - pub static nsGkAtoms_baseprofile: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11baseProfileE"] - pub static nsGkAtoms_baseProfile: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8edgemodeE"] - pub static nsGkAtoms_edgemode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11repeatcountE"] - pub static nsGkAtoms_repeatcount: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9repeatdurE"] - pub static nsGkAtoms_repeatdur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12spreadmethodE"] - pub static nsGkAtoms_spreadmethod: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15diffuseconstantE"] - pub static nsGkAtoms_diffuseconstant: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12surfacescaleE"] - pub static nsGkAtoms_surfacescale: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12lengthadjustE"] - pub static nsGkAtoms_lengthadjust: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6originE"] - pub static nsGkAtoms_origin: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7targetxE"] - pub static nsGkAtoms_targetx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7targetyE"] - pub static nsGkAtoms_targety: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10pathlengthE"] - pub static nsGkAtoms_pathlength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13definitionurlE"] - pub static nsGkAtoms_definitionurl: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17limitingconeangleE"] - pub static nsGkAtoms_limitingconeangle: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12markerheightE"] - pub static nsGkAtoms_markerheight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11markerwidthE"] - pub static nsGkAtoms_markerwidth: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9maskunitsE"] - pub static nsGkAtoms_maskunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11markerunitsE"] - pub static nsGkAtoms_markerunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16maskcontentunitsE"] - pub static nsGkAtoms_maskcontentunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11tablevaluesE"] - pub static nsGkAtoms_tablevalues: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14primitiveunitsE"] - pub static nsGkAtoms_primitiveunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10zoomandpanE"] - pub static nsGkAtoms_zoomandpan: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12kernelmatrixE"] - pub static nsGkAtoms_kernelmatrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7kerningE"] - pub static nsGkAtoms_kerning: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16kernelunitlengthE"] - pub static nsGkAtoms_kernelunitlength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointsatxE"] - pub static nsGkAtoms_pointsatx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointsatyE"] - pub static nsGkAtoms_pointsaty: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9pointsatzE"] - pub static nsGkAtoms_pointsatz: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10xlink_hrefE"] - pub static nsGkAtoms_xlink_href: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11xlink_titleE"] - pub static nsGkAtoms_xlink_title: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10xlink_roleE"] - pub static nsGkAtoms_xlink_role: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13xlink_arcroleE"] - pub static nsGkAtoms_xlink_arcrole: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7arcroleE"] - pub static nsGkAtoms_arcrole: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11xmlns_xlinkE"] - pub static nsGkAtoms_xmlns_xlink: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10xlink_typeE"] - pub static nsGkAtoms_xlink_type: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10xlink_showE"] - pub static nsGkAtoms_xlink_show: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13xlink_actuateE"] - pub static nsGkAtoms_xlink_actuate: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms15color_renderingE"] - pub static nsGkAtoms_color_rendering: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10numoctavesE"] - pub static nsGkAtoms_numoctaves: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12onmousewheelE"] - pub static nsGkAtoms_onmousewheel: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13clippathunitsE"] - pub static nsGkAtoms_clippathunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms26glyph_orientation_verticalE"] - pub static nsGkAtoms_glyph_orientation_vertical: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms28glyph_orientation_horizontalE"] - pub static nsGkAtoms_glyph_orientation_horizontal: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8glyphrefE"] - pub static nsGkAtoms_glyphref: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms9keypointsE"] - pub static nsGkAtoms_keypoints: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13attributenameE"] - pub static nsGkAtoms_attributename: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13attributetypeE"] - pub static nsGkAtoms_attributetype: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11startoffsetE"] - pub static nsGkAtoms_startoffset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10keysplinesE"] - pub static nsGkAtoms_keysplines: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13preservealphaE"] - pub static nsGkAtoms_preservealpha: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19preserveaspectratioE"] - pub static nsGkAtoms_preserveaspectratio: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7alttextE"] - pub static nsGkAtoms_alttext: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11filterunitsE"] - pub static nsGkAtoms_filterunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8keytimesE"] - pub static nsGkAtoms_keytimes: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16patterntransformE"] - pub static nsGkAtoms_patterntransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12patternunitsE"] - pub static nsGkAtoms_patternunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19patterncontentunitsE"] - pub static nsGkAtoms_patterncontentunits: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11stitchtilesE"] - pub static nsGkAtoms_stitchtiles: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14systemlanguageE"] - pub static nsGkAtoms_systemlanguage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10textlengthE"] - pub static nsGkAtoms_textlength: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16requiredfeaturesE"] - pub static nsGkAtoms_requiredfeatures: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18requiredextensionsE"] - pub static nsGkAtoms_requiredextensions: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms10viewtargetE"] - pub static nsGkAtoms_viewtarget: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7viewboxE"] - pub static nsGkAtoms_viewbox: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4refxE"] - pub static nsGkAtoms_refx: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms4refyE"] - pub static nsGkAtoms_refy: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7fefuncaE"] - pub static nsGkAtoms_fefunca: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7fefuncbE"] - pub static nsGkAtoms_fefuncb: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feblendE"] - pub static nsGkAtoms_feblend: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7fefloodE"] - pub static nsGkAtoms_feflood: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12feturbulenceE"] - pub static nsGkAtoms_feturbulence: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11femergenodeE"] - pub static nsGkAtoms_femergenode: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7feimageE"] - pub static nsGkAtoms_feimage: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7femergeE"] - pub static nsGkAtoms_femerge: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms6fetileE"] - pub static nsGkAtoms_fetile: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11fecompositeE"] - pub static nsGkAtoms_fecomposite: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11altglyphdefE"] - pub static nsGkAtoms_altglyphdef: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11altGlyphDefE"] - pub static nsGkAtoms_altGlyphDef: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7fefuncgE"] - pub static nsGkAtoms_fefuncg: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17fediffuselightingE"] - pub static nsGkAtoms_fediffuselighting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms18fespecularlightingE"] - pub static nsGkAtoms_fespecularlighting: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8altglyphE"] - pub static nsGkAtoms_altglyph: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8altGlyphE"] - pub static nsGkAtoms_altGlyph: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8clippathE"] - pub static nsGkAtoms_clippath: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8textpathE"] - pub static nsGkAtoms_textpath: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12altglyphitemE"] - pub static nsGkAtoms_altglyphitem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12altGlyphItemE"] - pub static nsGkAtoms_altGlyphItem: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16animatetransformE"] - pub static nsGkAtoms_animatetransform: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13animatemotionE"] - pub static nsGkAtoms_animatemotion: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms17fedisplacementmapE"] - pub static nsGkAtoms_fedisplacementmap: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12animatecolorE"] - pub static nsGkAtoms_animatecolor: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms7fefuncrE"] - pub static nsGkAtoms_fefuncr: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms19fecomponenttransferE"] - pub static nsGkAtoms_fecomponenttransfer: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14fegaussianblurE"] - pub static nsGkAtoms_fegaussianblur: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13foreignobjectE"] - pub static nsGkAtoms_foreignobject: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms8feoffsetE"] - pub static nsGkAtoms_feoffset: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms11fespotlightE"] - pub static nsGkAtoms_fespotlight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12fepointlightE"] - pub static nsGkAtoms_fepointlight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14fedistantlightE"] - pub static nsGkAtoms_fedistantlight: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14lineargradientE"] - pub static nsGkAtoms_lineargradient: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms14radialgradientE"] - pub static nsGkAtoms_radialgradient: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12fedropshadowE"] - pub static nsGkAtoms_fedropshadow: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms13fecolormatrixE"] - pub static nsGkAtoms_fecolormatrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms16feconvolvematrixE"] - pub static nsGkAtoms_feconvolvematrix: *mut nsStaticAtom; - #[link_name = "_ZN9nsGkAtoms12femorphologyE"] - pub static nsGkAtoms_femorphology: *mut nsStaticAtom; - #[link_name = "_ZN19nsCSSPseudoElements5afterE"] - pub static nsCSSPseudoElements_after: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements6beforeE"] - pub static nsCSSPseudoElements_before: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements8backdropE"] - pub static nsCSSPseudoElements_backdrop: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements3cueE"] - pub static nsCSSPseudoElements_cue: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements11firstLetterE"] - pub static nsCSSPseudoElements_firstLetter: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements9firstLineE"] - pub static nsCSSPseudoElements_firstLine: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements12mozSelectionE"] - pub static nsCSSPseudoElements_mozSelection: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozFocusInnerE"] - pub static nsCSSPseudoElements_mozFocusInner: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozFocusOuterE"] - pub static nsCSSPseudoElements_mozFocusOuter: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozListBulletE"] - pub static nsCSSPseudoElements_mozListBullet: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozListNumberE"] - pub static nsCSSPseudoElements_mozListNumber: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements16mozMathAnonymousE"] - pub static nsCSSPseudoElements_mozMathAnonymous: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements16mozNumberWrapperE"] - pub static nsCSSPseudoElements_mozNumberWrapper: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozNumberTextE"] - pub static nsCSSPseudoElements_mozNumberText: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements16mozNumberSpinBoxE"] - pub static nsCSSPseudoElements_mozNumberSpinBox: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements15mozNumberSpinUpE"] - pub static nsCSSPseudoElements_mozNumberSpinUp: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements17mozNumberSpinDownE"] - pub static nsCSSPseudoElements_mozNumberSpinDown: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements14mozProgressBarE"] - pub static nsCSSPseudoElements_mozProgressBar: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozRangeTrackE"] - pub static nsCSSPseudoElements_mozRangeTrack: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements16mozRangeProgressE"] - pub static nsCSSPseudoElements_mozRangeProgress: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements13mozRangeThumbE"] - pub static nsCSSPseudoElements_mozRangeThumb: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements11mozMeterBarE"] - pub static nsCSSPseudoElements_mozMeterBar: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements14mozPlaceholderE"] - pub static nsCSSPseudoElements_mozPlaceholder: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements11placeholderE"] - pub static nsCSSPseudoElements_placeholder: *mut nsICSSPseudoElement; - #[link_name = "_ZN19nsCSSPseudoElements14mozColorSwatchE"] - pub static nsCSSPseudoElements_mozColorSwatch: *mut nsICSSPseudoElement; - #[link_name = "_ZN14nsCSSAnonBoxes14oofPlaceholderE"] - pub static nsCSSAnonBoxes_oofPlaceholder: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes24horizontalFramesetBorderE"] - pub static nsCSSAnonBoxes_horizontalFramesetBorder: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes22verticalFramesetBorderE"] - pub static nsCSSAnonBoxes_verticalFramesetBorder: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13framesetBlankE"] - pub static nsCSSAnonBoxes_framesetBlank: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13tableColGroupE"] - pub static nsCSSAnonBoxes_tableColGroup: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes8tableColE"] - pub static nsCSSAnonBoxes_tableCol: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes9pageBreakE"] - pub static nsCSSAnonBoxes_pageBreak: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes7mozTextE"] - pub static nsCSSAnonBoxes_mozText: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes23firstLetterContinuationE"] - pub static nsCSSAnonBoxes_firstLetterContinuation: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes27mozBlockInsideInlineWrapperE"] - pub static nsCSSAnonBoxes_mozBlockInsideInlineWrapper: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes23mozMathMLAnonymousBlockE"] - pub static nsCSSAnonBoxes_mozMathMLAnonymousBlock: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes20mozXULAnonymousBlockE"] - pub static nsCSSAnonBoxes_mozXULAnonymousBlock: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes12mozLineFrameE"] - pub static nsCSSAnonBoxes_mozLineFrame: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13buttonContentE"] - pub static nsCSSAnonBoxes_buttonContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes11cellContentE"] - pub static nsCSSAnonBoxes_cellContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes12dropDownListE"] - pub static nsCSSAnonBoxes_dropDownList: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes15fieldsetContentE"] - pub static nsCSSAnonBoxes_fieldsetContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes30mozDisplayComboboxControlFrameE"] - pub static nsCSSAnonBoxes_mozDisplayComboboxControlFrame: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes17htmlCanvasContentE"] - pub static nsCSSAnonBoxes_htmlCanvasContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes11inlineTableE"] - pub static nsCSSAnonBoxes_inlineTable: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes5tableE"] - pub static nsCSSAnonBoxes_table: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes9tableCellE"] - pub static nsCSSAnonBoxes_tableCell: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes12tableWrapperE"] - pub static nsCSSAnonBoxes_tableWrapper: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13tableRowGroupE"] - pub static nsCSSAnonBoxes_tableRowGroup: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes8tableRowE"] - pub static nsCSSAnonBoxes_tableRow: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes6canvasE"] - pub static nsCSSAnonBoxes_canvas: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes4pageE"] - pub static nsCSSAnonBoxes_page: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes11pageContentE"] - pub static nsCSSAnonBoxes_pageContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes12pageSequenceE"] - pub static nsCSSAnonBoxes_pageSequence: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes15scrolledContentE"] - pub static nsCSSAnonBoxes_scrolledContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes14scrolledCanvasE"] - pub static nsCSSAnonBoxes_scrolledCanvas: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes20scrolledPageSequenceE"] - pub static nsCSSAnonBoxes_scrolledPageSequence: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13columnContentE"] - pub static nsCSSAnonBoxes_columnContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes8viewportE"] - pub static nsCSSAnonBoxes_viewport: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes14viewportScrollE"] - pub static nsCSSAnonBoxes_viewportScroll: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes17anonymousFlexItemE"] - pub static nsCSSAnonBoxes_anonymousFlexItem: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes17anonymousGridItemE"] - pub static nsCSSAnonBoxes_anonymousGridItem: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes4rubyE"] - pub static nsCSSAnonBoxes_ruby: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes8rubyBaseE"] - pub static nsCSSAnonBoxes_rubyBase: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes17rubyBaseContainerE"] - pub static nsCSSAnonBoxes_rubyBaseContainer: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes8rubyTextE"] - pub static nsCSSAnonBoxes_rubyText: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes17rubyTextContainerE"] - pub static nsCSSAnonBoxes_rubyTextContainer: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13mozTreeColumnE"] - pub static nsCSSAnonBoxes_mozTreeColumn: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes10mozTreeRowE"] - pub static nsCSSAnonBoxes_mozTreeRow: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes16mozTreeSeparatorE"] - pub static nsCSSAnonBoxes_mozTreeSeparator: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes11mozTreeCellE"] - pub static nsCSSAnonBoxes_mozTreeCell: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes18mozTreeIndentationE"] - pub static nsCSSAnonBoxes_mozTreeIndentation: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes11mozTreeLineE"] - pub static nsCSSAnonBoxes_mozTreeLine: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes13mozTreeTwistyE"] - pub static nsCSSAnonBoxes_mozTreeTwisty: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes12mozTreeImageE"] - pub static nsCSSAnonBoxes_mozTreeImage: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes15mozTreeCellTextE"] - pub static nsCSSAnonBoxes_mozTreeCellText: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes15mozTreeCheckboxE"] - pub static nsCSSAnonBoxes_mozTreeCheckbox: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes19mozTreeDropFeedbackE"] - pub static nsCSSAnonBoxes_mozTreeDropFeedback: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes21mozSVGMarkerAnonChildE"] - pub static nsCSSAnonBoxes_mozSVGMarkerAnonChild: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes23mozSVGOuterSVGAnonChildE"] - pub static nsCSSAnonBoxes_mozSVGOuterSVGAnonChild: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes20mozSVGForeignContentE"] - pub static nsCSSAnonBoxes_mozSVGForeignContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "_ZN14nsCSSAnonBoxes10mozSVGTextE"] - pub static nsCSSAnonBoxes_mozSVGText: *mut nsICSSAnonBoxPseudo; - } - } else if #[cfg(target_pointer_width = "64")] { - extern { - #[link_name = "?_empty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__empty: *mut nsStaticAtom; - #[link_name = "?moz@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_moz: *mut nsStaticAtom; - #[link_name = "?mozframetype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozframetype: *mut nsStaticAtom; - #[link_name = "?_moz_abspos@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_abspos: *mut nsStaticAtom; - #[link_name = "?_moz_activated@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_activated: *mut nsStaticAtom; - #[link_name = "?_moz_anonclass@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_anonclass: *mut nsStaticAtom; - #[link_name = "?_moz_resizing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_resizing: *mut nsStaticAtom; - #[link_name = "?mozallowfullscreen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozallowfullscreen: *mut nsStaticAtom; - #[link_name = "?moztype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_moztype: *mut nsStaticAtom; - #[link_name = "?mozdirty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozdirty: *mut nsStaticAtom; - #[link_name = "?mozdisallowselectionprint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozdisallowselectionprint: *mut nsStaticAtom; - #[link_name = "?mozdonotsend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozdonotsend: *mut nsStaticAtom; - #[link_name = "?mozeditorbogusnode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozeditorbogusnode: *mut nsStaticAtom; - #[link_name = "?mozgeneratedcontentbefore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozgeneratedcontentbefore: *mut nsStaticAtom; - #[link_name = "?mozgeneratedcontentafter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozgeneratedcontentafter: *mut nsStaticAtom; - #[link_name = "?mozgeneratedcontentimage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozgeneratedcontentimage: *mut nsStaticAtom; - #[link_name = "?mozquote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozquote: *mut nsStaticAtom; - #[link_name = "?mozsignature@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozsignature: *mut nsStaticAtom; - #[link_name = "?_moz_is_glyph@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_is_glyph: *mut nsStaticAtom; - #[link_name = "?_moz_original_size@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_original_size: *mut nsStaticAtom; - #[link_name = "?_moz_target@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_target: *mut nsStaticAtom; - #[link_name = "?menuactive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menuactive: *mut nsStaticAtom; - #[link_name = "?_poundDefault@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__poundDefault: *mut nsStaticAtom; - #[link_name = "?_asterisk@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__asterisk: *mut nsStaticAtom; - #[link_name = "?a@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_a: *mut nsStaticAtom; - #[link_name = "?abbr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_abbr: *mut nsStaticAtom; - #[link_name = "?abort@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_abort: *mut nsStaticAtom; - #[link_name = "?above@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_above: *mut nsStaticAtom; - #[link_name = "?acceltext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_acceltext: *mut nsStaticAtom; - #[link_name = "?accept@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_accept: *mut nsStaticAtom; - #[link_name = "?acceptcharset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_acceptcharset: *mut nsStaticAtom; - #[link_name = "?accesskey@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_accesskey: *mut nsStaticAtom; - #[link_name = "?acronym@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_acronym: *mut nsStaticAtom; - #[link_name = "?action@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_action: *mut nsStaticAtom; - #[link_name = "?active@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_active: *mut nsStaticAtom; - #[link_name = "?activateontab@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_activateontab: *mut nsStaticAtom; - #[link_name = "?actuate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_actuate: *mut nsStaticAtom; - #[link_name = "?address@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_address: *mut nsStaticAtom; - #[link_name = "?after@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_after: *mut nsStaticAtom; - #[link_name = "?after_end@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_after_end: *mut nsStaticAtom; - #[link_name = "?after_start@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_after_start: *mut nsStaticAtom; - #[link_name = "?align@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_align: *mut nsStaticAtom; - #[link_name = "?alink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alink: *mut nsStaticAtom; - #[link_name = "?all@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_all: *mut nsStaticAtom; - #[link_name = "?allowdirs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowdirs: *mut nsStaticAtom; - #[link_name = "?allowevents@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowevents: *mut nsStaticAtom; - #[link_name = "?allownegativeassertions@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allownegativeassertions: *mut nsStaticAtom; - #[link_name = "?allowforms@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowforms: *mut nsStaticAtom; - #[link_name = "?allowfullscreen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowfullscreen: *mut nsStaticAtom; - #[link_name = "?allowmodals@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowmodals: *mut nsStaticAtom; - #[link_name = "?alloworientationlock@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alloworientationlock: *mut nsStaticAtom; - #[link_name = "?allowpaymentrequest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowpaymentrequest: *mut nsStaticAtom; - #[link_name = "?allowpointerlock@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowpointerlock: *mut nsStaticAtom; - #[link_name = "?allowpopupstoescapesandbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowpopupstoescapesandbox: *mut nsStaticAtom; - #[link_name = "?allowpopups@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowpopups: *mut nsStaticAtom; - #[link_name = "?allowpresentation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowpresentation: *mut nsStaticAtom; - #[link_name = "?allowsameorigin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowsameorigin: *mut nsStaticAtom; - #[link_name = "?allowscripts@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowscripts: *mut nsStaticAtom; - #[link_name = "?allowtopnavigation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowtopnavigation: *mut nsStaticAtom; - #[link_name = "?allowuntrusted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_allowuntrusted: *mut nsStaticAtom; - #[link_name = "?alt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alt: *mut nsStaticAtom; - #[link_name = "?alternate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alternate: *mut nsStaticAtom; - #[link_name = "?always@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_always: *mut nsStaticAtom; - #[link_name = "?ancestor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ancestor: *mut nsStaticAtom; - #[link_name = "?ancestorOrSelf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ancestorOrSelf: *mut nsStaticAtom; - #[link_name = "?anchor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_anchor: *mut nsStaticAtom; - #[link_name = "?_and@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__and: *mut nsStaticAtom; - #[link_name = "?animations@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animations: *mut nsStaticAtom; - #[link_name = "?anonid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_anonid: *mut nsStaticAtom; - #[link_name = "?anonlocation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_anonlocation: *mut nsStaticAtom; - #[link_name = "?any@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_any: *mut nsStaticAtom; - #[link_name = "?applet@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_applet: *mut nsStaticAtom; - #[link_name = "?applyImports@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_applyImports: *mut nsStaticAtom; - #[link_name = "?applyTemplates@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_applyTemplates: *mut nsStaticAtom; - #[link_name = "?archive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_archive: *mut nsStaticAtom; - #[link_name = "?area@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_area: *mut nsStaticAtom; - #[link_name = "?aria_activedescendant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_activedescendant: *mut nsStaticAtom; - #[link_name = "?aria_atomic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_atomic: *mut nsStaticAtom; - #[link_name = "?aria_autocomplete@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_autocomplete: *mut nsStaticAtom; - #[link_name = "?aria_busy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_busy: *mut nsStaticAtom; - #[link_name = "?aria_checked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_checked: *mut nsStaticAtom; - #[link_name = "?aria_controls@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_controls: *mut nsStaticAtom; - #[link_name = "?aria_current@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_current: *mut nsStaticAtom; - #[link_name = "?aria_describedby@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_describedby: *mut nsStaticAtom; - #[link_name = "?aria_disabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_disabled: *mut nsStaticAtom; - #[link_name = "?aria_dropeffect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_dropeffect: *mut nsStaticAtom; - #[link_name = "?aria_expanded@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_expanded: *mut nsStaticAtom; - #[link_name = "?aria_flowto@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_flowto: *mut nsStaticAtom; - #[link_name = "?aria_haspopup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_haspopup: *mut nsStaticAtom; - #[link_name = "?aria_hidden@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_hidden: *mut nsStaticAtom; - #[link_name = "?aria_invalid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_invalid: *mut nsStaticAtom; - #[link_name = "?aria_labelledby@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_labelledby: *mut nsStaticAtom; - #[link_name = "?aria_level@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_level: *mut nsStaticAtom; - #[link_name = "?aria_live@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_live: *mut nsStaticAtom; - #[link_name = "?aria_multiline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_multiline: *mut nsStaticAtom; - #[link_name = "?aria_multiselectable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_multiselectable: *mut nsStaticAtom; - #[link_name = "?aria_owns@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_owns: *mut nsStaticAtom; - #[link_name = "?aria_posinset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_posinset: *mut nsStaticAtom; - #[link_name = "?aria_pressed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_pressed: *mut nsStaticAtom; - #[link_name = "?aria_readonly@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_readonly: *mut nsStaticAtom; - #[link_name = "?aria_relevant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_relevant: *mut nsStaticAtom; - #[link_name = "?aria_required@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_required: *mut nsStaticAtom; - #[link_name = "?aria_selected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_selected: *mut nsStaticAtom; - #[link_name = "?aria_setsize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_setsize: *mut nsStaticAtom; - #[link_name = "?aria_sort@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_sort: *mut nsStaticAtom; - #[link_name = "?aria_valuemax@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_valuemax: *mut nsStaticAtom; - #[link_name = "?aria_valuemin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_valuemin: *mut nsStaticAtom; - #[link_name = "?aria_valuenow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_valuenow: *mut nsStaticAtom; - #[link_name = "?arrow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arrow: *mut nsStaticAtom; - #[link_name = "?article@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_article: *mut nsStaticAtom; - #[link_name = "?as@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_as: *mut nsStaticAtom; - #[link_name = "?ascending@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ascending: *mut nsStaticAtom; - #[link_name = "?aside@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aside: *mut nsStaticAtom; - #[link_name = "?aspectRatio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aspectRatio: *mut nsStaticAtom; - #[link_name = "?assign@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_assign: *mut nsStaticAtom; - #[link_name = "?async@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_async: *mut nsStaticAtom; - #[link_name = "?attribute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attribute: *mut nsStaticAtom; - #[link_name = "?attributes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attributes: *mut nsStaticAtom; - #[link_name = "?attributeSet@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attributeSet: *mut nsStaticAtom; - #[link_name = "?aural@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aural: *mut nsStaticAtom; - #[link_name = "?_auto@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__auto: *mut nsStaticAtom; - #[link_name = "?autocheck@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_autocheck: *mut nsStaticAtom; - #[link_name = "?autocomplete@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_autocomplete: *mut nsStaticAtom; - #[link_name = "?autocomplete_richlistbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_autocomplete_richlistbox: *mut nsStaticAtom; - #[link_name = "?autofocus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_autofocus: *mut nsStaticAtom; - #[link_name = "?autoplay@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_autoplay: *mut nsStaticAtom; - #[link_name = "?autorepeatbutton@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_autorepeatbutton: *mut nsStaticAtom; - #[link_name = "?axis@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_axis: *mut nsStaticAtom; - #[link_name = "?b@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_b: *mut nsStaticAtom; - #[link_name = "?background@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_background: *mut nsStaticAtom; - #[link_name = "?base@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_base: *mut nsStaticAtom; - #[link_name = "?basefont@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_basefont: *mut nsStaticAtom; - #[link_name = "?baseline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_baseline: *mut nsStaticAtom; - #[link_name = "?bdi@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bdi: *mut nsStaticAtom; - #[link_name = "?bdo@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bdo: *mut nsStaticAtom; - #[link_name = "?before@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_before: *mut nsStaticAtom; - #[link_name = "?before_end@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_before_end: *mut nsStaticAtom; - #[link_name = "?before_start@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_before_start: *mut nsStaticAtom; - #[link_name = "?below@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_below: *mut nsStaticAtom; - #[link_name = "?bgcolor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bgcolor: *mut nsStaticAtom; - #[link_name = "?bgsound@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bgsound: *mut nsStaticAtom; - #[link_name = "?big@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_big: *mut nsStaticAtom; - #[link_name = "?binding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_binding: *mut nsStaticAtom; - #[link_name = "?bindings@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bindings: *mut nsStaticAtom; - #[link_name = "?bindToUntrustedContent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bindToUntrustedContent: *mut nsStaticAtom; - #[link_name = "?blankrow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_blankrow: *mut nsStaticAtom; - #[link_name = "?block@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_block: *mut nsStaticAtom; - #[link_name = "?blockquote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_blockquote: *mut nsStaticAtom; - #[link_name = "?blur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_blur: *mut nsStaticAtom; - #[link_name = "?body@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_body: *mut nsStaticAtom; - #[link_name = "?boolean@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_boolean: *mut nsStaticAtom; - #[link_name = "?border@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_border: *mut nsStaticAtom; - #[link_name = "?bordercolor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bordercolor: *mut nsStaticAtom; - #[link_name = "?both@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_both: *mut nsStaticAtom; - #[link_name = "?bottom@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottom: *mut nsStaticAtom; - #[link_name = "?bottomend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottomend: *mut nsStaticAtom; - #[link_name = "?bottomstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottomstart: *mut nsStaticAtom; - #[link_name = "?bottomleft@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottomleft: *mut nsStaticAtom; - #[link_name = "?bottommargin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottommargin: *mut nsStaticAtom; - #[link_name = "?bottompadding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottompadding: *mut nsStaticAtom; - #[link_name = "?bottomright@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bottomright: *mut nsStaticAtom; - #[link_name = "?box@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_box: *mut nsStaticAtom; - #[link_name = "?br@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_br: *mut nsStaticAtom; - #[link_name = "?braille@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_braille: *mut nsStaticAtom; - #[link_name = "?broadcast@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_broadcast: *mut nsStaticAtom; - #[link_name = "?broadcaster@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_broadcaster: *mut nsStaticAtom; - #[link_name = "?broadcasterset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_broadcasterset: *mut nsStaticAtom; - #[link_name = "?browser@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_browser: *mut nsStaticAtom; - #[link_name = "?mozbrowser@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozbrowser: *mut nsStaticAtom; - #[link_name = "?button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_button: *mut nsStaticAtom; - #[link_name = "?brighttitlebarforeground@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_brighttitlebarforeground: *mut nsStaticAtom; - #[link_name = "?callTemplate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_callTemplate: *mut nsStaticAtom; - #[link_name = "?cancel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cancel: *mut nsStaticAtom; - #[link_name = "?canvas@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_canvas: *mut nsStaticAtom; - #[link_name = "?caption@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_caption: *mut nsStaticAtom; - #[link_name = "?capture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_capture: *mut nsStaticAtom; - #[link_name = "?caseOrder@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_caseOrder: *mut nsStaticAtom; - #[link_name = "?cdataSectionElements@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cdataSectionElements: *mut nsStaticAtom; - #[link_name = "?ceiling@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ceiling: *mut nsStaticAtom; - #[link_name = "?cell@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cell: *mut nsStaticAtom; - #[link_name = "?cellpadding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cellpadding: *mut nsStaticAtom; - #[link_name = "?cellspacing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cellspacing: *mut nsStaticAtom; - #[link_name = "?center@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_center: *mut nsStaticAtom; - #[link_name = "?ch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ch: *mut nsStaticAtom; - #[link_name = "?change@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_change: *mut nsStaticAtom; - #[link_name = "?_char@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__char: *mut nsStaticAtom; - #[link_name = "?characterData@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_characterData: *mut nsStaticAtom; - #[link_name = "?charcode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_charcode: *mut nsStaticAtom; - #[link_name = "?charoff@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_charoff: *mut nsStaticAtom; - #[link_name = "?charset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_charset: *mut nsStaticAtom; - #[link_name = "?checkbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_checkbox: *mut nsStaticAtom; - #[link_name = "?checked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_checked: *mut nsStaticAtom; - #[link_name = "?child@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_child: *mut nsStaticAtom; - #[link_name = "?children@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_children: *mut nsStaticAtom; - #[link_name = "?childList@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_childList: *mut nsStaticAtom; - #[link_name = "?choose@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_choose: *mut nsStaticAtom; - #[link_name = "?chromemargin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_chromemargin: *mut nsStaticAtom; - #[link_name = "?chromeOnlyContent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_chromeOnlyContent: *mut nsStaticAtom; - #[link_name = "?exposeToUntrustedContent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exposeToUntrustedContent: *mut nsStaticAtom; - #[link_name = "?circ@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_circ: *mut nsStaticAtom; - #[link_name = "?circle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_circle: *mut nsStaticAtom; - #[link_name = "?cite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cite: *mut nsStaticAtom; - #[link_name = "?cjkDecimal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cjkDecimal: *mut nsStaticAtom; - #[link_name = "?_class@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__class: *mut nsStaticAtom; - #[link_name = "?classid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_classid: *mut nsStaticAtom; - #[link_name = "?clear@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clear: *mut nsStaticAtom; - #[link_name = "?click@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_click: *mut nsStaticAtom; - #[link_name = "?clickcount@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clickcount: *mut nsStaticAtom; - #[link_name = "?clickthrough@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clickthrough: *mut nsStaticAtom; - #[link_name = "?movetoclick@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_movetoclick: *mut nsStaticAtom; - #[link_name = "?clip@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clip: *mut nsStaticAtom; - #[link_name = "?close@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_close: *mut nsStaticAtom; - #[link_name = "?closed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_closed: *mut nsStaticAtom; - #[link_name = "?closemenu@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_closemenu: *mut nsStaticAtom; - #[link_name = "?coalesceduplicatearcs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_coalesceduplicatearcs: *mut nsStaticAtom; - #[link_name = "?code@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_code: *mut nsStaticAtom; - #[link_name = "?codebase@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_codebase: *mut nsStaticAtom; - #[link_name = "?codetype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_codetype: *mut nsStaticAtom; - #[link_name = "?col@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_col: *mut nsStaticAtom; - #[link_name = "?colgroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colgroup: *mut nsStaticAtom; - #[link_name = "?collapse@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_collapse: *mut nsStaticAtom; - #[link_name = "?collapsed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_collapsed: *mut nsStaticAtom; - #[link_name = "?color@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_color: *mut nsStaticAtom; - #[link_name = "?colorIndex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorIndex: *mut nsStaticAtom; - #[link_name = "?cols@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cols: *mut nsStaticAtom; - #[link_name = "?colspan@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colspan: *mut nsStaticAtom; - #[link_name = "?column@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_column: *mut nsStaticAtom; - #[link_name = "?columns@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columns: *mut nsStaticAtom; - #[link_name = "?combobox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_combobox: *mut nsStaticAtom; - #[link_name = "?command@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_command: *mut nsStaticAtom; - #[link_name = "?commands@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_commands: *mut nsStaticAtom; - #[link_name = "?commandset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_commandset: *mut nsStaticAtom; - #[link_name = "?commandupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_commandupdate: *mut nsStaticAtom; - #[link_name = "?commandupdater@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_commandupdater: *mut nsStaticAtom; - #[link_name = "?comment@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_comment: *mut nsStaticAtom; - #[link_name = "?compact@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_compact: *mut nsStaticAtom; - #[link_name = "?concat@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_concat: *mut nsStaticAtom; - #[link_name = "?conditions@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_conditions: *mut nsStaticAtom; - #[link_name = "?constructor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_constructor: *mut nsStaticAtom; - #[link_name = "?consumeoutsideclicks@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_consumeoutsideclicks: *mut nsStaticAtom; - #[link_name = "?container@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_container: *mut nsStaticAtom; - #[link_name = "?containment@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_containment: *mut nsStaticAtom; - #[link_name = "?contains@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_contains: *mut nsStaticAtom; - #[link_name = "?content@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_content: *mut nsStaticAtom; - #[link_name = "?contenteditable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_contenteditable: *mut nsStaticAtom; - #[link_name = "?headerContentDisposition@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerContentDisposition: *mut nsStaticAtom; - #[link_name = "?headerContentLanguage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerContentLanguage: *mut nsStaticAtom; - #[link_name = "?contentLocation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_contentLocation: *mut nsStaticAtom; - #[link_name = "?headerContentScriptType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerContentScriptType: *mut nsStaticAtom; - #[link_name = "?headerContentStyleType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerContentStyleType: *mut nsStaticAtom; - #[link_name = "?headerContentType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerContentType: *mut nsStaticAtom; - #[link_name = "?consumeanchor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_consumeanchor: *mut nsStaticAtom; - #[link_name = "?context@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_context: *mut nsStaticAtom; - #[link_name = "?contextmenu@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_contextmenu: *mut nsStaticAtom; - #[link_name = "?control@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_control: *mut nsStaticAtom; - #[link_name = "?controls@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_controls: *mut nsStaticAtom; - #[link_name = "?coords@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_coords: *mut nsStaticAtom; - #[link_name = "?copy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_copy: *mut nsStaticAtom; - #[link_name = "?copyOf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_copyOf: *mut nsStaticAtom; - #[link_name = "?count@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_count: *mut nsStaticAtom; - #[link_name = "?crop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_crop: *mut nsStaticAtom; - #[link_name = "?crossorigin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_crossorigin: *mut nsStaticAtom; - #[link_name = "?curpos@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_curpos: *mut nsStaticAtom; - #[link_name = "?current@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_current: *mut nsStaticAtom; - #[link_name = "?cutoutregion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cutoutregion: *mut nsStaticAtom; - #[link_name = "?cycler@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cycler: *mut nsStaticAtom; - #[link_name = "?data@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_data: *mut nsStaticAtom; - #[link_name = "?datalist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datalist: *mut nsStaticAtom; - #[link_name = "?datal10nid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datal10nid: *mut nsStaticAtom; - #[link_name = "?datal10nargs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datal10nargs: *mut nsStaticAtom; - #[link_name = "?datal10nattrs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datal10nattrs: *mut nsStaticAtom; - #[link_name = "?dataType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dataType: *mut nsStaticAtom; - #[link_name = "?dateTime@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dateTime: *mut nsStaticAtom; - #[link_name = "?datasources@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datasources: *mut nsStaticAtom; - #[link_name = "?date@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_date: *mut nsStaticAtom; - #[link_name = "?datetime@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datetime: *mut nsStaticAtom; - #[link_name = "?datetimebox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datetimebox: *mut nsStaticAtom; - #[link_name = "?dblclick@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dblclick: *mut nsStaticAtom; - #[link_name = "?dd@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dd: *mut nsStaticAtom; - #[link_name = "?debug@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_debug: *mut nsStaticAtom; - #[link_name = "?decimal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_decimal: *mut nsStaticAtom; - #[link_name = "?decimalFormat@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_decimalFormat: *mut nsStaticAtom; - #[link_name = "?decimalSeparator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_decimalSeparator: *mut nsStaticAtom; - #[link_name = "?deck@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_deck: *mut nsStaticAtom; - #[link_name = "?declare@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_declare: *mut nsStaticAtom; - #[link_name = "?decoderDoctor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_decoderDoctor: *mut nsStaticAtom; - #[link_name = "?decrement@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_decrement: *mut nsStaticAtom; - #[link_name = "?_default@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__default: *mut nsStaticAtom; - #[link_name = "?headerDefaultStyle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerDefaultStyle: *mut nsStaticAtom; - #[link_name = "?defaultAction@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defaultAction: *mut nsStaticAtom; - #[link_name = "?defaultchecked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defaultchecked: *mut nsStaticAtom; - #[link_name = "?defaultLabel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defaultLabel: *mut nsStaticAtom; - #[link_name = "?defaultselected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defaultselected: *mut nsStaticAtom; - #[link_name = "?defaultvalue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defaultvalue: *mut nsStaticAtom; - #[link_name = "?defaultplaybackrate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defaultplaybackrate: *mut nsStaticAtom; - #[link_name = "?defer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defer: *mut nsStaticAtom; - #[link_name = "?del@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_del: *mut nsStaticAtom; - #[link_name = "?descendant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_descendant: *mut nsStaticAtom; - #[link_name = "?descendantOrSelf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_descendantOrSelf: *mut nsStaticAtom; - #[link_name = "?descending@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_descending: *mut nsStaticAtom; - #[link_name = "?description@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_description: *mut nsStaticAtom; - #[link_name = "?destructor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_destructor: *mut nsStaticAtom; - #[link_name = "?details@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_details: *mut nsStaticAtom; - #[link_name = "?deviceAspectRatio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_deviceAspectRatio: *mut nsStaticAtom; - #[link_name = "?deviceHeight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_deviceHeight: *mut nsStaticAtom; - #[link_name = "?devicePixelRatio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_devicePixelRatio: *mut nsStaticAtom; - #[link_name = "?deviceWidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_deviceWidth: *mut nsStaticAtom; - #[link_name = "?dfn@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dfn: *mut nsStaticAtom; - #[link_name = "?dialog@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dialog: *mut nsStaticAtom; - #[link_name = "?difference@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_difference: *mut nsStaticAtom; - #[link_name = "?digit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_digit: *mut nsStaticAtom; - #[link_name = "?dir@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dir: *mut nsStaticAtom; - #[link_name = "?dirAutoSetBy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dirAutoSetBy: *mut nsStaticAtom; - #[link_name = "?directionality@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_directionality: *mut nsStaticAtom; - #[link_name = "?directory@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_directory: *mut nsStaticAtom; - #[link_name = "?disableOutputEscaping@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disableOutputEscaping: *mut nsStaticAtom; - #[link_name = "?disabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disabled: *mut nsStaticAtom; - #[link_name = "?disableglobalhistory@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disableglobalhistory: *mut nsStaticAtom; - #[link_name = "?disablehistory@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disablehistory: *mut nsStaticAtom; - #[link_name = "?disablefullscreen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disablefullscreen: *mut nsStaticAtom; - #[link_name = "?disclosure_closed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disclosure_closed: *mut nsStaticAtom; - #[link_name = "?disclosure_open@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disclosure_open: *mut nsStaticAtom; - #[link_name = "?display@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_display: *mut nsStaticAtom; - #[link_name = "?displayMode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_displayMode: *mut nsStaticAtom; - #[link_name = "?distinct@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_distinct: *mut nsStaticAtom; - #[link_name = "?div@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_div: *mut nsStaticAtom; - #[link_name = "?dl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dl: *mut nsStaticAtom; - #[link_name = "?docAbstract@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docAbstract: *mut nsStaticAtom; - #[link_name = "?docAcknowledgments@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docAcknowledgments: *mut nsStaticAtom; - #[link_name = "?docAfterword@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docAfterword: *mut nsStaticAtom; - #[link_name = "?docAppendix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docAppendix: *mut nsStaticAtom; - #[link_name = "?docBacklink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docBacklink: *mut nsStaticAtom; - #[link_name = "?docBiblioentry@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docBiblioentry: *mut nsStaticAtom; - #[link_name = "?docBibliography@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docBibliography: *mut nsStaticAtom; - #[link_name = "?docBiblioref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docBiblioref: *mut nsStaticAtom; - #[link_name = "?docChapter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docChapter: *mut nsStaticAtom; - #[link_name = "?docColophon@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docColophon: *mut nsStaticAtom; - #[link_name = "?docConclusion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docConclusion: *mut nsStaticAtom; - #[link_name = "?docCover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docCover: *mut nsStaticAtom; - #[link_name = "?docCredit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docCredit: *mut nsStaticAtom; - #[link_name = "?docCredits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docCredits: *mut nsStaticAtom; - #[link_name = "?docDedication@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docDedication: *mut nsStaticAtom; - #[link_name = "?docEndnote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docEndnote: *mut nsStaticAtom; - #[link_name = "?docEndnotes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docEndnotes: *mut nsStaticAtom; - #[link_name = "?docEpigraph@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docEpigraph: *mut nsStaticAtom; - #[link_name = "?docEpilogue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docEpilogue: *mut nsStaticAtom; - #[link_name = "?docErrata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docErrata: *mut nsStaticAtom; - #[link_name = "?docExample@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docExample: *mut nsStaticAtom; - #[link_name = "?docFootnote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docFootnote: *mut nsStaticAtom; - #[link_name = "?docForeword@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docForeword: *mut nsStaticAtom; - #[link_name = "?docGlossary@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docGlossary: *mut nsStaticAtom; - #[link_name = "?docGlossref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docGlossref: *mut nsStaticAtom; - #[link_name = "?docIndex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docIndex: *mut nsStaticAtom; - #[link_name = "?docIntroduction@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docIntroduction: *mut nsStaticAtom; - #[link_name = "?docNoteref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docNoteref: *mut nsStaticAtom; - #[link_name = "?docNotice@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docNotice: *mut nsStaticAtom; - #[link_name = "?docPagebreak@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docPagebreak: *mut nsStaticAtom; - #[link_name = "?docPagelist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docPagelist: *mut nsStaticAtom; - #[link_name = "?docPart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docPart: *mut nsStaticAtom; - #[link_name = "?docPreface@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docPreface: *mut nsStaticAtom; - #[link_name = "?docPrologue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docPrologue: *mut nsStaticAtom; - #[link_name = "?docPullquote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docPullquote: *mut nsStaticAtom; - #[link_name = "?docQna@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docQna: *mut nsStaticAtom; - #[link_name = "?docSubtitle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docSubtitle: *mut nsStaticAtom; - #[link_name = "?docTip@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docTip: *mut nsStaticAtom; - #[link_name = "?docToc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docToc: *mut nsStaticAtom; - #[link_name = "?doctypePublic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_doctypePublic: *mut nsStaticAtom; - #[link_name = "?doctypeSystem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_doctypeSystem: *mut nsStaticAtom; - #[link_name = "?document@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_document: *mut nsStaticAtom; - #[link_name = "?download@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_download: *mut nsStaticAtom; - #[link_name = "?DOMAttrModified@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMAttrModified: *mut nsStaticAtom; - #[link_name = "?DOMCharacterDataModified@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMCharacterDataModified: *mut nsStaticAtom; - #[link_name = "?DOMNodeInserted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMNodeInserted: *mut nsStaticAtom; - #[link_name = "?DOMNodeInsertedIntoDocument@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMNodeInsertedIntoDocument: *mut nsStaticAtom; - #[link_name = "?DOMNodeRemoved@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMNodeRemoved: *mut nsStaticAtom; - #[link_name = "?DOMNodeRemovedFromDocument@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMNodeRemovedFromDocument: *mut nsStaticAtom; - #[link_name = "?DOMSubtreeModified@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DOMSubtreeModified: *mut nsStaticAtom; - #[link_name = "?double_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_double_: *mut nsStaticAtom; - #[link_name = "?drag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_drag: *mut nsStaticAtom; - #[link_name = "?dragend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragend: *mut nsStaticAtom; - #[link_name = "?dragenter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragenter: *mut nsStaticAtom; - #[link_name = "?dragevent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragevent: *mut nsStaticAtom; - #[link_name = "?dragexit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragexit: *mut nsStaticAtom; - #[link_name = "?draggable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_draggable: *mut nsStaticAtom; - #[link_name = "?dragging@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragging: *mut nsStaticAtom; - #[link_name = "?dragleave@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragleave: *mut nsStaticAtom; - #[link_name = "?dragover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragover: *mut nsStaticAtom; - #[link_name = "?dragSession@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragSession: *mut nsStaticAtom; - #[link_name = "?dragstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dragstart: *mut nsStaticAtom; - #[link_name = "?drawintitlebar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_drawintitlebar: *mut nsStaticAtom; - #[link_name = "?drawtitle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_drawtitle: *mut nsStaticAtom; - #[link_name = "?drop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_drop: *mut nsStaticAtom; - #[link_name = "?dropAfter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dropAfter: *mut nsStaticAtom; - #[link_name = "?dropBefore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dropBefore: *mut nsStaticAtom; - #[link_name = "?dropOn@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dropOn: *mut nsStaticAtom; - #[link_name = "?dropMarker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dropMarker: *mut nsStaticAtom; - #[link_name = "?dt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dt: *mut nsStaticAtom; - #[link_name = "?editable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_editable: *mut nsStaticAtom; - #[link_name = "?editing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_editing: *mut nsStaticAtom; - #[link_name = "?editor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_editor: *mut nsStaticAtom; - #[link_name = "?editorDisplayList@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_editorDisplayList: *mut nsStaticAtom; - #[link_name = "?element@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_element: *mut nsStaticAtom; - #[link_name = "?elementAvailable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_elementAvailable: *mut nsStaticAtom; - #[link_name = "?elements@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_elements: *mut nsStaticAtom; - #[link_name = "?em@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_em: *mut nsStaticAtom; - #[link_name = "?embed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_embed: *mut nsStaticAtom; - #[link_name = "?embossed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_embossed: *mut nsStaticAtom; - #[link_name = "?empty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_empty: *mut nsStaticAtom; - #[link_name = "?encoding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_encoding: *mut nsStaticAtom; - #[link_name = "?enctype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_enctype: *mut nsStaticAtom; - #[link_name = "?end@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_end: *mut nsStaticAtom; - #[link_name = "?endEvent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_endEvent: *mut nsStaticAtom; - #[link_name = "?end_after@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_end_after: *mut nsStaticAtom; - #[link_name = "?end_before@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_end_before: *mut nsStaticAtom; - #[link_name = "?equalsize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_equalsize: *mut nsStaticAtom; - #[link_name = "?error@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_error: *mut nsStaticAtom; - #[link_name = "?ethiopic_numeric@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ethiopic_numeric: *mut nsStaticAtom; - #[link_name = "?even@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_even: *mut nsStaticAtom; - #[link_name = "?event@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_event: *mut nsStaticAtom; - #[link_name = "?events@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_events: *mut nsStaticAtom; - #[link_name = "?excludeResultPrefixes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_excludeResultPrefixes: *mut nsStaticAtom; - #[link_name = "?excludes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_excludes: *mut nsStaticAtom; - #[link_name = "?expr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_expr: *mut nsStaticAtom; - #[link_name = "?extends@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_extends: *mut nsStaticAtom; - #[link_name = "?extensionElementPrefixes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_extensionElementPrefixes: *mut nsStaticAtom; - #[link_name = "?face@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_face: *mut nsStaticAtom; - #[link_name = "?fallback@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fallback: *mut nsStaticAtom; - #[link_name = "?_false@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__false: *mut nsStaticAtom; - #[link_name = "?farthest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_farthest: *mut nsStaticAtom; - #[link_name = "?field@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_field: *mut nsStaticAtom; - #[link_name = "?fieldset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fieldset: *mut nsStaticAtom; - #[link_name = "?file@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_file: *mut nsStaticAtom; - #[link_name = "?figcaption@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_figcaption: *mut nsStaticAtom; - #[link_name = "?figure@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_figure: *mut nsStaticAtom; - #[link_name = "?findbar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_findbar: *mut nsStaticAtom; - #[link_name = "?fixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fixed: *mut nsStaticAtom; - #[link_name = "?flags@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_flags: *mut nsStaticAtom; - #[link_name = "?flex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_flex: *mut nsStaticAtom; - #[link_name = "?flip@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_flip: *mut nsStaticAtom; - #[link_name = "?floating@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_floating: *mut nsStaticAtom; - #[link_name = "?floor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_floor: *mut nsStaticAtom; - #[link_name = "?flowlength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_flowlength: *mut nsStaticAtom; - #[link_name = "?focus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_focus: *mut nsStaticAtom; - #[link_name = "?focused@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_focused: *mut nsStaticAtom; - #[link_name = "?followanchor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_followanchor: *mut nsStaticAtom; - #[link_name = "?following@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_following: *mut nsStaticAtom; - #[link_name = "?followingSibling@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_followingSibling: *mut nsStaticAtom; - #[link_name = "?font@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font: *mut nsStaticAtom; - #[link_name = "?fontWeight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fontWeight: *mut nsStaticAtom; - #[link_name = "?fontpicker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fontpicker: *mut nsStaticAtom; - #[link_name = "?footer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_footer: *mut nsStaticAtom; - #[link_name = "?_for@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__for: *mut nsStaticAtom; - #[link_name = "?forEach@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_forEach: *mut nsStaticAtom; - #[link_name = "?forceOwnRefreshDriver@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_forceOwnRefreshDriver: *mut nsStaticAtom; - #[link_name = "?form@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_form: *mut nsStaticAtom; - #[link_name = "?formaction@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_formaction: *mut nsStaticAtom; - #[link_name = "?format@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_format: *mut nsStaticAtom; - #[link_name = "?formatNumber@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_formatNumber: *mut nsStaticAtom; - #[link_name = "?formenctype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_formenctype: *mut nsStaticAtom; - #[link_name = "?formmethod@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_formmethod: *mut nsStaticAtom; - #[link_name = "?formnovalidate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_formnovalidate: *mut nsStaticAtom; - #[link_name = "?formtarget@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_formtarget: *mut nsStaticAtom; - #[link_name = "?frame@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_frame: *mut nsStaticAtom; - #[link_name = "?frameborder@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_frameborder: *mut nsStaticAtom; - #[link_name = "?frameset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_frameset: *mut nsStaticAtom; - #[link_name = "?from@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_from: *mut nsStaticAtom; - #[link_name = "?fullscreenchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fullscreenchange: *mut nsStaticAtom; - #[link_name = "?fullscreenerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fullscreenerror: *mut nsStaticAtom; - #[link_name = "?functionAvailable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_functionAvailable: *mut nsStaticAtom; - #[link_name = "?freshProcess@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_freshProcess: *mut nsStaticAtom; - #[link_name = "?generateId@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_generateId: *mut nsStaticAtom; - #[link_name = "?getter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_getter: *mut nsStaticAtom; - #[link_name = "?glyphchar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_glyphchar: *mut nsStaticAtom; - #[link_name = "?glyphid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_glyphid: *mut nsStaticAtom; - #[link_name = "?graphicsDocument@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_graphicsDocument: *mut nsStaticAtom; - #[link_name = "?graphicsObject@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_graphicsObject: *mut nsStaticAtom; - #[link_name = "?graphicsSymbol@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_graphicsSymbol: *mut nsStaticAtom; - #[link_name = "?grid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_grid: *mut nsStaticAtom; - #[link_name = "?group@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_group: *mut nsStaticAtom; - #[link_name = "?groupbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_groupbox: *mut nsStaticAtom; - #[link_name = "?groupingSeparator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_groupingSeparator: *mut nsStaticAtom; - #[link_name = "?groupingSize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_groupingSize: *mut nsStaticAtom; - #[link_name = "?grow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_grow: *mut nsStaticAtom; - #[link_name = "?gutter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gutter: *mut nsStaticAtom; - #[link_name = "?h1@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_h1: *mut nsStaticAtom; - #[link_name = "?h2@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_h2: *mut nsStaticAtom; - #[link_name = "?h3@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_h3: *mut nsStaticAtom; - #[link_name = "?h4@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_h4: *mut nsStaticAtom; - #[link_name = "?h5@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_h5: *mut nsStaticAtom; - #[link_name = "?h6@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_h6: *mut nsStaticAtom; - #[link_name = "?handheld@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_handheld: *mut nsStaticAtom; - #[link_name = "?handheldFriendly@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_handheldFriendly: *mut nsStaticAtom; - #[link_name = "?handler@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_handler: *mut nsStaticAtom; - #[link_name = "?handlers@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_handlers: *mut nsStaticAtom; - #[link_name = "?HARD@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_HARD: *mut nsStaticAtom; - #[link_name = "?haspopup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_haspopup: *mut nsStaticAtom; - #[link_name = "?hasSameNode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hasSameNode: *mut nsStaticAtom; - #[link_name = "?hbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hbox: *mut nsStaticAtom; - #[link_name = "?head@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_head: *mut nsStaticAtom; - #[link_name = "?header@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_header: *mut nsStaticAtom; - #[link_name = "?headers@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headers: *mut nsStaticAtom; - #[link_name = "?hebrew@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hebrew: *mut nsStaticAtom; - #[link_name = "?height@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_height: *mut nsStaticAtom; - #[link_name = "?hgroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hgroup: *mut nsStaticAtom; - #[link_name = "?hidden@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hidden: *mut nsStaticAtom; - #[link_name = "?hidechrome@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hidechrome: *mut nsStaticAtom; - #[link_name = "?hidecolumnpicker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hidecolumnpicker: *mut nsStaticAtom; - #[link_name = "?high@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_high: *mut nsStaticAtom; - #[link_name = "?highest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_highest: *mut nsStaticAtom; - #[link_name = "?horizontal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_horizontal: *mut nsStaticAtom; - #[link_name = "?hover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hover: *mut nsStaticAtom; - #[link_name = "?hr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hr: *mut nsStaticAtom; - #[link_name = "?href@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_href: *mut nsStaticAtom; - #[link_name = "?hreflang@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hreflang: *mut nsStaticAtom; - #[link_name = "?hspace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hspace: *mut nsStaticAtom; - #[link_name = "?html@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_html: *mut nsStaticAtom; - #[link_name = "?httpEquiv@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_httpEquiv: *mut nsStaticAtom; - #[link_name = "?i@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_i: *mut nsStaticAtom; - #[link_name = "?icon@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_icon: *mut nsStaticAtom; - #[link_name = "?id@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_id: *mut nsStaticAtom; - #[link_name = "?_if@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__if: *mut nsStaticAtom; - #[link_name = "?iframe@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_iframe: *mut nsStaticAtom; - #[link_name = "?ignorecase@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ignorecase: *mut nsStaticAtom; - #[link_name = "?ignorekeys@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ignorekeys: *mut nsStaticAtom; - #[link_name = "?ignoreuserfocus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ignoreuserfocus: *mut nsStaticAtom; - #[link_name = "?ilayer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ilayer: *mut nsStaticAtom; - #[link_name = "?image@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_image: *mut nsStaticAtom; - #[link_name = "?imageClickedPoint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_imageClickedPoint: *mut nsStaticAtom; - #[link_name = "?img@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_img: *mut nsStaticAtom; - #[link_name = "?implementation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_implementation: *mut nsStaticAtom; - #[link_name = "?implements@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_implements: *mut nsStaticAtom; - #[link_name = "?import@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_import: *mut nsStaticAtom; - #[link_name = "?include@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_include: *mut nsStaticAtom; - #[link_name = "?includes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_includes: *mut nsStaticAtom; - #[link_name = "?increment@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_increment: *mut nsStaticAtom; - #[link_name = "?indent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indent: *mut nsStaticAtom; - #[link_name = "?indeterminate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indeterminate: *mut nsStaticAtom; - #[link_name = "?index@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_index: *mut nsStaticAtom; - #[link_name = "?infer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_infer: *mut nsStaticAtom; - #[link_name = "?infinity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_infinity: *mut nsStaticAtom; - #[link_name = "?inherit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_inherit: *mut nsStaticAtom; - #[link_name = "?inherits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_inherits: *mut nsStaticAtom; - #[link_name = "?inheritstyle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_inheritstyle: *mut nsStaticAtom; - #[link_name = "?initial_scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_initial_scale: *mut nsStaticAtom; - #[link_name = "?input@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_input: *mut nsStaticAtom; - #[link_name = "?inputmode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_inputmode: *mut nsStaticAtom; - #[link_name = "?ins@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ins: *mut nsStaticAtom; - #[link_name = "?insertafter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_insertafter: *mut nsStaticAtom; - #[link_name = "?insertbefore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_insertbefore: *mut nsStaticAtom; - #[link_name = "?install@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_install: *mut nsStaticAtom; - #[link_name = "?instanceOf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_instanceOf: *mut nsStaticAtom; - #[link_name = "?int32@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_int32: *mut nsStaticAtom; - #[link_name = "?int64@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_int64: *mut nsStaticAtom; - #[link_name = "?integer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_integer: *mut nsStaticAtom; - #[link_name = "?integrity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_integrity: *mut nsStaticAtom; - #[link_name = "?intersection@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_intersection: *mut nsStaticAtom; - #[link_name = "?intersectionobserverlist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_intersectionobserverlist: *mut nsStaticAtom; - #[link_name = "?is@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_is: *mut nsStaticAtom; - #[link_name = "?iscontainer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_iscontainer: *mut nsStaticAtom; - #[link_name = "?isempty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_isempty: *mut nsStaticAtom; - #[link_name = "?ismap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ismap: *mut nsStaticAtom; - #[link_name = "?itemid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_itemid: *mut nsStaticAtom; - #[link_name = "?itemprop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_itemprop: *mut nsStaticAtom; - #[link_name = "?itemref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_itemref: *mut nsStaticAtom; - #[link_name = "?itemscope@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_itemscope: *mut nsStaticAtom; - #[link_name = "?itemtype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_itemtype: *mut nsStaticAtom; - #[link_name = "?japanese_formal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_japanese_formal: *mut nsStaticAtom; - #[link_name = "?japanese_informal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_japanese_informal: *mut nsStaticAtom; - #[link_name = "?kbd@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kbd: *mut nsStaticAtom; - #[link_name = "?keepcurrentinview@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keepcurrentinview: *mut nsStaticAtom; - #[link_name = "?keepobjectsalive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keepobjectsalive: *mut nsStaticAtom; - #[link_name = "?key@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_key: *mut nsStaticAtom; - #[link_name = "?keycode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keycode: *mut nsStaticAtom; - #[link_name = "?keystatuseschange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keystatuseschange: *mut nsStaticAtom; - #[link_name = "?keydown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keydown: *mut nsStaticAtom; - #[link_name = "?keygen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keygen: *mut nsStaticAtom; - #[link_name = "?keypress@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keypress: *mut nsStaticAtom; - #[link_name = "?keyset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keyset: *mut nsStaticAtom; - #[link_name = "?keysystem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keysystem: *mut nsStaticAtom; - #[link_name = "?keytext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keytext: *mut nsStaticAtom; - #[link_name = "?keyup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keyup: *mut nsStaticAtom; - #[link_name = "?kind@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kind: *mut nsStaticAtom; - #[link_name = "?korean_hangul_formal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_korean_hangul_formal: *mut nsStaticAtom; - #[link_name = "?korean_hanja_formal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_korean_hanja_formal: *mut nsStaticAtom; - #[link_name = "?korean_hanja_informal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_korean_hanja_informal: *mut nsStaticAtom; - #[link_name = "?label@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_label: *mut nsStaticAtom; - #[link_name = "?labels@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_labels: *mut nsStaticAtom; - #[link_name = "?lang@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lang: *mut nsStaticAtom; - #[link_name = "?language@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_language: *mut nsStaticAtom; - #[link_name = "?last@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_last: *mut nsStaticAtom; - #[link_name = "?layer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_layer: *mut nsStaticAtom; - #[link_name = "?LayerActivity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_LayerActivity: *mut nsStaticAtom; - #[link_name = "?layout@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_layout: *mut nsStaticAtom; - #[link_name = "?leading@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_leading: *mut nsStaticAtom; - #[link_name = "?leaf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_leaf: *mut nsStaticAtom; - #[link_name = "?left@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_left: *mut nsStaticAtom; - #[link_name = "?leftmargin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_leftmargin: *mut nsStaticAtom; - #[link_name = "?leftpadding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_leftpadding: *mut nsStaticAtom; - #[link_name = "?legend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_legend: *mut nsStaticAtom; - #[link_name = "?length@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_length: *mut nsStaticAtom; - #[link_name = "?letterValue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_letterValue: *mut nsStaticAtom; - #[link_name = "?level@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_level: *mut nsStaticAtom; - #[link_name = "?li@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_li: *mut nsStaticAtom; - #[link_name = "?line@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_line: *mut nsStaticAtom; - #[link_name = "?link@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_link: *mut nsStaticAtom; - #[link_name = "?listbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listbox: *mut nsStaticAtom; - #[link_name = "?listboxbody@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listboxbody: *mut nsStaticAtom; - #[link_name = "?listcell@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listcell: *mut nsStaticAtom; - #[link_name = "?listcol@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listcol: *mut nsStaticAtom; - #[link_name = "?listcols@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listcols: *mut nsStaticAtom; - #[link_name = "?listener@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listener: *mut nsStaticAtom; - #[link_name = "?listhead@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listhead: *mut nsStaticAtom; - #[link_name = "?listheader@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listheader: *mut nsStaticAtom; - #[link_name = "?listing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listing: *mut nsStaticAtom; - #[link_name = "?listitem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listitem: *mut nsStaticAtom; - #[link_name = "?listrows@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_listrows: *mut nsStaticAtom; - #[link_name = "?load@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_load: *mut nsStaticAtom; - #[link_name = "?triggeringprincipal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_triggeringprincipal: *mut nsStaticAtom; - #[link_name = "?localedir@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_localedir: *mut nsStaticAtom; - #[link_name = "?localName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_localName: *mut nsStaticAtom; - #[link_name = "?longdesc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_longdesc: *mut nsStaticAtom; - #[link_name = "?loop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_loop: *mut nsStaticAtom; - #[link_name = "?low@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_low: *mut nsStaticAtom; - #[link_name = "?lowerAlpha@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lowerAlpha: *mut nsStaticAtom; - #[link_name = "?lowerFirst@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lowerFirst: *mut nsStaticAtom; - #[link_name = "?lowerRoman@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lowerRoman: *mut nsStaticAtom; - #[link_name = "?lowest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lowest: *mut nsStaticAtom; - #[link_name = "?lowsrc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lowsrc: *mut nsStaticAtom; - #[link_name = "?ltr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ltr: *mut nsStaticAtom; - #[link_name = "?lwtheme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lwtheme: *mut nsStaticAtom; - #[link_name = "?lwthemetextcolor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lwthemetextcolor: *mut nsStaticAtom; - #[link_name = "?main@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_main: *mut nsStaticAtom; - #[link_name = "?map@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_map: *mut nsStaticAtom; - #[link_name = "?manifest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_manifest: *mut nsStaticAtom; - #[link_name = "?marginBottom@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marginBottom: *mut nsStaticAtom; - #[link_name = "?marginLeft@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marginLeft: *mut nsStaticAtom; - #[link_name = "?marginRight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marginRight: *mut nsStaticAtom; - #[link_name = "?marginTop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marginTop: *mut nsStaticAtom; - #[link_name = "?marginheight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marginheight: *mut nsStaticAtom; - #[link_name = "?marginwidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marginwidth: *mut nsStaticAtom; - #[link_name = "?mark@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mark: *mut nsStaticAtom; - #[link_name = "?marquee@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marquee: *mut nsStaticAtom; - #[link_name = "?match@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_match: *mut nsStaticAtom; - #[link_name = "?max@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_max: *mut nsStaticAtom; - #[link_name = "?maxheight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maxheight: *mut nsStaticAtom; - #[link_name = "?maximum_scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maximum_scale: *mut nsStaticAtom; - #[link_name = "?maxlength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maxlength: *mut nsStaticAtom; - #[link_name = "?maxpos@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maxpos: *mut nsStaticAtom; - #[link_name = "?maxwidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maxwidth: *mut nsStaticAtom; - #[link_name = "?mayscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mayscript: *mut nsStaticAtom; - #[link_name = "?media@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_media: *mut nsStaticAtom; - #[link_name = "?mediaType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mediaType: *mut nsStaticAtom; - #[link_name = "?member@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_member: *mut nsStaticAtom; - #[link_name = "?menu@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menu: *mut nsStaticAtom; - #[link_name = "?menubar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menubar: *mut nsStaticAtom; - #[link_name = "?menubutton@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menubutton: *mut nsStaticAtom; - #[link_name = "?menuButton@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menuButton: *mut nsStaticAtom; - #[link_name = "?menucaption@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menucaption: *mut nsStaticAtom; - #[link_name = "?menugroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menugroup: *mut nsStaticAtom; - #[link_name = "?menuitem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menuitem: *mut nsStaticAtom; - #[link_name = "?menulist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menulist: *mut nsStaticAtom; - #[link_name = "?menupopup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menupopup: *mut nsStaticAtom; - #[link_name = "?menuseparator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menuseparator: *mut nsStaticAtom; - #[link_name = "?message@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_message: *mut nsStaticAtom; - #[link_name = "?meta@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_meta: *mut nsStaticAtom; - #[link_name = "?referrer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_referrer: *mut nsStaticAtom; - #[link_name = "?referrerpolicy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_referrerpolicy: *mut nsStaticAtom; - #[link_name = "?headerReferrerPolicy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerReferrerPolicy: *mut nsStaticAtom; - #[link_name = "?meter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_meter: *mut nsStaticAtom; - #[link_name = "?method@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_method: *mut nsStaticAtom; - #[link_name = "?middle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_middle: *mut nsStaticAtom; - #[link_name = "?min@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_min: *mut nsStaticAtom; - #[link_name = "?minheight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minheight: *mut nsStaticAtom; - #[link_name = "?minimum_scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minimum_scale: *mut nsStaticAtom; - #[link_name = "?minlength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minlength: *mut nsStaticAtom; - #[link_name = "?minpos@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minpos: *mut nsStaticAtom; - #[link_name = "?minusSign@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minusSign: *mut nsStaticAtom; - #[link_name = "?minwidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minwidth: *mut nsStaticAtom; - #[link_name = "?mixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mixed: *mut nsStaticAtom; - #[link_name = "?messagemanagergroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_messagemanagergroup: *mut nsStaticAtom; - #[link_name = "?mod@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mod: *mut nsStaticAtom; - #[link_name = "?mode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mode: *mut nsStaticAtom; - #[link_name = "?modifiers@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_modifiers: *mut nsStaticAtom; - #[link_name = "?monochrome@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_monochrome: *mut nsStaticAtom; - #[link_name = "?mousedown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mousedown: *mut nsStaticAtom; - #[link_name = "?mousemove@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mousemove: *mut nsStaticAtom; - #[link_name = "?mouseout@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mouseout: *mut nsStaticAtom; - #[link_name = "?mouseover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mouseover: *mut nsStaticAtom; - #[link_name = "?mousethrough@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mousethrough: *mut nsStaticAtom; - #[link_name = "?mouseup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mouseup: *mut nsStaticAtom; - #[link_name = "?mozfullscreenchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozfullscreenchange: *mut nsStaticAtom; - #[link_name = "?mozfullscreenerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozfullscreenerror: *mut nsStaticAtom; - #[link_name = "?mozpointerlockchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozpointerlockchange: *mut nsStaticAtom; - #[link_name = "?mozpointerlockerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozpointerlockerror: *mut nsStaticAtom; - #[link_name = "?mozprivatebrowsing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozprivatebrowsing: *mut nsStaticAtom; - #[link_name = "?moz_opaque@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_moz_opaque: *mut nsStaticAtom; - #[link_name = "?moz_action_hint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_moz_action_hint: *mut nsStaticAtom; - #[link_name = "?x_moz_errormessage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_moz_errormessage: *mut nsStaticAtom; - #[link_name = "?multicol@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_multicol: *mut nsStaticAtom; - #[link_name = "?multiple@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_multiple: *mut nsStaticAtom; - #[link_name = "?mute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mute: *mut nsStaticAtom; - #[link_name = "?muted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_muted: *mut nsStaticAtom; - #[link_name = "?name@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_name: *mut nsStaticAtom; - #[link_name = "?_namespace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__namespace: *mut nsStaticAtom; - #[link_name = "?namespaceAlias@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_namespaceAlias: *mut nsStaticAtom; - #[link_name = "?namespaceUri@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_namespaceUri: *mut nsStaticAtom; - #[link_name = "?NaN@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_NaN: *mut nsStaticAtom; - #[link_name = "?nativeAnonymousChildList@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nativeAnonymousChildList: *mut nsStaticAtom; - #[link_name = "?nav@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nav: *mut nsStaticAtom; - #[link_name = "?negate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_negate: *mut nsStaticAtom; - #[link_name = "?never@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_never: *mut nsStaticAtom; - #[link_name = "?_new@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__new: *mut nsStaticAtom; - #[link_name = "?newline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_newline: *mut nsStaticAtom; - #[link_name = "?nextBidi@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nextBidi: *mut nsStaticAtom; - #[link_name = "?nextTabParentId@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nextTabParentId: *mut nsStaticAtom; - #[link_name = "?no@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_no: *mut nsStaticAtom; - #[link_name = "?noautofocus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noautofocus: *mut nsStaticAtom; - #[link_name = "?noautohide@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noautohide: *mut nsStaticAtom; - #[link_name = "?norolluponanchor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_norolluponanchor: *mut nsStaticAtom; - #[link_name = "?nobr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nobr: *mut nsStaticAtom; - #[link_name = "?node@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_node: *mut nsStaticAtom; - #[link_name = "?nodefaultsrc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nodefaultsrc: *mut nsStaticAtom; - #[link_name = "?nodeSet@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nodeSet: *mut nsStaticAtom; - #[link_name = "?noembed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noembed: *mut nsStaticAtom; - #[link_name = "?noframes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noframes: *mut nsStaticAtom; - #[link_name = "?nohref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nohref: *mut nsStaticAtom; - #[link_name = "?noisolation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noisolation: *mut nsStaticAtom; - #[link_name = "?nomodule@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nomodule: *mut nsStaticAtom; - #[link_name = "?nonce@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nonce: *mut nsStaticAtom; - #[link_name = "?none@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_none: *mut nsStaticAtom; - #[link_name = "?noresize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noresize: *mut nsStaticAtom; - #[link_name = "?normal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_normal: *mut nsStaticAtom; - #[link_name = "?normalizeSpace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_normalizeSpace: *mut nsStaticAtom; - #[link_name = "?noscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noscript: *mut nsStaticAtom; - #[link_name = "?noshade@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noshade: *mut nsStaticAtom; - #[link_name = "?notification@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_notification: *mut nsStaticAtom; - #[link_name = "?novalidate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_novalidate: *mut nsStaticAtom; - #[link_name = "?_not@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__not: *mut nsStaticAtom; - #[link_name = "?nowrap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nowrap: *mut nsStaticAtom; - #[link_name = "?number@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_number: *mut nsStaticAtom; - #[link_name = "?null@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_null: *mut nsStaticAtom; - #[link_name = "?object@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_object: *mut nsStaticAtom; - #[link_name = "?objectType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_objectType: *mut nsStaticAtom; - #[link_name = "?observer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_observer: *mut nsStaticAtom; - #[link_name = "?observes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_observes: *mut nsStaticAtom; - #[link_name = "?odd@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_odd: *mut nsStaticAtom; - #[link_name = "?OFF@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_OFF: *mut nsStaticAtom; - #[link_name = "?ol@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ol: *mut nsStaticAtom; - #[link_name = "?omitXmlDeclaration@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_omitXmlDeclaration: *mut nsStaticAtom; - #[link_name = "?ona2dpstatuschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ona2dpstatuschanged: *mut nsStaticAtom; - #[link_name = "?onabort@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onabort: *mut nsStaticAtom; - #[link_name = "?onmozaccesskeynotfound@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozaccesskeynotfound: *mut nsStaticAtom; - #[link_name = "?onactivate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onactivate: *mut nsStaticAtom; - #[link_name = "?onadapteradded@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onadapteradded: *mut nsStaticAtom; - #[link_name = "?onadapterremoved@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onadapterremoved: *mut nsStaticAtom; - #[link_name = "?onafterprint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onafterprint: *mut nsStaticAtom; - #[link_name = "?onafterscriptexecute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onafterscriptexecute: *mut nsStaticAtom; - #[link_name = "?onalerting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onalerting: *mut nsStaticAtom; - #[link_name = "?onanimationcancel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onanimationcancel: *mut nsStaticAtom; - #[link_name = "?onanimationend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onanimationend: *mut nsStaticAtom; - #[link_name = "?onanimationiteration@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onanimationiteration: *mut nsStaticAtom; - #[link_name = "?onanimationstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onanimationstart: *mut nsStaticAtom; - #[link_name = "?onantennaavailablechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onantennaavailablechange: *mut nsStaticAtom; - #[link_name = "?onAppCommand@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onAppCommand: *mut nsStaticAtom; - #[link_name = "?onappinstalled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onappinstalled: *mut nsStaticAtom; - #[link_name = "?onattributechanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onattributechanged: *mut nsStaticAtom; - #[link_name = "?onattributereadreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onattributereadreq: *mut nsStaticAtom; - #[link_name = "?onattributewritereq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onattributewritereq: *mut nsStaticAtom; - #[link_name = "?onaudioprocess@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onaudioprocess: *mut nsStaticAtom; - #[link_name = "?onauxclick@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onauxclick: *mut nsStaticAtom; - #[link_name = "?onbeforecopy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforecopy: *mut nsStaticAtom; - #[link_name = "?onbeforecut@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforecut: *mut nsStaticAtom; - #[link_name = "?onbeforepaste@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforepaste: *mut nsStaticAtom; - #[link_name = "?onbeforeevicted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforeevicted: *mut nsStaticAtom; - #[link_name = "?onbeforeprint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforeprint: *mut nsStaticAtom; - #[link_name = "?onbeforescriptexecute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforescriptexecute: *mut nsStaticAtom; - #[link_name = "?onbeforeunload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeforeunload: *mut nsStaticAtom; - #[link_name = "?onblocked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onblocked: *mut nsStaticAtom; - #[link_name = "?onblur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onblur: *mut nsStaticAtom; - #[link_name = "?onbroadcast@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbroadcast: *mut nsStaticAtom; - #[link_name = "?onbusy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbusy: *mut nsStaticAtom; - #[link_name = "?onbufferedamountlow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbufferedamountlow: *mut nsStaticAtom; - #[link_name = "?oncached@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncached: *mut nsStaticAtom; - #[link_name = "?oncallschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncallschanged: *mut nsStaticAtom; - #[link_name = "?oncancel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncancel: *mut nsStaticAtom; - #[link_name = "?oncardstatechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncardstatechange: *mut nsStaticAtom; - #[link_name = "?oncfstatechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncfstatechange: *mut nsStaticAtom; - #[link_name = "?onchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onchange: *mut nsStaticAtom; - #[link_name = "?oncharacteristicchanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncharacteristicchanged: *mut nsStaticAtom; - #[link_name = "?onchargingchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onchargingchange: *mut nsStaticAtom; - #[link_name = "?onchargingtimechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onchargingtimechange: *mut nsStaticAtom; - #[link_name = "?onchecking@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onchecking: *mut nsStaticAtom; - #[link_name = "?onCheckboxStateChange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onCheckboxStateChange: *mut nsStaticAtom; - #[link_name = "?onclick@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onclick: *mut nsStaticAtom; - #[link_name = "?onclirmodechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onclirmodechange: *mut nsStaticAtom; - #[link_name = "?onclose@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onclose: *mut nsStaticAtom; - #[link_name = "?oncommand@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncommand: *mut nsStaticAtom; - #[link_name = "?oncommandupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncommandupdate: *mut nsStaticAtom; - #[link_name = "?oncomplete@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncomplete: *mut nsStaticAtom; - #[link_name = "?oncompositionend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncompositionend: *mut nsStaticAtom; - #[link_name = "?oncompositionstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncompositionstart: *mut nsStaticAtom; - #[link_name = "?oncompositionupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncompositionupdate: *mut nsStaticAtom; - #[link_name = "?onconnect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onconnect: *mut nsStaticAtom; - #[link_name = "?onconnected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onconnected: *mut nsStaticAtom; - #[link_name = "?onconnecting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onconnecting: *mut nsStaticAtom; - #[link_name = "?onconnectionavailable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onconnectionavailable: *mut nsStaticAtom; - #[link_name = "?onconnectionstatechanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onconnectionstatechanged: *mut nsStaticAtom; - #[link_name = "?oncontextmenu@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncontextmenu: *mut nsStaticAtom; - #[link_name = "?oncopy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncopy: *mut nsStaticAtom; - #[link_name = "?oncurrentchannelchanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncurrentchannelchanged: *mut nsStaticAtom; - #[link_name = "?oncurrentsourcechanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncurrentsourcechanged: *mut nsStaticAtom; - #[link_name = "?oncut@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncut: *mut nsStaticAtom; - #[link_name = "?ondatachange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondatachange: *mut nsStaticAtom; - #[link_name = "?ondataerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondataerror: *mut nsStaticAtom; - #[link_name = "?ondblclick@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondblclick: *mut nsStaticAtom; - #[link_name = "?ondeleted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondeleted: *mut nsStaticAtom; - #[link_name = "?ondeliverysuccess@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondeliverysuccess: *mut nsStaticAtom; - #[link_name = "?ondeliveryerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondeliveryerror: *mut nsStaticAtom; - #[link_name = "?ondevicefound@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondevicefound: *mut nsStaticAtom; - #[link_name = "?ondevicepaired@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondevicepaired: *mut nsStaticAtom; - #[link_name = "?ondeviceunpaired@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondeviceunpaired: *mut nsStaticAtom; - #[link_name = "?ondialing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondialing: *mut nsStaticAtom; - #[link_name = "?ondisabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondisabled: *mut nsStaticAtom; - #[link_name = "?ondischargingtimechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondischargingtimechange: *mut nsStaticAtom; - #[link_name = "?ondisconnect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondisconnect: *mut nsStaticAtom; - #[link_name = "?ondisconnected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondisconnected: *mut nsStaticAtom; - #[link_name = "?ondisconnecting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondisconnecting: *mut nsStaticAtom; - #[link_name = "?ondisplaypasskeyreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondisplaypasskeyreq: *mut nsStaticAtom; - #[link_name = "?ondownloading@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondownloading: *mut nsStaticAtom; - #[link_name = "?onDOMActivate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMActivate: *mut nsStaticAtom; - #[link_name = "?onDOMAttrModified@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMAttrModified: *mut nsStaticAtom; - #[link_name = "?onDOMCharacterDataModified@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMCharacterDataModified: *mut nsStaticAtom; - #[link_name = "?onDOMFocusIn@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMFocusIn: *mut nsStaticAtom; - #[link_name = "?onDOMFocusOut@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMFocusOut: *mut nsStaticAtom; - #[link_name = "?onDOMMouseScroll@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMMouseScroll: *mut nsStaticAtom; - #[link_name = "?onDOMNodeInserted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMNodeInserted: *mut nsStaticAtom; - #[link_name = "?onDOMNodeInsertedIntoDocument@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMNodeInsertedIntoDocument: *mut nsStaticAtom; - #[link_name = "?onDOMNodeRemoved@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMNodeRemoved: *mut nsStaticAtom; - #[link_name = "?onDOMNodeRemovedFromDocument@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMNodeRemovedFromDocument: *mut nsStaticAtom; - #[link_name = "?onDOMSubtreeModified@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onDOMSubtreeModified: *mut nsStaticAtom; - #[link_name = "?ondata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondata: *mut nsStaticAtom; - #[link_name = "?ondrag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondrag: *mut nsStaticAtom; - #[link_name = "?ondragdrop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragdrop: *mut nsStaticAtom; - #[link_name = "?ondragend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragend: *mut nsStaticAtom; - #[link_name = "?ondragenter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragenter: *mut nsStaticAtom; - #[link_name = "?ondragexit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragexit: *mut nsStaticAtom; - #[link_name = "?ondraggesture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondraggesture: *mut nsStaticAtom; - #[link_name = "?ondragleave@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragleave: *mut nsStaticAtom; - #[link_name = "?ondragover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragover: *mut nsStaticAtom; - #[link_name = "?ondragstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondragstart: *mut nsStaticAtom; - #[link_name = "?ondrain@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondrain: *mut nsStaticAtom; - #[link_name = "?ondrop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondrop: *mut nsStaticAtom; - #[link_name = "?oneitbroadcasted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oneitbroadcasted: *mut nsStaticAtom; - #[link_name = "?onenabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onenabled: *mut nsStaticAtom; - #[link_name = "?onenterpincodereq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onenterpincodereq: *mut nsStaticAtom; - #[link_name = "?onemergencycbmodechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onemergencycbmodechange: *mut nsStaticAtom; - #[link_name = "?onerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onerror: *mut nsStaticAtom; - #[link_name = "?onevicted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onevicted: *mut nsStaticAtom; - #[link_name = "?onfailed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfailed: *mut nsStaticAtom; - #[link_name = "?onfetch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfetch: *mut nsStaticAtom; - #[link_name = "?onfinish@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfinish: *mut nsStaticAtom; - #[link_name = "?onfocus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfocus: *mut nsStaticAtom; - #[link_name = "?onfocusin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfocusin: *mut nsStaticAtom; - #[link_name = "?onfocusout@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfocusout: *mut nsStaticAtom; - #[link_name = "?onfrequencychange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfrequencychange: *mut nsStaticAtom; - #[link_name = "?onfullscreenchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfullscreenchange: *mut nsStaticAtom; - #[link_name = "?onfullscreenerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onfullscreenerror: *mut nsStaticAtom; - #[link_name = "?onspeakerforcedchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onspeakerforcedchange: *mut nsStaticAtom; - #[link_name = "?onget@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onget: *mut nsStaticAtom; - #[link_name = "?ongroupchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongroupchange: *mut nsStaticAtom; - #[link_name = "?onhashchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onhashchange: *mut nsStaticAtom; - #[link_name = "?onheadphoneschange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onheadphoneschange: *mut nsStaticAtom; - #[link_name = "?onheld@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onheld: *mut nsStaticAtom; - #[link_name = "?onhfpstatuschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onhfpstatuschanged: *mut nsStaticAtom; - #[link_name = "?onhidstatuschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onhidstatuschanged: *mut nsStaticAtom; - #[link_name = "?onholding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onholding: *mut nsStaticAtom; - #[link_name = "?oniccchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oniccchange: *mut nsStaticAtom; - #[link_name = "?oniccdetected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oniccdetected: *mut nsStaticAtom; - #[link_name = "?oniccinfochange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oniccinfochange: *mut nsStaticAtom; - #[link_name = "?oniccundetected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oniccundetected: *mut nsStaticAtom; - #[link_name = "?onincoming@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onincoming: *mut nsStaticAtom; - #[link_name = "?oninput@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oninput: *mut nsStaticAtom; - #[link_name = "?oninstall@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oninstall: *mut nsStaticAtom; - #[link_name = "?oninvalid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oninvalid: *mut nsStaticAtom; - #[link_name = "?onkeydown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onkeydown: *mut nsStaticAtom; - #[link_name = "?onkeypress@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onkeypress: *mut nsStaticAtom; - #[link_name = "?onkeyup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onkeyup: *mut nsStaticAtom; - #[link_name = "?onlanguagechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onlanguagechange: *mut nsStaticAtom; - #[link_name = "?onlevelchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onlevelchange: *mut nsStaticAtom; - #[link_name = "?onLoad@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onLoad: *mut nsStaticAtom; - #[link_name = "?onload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onload: *mut nsStaticAtom; - #[link_name = "?onloading@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloading: *mut nsStaticAtom; - #[link_name = "?onloadingdone@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloadingdone: *mut nsStaticAtom; - #[link_name = "?onloadingerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloadingerror: *mut nsStaticAtom; - #[link_name = "?onpopstate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpopstate: *mut nsStaticAtom; - #[link_name = "?only@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_only: *mut nsStaticAtom; - #[link_name = "?onmessage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmessage: *mut nsStaticAtom; - #[link_name = "?onmessageerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmessageerror: *mut nsStaticAtom; - #[link_name = "?onmidimessage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmidimessage: *mut nsStaticAtom; - #[link_name = "?onmousedown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmousedown: *mut nsStaticAtom; - #[link_name = "?onmouseenter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmouseenter: *mut nsStaticAtom; - #[link_name = "?onmouseleave@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmouseleave: *mut nsStaticAtom; - #[link_name = "?onmouselongtap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmouselongtap: *mut nsStaticAtom; - #[link_name = "?onmousemove@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmousemove: *mut nsStaticAtom; - #[link_name = "?onmouseout@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmouseout: *mut nsStaticAtom; - #[link_name = "?onmouseover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmouseover: *mut nsStaticAtom; - #[link_name = "?onMozMouseHittest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozMouseHittest: *mut nsStaticAtom; - #[link_name = "?onmouseup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmouseup: *mut nsStaticAtom; - #[link_name = "?onMozAfterPaint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozAfterPaint: *mut nsStaticAtom; - #[link_name = "?onmozfullscreenchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozfullscreenchange: *mut nsStaticAtom; - #[link_name = "?onmozfullscreenerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozfullscreenerror: *mut nsStaticAtom; - #[link_name = "?onmozkeydownonplugin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozkeydownonplugin: *mut nsStaticAtom; - #[link_name = "?onmozkeyuponplugin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozkeyuponplugin: *mut nsStaticAtom; - #[link_name = "?onmozpointerlockchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozpointerlockchange: *mut nsStaticAtom; - #[link_name = "?onmozpointerlockerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozpointerlockerror: *mut nsStaticAtom; - #[link_name = "?onMozMousePixelScroll@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozMousePixelScroll: *mut nsStaticAtom; - #[link_name = "?onMozScrolledAreaChanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozScrolledAreaChanged: *mut nsStaticAtom; - #[link_name = "?onmapfolderlistingreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmapfolderlistingreq: *mut nsStaticAtom; - #[link_name = "?onmapmessageslistingreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmapmessageslistingreq: *mut nsStaticAtom; - #[link_name = "?onmapgetmessagereq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmapgetmessagereq: *mut nsStaticAtom; - #[link_name = "?onmapsetmessagestatusreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmapsetmessagestatusreq: *mut nsStaticAtom; - #[link_name = "?onmapsendmessagereq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmapsendmessagereq: *mut nsStaticAtom; - #[link_name = "?onmapmessageupdatereq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmapmessageupdatereq: *mut nsStaticAtom; - #[link_name = "?onmute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmute: *mut nsStaticAtom; - #[link_name = "?onnewrdsgroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onnewrdsgroup: *mut nsStaticAtom; - #[link_name = "?onnotificationclick@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onnotificationclick: *mut nsStaticAtom; - #[link_name = "?onnotificationclose@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onnotificationclose: *mut nsStaticAtom; - #[link_name = "?onnoupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onnoupdate: *mut nsStaticAtom; - #[link_name = "?onobexpasswordreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onobexpasswordreq: *mut nsStaticAtom; - #[link_name = "?onobsolete@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onobsolete: *mut nsStaticAtom; - #[link_name = "?ononline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ononline: *mut nsStaticAtom; - #[link_name = "?onoffline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onoffline: *mut nsStaticAtom; - #[link_name = "?onopen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onopen: *mut nsStaticAtom; - #[link_name = "?onorientationchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onorientationchange: *mut nsStaticAtom; - #[link_name = "?onotastatuschange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onotastatuschange: *mut nsStaticAtom; - #[link_name = "?onoverflow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onoverflow: *mut nsStaticAtom; - #[link_name = "?onoverflowchanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onoverflowchanged: *mut nsStaticAtom; - #[link_name = "?onpagehide@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpagehide: *mut nsStaticAtom; - #[link_name = "?onpageshow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpageshow: *mut nsStaticAtom; - #[link_name = "?onpaint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpaint: *mut nsStaticAtom; - #[link_name = "?onpairingaborted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpairingaborted: *mut nsStaticAtom; - #[link_name = "?onpairingconfirmationreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpairingconfirmationreq: *mut nsStaticAtom; - #[link_name = "?onpairingconsentreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpairingconsentreq: *mut nsStaticAtom; - #[link_name = "?onpaste@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpaste: *mut nsStaticAtom; - #[link_name = "?onpendingchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpendingchange: *mut nsStaticAtom; - #[link_name = "?onpichange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpichange: *mut nsStaticAtom; - #[link_name = "?onpointerlockchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerlockchange: *mut nsStaticAtom; - #[link_name = "?onpointerlockerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerlockerror: *mut nsStaticAtom; - #[link_name = "?onpopuphidden@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpopuphidden: *mut nsStaticAtom; - #[link_name = "?onpopuphiding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpopuphiding: *mut nsStaticAtom; - #[link_name = "?onpopuppositioned@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpopuppositioned: *mut nsStaticAtom; - #[link_name = "?onpopupshowing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpopupshowing: *mut nsStaticAtom; - #[link_name = "?onpopupshown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpopupshown: *mut nsStaticAtom; - #[link_name = "?onpullphonebookreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpullphonebookreq: *mut nsStaticAtom; - #[link_name = "?onpullvcardentryreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpullvcardentryreq: *mut nsStaticAtom; - #[link_name = "?onpullvcardlistingreq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpullvcardlistingreq: *mut nsStaticAtom; - #[link_name = "?onpush@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpush: *mut nsStaticAtom; - #[link_name = "?onpushsubscriptionchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpushsubscriptionchange: *mut nsStaticAtom; - #[link_name = "?onpschange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpschange: *mut nsStaticAtom; - #[link_name = "?onptychange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onptychange: *mut nsStaticAtom; - #[link_name = "?onradiostatechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onradiostatechange: *mut nsStaticAtom; - #[link_name = "?onRadioStateChange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onRadioStateChange: *mut nsStaticAtom; - #[link_name = "?onrdsdisabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrdsdisabled: *mut nsStaticAtom; - #[link_name = "?onrdsenabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrdsenabled: *mut nsStaticAtom; - #[link_name = "?onreaderror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onreaderror: *mut nsStaticAtom; - #[link_name = "?onreadsuccess@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onreadsuccess: *mut nsStaticAtom; - #[link_name = "?onready@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onready: *mut nsStaticAtom; - #[link_name = "?onreadystatechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onreadystatechange: *mut nsStaticAtom; - #[link_name = "?onreceived@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onreceived: *mut nsStaticAtom; - #[link_name = "?onremoteheld@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onremoteheld: *mut nsStaticAtom; - #[link_name = "?onremoteresumed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onremoteresumed: *mut nsStaticAtom; - #[link_name = "?onrequestprogress@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrequestprogress: *mut nsStaticAtom; - #[link_name = "?onresourcetimingbufferfull@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onresourcetimingbufferfull: *mut nsStaticAtom; - #[link_name = "?onresponseprogress@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onresponseprogress: *mut nsStaticAtom; - #[link_name = "?onretrieving@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onretrieving: *mut nsStaticAtom; - #[link_name = "?onRequest@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onRequest: *mut nsStaticAtom; - #[link_name = "?onrequestmediaplaystatus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrequestmediaplaystatus: *mut nsStaticAtom; - #[link_name = "?onreset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onreset: *mut nsStaticAtom; - #[link_name = "?onresuming@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onresuming: *mut nsStaticAtom; - #[link_name = "?onresize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onresize: *mut nsStaticAtom; - #[link_name = "?onrtchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrtchange: *mut nsStaticAtom; - #[link_name = "?onscanningstatechanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onscanningstatechanged: *mut nsStaticAtom; - #[link_name = "?onscostatuschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onscostatuschanged: *mut nsStaticAtom; - #[link_name = "?onscroll@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onscroll: *mut nsStaticAtom; - #[link_name = "?onselect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onselect: *mut nsStaticAtom; - #[link_name = "?onselectionchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onselectionchange: *mut nsStaticAtom; - #[link_name = "?onselectstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onselectstart: *mut nsStaticAtom; - #[link_name = "?onsending@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsending: *mut nsStaticAtom; - #[link_name = "?onsent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsent: *mut nsStaticAtom; - #[link_name = "?onset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onset: *mut nsStaticAtom; - #[link_name = "?onshippingaddresschange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onshippingaddresschange: *mut nsStaticAtom; - #[link_name = "?onshippingoptionchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onshippingoptionchange: *mut nsStaticAtom; - #[link_name = "?onshow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onshow: *mut nsStaticAtom; - #[link_name = "?onstatechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstatechange: *mut nsStaticAtom; - #[link_name = "?onstatuschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstatuschanged: *mut nsStaticAtom; - #[link_name = "?onstkcommand@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstkcommand: *mut nsStaticAtom; - #[link_name = "?onstksessionend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstksessionend: *mut nsStaticAtom; - #[link_name = "?onstorage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstorage: *mut nsStaticAtom; - #[link_name = "?onstorageareachanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstorageareachanged: *mut nsStaticAtom; - #[link_name = "?onsubmit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsubmit: *mut nsStaticAtom; - #[link_name = "?onsuccess@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsuccess: *mut nsStaticAtom; - #[link_name = "?ontypechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontypechange: *mut nsStaticAtom; - #[link_name = "?onterminate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onterminate: *mut nsStaticAtom; - #[link_name = "?ontext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontext: *mut nsStaticAtom; - #[link_name = "?ontoggle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontoggle: *mut nsStaticAtom; - #[link_name = "?ontouchstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontouchstart: *mut nsStaticAtom; - #[link_name = "?ontouchend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontouchend: *mut nsStaticAtom; - #[link_name = "?ontouchmove@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontouchmove: *mut nsStaticAtom; - #[link_name = "?ontouchcancel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontouchcancel: *mut nsStaticAtom; - #[link_name = "?ontransitioncancel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontransitioncancel: *mut nsStaticAtom; - #[link_name = "?ontransitionend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontransitionend: *mut nsStaticAtom; - #[link_name = "?ontransitionrun@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontransitionrun: *mut nsStaticAtom; - #[link_name = "?ontransitionstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontransitionstart: *mut nsStaticAtom; - #[link_name = "?onunderflow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onunderflow: *mut nsStaticAtom; - #[link_name = "?onunload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onunload: *mut nsStaticAtom; - #[link_name = "?onunmute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onunmute: *mut nsStaticAtom; - #[link_name = "?onupdatefound@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onupdatefound: *mut nsStaticAtom; - #[link_name = "?onupdateready@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onupdateready: *mut nsStaticAtom; - #[link_name = "?onupgradeneeded@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onupgradeneeded: *mut nsStaticAtom; - #[link_name = "?onussdreceived@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onussdreceived: *mut nsStaticAtom; - #[link_name = "?onversionchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onversionchange: *mut nsStaticAtom; - #[link_name = "?onvisibilitychange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvisibilitychange: *mut nsStaticAtom; - #[link_name = "?onvoicechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvoicechange: *mut nsStaticAtom; - #[link_name = "?onvoiceschanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvoiceschanged: *mut nsStaticAtom; - #[link_name = "?onvrdisplayactivate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvrdisplayactivate: *mut nsStaticAtom; - #[link_name = "?onvrdisplayconnect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvrdisplayconnect: *mut nsStaticAtom; - #[link_name = "?onvrdisplaydeactivate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvrdisplaydeactivate: *mut nsStaticAtom; - #[link_name = "?onvrdisplaydisconnect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvrdisplaydisconnect: *mut nsStaticAtom; - #[link_name = "?onvrdisplaypresentchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvrdisplaypresentchange: *mut nsStaticAtom; - #[link_name = "?onwebkitAnimationEnd@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitAnimationEnd: *mut nsStaticAtom; - #[link_name = "?onwebkitAnimationIteration@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitAnimationIteration: *mut nsStaticAtom; - #[link_name = "?onwebkitAnimationStart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitAnimationStart: *mut nsStaticAtom; - #[link_name = "?onwebkitTransitionEnd@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitTransitionEnd: *mut nsStaticAtom; - #[link_name = "?onwebkitanimationend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitanimationend: *mut nsStaticAtom; - #[link_name = "?onwebkitanimationiteration@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitanimationiteration: *mut nsStaticAtom; - #[link_name = "?onwebkitanimationstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkitanimationstart: *mut nsStaticAtom; - #[link_name = "?onwebkittransitionend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebkittransitionend: *mut nsStaticAtom; - #[link_name = "?onwebsocket@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwebsocket: *mut nsStaticAtom; - #[link_name = "?onwheel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwheel: *mut nsStaticAtom; - #[link_name = "?open@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_open: *mut nsStaticAtom; - #[link_name = "?optgroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_optgroup: *mut nsStaticAtom; - #[link_name = "?optimum@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_optimum: *mut nsStaticAtom; - #[link_name = "?option@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_option: *mut nsStaticAtom; - #[link_name = "?_or@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__or: *mut nsStaticAtom; - #[link_name = "?order@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_order: *mut nsStaticAtom; - #[link_name = "?ordinal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ordinal: *mut nsStaticAtom; - #[link_name = "?orient@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_orient: *mut nsStaticAtom; - #[link_name = "?orientation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_orientation: *mut nsStaticAtom; - #[link_name = "?otherwise@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_otherwise: *mut nsStaticAtom; - #[link_name = "?output@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_output: *mut nsStaticAtom; - #[link_name = "?overflow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overflow: *mut nsStaticAtom; - #[link_name = "?overflowchanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overflowchanged: *mut nsStaticAtom; - #[link_name = "?overlay@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overlay: *mut nsStaticAtom; - #[link_name = "?overlap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overlap: *mut nsStaticAtom; - #[link_name = "?p@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_p: *mut nsStaticAtom; - #[link_name = "?pack@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pack: *mut nsStaticAtom; - #[link_name = "?page@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_page: *mut nsStaticAtom; - #[link_name = "?pageincrement@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pageincrement: *mut nsStaticAtom; - #[link_name = "?pagex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pagex: *mut nsStaticAtom; - #[link_name = "?pagey@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pagey: *mut nsStaticAtom; - #[link_name = "?paint_order@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_paint_order: *mut nsStaticAtom; - #[link_name = "?palettename@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_palettename: *mut nsStaticAtom; - #[link_name = "?panel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_panel: *mut nsStaticAtom; - #[link_name = "?param@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_param: *mut nsStaticAtom; - #[link_name = "?parameter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_parameter: *mut nsStaticAtom; - #[link_name = "?parent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_parent: *mut nsStaticAtom; - #[link_name = "?parentfocused@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_parentfocused: *mut nsStaticAtom; - #[link_name = "?parsetype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_parsetype: *mut nsStaticAtom; - #[link_name = "?password@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_password: *mut nsStaticAtom; - #[link_name = "?pattern@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pattern: *mut nsStaticAtom; - #[link_name = "?patternSeparator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patternSeparator: *mut nsStaticAtom; - #[link_name = "?perMille@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_perMille: *mut nsStaticAtom; - #[link_name = "?percent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_percent: *mut nsStaticAtom; - #[link_name = "?persist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_persist: *mut nsStaticAtom; - #[link_name = "?phase@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_phase: *mut nsStaticAtom; - #[link_name = "?picture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_picture: *mut nsStaticAtom; - #[link_name = "?ping@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ping: *mut nsStaticAtom; - #[link_name = "?pinned@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pinned: *mut nsStaticAtom; - #[link_name = "?placeholder@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_placeholder: *mut nsStaticAtom; - #[link_name = "?plaintext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_plaintext: *mut nsStaticAtom; - #[link_name = "?playbackrate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_playbackrate: *mut nsStaticAtom; - #[link_name = "?pointSize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointSize: *mut nsStaticAtom; - #[link_name = "?pointerlockchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointerlockchange: *mut nsStaticAtom; - #[link_name = "?pointerlockerror@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointerlockerror: *mut nsStaticAtom; - #[link_name = "?poly@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_poly: *mut nsStaticAtom; - #[link_name = "?polygon@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_polygon: *mut nsStaticAtom; - #[link_name = "?popup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popup: *mut nsStaticAtom; - #[link_name = "?popupalign@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupalign: *mut nsStaticAtom; - #[link_name = "?popupanchor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupanchor: *mut nsStaticAtom; - #[link_name = "?popupgroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupgroup: *mut nsStaticAtom; - #[link_name = "?popuphidden@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popuphidden: *mut nsStaticAtom; - #[link_name = "?popuphiding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popuphiding: *mut nsStaticAtom; - #[link_name = "?popupset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupset: *mut nsStaticAtom; - #[link_name = "?popupshowing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupshowing: *mut nsStaticAtom; - #[link_name = "?popupshown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupshown: *mut nsStaticAtom; - #[link_name = "?popupsinherittooltip@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_popupsinherittooltip: *mut nsStaticAtom; - #[link_name = "?position@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_position: *mut nsStaticAtom; - #[link_name = "?poster@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_poster: *mut nsStaticAtom; - #[link_name = "?pre@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pre: *mut nsStaticAtom; - #[link_name = "?preceding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preceding: *mut nsStaticAtom; - #[link_name = "?precedingSibling@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_precedingSibling: *mut nsStaticAtom; - #[link_name = "?predicate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_predicate: *mut nsStaticAtom; - #[link_name = "?prefix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_prefix: *mut nsStaticAtom; - #[link_name = "?preload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preload: *mut nsStaticAtom; - #[link_name = "?mozpresentation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozpresentation: *mut nsStaticAtom; - #[link_name = "?preserve@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preserve: *mut nsStaticAtom; - #[link_name = "?preserveSpace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preserveSpace: *mut nsStaticAtom; - #[link_name = "?preventdefault@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preventdefault: *mut nsStaticAtom; - #[link_name = "?primary@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_primary: *mut nsStaticAtom; - #[link_name = "?print@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_print: *mut nsStaticAtom; - #[link_name = "?priority@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_priority: *mut nsStaticAtom; - #[link_name = "?processingInstruction@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_processingInstruction: *mut nsStaticAtom; - #[link_name = "?profile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_profile: *mut nsStaticAtom; - #[link_name = "?progress@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_progress: *mut nsStaticAtom; - #[link_name = "?progressmeter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_progressmeter: *mut nsStaticAtom; - #[link_name = "?progressNormal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_progressNormal: *mut nsStaticAtom; - #[link_name = "?progressUndetermined@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_progressUndetermined: *mut nsStaticAtom; - #[link_name = "?projection@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_projection: *mut nsStaticAtom; - #[link_name = "?prompt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_prompt: *mut nsStaticAtom; - #[link_name = "?propagate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_propagate: *mut nsStaticAtom; - #[link_name = "?properties@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_properties: *mut nsStaticAtom; - #[link_name = "?property@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_property: *mut nsStaticAtom; - #[link_name = "?pubdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pubdate: *mut nsStaticAtom; - #[link_name = "?q@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_q: *mut nsStaticAtom; - #[link_name = "?query@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_query: *mut nsStaticAtom; - #[link_name = "?queryset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_queryset: *mut nsStaticAtom; - #[link_name = "?querytype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_querytype: *mut nsStaticAtom; - #[link_name = "?radio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_radio: *mut nsStaticAtom; - #[link_name = "?radiogroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_radiogroup: *mut nsStaticAtom; - #[link_name = "?range@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_range: *mut nsStaticAtom; - #[link_name = "?readonly@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_readonly: *mut nsStaticAtom; - #[link_name = "?rect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rect: *mut nsStaticAtom; - #[link_name = "?rectangle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rectangle: *mut nsStaticAtom; - #[link_name = "?refresh@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_refresh: *mut nsStaticAtom; - #[link_name = "?rel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rel: *mut nsStaticAtom; - #[link_name = "?onreloadpage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onreloadpage: *mut nsStaticAtom; - #[link_name = "?rem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rem: *mut nsStaticAtom; - #[link_name = "?remote@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_remote: *mut nsStaticAtom; - #[link_name = "?removeelement@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_removeelement: *mut nsStaticAtom; - #[link_name = "?renderingobserverlist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_renderingobserverlist: *mut nsStaticAtom; - #[link_name = "?repeat@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_repeat: *mut nsStaticAtom; - #[link_name = "?replace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_replace: *mut nsStaticAtom; - #[link_name = "?requestcontextid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_requestcontextid: *mut nsStaticAtom; - #[link_name = "?required@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_required: *mut nsStaticAtom; - #[link_name = "?reserved@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reserved: *mut nsStaticAtom; - #[link_name = "?reset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reset: *mut nsStaticAtom; - #[link_name = "?resizeafter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resizeafter: *mut nsStaticAtom; - #[link_name = "?resizebefore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resizebefore: *mut nsStaticAtom; - #[link_name = "?resizer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resizer: *mut nsStaticAtom; - #[link_name = "?resolution@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resolution: *mut nsStaticAtom; - #[link_name = "?resources@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resources: *mut nsStaticAtom; - #[link_name = "?result@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_result: *mut nsStaticAtom; - #[link_name = "?resultPrefix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resultPrefix: *mut nsStaticAtom; - #[link_name = "?retargetdocumentfocus@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_retargetdocumentfocus: *mut nsStaticAtom; - #[link_name = "?rev@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rev: *mut nsStaticAtom; - #[link_name = "?reverse@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reverse: *mut nsStaticAtom; - #[link_name = "?reversed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reversed: *mut nsStaticAtom; - #[link_name = "?richlistbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_richlistbox: *mut nsStaticAtom; - #[link_name = "?richlistitem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_richlistitem: *mut nsStaticAtom; - #[link_name = "?right@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_right: *mut nsStaticAtom; - #[link_name = "?rightmargin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rightmargin: *mut nsStaticAtom; - #[link_name = "?rightpadding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rightpadding: *mut nsStaticAtom; - #[link_name = "?role@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_role: *mut nsStaticAtom; - #[link_name = "?rolluponmousewheel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rolluponmousewheel: *mut nsStaticAtom; - #[link_name = "?round@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_round: *mut nsStaticAtom; - #[link_name = "?row@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_row: *mut nsStaticAtom; - #[link_name = "?rows@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rows: *mut nsStaticAtom; - #[link_name = "?rowspan@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rowspan: *mut nsStaticAtom; - #[link_name = "?rb@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rb: *mut nsStaticAtom; - #[link_name = "?rp@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rp: *mut nsStaticAtom; - #[link_name = "?rt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rt: *mut nsStaticAtom; - #[link_name = "?rtc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rtc: *mut nsStaticAtom; - #[link_name = "?rtl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rtl: *mut nsStaticAtom; - #[link_name = "?ruby@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ruby: *mut nsStaticAtom; - #[link_name = "?rubyBase@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rubyBase: *mut nsStaticAtom; - #[link_name = "?rubyBaseContainer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rubyBaseContainer: *mut nsStaticAtom; - #[link_name = "?rubyText@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rubyText: *mut nsStaticAtom; - #[link_name = "?rubyTextContainer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rubyTextContainer: *mut nsStaticAtom; - #[link_name = "?rule@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rule: *mut nsStaticAtom; - #[link_name = "?rules@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rules: *mut nsStaticAtom; - #[link_name = "?s@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_s: *mut nsStaticAtom; - #[link_name = "?samp@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_samp: *mut nsStaticAtom; - #[link_name = "?sandbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sandbox: *mut nsStaticAtom; - #[link_name = "?sbattr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sbattr: *mut nsStaticAtom; - #[link_name = "?scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scale: *mut nsStaticAtom; - #[link_name = "?scan@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scan: *mut nsStaticAtom; - #[link_name = "?scheme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scheme: *mut nsStaticAtom; - #[link_name = "?scope@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scope: *mut nsStaticAtom; - #[link_name = "?scoped@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scoped: *mut nsStaticAtom; - #[link_name = "?screen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_screen: *mut nsStaticAtom; - #[link_name = "?screenX@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_screenX: *mut nsStaticAtom; - #[link_name = "?screenY@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_screenY: *mut nsStaticAtom; - #[link_name = "?script@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_script: *mut nsStaticAtom; - #[link_name = "?scriptEnabledBeforePrintOrPreview@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scriptEnabledBeforePrintOrPreview: *mut nsStaticAtom; - #[link_name = "?scrollbar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbar: *mut nsStaticAtom; - #[link_name = "?scrollbarbutton@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbarbutton: *mut nsStaticAtom; - #[link_name = "?scrollbarDownBottom@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbarDownBottom: *mut nsStaticAtom; - #[link_name = "?scrollbarDownTop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbarDownTop: *mut nsStaticAtom; - #[link_name = "?scrollbarUpBottom@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbarUpBottom: *mut nsStaticAtom; - #[link_name = "?scrollbarUpTop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbarUpTop: *mut nsStaticAtom; - #[link_name = "?scrollbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbox: *mut nsStaticAtom; - #[link_name = "?scrollcorner@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollcorner: *mut nsStaticAtom; - #[link_name = "?scrolling@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrolling: *mut nsStaticAtom; - #[link_name = "?scrollPosition@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollPosition: *mut nsStaticAtom; - #[link_name = "?section@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_section: *mut nsStaticAtom; - #[link_name = "?select@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_select: *mut nsStaticAtom; - #[link_name = "?selectable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_selectable: *mut nsStaticAtom; - #[link_name = "?selected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_selected: *mut nsStaticAtom; - #[link_name = "?selectedIndex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_selectedIndex: *mut nsStaticAtom; - #[link_name = "?selectedindex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_selectedindex: *mut nsStaticAtom; - #[link_name = "?self@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_self: *mut nsStaticAtom; - #[link_name = "?seltype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_seltype: *mut nsStaticAtom; - #[link_name = "?setcookie@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_setcookie: *mut nsStaticAtom; - #[link_name = "?setter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_setter: *mut nsStaticAtom; - #[link_name = "?shape@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_shape: *mut nsStaticAtom; - #[link_name = "?show@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_show: *mut nsStaticAtom; - #[link_name = "?showcaret@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_showcaret: *mut nsStaticAtom; - #[link_name = "?showresizer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_showresizer: *mut nsStaticAtom; - #[link_name = "?simple@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_simple: *mut nsStaticAtom; - #[link_name = "?simp_chinese_formal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_simp_chinese_formal: *mut nsStaticAtom; - #[link_name = "?simp_chinese_informal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_simp_chinese_informal: *mut nsStaticAtom; - #[link_name = "?single@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_single: *mut nsStaticAtom; - #[link_name = "?size@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_size: *mut nsStaticAtom; - #[link_name = "?sizes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sizes: *mut nsStaticAtom; - #[link_name = "?sizemode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sizemode: *mut nsStaticAtom; - #[link_name = "?sizetopopup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sizetopopup: *mut nsStaticAtom; - #[link_name = "?slider@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_slider: *mut nsStaticAtom; - #[link_name = "?small@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_small: *mut nsStaticAtom; - #[link_name = "?smooth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_smooth: *mut nsStaticAtom; - #[link_name = "?snap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_snap: *mut nsStaticAtom; - #[link_name = "?sort@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sort: *mut nsStaticAtom; - #[link_name = "?sortActive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sortActive: *mut nsStaticAtom; - #[link_name = "?sortDirection@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sortDirection: *mut nsStaticAtom; - #[link_name = "?sorted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sorted: *mut nsStaticAtom; - #[link_name = "?sorthints@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sorthints: *mut nsStaticAtom; - #[link_name = "?sortLocked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sortLocked: *mut nsStaticAtom; - #[link_name = "?source@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_source: *mut nsStaticAtom; - #[link_name = "?space@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_space: *mut nsStaticAtom; - #[link_name = "?spacer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spacer: *mut nsStaticAtom; - #[link_name = "?span@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_span: *mut nsStaticAtom; - #[link_name = "?spellcheck@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spellcheck: *mut nsStaticAtom; - #[link_name = "?spinner@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spinner: *mut nsStaticAtom; - #[link_name = "?split@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_split: *mut nsStaticAtom; - #[link_name = "?splitter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_splitter: *mut nsStaticAtom; - #[link_name = "?spring@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spring: *mut nsStaticAtom; - #[link_name = "?square@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_square: *mut nsStaticAtom; - #[link_name = "?src@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_src: *mut nsStaticAtom; - #[link_name = "?srcdoc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_srcdoc: *mut nsStaticAtom; - #[link_name = "?srclang@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_srclang: *mut nsStaticAtom; - #[link_name = "?srcset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_srcset: *mut nsStaticAtom; - #[link_name = "?stack@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stack: *mut nsStaticAtom; - #[link_name = "?standalone@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_standalone: *mut nsStaticAtom; - #[link_name = "?standby@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_standby: *mut nsStaticAtom; - #[link_name = "?start@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_start: *mut nsStaticAtom; - #[link_name = "?start_after@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_start_after: *mut nsStaticAtom; - #[link_name = "?start_before@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_start_before: *mut nsStaticAtom; - #[link_name = "?startsWith@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_startsWith: *mut nsStaticAtom; - #[link_name = "?state@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_state: *mut nsStaticAtom; - #[link_name = "?statedatasource@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_statedatasource: *mut nsStaticAtom; - #[link_name = "?staticHint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_staticHint: *mut nsStaticAtom; - #[link_name = "?statusbar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_statusbar: *mut nsStaticAtom; - #[link_name = "?statustext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_statustext: *mut nsStaticAtom; - #[link_name = "?step@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_step: *mut nsStaticAtom; - #[link_name = "?stop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stop: *mut nsStaticAtom; - #[link_name = "?stretch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stretch: *mut nsStaticAtom; - #[link_name = "?strike@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_strike: *mut nsStaticAtom; - #[link_name = "?string@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_string: *mut nsStaticAtom; - #[link_name = "?stringLength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stringLength: *mut nsStaticAtom; - #[link_name = "?stripSpace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stripSpace: *mut nsStaticAtom; - #[link_name = "?strong@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_strong: *mut nsStaticAtom; - #[link_name = "?style@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_style: *mut nsStaticAtom; - #[link_name = "?stylesheet@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stylesheet: *mut nsStaticAtom; - #[link_name = "?stylesheetPrefix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stylesheetPrefix: *mut nsStaticAtom; - #[link_name = "?subject@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_subject: *mut nsStaticAtom; - #[link_name = "?submit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_submit: *mut nsStaticAtom; - #[link_name = "?substate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_substate: *mut nsStaticAtom; - #[link_name = "?substring@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_substring: *mut nsStaticAtom; - #[link_name = "?substringAfter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_substringAfter: *mut nsStaticAtom; - #[link_name = "?substringBefore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_substringBefore: *mut nsStaticAtom; - #[link_name = "?sub@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sub: *mut nsStaticAtom; - #[link_name = "?sum@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sum: *mut nsStaticAtom; - #[link_name = "?sup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sup: *mut nsStaticAtom; - #[link_name = "?summary@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_summary: *mut nsStaticAtom; - #[link_name = "?systemProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_systemProperty: *mut nsStaticAtom; - #[link_name = "?tab@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tab: *mut nsStaticAtom; - #[link_name = "?tabbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tabbox: *mut nsStaticAtom; - #[link_name = "?tabindex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tabindex: *mut nsStaticAtom; - #[link_name = "?table@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_table: *mut nsStaticAtom; - #[link_name = "?tabpanel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tabpanel: *mut nsStaticAtom; - #[link_name = "?tabpanels@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tabpanels: *mut nsStaticAtom; - #[link_name = "?tag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tag: *mut nsStaticAtom; - #[link_name = "?target@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_target: *mut nsStaticAtom; - #[link_name = "?targets@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_targets: *mut nsStaticAtom; - #[link_name = "?tbody@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tbody: *mut nsStaticAtom; - #[link_name = "?td@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_td: *mut nsStaticAtom; - #[link_name = "?_template@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__template: *mut nsStaticAtom; - #[link_name = "?text_decoration@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_text_decoration: *mut nsStaticAtom; - #[link_name = "?terminate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_terminate: *mut nsStaticAtom; - #[link_name = "?term@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_term: *mut nsStaticAtom; - #[link_name = "?test@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_test: *mut nsStaticAtom; - #[link_name = "?text@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_text: *mut nsStaticAtom; - #[link_name = "?textAlign@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textAlign: *mut nsStaticAtom; - #[link_name = "?textarea@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textarea: *mut nsStaticAtom; - #[link_name = "?textbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textbox: *mut nsStaticAtom; - #[link_name = "?textnode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textnode: *mut nsStaticAtom; - #[link_name = "?textNodeDirectionalityMap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textNodeDirectionalityMap: *mut nsStaticAtom; - #[link_name = "?tfoot@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tfoot: *mut nsStaticAtom; - #[link_name = "?th@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_th: *mut nsStaticAtom; - #[link_name = "?thead@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_thead: *mut nsStaticAtom; - #[link_name = "?thumb@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_thumb: *mut nsStaticAtom; - #[link_name = "?time@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_time: *mut nsStaticAtom; - #[link_name = "?title@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_title: *mut nsStaticAtom; - #[link_name = "?titlebar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_titlebar: *mut nsStaticAtom; - #[link_name = "?titletip@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_titletip: *mut nsStaticAtom; - #[link_name = "?toggled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toggled: *mut nsStaticAtom; - #[link_name = "?token@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_token: *mut nsStaticAtom; - #[link_name = "?tokenize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tokenize: *mut nsStaticAtom; - #[link_name = "?toolbar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbar: *mut nsStaticAtom; - #[link_name = "?toolbarbutton@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbarbutton: *mut nsStaticAtom; - #[link_name = "?toolbaritem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbaritem: *mut nsStaticAtom; - #[link_name = "?toolbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbox: *mut nsStaticAtom; - #[link_name = "?tooltip@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tooltip: *mut nsStaticAtom; - #[link_name = "?tooltiptext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tooltiptext: *mut nsStaticAtom; - #[link_name = "?top@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_top: *mut nsStaticAtom; - #[link_name = "?topleft@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_topleft: *mut nsStaticAtom; - #[link_name = "?topmargin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_topmargin: *mut nsStaticAtom; - #[link_name = "?toppadding@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toppadding: *mut nsStaticAtom; - #[link_name = "?topright@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_topright: *mut nsStaticAtom; - #[link_name = "?tr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tr: *mut nsStaticAtom; - #[link_name = "?track@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_track: *mut nsStaticAtom; - #[link_name = "?trad_chinese_formal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_trad_chinese_formal: *mut nsStaticAtom; - #[link_name = "?trad_chinese_informal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_trad_chinese_informal: *mut nsStaticAtom; - #[link_name = "?trailing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_trailing: *mut nsStaticAtom; - #[link_name = "?transform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transform: *mut nsStaticAtom; - #[link_name = "?transform_3d@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transform_3d: *mut nsStaticAtom; - #[link_name = "?transformiix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transformiix: *mut nsStaticAtom; - #[link_name = "?translate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_translate: *mut nsStaticAtom; - #[link_name = "?transparent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transparent: *mut nsStaticAtom; - #[link_name = "?tree@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tree: *mut nsStaticAtom; - #[link_name = "?treecell@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treecell: *mut nsStaticAtom; - #[link_name = "?treechildren@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treechildren: *mut nsStaticAtom; - #[link_name = "?treecol@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treecol: *mut nsStaticAtom; - #[link_name = "?treecolpicker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treecolpicker: *mut nsStaticAtom; - #[link_name = "?treecols@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treecols: *mut nsStaticAtom; - #[link_name = "?treeitem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treeitem: *mut nsStaticAtom; - #[link_name = "?treerow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treerow: *mut nsStaticAtom; - #[link_name = "?treeseparator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treeseparator: *mut nsStaticAtom; - #[link_name = "?triple@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_triple: *mut nsStaticAtom; - #[link_name = "?_true@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__true: *mut nsStaticAtom; - #[link_name = "?tt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tt: *mut nsStaticAtom; - #[link_name = "?tty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tty: *mut nsStaticAtom; - #[link_name = "?tv@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tv: *mut nsStaticAtom; - #[link_name = "?type@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_type: *mut nsStaticAtom; - #[link_name = "?typemustmatch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_typemustmatch: *mut nsStaticAtom; - #[link_name = "?u@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_u: *mut nsStaticAtom; - #[link_name = "?ul@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ul: *mut nsStaticAtom; - #[link_name = "?underflow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_underflow: *mut nsStaticAtom; - #[link_name = "?undetermined@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_undetermined: *mut nsStaticAtom; - #[link_name = "?unload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_unload: *mut nsStaticAtom; - #[link_name = "?unmute@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_unmute: *mut nsStaticAtom; - #[link_name = "?unparsedEntityUri@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_unparsedEntityUri: *mut nsStaticAtom; - #[link_name = "?upperAlpha@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_upperAlpha: *mut nsStaticAtom; - #[link_name = "?upperFirst@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_upperFirst: *mut nsStaticAtom; - #[link_name = "?upperRoman@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_upperRoman: *mut nsStaticAtom; - #[link_name = "?uri@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_uri: *mut nsStaticAtom; - #[link_name = "?use@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_use: *mut nsStaticAtom; - #[link_name = "?useAttributeSets@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_useAttributeSets: *mut nsStaticAtom; - #[link_name = "?usemap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_usemap: *mut nsStaticAtom; - #[link_name = "?user_scalable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_user_scalable: *mut nsStaticAtom; - #[link_name = "?userInput@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_userInput: *mut nsStaticAtom; - #[link_name = "?validate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_validate: *mut nsStaticAtom; - #[link_name = "?valign@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_valign: *mut nsStaticAtom; - #[link_name = "?value@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_value: *mut nsStaticAtom; - #[link_name = "?values@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_values: *mut nsStaticAtom; - #[link_name = "?valueOf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_valueOf: *mut nsStaticAtom; - #[link_name = "?valuetype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_valuetype: *mut nsStaticAtom; - #[link_name = "?var@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_var: *mut nsStaticAtom; - #[link_name = "?variable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_variable: *mut nsStaticAtom; - #[link_name = "?vbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vbox: *mut nsStaticAtom; - #[link_name = "?vcard_name@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vcard_name: *mut nsStaticAtom; - #[link_name = "?vendor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vendor: *mut nsStaticAtom; - #[link_name = "?vendorUrl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vendorUrl: *mut nsStaticAtom; - #[link_name = "?version@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_version: *mut nsStaticAtom; - #[link_name = "?vert@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vert: *mut nsStaticAtom; - #[link_name = "?vertical@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vertical: *mut nsStaticAtom; - #[link_name = "?audio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_audio: *mut nsStaticAtom; - #[link_name = "?video@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_video: *mut nsStaticAtom; - #[link_name = "?videocontrols@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_videocontrols: *mut nsStaticAtom; - #[link_name = "?viewport@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport: *mut nsStaticAtom; - #[link_name = "?viewport_height@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport_height: *mut nsStaticAtom; - #[link_name = "?viewport_initial_scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport_initial_scale: *mut nsStaticAtom; - #[link_name = "?viewport_maximum_scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport_maximum_scale: *mut nsStaticAtom; - #[link_name = "?viewport_minimum_scale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport_minimum_scale: *mut nsStaticAtom; - #[link_name = "?viewport_user_scalable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport_user_scalable: *mut nsStaticAtom; - #[link_name = "?viewport_width@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewport_width: *mut nsStaticAtom; - #[link_name = "?visibility@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_visibility: *mut nsStaticAtom; - #[link_name = "?visuallyselected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_visuallyselected: *mut nsStaticAtom; - #[link_name = "?vlink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vlink: *mut nsStaticAtom; - #[link_name = "?vspace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vspace: *mut nsStaticAtom; - #[link_name = "?wbr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_wbr: *mut nsStaticAtom; - #[link_name = "?webkitdirectory@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_webkitdirectory: *mut nsStaticAtom; - #[link_name = "?when@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_when: *mut nsStaticAtom; - #[link_name = "?where@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_where: *mut nsStaticAtom; - #[link_name = "?widget@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_widget: *mut nsStaticAtom; - #[link_name = "?width@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_width: *mut nsStaticAtom; - #[link_name = "?willChange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_willChange: *mut nsStaticAtom; - #[link_name = "?window@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_window: *mut nsStaticAtom; - #[link_name = "?headerWindowTarget@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerWindowTarget: *mut nsStaticAtom; - #[link_name = "?windowtype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windowtype: *mut nsStaticAtom; - #[link_name = "?withParam@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_withParam: *mut nsStaticAtom; - #[link_name = "?wizard@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_wizard: *mut nsStaticAtom; - #[link_name = "?wrap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_wrap: *mut nsStaticAtom; - #[link_name = "?headerDNSPrefetchControl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerDNSPrefetchControl: *mut nsStaticAtom; - #[link_name = "?headerCSP@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerCSP: *mut nsStaticAtom; - #[link_name = "?headerCSPReportOnly@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerCSPReportOnly: *mut nsStaticAtom; - #[link_name = "?headerXFO@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_headerXFO: *mut nsStaticAtom; - #[link_name = "?x_western@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_western: *mut nsStaticAtom; - #[link_name = "?xml@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xml: *mut nsStaticAtom; - #[link_name = "?xml_stylesheet@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xml_stylesheet: *mut nsStaticAtom; - #[link_name = "?xmlns@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xmlns: *mut nsStaticAtom; - #[link_name = "?xmp@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xmp: *mut nsStaticAtom; - #[link_name = "?xulcontentsgenerated@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xulcontentsgenerated: *mut nsStaticAtom; - #[link_name = "?yes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_yes: *mut nsStaticAtom; - #[link_name = "?z_index@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_z_index: *mut nsStaticAtom; - #[link_name = "?zeroDigit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zeroDigit: *mut nsStaticAtom; - #[link_name = "?percentage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_percentage: *mut nsStaticAtom; - #[link_name = "?A@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_A: *mut nsStaticAtom; - #[link_name = "?alignment_baseline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alignment_baseline: *mut nsStaticAtom; - #[link_name = "?amplitude@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_amplitude: *mut nsStaticAtom; - #[link_name = "?animate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animate: *mut nsStaticAtom; - #[link_name = "?animateColor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animateColor: *mut nsStaticAtom; - #[link_name = "?animateMotion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animateMotion: *mut nsStaticAtom; - #[link_name = "?animateTransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animateTransform: *mut nsStaticAtom; - #[link_name = "?arithmetic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arithmetic: *mut nsStaticAtom; - #[link_name = "?atop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_atop: *mut nsStaticAtom; - #[link_name = "?azimuth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_azimuth: *mut nsStaticAtom; - #[link_name = "?B@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_B: *mut nsStaticAtom; - #[link_name = "?backgroundColor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_backgroundColor: *mut nsStaticAtom; - #[link_name = "?background_image@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_background_image: *mut nsStaticAtom; - #[link_name = "?baseFrequency@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_baseFrequency: *mut nsStaticAtom; - #[link_name = "?baseline_shift@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_baseline_shift: *mut nsStaticAtom; - #[link_name = "?bias@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bias: *mut nsStaticAtom; - #[link_name = "?caption_side@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_caption_side: *mut nsStaticAtom; - #[link_name = "?clip_path@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clip_path: *mut nsStaticAtom; - #[link_name = "?clip_rule@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clip_rule: *mut nsStaticAtom; - #[link_name = "?clipPath@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clipPath: *mut nsStaticAtom; - #[link_name = "?clipPathUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clipPathUnits: *mut nsStaticAtom; - #[link_name = "?cm@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cm: *mut nsStaticAtom; - #[link_name = "?colorBurn@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorBurn: *mut nsStaticAtom; - #[link_name = "?colorDodge@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorDodge: *mut nsStaticAtom; - #[link_name = "?colorInterpolation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorInterpolation: *mut nsStaticAtom; - #[link_name = "?colorInterpolationFilters@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorInterpolationFilters: *mut nsStaticAtom; - #[link_name = "?colorpicker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorpicker: *mut nsStaticAtom; - #[link_name = "?colorProfile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_colorProfile: *mut nsStaticAtom; - #[link_name = "?cursor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cursor: *mut nsStaticAtom; - #[link_name = "?cx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cx: *mut nsStaticAtom; - #[link_name = "?cy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cy: *mut nsStaticAtom; - #[link_name = "?d@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_d: *mut nsStaticAtom; - #[link_name = "?darken@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_darken: *mut nsStaticAtom; - #[link_name = "?defs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_defs: *mut nsStaticAtom; - #[link_name = "?deg@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_deg: *mut nsStaticAtom; - #[link_name = "?desc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_desc: *mut nsStaticAtom; - #[link_name = "?diffuseConstant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_diffuseConstant: *mut nsStaticAtom; - #[link_name = "?dilate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dilate: *mut nsStaticAtom; - #[link_name = "?direction@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_direction: *mut nsStaticAtom; - #[link_name = "?disable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disable: *mut nsStaticAtom; - #[link_name = "?disc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_disc: *mut nsStaticAtom; - #[link_name = "?discrete@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_discrete: *mut nsStaticAtom; - #[link_name = "?divisor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_divisor: *mut nsStaticAtom; - #[link_name = "?dominant_baseline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dominant_baseline: *mut nsStaticAtom; - #[link_name = "?duplicate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_duplicate: *mut nsStaticAtom; - #[link_name = "?dx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dx: *mut nsStaticAtom; - #[link_name = "?dy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dy: *mut nsStaticAtom; - #[link_name = "?edgeMode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_edgeMode: *mut nsStaticAtom; - #[link_name = "?ellipse@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ellipse: *mut nsStaticAtom; - #[link_name = "?elevation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_elevation: *mut nsStaticAtom; - #[link_name = "?erode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_erode: *mut nsStaticAtom; - #[link_name = "?ex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ex: *mut nsStaticAtom; - #[link_name = "?exact@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exact: *mut nsStaticAtom; - #[link_name = "?exclusion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exclusion: *mut nsStaticAtom; - #[link_name = "?exponent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exponent: *mut nsStaticAtom; - #[link_name = "?feBlend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feBlend: *mut nsStaticAtom; - #[link_name = "?feColorMatrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feColorMatrix: *mut nsStaticAtom; - #[link_name = "?feComponentTransfer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feComponentTransfer: *mut nsStaticAtom; - #[link_name = "?feComposite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feComposite: *mut nsStaticAtom; - #[link_name = "?feConvolveMatrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feConvolveMatrix: *mut nsStaticAtom; - #[link_name = "?feDiffuseLighting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feDiffuseLighting: *mut nsStaticAtom; - #[link_name = "?feDisplacementMap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feDisplacementMap: *mut nsStaticAtom; - #[link_name = "?feDistantLight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feDistantLight: *mut nsStaticAtom; - #[link_name = "?feDropShadow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feDropShadow: *mut nsStaticAtom; - #[link_name = "?feFlood@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feFlood: *mut nsStaticAtom; - #[link_name = "?feFuncA@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feFuncA: *mut nsStaticAtom; - #[link_name = "?feFuncB@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feFuncB: *mut nsStaticAtom; - #[link_name = "?feFuncG@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feFuncG: *mut nsStaticAtom; - #[link_name = "?feFuncR@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feFuncR: *mut nsStaticAtom; - #[link_name = "?feGaussianBlur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feGaussianBlur: *mut nsStaticAtom; - #[link_name = "?feImage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feImage: *mut nsStaticAtom; - #[link_name = "?feMerge@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feMerge: *mut nsStaticAtom; - #[link_name = "?feMergeNode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feMergeNode: *mut nsStaticAtom; - #[link_name = "?feMorphology@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feMorphology: *mut nsStaticAtom; - #[link_name = "?feOffset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feOffset: *mut nsStaticAtom; - #[link_name = "?fePointLight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fePointLight: *mut nsStaticAtom; - #[link_name = "?feSpecularLighting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feSpecularLighting: *mut nsStaticAtom; - #[link_name = "?feSpotLight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feSpotLight: *mut nsStaticAtom; - #[link_name = "?feTile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feTile: *mut nsStaticAtom; - #[link_name = "?feTurbulence@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feTurbulence: *mut nsStaticAtom; - #[link_name = "?fill@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fill: *mut nsStaticAtom; - #[link_name = "?fill_opacity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fill_opacity: *mut nsStaticAtom; - #[link_name = "?fill_rule@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fill_rule: *mut nsStaticAtom; - #[link_name = "?filter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_filter: *mut nsStaticAtom; - #[link_name = "?filterUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_filterUnits: *mut nsStaticAtom; - #[link_name = "?_float@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__float: *mut nsStaticAtom; - #[link_name = "?flood_color@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_flood_color: *mut nsStaticAtom; - #[link_name = "?flood_opacity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_flood_opacity: *mut nsStaticAtom; - #[link_name = "?font_face@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_face: *mut nsStaticAtom; - #[link_name = "?font_face_format@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_face_format: *mut nsStaticAtom; - #[link_name = "?font_face_name@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_face_name: *mut nsStaticAtom; - #[link_name = "?font_face_src@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_face_src: *mut nsStaticAtom; - #[link_name = "?font_face_uri@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_face_uri: *mut nsStaticAtom; - #[link_name = "?font_family@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_family: *mut nsStaticAtom; - #[link_name = "?font_size@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_size: *mut nsStaticAtom; - #[link_name = "?font_size_adjust@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_size_adjust: *mut nsStaticAtom; - #[link_name = "?font_stretch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_stretch: *mut nsStaticAtom; - #[link_name = "?font_style@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_style: *mut nsStaticAtom; - #[link_name = "?font_variant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_font_variant: *mut nsStaticAtom; - #[link_name = "?foreignObject@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_foreignObject: *mut nsStaticAtom; - #[link_name = "?fractalNoise@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fractalNoise: *mut nsStaticAtom; - #[link_name = "?fr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fr: *mut nsStaticAtom; - #[link_name = "?fx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fx: *mut nsStaticAtom; - #[link_name = "?fy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fy: *mut nsStaticAtom; - #[link_name = "?G@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_G: *mut nsStaticAtom; - #[link_name = "?g@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_g: *mut nsStaticAtom; - #[link_name = "?gamma@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gamma: *mut nsStaticAtom; - #[link_name = "?generic_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_generic_: *mut nsStaticAtom; - #[link_name = "?glyphRef@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_glyphRef: *mut nsStaticAtom; - #[link_name = "?grad@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_grad: *mut nsStaticAtom; - #[link_name = "?gradientTransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gradientTransform: *mut nsStaticAtom; - #[link_name = "?gradientUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gradientUnits: *mut nsStaticAtom; - #[link_name = "?hardLight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hardLight: *mut nsStaticAtom; - #[link_name = "?hue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hue: *mut nsStaticAtom; - #[link_name = "?hueRotate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hueRotate: *mut nsStaticAtom; - #[link_name = "?identity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_identity: *mut nsStaticAtom; - #[link_name = "?image_rendering@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_image_rendering: *mut nsStaticAtom; - #[link_name = "?in@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_in: *mut nsStaticAtom; - #[link_name = "?in2@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_in2: *mut nsStaticAtom; - #[link_name = "?intercept@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_intercept: *mut nsStaticAtom; - #[link_name = "?k1@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_k1: *mut nsStaticAtom; - #[link_name = "?k2@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_k2: *mut nsStaticAtom; - #[link_name = "?k3@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_k3: *mut nsStaticAtom; - #[link_name = "?k4@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_k4: *mut nsStaticAtom; - #[link_name = "?kernelMatrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kernelMatrix: *mut nsStaticAtom; - #[link_name = "?kernelUnitLength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kernelUnitLength: *mut nsStaticAtom; - #[link_name = "?lengthAdjust@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lengthAdjust: *mut nsStaticAtom; - #[link_name = "?letter_spacing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_letter_spacing: *mut nsStaticAtom; - #[link_name = "?lighten@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lighten: *mut nsStaticAtom; - #[link_name = "?lighting_color@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lighting_color: *mut nsStaticAtom; - #[link_name = "?limitingConeAngle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_limitingConeAngle: *mut nsStaticAtom; - #[link_name = "?linear@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linear: *mut nsStaticAtom; - #[link_name = "?linearGradient@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linearGradient: *mut nsStaticAtom; - #[link_name = "?linearRGB@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linearRGB: *mut nsStaticAtom; - #[link_name = "?list_style_type@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_list_style_type: *mut nsStaticAtom; - #[link_name = "?luminanceToAlpha@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_luminanceToAlpha: *mut nsStaticAtom; - #[link_name = "?luminosity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_luminosity: *mut nsStaticAtom; - #[link_name = "?magnify@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_magnify: *mut nsStaticAtom; - #[link_name = "?marker@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marker: *mut nsStaticAtom; - #[link_name = "?marker_end@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marker_end: *mut nsStaticAtom; - #[link_name = "?marker_mid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marker_mid: *mut nsStaticAtom; - #[link_name = "?marker_start@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_marker_start: *mut nsStaticAtom; - #[link_name = "?markerHeight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_markerHeight: *mut nsStaticAtom; - #[link_name = "?markerUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_markerUnits: *mut nsStaticAtom; - #[link_name = "?markerWidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_markerWidth: *mut nsStaticAtom; - #[link_name = "?mask@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mask: *mut nsStaticAtom; - #[link_name = "?maskContentUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maskContentUnits: *mut nsStaticAtom; - #[link_name = "?mask_type@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mask_type: *mut nsStaticAtom; - #[link_name = "?maskUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maskUnits: *mut nsStaticAtom; - #[link_name = "?matrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_matrix: *mut nsStaticAtom; - #[link_name = "?metadata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_metadata: *mut nsStaticAtom; - #[link_name = "?missingGlyph@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_missingGlyph: *mut nsStaticAtom; - #[link_name = "?mm@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mm: *mut nsStaticAtom; - #[link_name = "?mpath@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mpath: *mut nsStaticAtom; - #[link_name = "?noStitch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_noStitch: *mut nsStaticAtom; - #[link_name = "?numOctaves@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_numOctaves: *mut nsStaticAtom; - #[link_name = "?multiply@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_multiply: *mut nsStaticAtom; - #[link_name = "?objectBoundingBox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_objectBoundingBox: *mut nsStaticAtom; - #[link_name = "?offset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_offset: *mut nsStaticAtom; - #[link_name = "?onSVGLoad@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onSVGLoad: *mut nsStaticAtom; - #[link_name = "?onSVGResize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onSVGResize: *mut nsStaticAtom; - #[link_name = "?onSVGScroll@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onSVGScroll: *mut nsStaticAtom; - #[link_name = "?onSVGUnload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onSVGUnload: *mut nsStaticAtom; - #[link_name = "?onSVGZoom@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onSVGZoom: *mut nsStaticAtom; - #[link_name = "?onzoom@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onzoom: *mut nsStaticAtom; - #[link_name = "?opacity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_opacity: *mut nsStaticAtom; - #[link_name = "?_operator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__operator: *mut nsStaticAtom; - #[link_name = "?out@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_out: *mut nsStaticAtom; - #[link_name = "?over@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_over: *mut nsStaticAtom; - #[link_name = "?overridePreserveAspectRatio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overridePreserveAspectRatio: *mut nsStaticAtom; - #[link_name = "?pad@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pad: *mut nsStaticAtom; - #[link_name = "?path@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_path: *mut nsStaticAtom; - #[link_name = "?pathLength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pathLength: *mut nsStaticAtom; - #[link_name = "?patternContentUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patternContentUnits: *mut nsStaticAtom; - #[link_name = "?patternTransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patternTransform: *mut nsStaticAtom; - #[link_name = "?patternUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patternUnits: *mut nsStaticAtom; - #[link_name = "?pc@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pc: *mut nsStaticAtom; - #[link_name = "?pointer_events@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointer_events: *mut nsStaticAtom; - #[link_name = "?points@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_points: *mut nsStaticAtom; - #[link_name = "?pointsAtX@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointsAtX: *mut nsStaticAtom; - #[link_name = "?pointsAtY@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointsAtY: *mut nsStaticAtom; - #[link_name = "?pointsAtZ@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointsAtZ: *mut nsStaticAtom; - #[link_name = "?polyline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_polyline: *mut nsStaticAtom; - #[link_name = "?preserveAlpha@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preserveAlpha: *mut nsStaticAtom; - #[link_name = "?preserveAspectRatio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preserveAspectRatio: *mut nsStaticAtom; - #[link_name = "?primitiveUnits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_primitiveUnits: *mut nsStaticAtom; - #[link_name = "?pt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pt: *mut nsStaticAtom; - #[link_name = "?px@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_px: *mut nsStaticAtom; - #[link_name = "?R@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_R: *mut nsStaticAtom; - #[link_name = "?r@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_r: *mut nsStaticAtom; - #[link_name = "?rad@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rad: *mut nsStaticAtom; - #[link_name = "?radialGradient@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_radialGradient: *mut nsStaticAtom; - #[link_name = "?radius@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_radius: *mut nsStaticAtom; - #[link_name = "?reflect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reflect: *mut nsStaticAtom; - #[link_name = "?refX@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_refX: *mut nsStaticAtom; - #[link_name = "?refY@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_refY: *mut nsStaticAtom; - #[link_name = "?requiredExtensions@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_requiredExtensions: *mut nsStaticAtom; - #[link_name = "?requiredFeatures@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_requiredFeatures: *mut nsStaticAtom; - #[link_name = "?rotate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rotate: *mut nsStaticAtom; - #[link_name = "?rx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rx: *mut nsStaticAtom; - #[link_name = "?ry@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ry: *mut nsStaticAtom; - #[link_name = "?saturate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_saturate: *mut nsStaticAtom; - #[link_name = "?saturation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_saturation: *mut nsStaticAtom; - #[link_name = "?set@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_set: *mut nsStaticAtom; - #[link_name = "?seed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_seed: *mut nsStaticAtom; - #[link_name = "?shape_rendering@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_shape_rendering: *mut nsStaticAtom; - #[link_name = "?simpleScopeChain@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_simpleScopeChain: *mut nsStaticAtom; - #[link_name = "?skewX@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_skewX: *mut nsStaticAtom; - #[link_name = "?skewY@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_skewY: *mut nsStaticAtom; - #[link_name = "?slope@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_slope: *mut nsStaticAtom; - #[link_name = "?slot@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_slot: *mut nsStaticAtom; - #[link_name = "?softLight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_softLight: *mut nsStaticAtom; - #[link_name = "?spacing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spacing: *mut nsStaticAtom; - #[link_name = "?spacingAndGlyphs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spacingAndGlyphs: *mut nsStaticAtom; - #[link_name = "?specularConstant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_specularConstant: *mut nsStaticAtom; - #[link_name = "?specularExponent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_specularExponent: *mut nsStaticAtom; - #[link_name = "?spreadMethod@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spreadMethod: *mut nsStaticAtom; - #[link_name = "?sRGB@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sRGB: *mut nsStaticAtom; - #[link_name = "?startOffset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_startOffset: *mut nsStaticAtom; - #[link_name = "?stdDeviation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stdDeviation: *mut nsStaticAtom; - #[link_name = "?stitch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stitch: *mut nsStaticAtom; - #[link_name = "?stitchTiles@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stitchTiles: *mut nsStaticAtom; - #[link_name = "?stop_color@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stop_color: *mut nsStaticAtom; - #[link_name = "?stop_opacity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stop_opacity: *mut nsStaticAtom; - #[link_name = "?stroke@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke: *mut nsStaticAtom; - #[link_name = "?stroke_dasharray@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_dasharray: *mut nsStaticAtom; - #[link_name = "?stroke_dashoffset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_dashoffset: *mut nsStaticAtom; - #[link_name = "?stroke_linecap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_linecap: *mut nsStaticAtom; - #[link_name = "?stroke_linejoin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_linejoin: *mut nsStaticAtom; - #[link_name = "?stroke_miterlimit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_miterlimit: *mut nsStaticAtom; - #[link_name = "?stroke_opacity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_opacity: *mut nsStaticAtom; - #[link_name = "?stroke_width@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stroke_width: *mut nsStaticAtom; - #[link_name = "?strokeWidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_strokeWidth: *mut nsStaticAtom; - #[link_name = "?surfaceScale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_surfaceScale: *mut nsStaticAtom; - #[link_name = "?svg@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_svg: *mut nsStaticAtom; - #[link_name = "?svgContextPaint@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_svgContextPaint: *mut nsStaticAtom; - #[link_name = "?svgSwitch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_svgSwitch: *mut nsStaticAtom; - #[link_name = "?symbol@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_symbol: *mut nsStaticAtom; - #[link_name = "?systemLanguage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_systemLanguage: *mut nsStaticAtom; - #[link_name = "?tableValues@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tableValues: *mut nsStaticAtom; - #[link_name = "?targetX@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_targetX: *mut nsStaticAtom; - #[link_name = "?targetY@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_targetY: *mut nsStaticAtom; - #[link_name = "?text_anchor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_text_anchor: *mut nsStaticAtom; - #[link_name = "?text_rendering@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_text_rendering: *mut nsStaticAtom; - #[link_name = "?textLength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textLength: *mut nsStaticAtom; - #[link_name = "?textPath@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textPath: *mut nsStaticAtom; - #[link_name = "?tref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tref: *mut nsStaticAtom; - #[link_name = "?tspan@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tspan: *mut nsStaticAtom; - #[link_name = "?turbulence@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_turbulence: *mut nsStaticAtom; - #[link_name = "?unicode_bidi@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_unicode_bidi: *mut nsStaticAtom; - #[link_name = "?userSpaceOnUse@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_userSpaceOnUse: *mut nsStaticAtom; - #[link_name = "?view@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_view: *mut nsStaticAtom; - #[link_name = "?viewBox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewBox: *mut nsStaticAtom; - #[link_name = "?viewTarget@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewTarget: *mut nsStaticAtom; - #[link_name = "?white_space@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_white_space: *mut nsStaticAtom; - #[link_name = "?word_spacing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_word_spacing: *mut nsStaticAtom; - #[link_name = "?writing_mode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_writing_mode: *mut nsStaticAtom; - #[link_name = "?x@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x: *mut nsStaticAtom; - #[link_name = "?x1@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x1: *mut nsStaticAtom; - #[link_name = "?x2@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x2: *mut nsStaticAtom; - #[link_name = "?xChannelSelector@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xChannelSelector: *mut nsStaticAtom; - #[link_name = "?xor_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xor_: *mut nsStaticAtom; - #[link_name = "?y@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_y: *mut nsStaticAtom; - #[link_name = "?y1@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_y1: *mut nsStaticAtom; - #[link_name = "?y2@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_y2: *mut nsStaticAtom; - #[link_name = "?yChannelSelector@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_yChannelSelector: *mut nsStaticAtom; - #[link_name = "?z@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_z: *mut nsStaticAtom; - #[link_name = "?zoomAndPan@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zoomAndPan: *mut nsStaticAtom; - #[link_name = "?vector_effect@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vector_effect: *mut nsStaticAtom; - #[link_name = "?vertical_align@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vertical_align: *mut nsStaticAtom; - #[link_name = "?accumulate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_accumulate: *mut nsStaticAtom; - #[link_name = "?additive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_additive: *mut nsStaticAtom; - #[link_name = "?attributeName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attributeName: *mut nsStaticAtom; - #[link_name = "?attributeType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attributeType: *mut nsStaticAtom; - #[link_name = "?auto_reverse@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_auto_reverse: *mut nsStaticAtom; - #[link_name = "?begin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_begin: *mut nsStaticAtom; - #[link_name = "?beginEvent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_beginEvent: *mut nsStaticAtom; - #[link_name = "?by@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_by: *mut nsStaticAtom; - #[link_name = "?calcMode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_calcMode: *mut nsStaticAtom; - #[link_name = "?css@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_css: *mut nsStaticAtom; - #[link_name = "?dur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_dur: *mut nsStaticAtom; - #[link_name = "?keyPoints@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keyPoints: *mut nsStaticAtom; - #[link_name = "?keySplines@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keySplines: *mut nsStaticAtom; - #[link_name = "?keyTimes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keyTimes: *mut nsStaticAtom; - #[link_name = "?mozAnimateMotionDummyAttr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozAnimateMotionDummyAttr: *mut nsStaticAtom; - #[link_name = "?onbegin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbegin: *mut nsStaticAtom; - #[link_name = "?onbeginEvent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onbeginEvent: *mut nsStaticAtom; - #[link_name = "?onend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onend: *mut nsStaticAtom; - #[link_name = "?onendEvent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onendEvent: *mut nsStaticAtom; - #[link_name = "?onrepeat@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrepeat: *mut nsStaticAtom; - #[link_name = "?onrepeatEvent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onrepeatEvent: *mut nsStaticAtom; - #[link_name = "?repeatCount@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_repeatCount: *mut nsStaticAtom; - #[link_name = "?repeatDur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_repeatDur: *mut nsStaticAtom; - #[link_name = "?repeatEvent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_repeatEvent: *mut nsStaticAtom; - #[link_name = "?restart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_restart: *mut nsStaticAtom; - #[link_name = "?to@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_to: *mut nsStaticAtom; - #[link_name = "?XML@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_XML: *mut nsStaticAtom; - #[link_name = "?abs_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_abs_: *mut nsStaticAtom; - #[link_name = "?accent_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_accent_: *mut nsStaticAtom; - #[link_name = "?accentunder_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_accentunder_: *mut nsStaticAtom; - #[link_name = "?actiontype_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_actiontype_: *mut nsStaticAtom; - #[link_name = "?alignmentscope_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alignmentscope_: *mut nsStaticAtom; - #[link_name = "?altimg_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altimg_: *mut nsStaticAtom; - #[link_name = "?altimg_height_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altimg_height_: *mut nsStaticAtom; - #[link_name = "?altimg_valign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altimg_valign_: *mut nsStaticAtom; - #[link_name = "?altimg_width_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altimg_width_: *mut nsStaticAtom; - #[link_name = "?annotation_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_annotation_: *mut nsStaticAtom; - #[link_name = "?annotation_xml_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_annotation_xml_: *mut nsStaticAtom; - #[link_name = "?apply_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_apply_: *mut nsStaticAtom; - #[link_name = "?approx_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_approx_: *mut nsStaticAtom; - #[link_name = "?arccos_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arccos_: *mut nsStaticAtom; - #[link_name = "?arccosh_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arccosh_: *mut nsStaticAtom; - #[link_name = "?arccot_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arccot_: *mut nsStaticAtom; - #[link_name = "?arccoth_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arccoth_: *mut nsStaticAtom; - #[link_name = "?arccsc_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arccsc_: *mut nsStaticAtom; - #[link_name = "?arccsch_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arccsch_: *mut nsStaticAtom; - #[link_name = "?arcsec_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arcsec_: *mut nsStaticAtom; - #[link_name = "?arcsech_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arcsech_: *mut nsStaticAtom; - #[link_name = "?arcsin_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arcsin_: *mut nsStaticAtom; - #[link_name = "?arcsinh_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arcsinh_: *mut nsStaticAtom; - #[link_name = "?arctan_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arctan_: *mut nsStaticAtom; - #[link_name = "?arctanh_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arctanh_: *mut nsStaticAtom; - #[link_name = "?arg_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arg_: *mut nsStaticAtom; - #[link_name = "?bevelled_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bevelled_: *mut nsStaticAtom; - #[link_name = "?bind_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bind_: *mut nsStaticAtom; - #[link_name = "?bvar_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_bvar_: *mut nsStaticAtom; - #[link_name = "?card_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_card_: *mut nsStaticAtom; - #[link_name = "?cartesianproduct_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cartesianproduct_: *mut nsStaticAtom; - #[link_name = "?cbytes_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cbytes_: *mut nsStaticAtom; - #[link_name = "?cd_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cd_: *mut nsStaticAtom; - #[link_name = "?cdgroup_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cdgroup_: *mut nsStaticAtom; - #[link_name = "?cerror_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cerror_: *mut nsStaticAtom; - #[link_name = "?charalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_charalign_: *mut nsStaticAtom; - #[link_name = "?ci_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ci_: *mut nsStaticAtom; - #[link_name = "?closure_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_closure_: *mut nsStaticAtom; - #[link_name = "?cn_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cn_: *mut nsStaticAtom; - #[link_name = "?codomain_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_codomain_: *mut nsStaticAtom; - #[link_name = "?columnalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnalign_: *mut nsStaticAtom; - #[link_name = "?columnalignment_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnalignment_: *mut nsStaticAtom; - #[link_name = "?columnlines_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnlines_: *mut nsStaticAtom; - #[link_name = "?columnspacing_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnspacing_: *mut nsStaticAtom; - #[link_name = "?columnspan_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnspan_: *mut nsStaticAtom; - #[link_name = "?columnwidth_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnwidth_: *mut nsStaticAtom; - #[link_name = "?complexes_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_complexes_: *mut nsStaticAtom; - #[link_name = "?compose_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_compose_: *mut nsStaticAtom; - #[link_name = "?condition_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_condition_: *mut nsStaticAtom; - #[link_name = "?conjugate_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_conjugate_: *mut nsStaticAtom; - #[link_name = "?cos_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cos_: *mut nsStaticAtom; - #[link_name = "?cosh_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cosh_: *mut nsStaticAtom; - #[link_name = "?cot_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cot_: *mut nsStaticAtom; - #[link_name = "?coth_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_coth_: *mut nsStaticAtom; - #[link_name = "?crossout_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_crossout_: *mut nsStaticAtom; - #[link_name = "?csc_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_csc_: *mut nsStaticAtom; - #[link_name = "?csch_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_csch_: *mut nsStaticAtom; - #[link_name = "?cs_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cs_: *mut nsStaticAtom; - #[link_name = "?csymbol_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_csymbol_: *mut nsStaticAtom; - #[link_name = "?curl_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_curl_: *mut nsStaticAtom; - #[link_name = "?decimalpoint_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_decimalpoint_: *mut nsStaticAtom; - #[link_name = "?definitionURL_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_definitionURL_: *mut nsStaticAtom; - #[link_name = "?degree_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_degree_: *mut nsStaticAtom; - #[link_name = "?denomalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_denomalign_: *mut nsStaticAtom; - #[link_name = "?depth_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_depth_: *mut nsStaticAtom; - #[link_name = "?determinant_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_determinant_: *mut nsStaticAtom; - #[link_name = "?diff_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_diff_: *mut nsStaticAtom; - #[link_name = "?displaystyle_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_displaystyle_: *mut nsStaticAtom; - #[link_name = "?divergence_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_divergence_: *mut nsStaticAtom; - #[link_name = "?divide_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_divide_: *mut nsStaticAtom; - #[link_name = "?domain_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_domain_: *mut nsStaticAtom; - #[link_name = "?domainofapplication_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_domainofapplication_: *mut nsStaticAtom; - #[link_name = "?edge_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_edge_: *mut nsStaticAtom; - #[link_name = "?el@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_el: *mut nsStaticAtom; - #[link_name = "?emptyset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_emptyset_: *mut nsStaticAtom; - #[link_name = "?eq_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_eq_: *mut nsStaticAtom; - #[link_name = "?equalcolumns_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_equalcolumns_: *mut nsStaticAtom; - #[link_name = "?equalrows_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_equalrows_: *mut nsStaticAtom; - #[link_name = "?equivalent_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_equivalent_: *mut nsStaticAtom; - #[link_name = "?eulergamma_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_eulergamma_: *mut nsStaticAtom; - #[link_name = "?exists_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exists_: *mut nsStaticAtom; - #[link_name = "?exp_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exp_: *mut nsStaticAtom; - #[link_name = "?exponentiale_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_exponentiale_: *mut nsStaticAtom; - #[link_name = "?factorial_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_factorial_: *mut nsStaticAtom; - #[link_name = "?factorof_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_factorof_: *mut nsStaticAtom; - #[link_name = "?fence_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fence_: *mut nsStaticAtom; - #[link_name = "?fn_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fn_: *mut nsStaticAtom; - #[link_name = "?fontfamily_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fontfamily_: *mut nsStaticAtom; - #[link_name = "?fontsize_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fontsize_: *mut nsStaticAtom; - #[link_name = "?fontstyle_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fontstyle_: *mut nsStaticAtom; - #[link_name = "?fontweight_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fontweight_: *mut nsStaticAtom; - #[link_name = "?forall_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_forall_: *mut nsStaticAtom; - #[link_name = "?framespacing_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_framespacing_: *mut nsStaticAtom; - #[link_name = "?gcd_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gcd_: *mut nsStaticAtom; - #[link_name = "?geq_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_geq_: *mut nsStaticAtom; - #[link_name = "?groupalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_groupalign_: *mut nsStaticAtom; - #[link_name = "?gt_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gt_: *mut nsStaticAtom; - #[link_name = "?ident_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ident_: *mut nsStaticAtom; - #[link_name = "?imaginaryi_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_imaginaryi_: *mut nsStaticAtom; - #[link_name = "?imaginary_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_imaginary_: *mut nsStaticAtom; - #[link_name = "?implies_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_implies_: *mut nsStaticAtom; - #[link_name = "?indentalignfirst_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indentalignfirst_: *mut nsStaticAtom; - #[link_name = "?indentalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indentalign_: *mut nsStaticAtom; - #[link_name = "?indentalignlast_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indentalignlast_: *mut nsStaticAtom; - #[link_name = "?indentshiftfirst_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indentshiftfirst_: *mut nsStaticAtom; - #[link_name = "?indentshift_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indentshift_: *mut nsStaticAtom; - #[link_name = "?indenttarget_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_indenttarget_: *mut nsStaticAtom; - #[link_name = "?integers_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_integers_: *mut nsStaticAtom; - #[link_name = "?intersect_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_intersect_: *mut nsStaticAtom; - #[link_name = "?interval_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_interval_: *mut nsStaticAtom; - #[link_name = "?int_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_int_: *mut nsStaticAtom; - #[link_name = "?inverse_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_inverse_: *mut nsStaticAtom; - #[link_name = "?lambda_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lambda_: *mut nsStaticAtom; - #[link_name = "?laplacian_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_laplacian_: *mut nsStaticAtom; - #[link_name = "?largeop_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_largeop_: *mut nsStaticAtom; - #[link_name = "?lcm_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lcm_: *mut nsStaticAtom; - #[link_name = "?leq_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_leq_: *mut nsStaticAtom; - #[link_name = "?limit_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_limit_: *mut nsStaticAtom; - #[link_name = "?linebreak_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linebreak_: *mut nsStaticAtom; - #[link_name = "?linebreakmultchar_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linebreakmultchar_: *mut nsStaticAtom; - #[link_name = "?linebreakstyle_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linebreakstyle_: *mut nsStaticAtom; - #[link_name = "?linethickness_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linethickness_: *mut nsStaticAtom; - #[link_name = "?list_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_list_: *mut nsStaticAtom; - #[link_name = "?ln_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ln_: *mut nsStaticAtom; - #[link_name = "?location_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_location_: *mut nsStaticAtom; - #[link_name = "?logbase_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_logbase_: *mut nsStaticAtom; - #[link_name = "?log_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_log_: *mut nsStaticAtom; - #[link_name = "?longdivstyle_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_longdivstyle_: *mut nsStaticAtom; - #[link_name = "?lowlimit_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lowlimit_: *mut nsStaticAtom; - #[link_name = "?lquote_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lquote_: *mut nsStaticAtom; - #[link_name = "?lspace_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lspace_: *mut nsStaticAtom; - #[link_name = "?lt_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lt_: *mut nsStaticAtom; - #[link_name = "?maction_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maction_: *mut nsStaticAtom; - #[link_name = "?maligngroup_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maligngroup_: *mut nsStaticAtom; - #[link_name = "?malignmark_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_malignmark_: *mut nsStaticAtom; - #[link_name = "?mathbackground_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mathbackground_: *mut nsStaticAtom; - #[link_name = "?mathcolor_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mathcolor_: *mut nsStaticAtom; - #[link_name = "?mathsize_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mathsize_: *mut nsStaticAtom; - #[link_name = "?mathvariant_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mathvariant_: *mut nsStaticAtom; - #[link_name = "?matrixrow_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_matrixrow_: *mut nsStaticAtom; - #[link_name = "?maxsize_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maxsize_: *mut nsStaticAtom; - #[link_name = "?mean_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mean_: *mut nsStaticAtom; - #[link_name = "?median_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_median_: *mut nsStaticAtom; - #[link_name = "?menclose_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menclose_: *mut nsStaticAtom; - #[link_name = "?merror_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_merror_: *mut nsStaticAtom; - #[link_name = "?mfenced_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mfenced_: *mut nsStaticAtom; - #[link_name = "?mfrac_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mfrac_: *mut nsStaticAtom; - #[link_name = "?mglyph_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mglyph_: *mut nsStaticAtom; - #[link_name = "?mi_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mi_: *mut nsStaticAtom; - #[link_name = "?minlabelspacing_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minlabelspacing_: *mut nsStaticAtom; - #[link_name = "?minsize_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minsize_: *mut nsStaticAtom; - #[link_name = "?minus_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_minus_: *mut nsStaticAtom; - #[link_name = "?mlabeledtr_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mlabeledtr_: *mut nsStaticAtom; - #[link_name = "?mlongdiv_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mlongdiv_: *mut nsStaticAtom; - #[link_name = "?mmultiscripts_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mmultiscripts_: *mut nsStaticAtom; - #[link_name = "?mn_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mn_: *mut nsStaticAtom; - #[link_name = "?momentabout_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_momentabout_: *mut nsStaticAtom; - #[link_name = "?moment_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_moment_: *mut nsStaticAtom; - #[link_name = "?mo_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mo_: *mut nsStaticAtom; - #[link_name = "?movablelimits_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_movablelimits_: *mut nsStaticAtom; - #[link_name = "?mover_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mover_: *mut nsStaticAtom; - #[link_name = "?mpadded_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mpadded_: *mut nsStaticAtom; - #[link_name = "?mphantom_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mphantom_: *mut nsStaticAtom; - #[link_name = "?mprescripts_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mprescripts_: *mut nsStaticAtom; - #[link_name = "?mroot_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mroot_: *mut nsStaticAtom; - #[link_name = "?mrow_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mrow_: *mut nsStaticAtom; - #[link_name = "?mscarries_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mscarries_: *mut nsStaticAtom; - #[link_name = "?mscarry_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mscarry_: *mut nsStaticAtom; - #[link_name = "?msgroup_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msgroup_: *mut nsStaticAtom; - #[link_name = "?msline_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msline_: *mut nsStaticAtom; - #[link_name = "?ms_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ms_: *mut nsStaticAtom; - #[link_name = "?mspace_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mspace_: *mut nsStaticAtom; - #[link_name = "?msqrt_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msqrt_: *mut nsStaticAtom; - #[link_name = "?msrow_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msrow_: *mut nsStaticAtom; - #[link_name = "?mstack_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mstack_: *mut nsStaticAtom; - #[link_name = "?mstyle_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mstyle_: *mut nsStaticAtom; - #[link_name = "?msub_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msub_: *mut nsStaticAtom; - #[link_name = "?msubsup_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msubsup_: *mut nsStaticAtom; - #[link_name = "?msup_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_msup_: *mut nsStaticAtom; - #[link_name = "?mtable_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mtable_: *mut nsStaticAtom; - #[link_name = "?mtd_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mtd_: *mut nsStaticAtom; - #[link_name = "?mtext_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mtext_: *mut nsStaticAtom; - #[link_name = "?mtr_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mtr_: *mut nsStaticAtom; - #[link_name = "?munder_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_munder_: *mut nsStaticAtom; - #[link_name = "?munderover_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_munderover_: *mut nsStaticAtom; - #[link_name = "?naturalnumbers_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_naturalnumbers_: *mut nsStaticAtom; - #[link_name = "?neq_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_neq_: *mut nsStaticAtom; - #[link_name = "?notanumber_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_notanumber_: *mut nsStaticAtom; - #[link_name = "?notation_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_notation_: *mut nsStaticAtom; - #[link_name = "?note_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_note_: *mut nsStaticAtom; - #[link_name = "?notin_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_notin_: *mut nsStaticAtom; - #[link_name = "?notprsubset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_notprsubset_: *mut nsStaticAtom; - #[link_name = "?notsubset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_notsubset_: *mut nsStaticAtom; - #[link_name = "?numalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_numalign_: *mut nsStaticAtom; - #[link_name = "?other@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_other: *mut nsStaticAtom; - #[link_name = "?outerproduct_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_outerproduct_: *mut nsStaticAtom; - #[link_name = "?partialdiff_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_partialdiff_: *mut nsStaticAtom; - #[link_name = "?piece_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_piece_: *mut nsStaticAtom; - #[link_name = "?piecewise_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_piecewise_: *mut nsStaticAtom; - #[link_name = "?pi_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pi_: *mut nsStaticAtom; - #[link_name = "?plus_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_plus_: *mut nsStaticAtom; - #[link_name = "?power_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_power_: *mut nsStaticAtom; - #[link_name = "?primes_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_primes_: *mut nsStaticAtom; - #[link_name = "?product_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_product_: *mut nsStaticAtom; - #[link_name = "?prsubset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_prsubset_: *mut nsStaticAtom; - #[link_name = "?quotient_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_quotient_: *mut nsStaticAtom; - #[link_name = "?rationals_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rationals_: *mut nsStaticAtom; - #[link_name = "?real_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_real_: *mut nsStaticAtom; - #[link_name = "?reals_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reals_: *mut nsStaticAtom; - #[link_name = "?reln_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_reln_: *mut nsStaticAtom; - #[link_name = "?root_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_root_: *mut nsStaticAtom; - #[link_name = "?rowalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rowalign_: *mut nsStaticAtom; - #[link_name = "?rowlines_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rowlines_: *mut nsStaticAtom; - #[link_name = "?rowspacing_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rowspacing_: *mut nsStaticAtom; - #[link_name = "?rquote_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rquote_: *mut nsStaticAtom; - #[link_name = "?rspace_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rspace_: *mut nsStaticAtom; - #[link_name = "?scalarproduct_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scalarproduct_: *mut nsStaticAtom; - #[link_name = "?schemaLocation_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_schemaLocation_: *mut nsStaticAtom; - #[link_name = "?scriptlevel_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scriptlevel_: *mut nsStaticAtom; - #[link_name = "?scriptminsize_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scriptminsize_: *mut nsStaticAtom; - #[link_name = "?scriptsizemultiplier_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scriptsizemultiplier_: *mut nsStaticAtom; - #[link_name = "?scriptsize_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scriptsize_: *mut nsStaticAtom; - #[link_name = "?sdev_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sdev_: *mut nsStaticAtom; - #[link_name = "?sech_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sech_: *mut nsStaticAtom; - #[link_name = "?sec_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sec_: *mut nsStaticAtom; - #[link_name = "?selection_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_selection_: *mut nsStaticAtom; - #[link_name = "?selector_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_selector_: *mut nsStaticAtom; - #[link_name = "?semantics_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_semantics_: *mut nsStaticAtom; - #[link_name = "?separator_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_separator_: *mut nsStaticAtom; - #[link_name = "?separators_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_separators_: *mut nsStaticAtom; - #[link_name = "?sep_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sep_: *mut nsStaticAtom; - #[link_name = "?setdiff_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_setdiff_: *mut nsStaticAtom; - #[link_name = "?share_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_share_: *mut nsStaticAtom; - #[link_name = "?shift_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_shift_: *mut nsStaticAtom; - #[link_name = "?side_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_side_: *mut nsStaticAtom; - #[link_name = "?sinh_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sinh_: *mut nsStaticAtom; - #[link_name = "?sin_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sin_: *mut nsStaticAtom; - #[link_name = "?stackalign_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stackalign_: *mut nsStaticAtom; - #[link_name = "?stretchy_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stretchy_: *mut nsStaticAtom; - #[link_name = "?subscriptshift_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_subscriptshift_: *mut nsStaticAtom; - #[link_name = "?subset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_subset_: *mut nsStaticAtom; - #[link_name = "?superscriptshift_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_superscriptshift_: *mut nsStaticAtom; - #[link_name = "?symmetric_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_symmetric_: *mut nsStaticAtom; - #[link_name = "?tanh_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tanh_: *mut nsStaticAtom; - #[link_name = "?tan_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tan_: *mut nsStaticAtom; - #[link_name = "?tendsto_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tendsto_: *mut nsStaticAtom; - #[link_name = "?times_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_times_: *mut nsStaticAtom; - #[link_name = "?transpose_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transpose_: *mut nsStaticAtom; - #[link_name = "?union_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_union_: *mut nsStaticAtom; - #[link_name = "?uplimit_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_uplimit_: *mut nsStaticAtom; - #[link_name = "?variance_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_variance_: *mut nsStaticAtom; - #[link_name = "?vectorproduct_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vectorproduct_: *mut nsStaticAtom; - #[link_name = "?vector_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_vector_: *mut nsStaticAtom; - #[link_name = "?voffset_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_voffset_: *mut nsStaticAtom; - #[link_name = "?xref_@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xref_: *mut nsStaticAtom; - #[link_name = "?math@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_math: *mut nsStaticAtom; - #[link_name = "?avg@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_avg: *mut nsStaticAtom; - #[link_name = "?booleanFromString@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_booleanFromString: *mut nsStaticAtom; - #[link_name = "?countNonEmpty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_countNonEmpty: *mut nsStaticAtom; - #[link_name = "?daysFromDate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_daysFromDate: *mut nsStaticAtom; - #[link_name = "?init@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_init: *mut nsStaticAtom; - #[link_name = "?instance@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_instance: *mut nsStaticAtom; - #[link_name = "?months@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_months: *mut nsStaticAtom; - #[link_name = "?now@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_now: *mut nsStaticAtom; - #[link_name = "?seconds@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_seconds: *mut nsStaticAtom; - #[link_name = "?secondsFromDateTime@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_secondsFromDateTime: *mut nsStaticAtom; - #[link_name = "?onMozSwipeGestureMayStart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozSwipeGestureMayStart: *mut nsStaticAtom; - #[link_name = "?onMozSwipeGestureStart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozSwipeGestureStart: *mut nsStaticAtom; - #[link_name = "?onMozSwipeGestureUpdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozSwipeGestureUpdate: *mut nsStaticAtom; - #[link_name = "?onMozSwipeGestureEnd@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozSwipeGestureEnd: *mut nsStaticAtom; - #[link_name = "?onMozSwipeGesture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozSwipeGesture: *mut nsStaticAtom; - #[link_name = "?onMozMagnifyGestureStart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozMagnifyGestureStart: *mut nsStaticAtom; - #[link_name = "?onMozMagnifyGestureUpdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozMagnifyGestureUpdate: *mut nsStaticAtom; - #[link_name = "?onMozMagnifyGesture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozMagnifyGesture: *mut nsStaticAtom; - #[link_name = "?onMozRotateGestureStart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozRotateGestureStart: *mut nsStaticAtom; - #[link_name = "?onMozRotateGestureUpdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozRotateGestureUpdate: *mut nsStaticAtom; - #[link_name = "?onMozRotateGesture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozRotateGesture: *mut nsStaticAtom; - #[link_name = "?onMozTapGesture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozTapGesture: *mut nsStaticAtom; - #[link_name = "?onMozPressTapGesture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozPressTapGesture: *mut nsStaticAtom; - #[link_name = "?onMozEdgeUIStarted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozEdgeUIStarted: *mut nsStaticAtom; - #[link_name = "?onMozEdgeUICanceled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozEdgeUICanceled: *mut nsStaticAtom; - #[link_name = "?onMozEdgeUICompleted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onMozEdgeUICompleted: *mut nsStaticAtom; - #[link_name = "?onpointerdown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerdown: *mut nsStaticAtom; - #[link_name = "?onpointermove@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointermove: *mut nsStaticAtom; - #[link_name = "?onpointerup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerup: *mut nsStaticAtom; - #[link_name = "?onpointercancel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointercancel: *mut nsStaticAtom; - #[link_name = "?onpointerover@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerover: *mut nsStaticAtom; - #[link_name = "?onpointerout@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerout: *mut nsStaticAtom; - #[link_name = "?onpointerenter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerenter: *mut nsStaticAtom; - #[link_name = "?onpointerleave@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpointerleave: *mut nsStaticAtom; - #[link_name = "?ongotpointercapture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongotpointercapture: *mut nsStaticAtom; - #[link_name = "?onlostpointercapture@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onlostpointercapture: *mut nsStaticAtom; - #[link_name = "?ondevicemotion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondevicemotion: *mut nsStaticAtom; - #[link_name = "?ondeviceorientation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondeviceorientation: *mut nsStaticAtom; - #[link_name = "?onabsolutedeviceorientation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onabsolutedeviceorientation: *mut nsStaticAtom; - #[link_name = "?ondeviceproximity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondeviceproximity: *mut nsStaticAtom; - #[link_name = "?onmozorientationchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmozorientationchange: *mut nsStaticAtom; - #[link_name = "?onuserproximity@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onuserproximity: *mut nsStaticAtom; - #[link_name = "?ondevicelight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondevicelight: *mut nsStaticAtom; - #[link_name = "?ondevicechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondevicechange: *mut nsStaticAtom; - #[link_name = "?moz_extension@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_moz_extension: *mut nsStaticAtom; - #[link_name = "?all_urlsPermission@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_all_urlsPermission: *mut nsStaticAtom; - #[link_name = "?clipboardRead@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clipboardRead: *mut nsStaticAtom; - #[link_name = "?clipboardWrite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clipboardWrite: *mut nsStaticAtom; - #[link_name = "?debugger@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_debugger: *mut nsStaticAtom; - #[link_name = "?tabs@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tabs: *mut nsStaticAtom; - #[link_name = "?webRequestBlocking@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_webRequestBlocking: *mut nsStaticAtom; - #[link_name = "?http@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_http: *mut nsStaticAtom; - #[link_name = "?https@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_https: *mut nsStaticAtom; - #[link_name = "?proxy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_proxy: *mut nsStaticAtom; - #[link_name = "?cdataTagName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cdataTagName: *mut nsStaticAtom; - #[link_name = "?commentTagName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_commentTagName: *mut nsStaticAtom; - #[link_name = "?documentNodeName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_documentNodeName: *mut nsStaticAtom; - #[link_name = "?documentFragmentNodeName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_documentFragmentNodeName: *mut nsStaticAtom; - #[link_name = "?documentTypeNodeName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_documentTypeNodeName: *mut nsStaticAtom; - #[link_name = "?processingInstructionTagName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_processingInstructionTagName: *mut nsStaticAtom; - #[link_name = "?textTagName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textTagName: *mut nsStaticAtom; - #[link_name = "?placeholderFrame@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_placeholderFrame: *mut nsStaticAtom; - #[link_name = "?onloadend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloadend: *mut nsStaticAtom; - #[link_name = "?onloadstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloadstart: *mut nsStaticAtom; - #[link_name = "?onprogress@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onprogress: *mut nsStaticAtom; - #[link_name = "?onsuspend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsuspend: *mut nsStaticAtom; - #[link_name = "?onemptied@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onemptied: *mut nsStaticAtom; - #[link_name = "?onstalled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstalled: *mut nsStaticAtom; - #[link_name = "?onplay@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onplay: *mut nsStaticAtom; - #[link_name = "?onpause@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onpause: *mut nsStaticAtom; - #[link_name = "?onloadedmetadata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloadedmetadata: *mut nsStaticAtom; - #[link_name = "?onloadeddata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onloadeddata: *mut nsStaticAtom; - #[link_name = "?onwaiting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwaiting: *mut nsStaticAtom; - #[link_name = "?onplaying@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onplaying: *mut nsStaticAtom; - #[link_name = "?oncanplay@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncanplay: *mut nsStaticAtom; - #[link_name = "?oncanplaythrough@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncanplaythrough: *mut nsStaticAtom; - #[link_name = "?onseeking@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onseeking: *mut nsStaticAtom; - #[link_name = "?onseeked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onseeked: *mut nsStaticAtom; - #[link_name = "?ontimeout@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontimeout: *mut nsStaticAtom; - #[link_name = "?ontimeupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ontimeupdate: *mut nsStaticAtom; - #[link_name = "?onended@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onended: *mut nsStaticAtom; - #[link_name = "?onratechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onratechange: *mut nsStaticAtom; - #[link_name = "?ondurationchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondurationchange: *mut nsStaticAtom; - #[link_name = "?onvolumechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onvolumechange: *mut nsStaticAtom; - #[link_name = "?onaddtrack@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onaddtrack: *mut nsStaticAtom; - #[link_name = "?oncontrollerchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncontrollerchange: *mut nsStaticAtom; - #[link_name = "?oncuechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_oncuechange: *mut nsStaticAtom; - #[link_name = "?onenter@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onenter: *mut nsStaticAtom; - #[link_name = "?onexit@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onexit: *mut nsStaticAtom; - #[link_name = "?onencrypted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onencrypted: *mut nsStaticAtom; - #[link_name = "?encrypted@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_encrypted: *mut nsStaticAtom; - #[link_name = "?onwaitingforkey@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwaitingforkey: *mut nsStaticAtom; - #[link_name = "?onkeystatuseschange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onkeystatuseschange: *mut nsStaticAtom; - #[link_name = "?onremovetrack@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onremovetrack: *mut nsStaticAtom; - #[link_name = "?loadstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_loadstart: *mut nsStaticAtom; - #[link_name = "?suspend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_suspend: *mut nsStaticAtom; - #[link_name = "?emptied@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_emptied: *mut nsStaticAtom; - #[link_name = "?stalled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stalled: *mut nsStaticAtom; - #[link_name = "?play@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_play: *mut nsStaticAtom; - #[link_name = "?pause@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pause: *mut nsStaticAtom; - #[link_name = "?loadedmetadata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_loadedmetadata: *mut nsStaticAtom; - #[link_name = "?loadeddata@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_loadeddata: *mut nsStaticAtom; - #[link_name = "?waiting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_waiting: *mut nsStaticAtom; - #[link_name = "?playing@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_playing: *mut nsStaticAtom; - #[link_name = "?seeking@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_seeking: *mut nsStaticAtom; - #[link_name = "?seeked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_seeked: *mut nsStaticAtom; - #[link_name = "?timeupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_timeupdate: *mut nsStaticAtom; - #[link_name = "?ended@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ended: *mut nsStaticAtom; - #[link_name = "?canplay@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_canplay: *mut nsStaticAtom; - #[link_name = "?canplaythrough@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_canplaythrough: *mut nsStaticAtom; - #[link_name = "?ratechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ratechange: *mut nsStaticAtom; - #[link_name = "?durationchange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_durationchange: *mut nsStaticAtom; - #[link_name = "?volumechange@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_volumechange: *mut nsStaticAtom; - #[link_name = "?ondataavailable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ondataavailable: *mut nsStaticAtom; - #[link_name = "?onwarning@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onwarning: *mut nsStaticAtom; - #[link_name = "?onstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstart: *mut nsStaticAtom; - #[link_name = "?onstop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onstop: *mut nsStaticAtom; - #[link_name = "?onphoto@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onphoto: *mut nsStaticAtom; - #[link_name = "?onactivestatechanged@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onactivestatechanged: *mut nsStaticAtom; - #[link_name = "?ongamepadbuttondown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongamepadbuttondown: *mut nsStaticAtom; - #[link_name = "?ongamepadbuttonup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongamepadbuttonup: *mut nsStaticAtom; - #[link_name = "?ongamepadaxismove@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongamepadaxismove: *mut nsStaticAtom; - #[link_name = "?ongamepadconnected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongamepadconnected: *mut nsStaticAtom; - #[link_name = "?ongamepaddisconnected@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ongamepaddisconnected: *mut nsStaticAtom; - #[link_name = "?afterPseudoProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_afterPseudoProperty: *mut nsStaticAtom; - #[link_name = "?animationsProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animationsProperty: *mut nsStaticAtom; - #[link_name = "?animationsOfBeforeProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animationsOfBeforeProperty: *mut nsStaticAtom; - #[link_name = "?animationsOfAfterProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animationsOfAfterProperty: *mut nsStaticAtom; - #[link_name = "?animationEffectsProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animationEffectsProperty: *mut nsStaticAtom; - #[link_name = "?animationEffectsForBeforeProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animationEffectsForBeforeProperty: *mut nsStaticAtom; - #[link_name = "?animationEffectsForAfterProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animationEffectsForAfterProperty: *mut nsStaticAtom; - #[link_name = "?beforePseudoProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_beforePseudoProperty: *mut nsStaticAtom; - #[link_name = "?cssPseudoElementBeforeProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cssPseudoElementBeforeProperty: *mut nsStaticAtom; - #[link_name = "?cssPseudoElementAfterProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cssPseudoElementAfterProperty: *mut nsStaticAtom; - #[link_name = "?transitionsProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transitionsProperty: *mut nsStaticAtom; - #[link_name = "?transitionsOfBeforeProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transitionsOfBeforeProperty: *mut nsStaticAtom; - #[link_name = "?transitionsOfAfterProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_transitionsOfAfterProperty: *mut nsStaticAtom; - #[link_name = "?genConInitializerProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_genConInitializerProperty: *mut nsStaticAtom; - #[link_name = "?labelMouseDownPtProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_labelMouseDownPtProperty: *mut nsStaticAtom; - #[link_name = "?lockedStyleStates@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lockedStyleStates: *mut nsStaticAtom; - #[link_name = "?apzCallbackTransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_apzCallbackTransform: *mut nsStaticAtom; - #[link_name = "?restylableAnonymousNode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_restylableAnonymousNode: *mut nsStaticAtom; - #[link_name = "?docLevelNativeAnonymousContent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_docLevelNativeAnonymousContent: *mut nsStaticAtom; - #[link_name = "?paintRequestTime@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_paintRequestTime: *mut nsStaticAtom; - #[link_name = "?pseudoProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pseudoProperty: *mut nsStaticAtom; - #[link_name = "?manualNACProperty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_manualNACProperty: *mut nsStaticAtom; - #[link_name = "?Japanese@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Japanese: *mut nsStaticAtom; - #[link_name = "?Chinese@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Chinese: *mut nsStaticAtom; - #[link_name = "?Taiwanese@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Taiwanese: *mut nsStaticAtom; - #[link_name = "?HongKongChinese@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_HongKongChinese: *mut nsStaticAtom; - #[link_name = "?Unicode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Unicode: *mut nsStaticAtom; - #[link_name = "?ko@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ko: *mut nsStaticAtom; - #[link_name = "?zh_cn@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zh_cn: *mut nsStaticAtom; - #[link_name = "?zh_hk@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zh_hk: *mut nsStaticAtom; - #[link_name = "?zh_tw@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zh_tw: *mut nsStaticAtom; - #[link_name = "?x_cyrillic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_cyrillic: *mut nsStaticAtom; - #[link_name = "?he@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_he: *mut nsStaticAtom; - #[link_name = "?ar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ar: *mut nsStaticAtom; - #[link_name = "?x_devanagari@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_devanagari: *mut nsStaticAtom; - #[link_name = "?x_tamil@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_tamil: *mut nsStaticAtom; - #[link_name = "?x_armn@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_armn: *mut nsStaticAtom; - #[link_name = "?x_beng@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_beng: *mut nsStaticAtom; - #[link_name = "?x_cans@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_cans: *mut nsStaticAtom; - #[link_name = "?x_ethi@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_ethi: *mut nsStaticAtom; - #[link_name = "?x_geor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_geor: *mut nsStaticAtom; - #[link_name = "?x_gujr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_gujr: *mut nsStaticAtom; - #[link_name = "?x_guru@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_guru: *mut nsStaticAtom; - #[link_name = "?x_khmr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_khmr: *mut nsStaticAtom; - #[link_name = "?x_knda@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_knda: *mut nsStaticAtom; - #[link_name = "?x_mlym@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_mlym: *mut nsStaticAtom; - #[link_name = "?x_orya@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_orya: *mut nsStaticAtom; - #[link_name = "?x_sinh@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_sinh: *mut nsStaticAtom; - #[link_name = "?x_telu@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_telu: *mut nsStaticAtom; - #[link_name = "?x_tibt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_tibt: *mut nsStaticAtom; - #[link_name = "?az@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_az: *mut nsStaticAtom; - #[link_name = "?ba@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ba: *mut nsStaticAtom; - #[link_name = "?crh@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_crh: *mut nsStaticAtom; - #[link_name = "?ga@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ga: *mut nsStaticAtom; - #[link_name = "?nl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nl: *mut nsStaticAtom; - #[link_name = "?x_math@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_x_math: *mut nsStaticAtom; - #[link_name = "?TypingTxnName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_TypingTxnName: *mut nsStaticAtom; - #[link_name = "?IMETxnName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_IMETxnName: *mut nsStaticAtom; - #[link_name = "?DeleteTxnName@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DeleteTxnName: *mut nsStaticAtom; - #[link_name = "?serif@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_serif: *mut nsStaticAtom; - #[link_name = "?sans_serif@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_sans_serif: *mut nsStaticAtom; - #[link_name = "?cursive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cursive: *mut nsStaticAtom; - #[link_name = "?fantasy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fantasy: *mut nsStaticAtom; - #[link_name = "?monospace@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_monospace: *mut nsStaticAtom; - #[link_name = "?mozfixed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mozfixed: *mut nsStaticAtom; - #[link_name = "?RemoteId@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_RemoteId: *mut nsStaticAtom; - #[link_name = "?RemoteType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_RemoteType: *mut nsStaticAtom; - #[link_name = "?DisplayPort@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DisplayPort: *mut nsStaticAtom; - #[link_name = "?DisplayPortMargins@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DisplayPortMargins: *mut nsStaticAtom; - #[link_name = "?DisplayPortBase@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_DisplayPortBase: *mut nsStaticAtom; - #[link_name = "?AsyncScrollLayerCreationFailed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_AsyncScrollLayerCreationFailed: *mut nsStaticAtom; - #[link_name = "?forcemessagemanager@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_forcemessagemanager: *mut nsStaticAtom; - #[link_name = "?preloadedState@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preloadedState: *mut nsStaticAtom; - #[link_name = "?scrollbar_start_backward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbar_start_backward: *mut nsStaticAtom; - #[link_name = "?scrollbar_start_forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbar_start_forward: *mut nsStaticAtom; - #[link_name = "?scrollbar_end_backward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbar_end_backward: *mut nsStaticAtom; - #[link_name = "?scrollbar_end_forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbar_end_forward: *mut nsStaticAtom; - #[link_name = "?scrollbar_thumb_proportional@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbar_thumb_proportional: *mut nsStaticAtom; - #[link_name = "?overlay_scrollbars@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overlay_scrollbars: *mut nsStaticAtom; - #[link_name = "?windows_accent_color_in_titlebar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_accent_color_in_titlebar: *mut nsStaticAtom; - #[link_name = "?windows_default_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_default_theme: *mut nsStaticAtom; - #[link_name = "?mac_graphite_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mac_graphite_theme: *mut nsStaticAtom; - #[link_name = "?mac_yosemite_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mac_yosemite_theme: *mut nsStaticAtom; - #[link_name = "?windows_compositor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_compositor: *mut nsStaticAtom; - #[link_name = "?windows_glass@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_glass: *mut nsStaticAtom; - #[link_name = "?touch_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_touch_enabled: *mut nsStaticAtom; - #[link_name = "?menubar_drag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom; - #[link_name = "?swipe_animation_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom; - #[link_name = "?gtk_csd_available@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gtk_csd_available: *mut nsStaticAtom; - #[link_name = "?gtk_csd_minimize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gtk_csd_minimize_button: *mut nsStaticAtom; - #[link_name = "?gtk_csd_maximize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gtk_csd_maximize_button: *mut nsStaticAtom; - #[link_name = "?gtk_csd_close_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gtk_csd_close_button: *mut nsStaticAtom; - #[link_name = "?windows_classic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_classic: *mut nsStaticAtom; - #[link_name = "?windows_theme_aero@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_aero: *mut nsStaticAtom; - #[link_name = "?windows_theme_aero_lite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_aero_lite: *mut nsStaticAtom; - #[link_name = "?windows_theme_luna_blue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_luna_blue: *mut nsStaticAtom; - #[link_name = "?windows_theme_luna_olive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_luna_olive: *mut nsStaticAtom; - #[link_name = "?windows_theme_luna_silver@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_luna_silver: *mut nsStaticAtom; - #[link_name = "?windows_theme_royale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_royale: *mut nsStaticAtom; - #[link_name = "?windows_theme_zune@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_zune: *mut nsStaticAtom; - #[link_name = "?windows_theme_generic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_theme_generic: *mut nsStaticAtom; - #[link_name = "?aero@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aero: *mut nsStaticAtom; - #[link_name = "?aero_lite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aero_lite: *mut nsStaticAtom; - #[link_name = "?luna_blue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_luna_blue: *mut nsStaticAtom; - #[link_name = "?luna_olive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_luna_olive: *mut nsStaticAtom; - #[link_name = "?luna_silver@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_luna_silver: *mut nsStaticAtom; - #[link_name = "?royale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_royale: *mut nsStaticAtom; - #[link_name = "?zune@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zune: *mut nsStaticAtom; - #[link_name = "?windows_win7@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_win7: *mut nsStaticAtom; - #[link_name = "?windows_win8@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_win8: *mut nsStaticAtom; - #[link_name = "?windows_win10@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_windows_win10: *mut nsStaticAtom; - #[link_name = "?_moz_scrollbar_start_backward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_scrollbar_start_backward: *mut nsStaticAtom; - #[link_name = "?_moz_scrollbar_start_forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_scrollbar_start_forward: *mut nsStaticAtom; - #[link_name = "?_moz_scrollbar_end_backward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_scrollbar_end_backward: *mut nsStaticAtom; - #[link_name = "?_moz_scrollbar_end_forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_scrollbar_end_forward: *mut nsStaticAtom; - #[link_name = "?_moz_scrollbar_thumb_proportional@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_scrollbar_thumb_proportional: *mut nsStaticAtom; - #[link_name = "?_moz_overlay_scrollbars@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_overlay_scrollbars: *mut nsStaticAtom; - #[link_name = "?_moz_windows_accent_color_in_titlebar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_windows_accent_color_in_titlebar: *mut nsStaticAtom; - #[link_name = "?_moz_windows_default_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_windows_default_theme: *mut nsStaticAtom; - #[link_name = "?_moz_mac_graphite_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_mac_graphite_theme: *mut nsStaticAtom; - #[link_name = "?_moz_mac_yosemite_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_mac_yosemite_theme: *mut nsStaticAtom; - #[link_name = "?_moz_windows_compositor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_windows_compositor: *mut nsStaticAtom; - #[link_name = "?_moz_windows_classic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_windows_classic: *mut nsStaticAtom; - #[link_name = "?_moz_windows_glass@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_windows_glass: *mut nsStaticAtom; - #[link_name = "?_moz_windows_theme@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_windows_theme: *mut nsStaticAtom; - #[link_name = "?_moz_os_version@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_os_version: *mut nsStaticAtom; - #[link_name = "?_moz_touch_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_touch_enabled: *mut nsStaticAtom; - #[link_name = "?_moz_menubar_drag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_menubar_drag: *mut nsStaticAtom; - #[link_name = "?_moz_device_pixel_ratio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_device_pixel_ratio: *mut nsStaticAtom; - #[link_name = "?_moz_device_orientation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_device_orientation: *mut nsStaticAtom; - #[link_name = "?_moz_is_resource_document@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom; - #[link_name = "?_moz_swipe_animation_enabled@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom; - #[link_name = "?_moz_gtk_csd_available@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_gtk_csd_available: *mut nsStaticAtom; - #[link_name = "?_moz_gtk_csd_minimize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_gtk_csd_minimize_button: *mut nsStaticAtom; - #[link_name = "?_moz_gtk_csd_maximize_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_gtk_csd_maximize_button: *mut nsStaticAtom; - #[link_name = "?_moz_gtk_csd_close_button@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__moz_gtk_csd_close_button: *mut nsStaticAtom; - #[link_name = "?Back@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Back: *mut nsStaticAtom; - #[link_name = "?Forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Forward: *mut nsStaticAtom; - #[link_name = "?Reload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Reload: *mut nsStaticAtom; - #[link_name = "?Stop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Stop: *mut nsStaticAtom; - #[link_name = "?Search@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Search: *mut nsStaticAtom; - #[link_name = "?Bookmarks@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Bookmarks: *mut nsStaticAtom; - #[link_name = "?Home@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Home: *mut nsStaticAtom; - #[link_name = "?Clear@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Clear: *mut nsStaticAtom; - #[link_name = "?VolumeUp@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_VolumeUp: *mut nsStaticAtom; - #[link_name = "?VolumeDown@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_VolumeDown: *mut nsStaticAtom; - #[link_name = "?NextTrack@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_NextTrack: *mut nsStaticAtom; - #[link_name = "?PreviousTrack@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_PreviousTrack: *mut nsStaticAtom; - #[link_name = "?MediaStop@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_MediaStop: *mut nsStaticAtom; - #[link_name = "?PlayPause@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_PlayPause: *mut nsStaticAtom; - #[link_name = "?Menu@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Menu: *mut nsStaticAtom; - #[link_name = "?New@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_New: *mut nsStaticAtom; - #[link_name = "?Open@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Open: *mut nsStaticAtom; - #[link_name = "?Close@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Close: *mut nsStaticAtom; - #[link_name = "?Save@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Save: *mut nsStaticAtom; - #[link_name = "?Find@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Find: *mut nsStaticAtom; - #[link_name = "?Help@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Help: *mut nsStaticAtom; - #[link_name = "?Print@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Print: *mut nsStaticAtom; - #[link_name = "?SendMail@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_SendMail: *mut nsStaticAtom; - #[link_name = "?ForwardMail@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ForwardMail: *mut nsStaticAtom; - #[link_name = "?ReplyToMail@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ReplyToMail: *mut nsStaticAtom; - #[link_name = "?mouseWheel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_mouseWheel: *mut nsStaticAtom; - #[link_name = "?pixels@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pixels: *mut nsStaticAtom; - #[link_name = "?lines@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lines: *mut nsStaticAtom; - #[link_name = "?pages@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pages: *mut nsStaticAtom; - #[link_name = "?scrollbars@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_scrollbars: *mut nsStaticAtom; - #[link_name = "?apz@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_apz: *mut nsStaticAtom; - #[link_name = "?restore@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_restore: *mut nsStaticAtom; - #[link_name = "?alert@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alert: *mut nsStaticAtom; - #[link_name = "?alertdialog@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alertdialog: *mut nsStaticAtom; - #[link_name = "?application@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_application: *mut nsStaticAtom; - #[link_name = "?aria_colcount@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_colcount: *mut nsStaticAtom; - #[link_name = "?aria_colindex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_colindex: *mut nsStaticAtom; - #[link_name = "?aria_details@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_details: *mut nsStaticAtom; - #[link_name = "?aria_errormessage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_errormessage: *mut nsStaticAtom; - #[link_name = "?aria_grabbed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_grabbed: *mut nsStaticAtom; - #[link_name = "?aria_label@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_label: *mut nsStaticAtom; - #[link_name = "?aria_modal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_modal: *mut nsStaticAtom; - #[link_name = "?aria_orientation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_orientation: *mut nsStaticAtom; - #[link_name = "?aria_rowcount@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_rowcount: *mut nsStaticAtom; - #[link_name = "?aria_rowindex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_rowindex: *mut nsStaticAtom; - #[link_name = "?aria_valuetext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_valuetext: *mut nsStaticAtom; - #[link_name = "?auto_generated@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_auto_generated: *mut nsStaticAtom; - #[link_name = "?banner@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_banner: *mut nsStaticAtom; - #[link_name = "?checkable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_checkable: *mut nsStaticAtom; - #[link_name = "?choices@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_choices: *mut nsStaticAtom; - #[link_name = "?columnheader@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_columnheader: *mut nsStaticAtom; - #[link_name = "?complementary@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_complementary: *mut nsStaticAtom; - #[link_name = "?containerAtomic@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_containerAtomic: *mut nsStaticAtom; - #[link_name = "?containerBusy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_containerBusy: *mut nsStaticAtom; - #[link_name = "?containerLive@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_containerLive: *mut nsStaticAtom; - #[link_name = "?containerLiveRole@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_containerLiveRole: *mut nsStaticAtom; - #[link_name = "?containerRelevant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_containerRelevant: *mut nsStaticAtom; - #[link_name = "?contentinfo@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_contentinfo: *mut nsStaticAtom; - #[link_name = "?cycles@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_cycles: *mut nsStaticAtom; - #[link_name = "?datatable@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_datatable: *mut nsStaticAtom; - #[link_name = "?eventFromInput@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_eventFromInput: *mut nsStaticAtom; - #[link_name = "?feed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feed: *mut nsStaticAtom; - #[link_name = "?grammar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_grammar: *mut nsStaticAtom; - #[link_name = "?gridcell@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gridcell: *mut nsStaticAtom; - #[link_name = "?heading@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_heading: *mut nsStaticAtom; - #[link_name = "?hitregion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_hitregion: *mut nsStaticAtom; - #[link_name = "?inlinevalue@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_inlinevalue: *mut nsStaticAtom; - #[link_name = "?invalid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_invalid: *mut nsStaticAtom; - #[link_name = "?item@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_item: *mut nsStaticAtom; - #[link_name = "?itemset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_itemset: *mut nsStaticAtom; - #[link_name = "?lineNumber@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lineNumber: *mut nsStaticAtom; - #[link_name = "?linkedPanel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_linkedPanel: *mut nsStaticAtom; - #[link_name = "?live@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_live: *mut nsStaticAtom; - #[link_name = "?menuitemcheckbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menuitemcheckbox: *mut nsStaticAtom; - #[link_name = "?menuitemradio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_menuitemradio: *mut nsStaticAtom; - #[link_name = "?multiline@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_multiline: *mut nsStaticAtom; - #[link_name = "?navigation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_navigation: *mut nsStaticAtom; - #[link_name = "?polite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_polite: *mut nsStaticAtom; - #[link_name = "?posinset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_posinset: *mut nsStaticAtom; - #[link_name = "?presentation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_presentation: *mut nsStaticAtom; - #[link_name = "?progressbar@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_progressbar: *mut nsStaticAtom; - #[link_name = "?region@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_region: *mut nsStaticAtom; - #[link_name = "?rowgroup@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rowgroup: *mut nsStaticAtom; - #[link_name = "?rowheader@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rowheader: *mut nsStaticAtom; - #[link_name = "?search@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_search: *mut nsStaticAtom; - #[link_name = "?searchbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_searchbox: *mut nsStaticAtom; - #[link_name = "?select1@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_select1: *mut nsStaticAtom; - #[link_name = "?setsize@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_setsize: *mut nsStaticAtom; - #[link_name = "?spelling@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spelling: *mut nsStaticAtom; - #[link_name = "?spinbutton@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spinbutton: *mut nsStaticAtom; - #[link_name = "?status@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_status: *mut nsStaticAtom; - #[link_name = "?tableCellIndex@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tableCellIndex: *mut nsStaticAtom; - #[link_name = "?tablist@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tablist: *mut nsStaticAtom; - #[link_name = "?textIndent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textIndent: *mut nsStaticAtom; - #[link_name = "?textInputType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textInputType: *mut nsStaticAtom; - #[link_name = "?textLineThroughColor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textLineThroughColor: *mut nsStaticAtom; - #[link_name = "?textLineThroughStyle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textLineThroughStyle: *mut nsStaticAtom; - #[link_name = "?textPosition@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textPosition: *mut nsStaticAtom; - #[link_name = "?textUnderlineColor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textUnderlineColor: *mut nsStaticAtom; - #[link_name = "?textUnderlineStyle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textUnderlineStyle: *mut nsStaticAtom; - #[link_name = "?timer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_timer: *mut nsStaticAtom; - #[link_name = "?toolbarname@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbarname: *mut nsStaticAtom; - #[link_name = "?toolbarseparator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbarseparator: *mut nsStaticAtom; - #[link_name = "?toolbarspacer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbarspacer: *mut nsStaticAtom; - #[link_name = "?toolbarspring@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_toolbarspring: *mut nsStaticAtom; - #[link_name = "?treegrid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_treegrid: *mut nsStaticAtom; - #[link_name = "?_undefined@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms__undefined: *mut nsStaticAtom; - #[link_name = "?xmlroles@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xmlroles: *mut nsStaticAtom; - #[link_name = "?close_fence@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_close_fence: *mut nsStaticAtom; - #[link_name = "?denominator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_denominator: *mut nsStaticAtom; - #[link_name = "?numerator@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_numerator: *mut nsStaticAtom; - #[link_name = "?open_fence@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_open_fence: *mut nsStaticAtom; - #[link_name = "?overscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_overscript: *mut nsStaticAtom; - #[link_name = "?presubscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_presubscript: *mut nsStaticAtom; - #[link_name = "?presuperscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_presuperscript: *mut nsStaticAtom; - #[link_name = "?root_index@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_root_index: *mut nsStaticAtom; - #[link_name = "?subscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_subscript: *mut nsStaticAtom; - #[link_name = "?superscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_superscript: *mut nsStaticAtom; - #[link_name = "?underscript@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_underscript: *mut nsStaticAtom; - #[link_name = "?onaudiostart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onaudiostart: *mut nsStaticAtom; - #[link_name = "?onaudioend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onaudioend: *mut nsStaticAtom; - #[link_name = "?onsoundstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsoundstart: *mut nsStaticAtom; - #[link_name = "?onsoundend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsoundend: *mut nsStaticAtom; - #[link_name = "?onspeechstart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onspeechstart: *mut nsStaticAtom; - #[link_name = "?onspeechend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onspeechend: *mut nsStaticAtom; - #[link_name = "?onresult@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onresult: *mut nsStaticAtom; - #[link_name = "?onnomatch@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onnomatch: *mut nsStaticAtom; - #[link_name = "?onresume@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onresume: *mut nsStaticAtom; - #[link_name = "?onmark@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmark: *mut nsStaticAtom; - #[link_name = "?onboundary@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onboundary: *mut nsStaticAtom; - #[link_name = "?usercontextid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_usercontextid: *mut nsStaticAtom; - #[link_name = "?nsuri_xmlns@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xmlns: *mut nsStaticAtom; - #[link_name = "?nsuri_xml@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xml: *mut nsStaticAtom; - #[link_name = "?nsuri_xhtml@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xhtml: *mut nsStaticAtom; - #[link_name = "?nsuri_xlink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xlink: *mut nsStaticAtom; - #[link_name = "?nsuri_xslt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xslt: *mut nsStaticAtom; - #[link_name = "?nsuri_xbl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xbl: *mut nsStaticAtom; - #[link_name = "?nsuri_mathml@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_mathml: *mut nsStaticAtom; - #[link_name = "?nsuri_rdf@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_rdf: *mut nsStaticAtom; - #[link_name = "?nsuri_xul@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_xul: *mut nsStaticAtom; - #[link_name = "?nsuri_svg@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nsuri_svg: *mut nsStaticAtom; - #[link_name = "?onsourceopen@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsourceopen: *mut nsStaticAtom; - #[link_name = "?onsourceended@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsourceended: *mut nsStaticAtom; - #[link_name = "?onsourceclosed@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onsourceclosed: *mut nsStaticAtom; - #[link_name = "?onupdatestart@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onupdatestart: *mut nsStaticAtom; - #[link_name = "?onupdate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onupdate: *mut nsStaticAtom; - #[link_name = "?onupdateend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onupdateend: *mut nsStaticAtom; - #[link_name = "?onaddsourcebuffer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onaddsourcebuffer: *mut nsStaticAtom; - #[link_name = "?onremovesourcebuffer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onremovesourcebuffer: *mut nsStaticAtom; - #[link_name = "?about@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_about: *mut nsStaticAtom; - #[link_name = "?ID@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ID: *mut nsStaticAtom; - #[link_name = "?nodeID@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_nodeID: *mut nsStaticAtom; - #[link_name = "?aboutEach@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aboutEach: *mut nsStaticAtom; - #[link_name = "?resource@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_resource: *mut nsStaticAtom; - #[link_name = "?RDF@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_RDF: *mut nsStaticAtom; - #[link_name = "?Description@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Description: *mut nsStaticAtom; - #[link_name = "?Bag@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Bag: *mut nsStaticAtom; - #[link_name = "?Seq@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Seq: *mut nsStaticAtom; - #[link_name = "?Alt@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_Alt: *mut nsStaticAtom; - #[link_name = "?parseType@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_parseType: *mut nsStaticAtom; - #[link_name = "?xlink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink: *mut nsStaticAtom; - #[link_name = "?xml_space@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xml_space: *mut nsStaticAtom; - #[link_name = "?xml_lang@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xml_lang: *mut nsStaticAtom; - #[link_name = "?xml_base@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xml_base: *mut nsStaticAtom; - #[link_name = "?aria_grab@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_grab: *mut nsStaticAtom; - #[link_name = "?aria_channel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_channel: *mut nsStaticAtom; - #[link_name = "?aria_secret@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_secret: *mut nsStaticAtom; - #[link_name = "?aria_templateid@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_templateid: *mut nsStaticAtom; - #[link_name = "?aria_datatype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_aria_datatype: *mut nsStaticAtom; - #[link_name = "?local@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_local: *mut nsStaticAtom; - #[link_name = "?xchannelselector@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xchannelselector: *mut nsStaticAtom; - #[link_name = "?ychannelselector@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_ychannelselector: *mut nsStaticAtom; - #[link_name = "?enable_background@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_enable_background: *mut nsStaticAtom; - #[link_name = "?calcmode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_calcmode: *mut nsStaticAtom; - #[link_name = "?specularexponent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_specularexponent: *mut nsStaticAtom; - #[link_name = "?specularconstant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_specularconstant: *mut nsStaticAtom; - #[link_name = "?gradienttransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gradienttransform: *mut nsStaticAtom; - #[link_name = "?gradientunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_gradientunits: *mut nsStaticAtom; - #[link_name = "?rendering_intent@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_rendering_intent: *mut nsStaticAtom; - #[link_name = "?stddeviation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stddeviation: *mut nsStaticAtom; - #[link_name = "?basefrequency@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_basefrequency: *mut nsStaticAtom; - #[link_name = "?baseprofile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_baseprofile: *mut nsStaticAtom; - #[link_name = "?baseProfile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_baseProfile: *mut nsStaticAtom; - #[link_name = "?edgemode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_edgemode: *mut nsStaticAtom; - #[link_name = "?repeatcount@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_repeatcount: *mut nsStaticAtom; - #[link_name = "?repeatdur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_repeatdur: *mut nsStaticAtom; - #[link_name = "?spreadmethod@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_spreadmethod: *mut nsStaticAtom; - #[link_name = "?diffuseconstant@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_diffuseconstant: *mut nsStaticAtom; - #[link_name = "?surfacescale@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_surfacescale: *mut nsStaticAtom; - #[link_name = "?lengthadjust@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lengthadjust: *mut nsStaticAtom; - #[link_name = "?origin@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_origin: *mut nsStaticAtom; - #[link_name = "?targetx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_targetx: *mut nsStaticAtom; - #[link_name = "?targety@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_targety: *mut nsStaticAtom; - #[link_name = "?pathlength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pathlength: *mut nsStaticAtom; - #[link_name = "?definitionurl@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_definitionurl: *mut nsStaticAtom; - #[link_name = "?limitingconeangle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_limitingconeangle: *mut nsStaticAtom; - #[link_name = "?markerheight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_markerheight: *mut nsStaticAtom; - #[link_name = "?markerwidth@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_markerwidth: *mut nsStaticAtom; - #[link_name = "?maskunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maskunits: *mut nsStaticAtom; - #[link_name = "?markerunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_markerunits: *mut nsStaticAtom; - #[link_name = "?maskcontentunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_maskcontentunits: *mut nsStaticAtom; - #[link_name = "?tablevalues@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_tablevalues: *mut nsStaticAtom; - #[link_name = "?primitiveunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_primitiveunits: *mut nsStaticAtom; - #[link_name = "?zoomandpan@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_zoomandpan: *mut nsStaticAtom; - #[link_name = "?kernelmatrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kernelmatrix: *mut nsStaticAtom; - #[link_name = "?kerning@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kerning: *mut nsStaticAtom; - #[link_name = "?kernelunitlength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_kernelunitlength: *mut nsStaticAtom; - #[link_name = "?pointsatx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointsatx: *mut nsStaticAtom; - #[link_name = "?pointsaty@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointsaty: *mut nsStaticAtom; - #[link_name = "?pointsatz@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_pointsatz: *mut nsStaticAtom; - #[link_name = "?xlink_href@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_href: *mut nsStaticAtom; - #[link_name = "?xlink_title@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_title: *mut nsStaticAtom; - #[link_name = "?xlink_role@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_role: *mut nsStaticAtom; - #[link_name = "?xlink_arcrole@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_arcrole: *mut nsStaticAtom; - #[link_name = "?arcrole@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_arcrole: *mut nsStaticAtom; - #[link_name = "?xmlns_xlink@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xmlns_xlink: *mut nsStaticAtom; - #[link_name = "?xlink_type@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_type: *mut nsStaticAtom; - #[link_name = "?xlink_show@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_show: *mut nsStaticAtom; - #[link_name = "?xlink_actuate@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_xlink_actuate: *mut nsStaticAtom; - #[link_name = "?color_rendering@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_color_rendering: *mut nsStaticAtom; - #[link_name = "?numoctaves@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_numoctaves: *mut nsStaticAtom; - #[link_name = "?onmousewheel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_onmousewheel: *mut nsStaticAtom; - #[link_name = "?clippathunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clippathunits: *mut nsStaticAtom; - #[link_name = "?glyph_orientation_vertical@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_glyph_orientation_vertical: *mut nsStaticAtom; - #[link_name = "?glyph_orientation_horizontal@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_glyph_orientation_horizontal: *mut nsStaticAtom; - #[link_name = "?glyphref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_glyphref: *mut nsStaticAtom; - #[link_name = "?keypoints@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keypoints: *mut nsStaticAtom; - #[link_name = "?attributename@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attributename: *mut nsStaticAtom; - #[link_name = "?attributetype@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_attributetype: *mut nsStaticAtom; - #[link_name = "?startoffset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_startoffset: *mut nsStaticAtom; - #[link_name = "?keysplines@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keysplines: *mut nsStaticAtom; - #[link_name = "?preservealpha@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preservealpha: *mut nsStaticAtom; - #[link_name = "?preserveaspectratio@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_preserveaspectratio: *mut nsStaticAtom; - #[link_name = "?alttext@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_alttext: *mut nsStaticAtom; - #[link_name = "?filterunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_filterunits: *mut nsStaticAtom; - #[link_name = "?keytimes@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_keytimes: *mut nsStaticAtom; - #[link_name = "?patterntransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patterntransform: *mut nsStaticAtom; - #[link_name = "?patternunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patternunits: *mut nsStaticAtom; - #[link_name = "?patterncontentunits@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_patterncontentunits: *mut nsStaticAtom; - #[link_name = "?stitchtiles@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_stitchtiles: *mut nsStaticAtom; - #[link_name = "?systemlanguage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_systemlanguage: *mut nsStaticAtom; - #[link_name = "?textlength@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textlength: *mut nsStaticAtom; - #[link_name = "?requiredfeatures@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_requiredfeatures: *mut nsStaticAtom; - #[link_name = "?requiredextensions@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_requiredextensions: *mut nsStaticAtom; - #[link_name = "?viewtarget@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewtarget: *mut nsStaticAtom; - #[link_name = "?viewbox@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_viewbox: *mut nsStaticAtom; - #[link_name = "?refx@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_refx: *mut nsStaticAtom; - #[link_name = "?refy@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_refy: *mut nsStaticAtom; - #[link_name = "?fefunca@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fefunca: *mut nsStaticAtom; - #[link_name = "?fefuncb@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fefuncb: *mut nsStaticAtom; - #[link_name = "?feblend@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feblend: *mut nsStaticAtom; - #[link_name = "?feflood@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feflood: *mut nsStaticAtom; - #[link_name = "?feturbulence@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feturbulence: *mut nsStaticAtom; - #[link_name = "?femergenode@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_femergenode: *mut nsStaticAtom; - #[link_name = "?feimage@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feimage: *mut nsStaticAtom; - #[link_name = "?femerge@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_femerge: *mut nsStaticAtom; - #[link_name = "?fetile@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fetile: *mut nsStaticAtom; - #[link_name = "?fecomposite@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fecomposite: *mut nsStaticAtom; - #[link_name = "?altglyphdef@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altglyphdef: *mut nsStaticAtom; - #[link_name = "?altGlyphDef@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altGlyphDef: *mut nsStaticAtom; - #[link_name = "?fefuncg@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fefuncg: *mut nsStaticAtom; - #[link_name = "?fediffuselighting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fediffuselighting: *mut nsStaticAtom; - #[link_name = "?fespecularlighting@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fespecularlighting: *mut nsStaticAtom; - #[link_name = "?altglyph@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altglyph: *mut nsStaticAtom; - #[link_name = "?altGlyph@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altGlyph: *mut nsStaticAtom; - #[link_name = "?clippath@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_clippath: *mut nsStaticAtom; - #[link_name = "?textpath@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_textpath: *mut nsStaticAtom; - #[link_name = "?altglyphitem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altglyphitem: *mut nsStaticAtom; - #[link_name = "?altGlyphItem@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_altGlyphItem: *mut nsStaticAtom; - #[link_name = "?animatetransform@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animatetransform: *mut nsStaticAtom; - #[link_name = "?animatemotion@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animatemotion: *mut nsStaticAtom; - #[link_name = "?fedisplacementmap@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fedisplacementmap: *mut nsStaticAtom; - #[link_name = "?animatecolor@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_animatecolor: *mut nsStaticAtom; - #[link_name = "?fefuncr@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fefuncr: *mut nsStaticAtom; - #[link_name = "?fecomponenttransfer@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fecomponenttransfer: *mut nsStaticAtom; - #[link_name = "?fegaussianblur@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fegaussianblur: *mut nsStaticAtom; - #[link_name = "?foreignobject@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_foreignobject: *mut nsStaticAtom; - #[link_name = "?feoffset@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feoffset: *mut nsStaticAtom; - #[link_name = "?fespotlight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fespotlight: *mut nsStaticAtom; - #[link_name = "?fepointlight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fepointlight: *mut nsStaticAtom; - #[link_name = "?fedistantlight@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fedistantlight: *mut nsStaticAtom; - #[link_name = "?lineargradient@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_lineargradient: *mut nsStaticAtom; - #[link_name = "?radialgradient@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_radialgradient: *mut nsStaticAtom; - #[link_name = "?fedropshadow@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fedropshadow: *mut nsStaticAtom; - #[link_name = "?fecolormatrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_fecolormatrix: *mut nsStaticAtom; - #[link_name = "?feconvolvematrix@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_feconvolvematrix: *mut nsStaticAtom; - #[link_name = "?femorphology@nsGkAtoms@@2PEAVnsStaticAtom@@EA"] - pub static nsGkAtoms_femorphology: *mut nsStaticAtom; - #[link_name = "?after@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_after: *mut nsICSSPseudoElement; - #[link_name = "?before@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_before: *mut nsICSSPseudoElement; - #[link_name = "?backdrop@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_backdrop: *mut nsICSSPseudoElement; - #[link_name = "?cue@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_cue: *mut nsICSSPseudoElement; - #[link_name = "?firstLetter@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_firstLetter: *mut nsICSSPseudoElement; - #[link_name = "?firstLine@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_firstLine: *mut nsICSSPseudoElement; - #[link_name = "?mozSelection@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozSelection: *mut nsICSSPseudoElement; - #[link_name = "?mozFocusInner@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozFocusInner: *mut nsICSSPseudoElement; - #[link_name = "?mozFocusOuter@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozFocusOuter: *mut nsICSSPseudoElement; - #[link_name = "?mozListBullet@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozListBullet: *mut nsICSSPseudoElement; - #[link_name = "?mozListNumber@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozListNumber: *mut nsICSSPseudoElement; - #[link_name = "?mozMathAnonymous@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozMathAnonymous: *mut nsICSSPseudoElement; - #[link_name = "?mozNumberWrapper@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozNumberWrapper: *mut nsICSSPseudoElement; - #[link_name = "?mozNumberText@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozNumberText: *mut nsICSSPseudoElement; - #[link_name = "?mozNumberSpinBox@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozNumberSpinBox: *mut nsICSSPseudoElement; - #[link_name = "?mozNumberSpinUp@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozNumberSpinUp: *mut nsICSSPseudoElement; - #[link_name = "?mozNumberSpinDown@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozNumberSpinDown: *mut nsICSSPseudoElement; - #[link_name = "?mozProgressBar@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozProgressBar: *mut nsICSSPseudoElement; - #[link_name = "?mozRangeTrack@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozRangeTrack: *mut nsICSSPseudoElement; - #[link_name = "?mozRangeProgress@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozRangeProgress: *mut nsICSSPseudoElement; - #[link_name = "?mozRangeThumb@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozRangeThumb: *mut nsICSSPseudoElement; - #[link_name = "?mozMeterBar@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozMeterBar: *mut nsICSSPseudoElement; - #[link_name = "?mozPlaceholder@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozPlaceholder: *mut nsICSSPseudoElement; - #[link_name = "?placeholder@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_placeholder: *mut nsICSSPseudoElement; - #[link_name = "?mozColorSwatch@nsCSSPseudoElements@@2PEAVnsICSSPseudoElement@@EA"] - pub static nsCSSPseudoElements_mozColorSwatch: *mut nsICSSPseudoElement; - #[link_name = "?oofPlaceholder@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_oofPlaceholder: *mut nsICSSAnonBoxPseudo; - #[link_name = "?horizontalFramesetBorder@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_horizontalFramesetBorder: *mut nsICSSAnonBoxPseudo; - #[link_name = "?verticalFramesetBorder@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_verticalFramesetBorder: *mut nsICSSAnonBoxPseudo; - #[link_name = "?framesetBlank@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_framesetBlank: *mut nsICSSAnonBoxPseudo; - #[link_name = "?tableColGroup@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_tableColGroup: *mut nsICSSAnonBoxPseudo; - #[link_name = "?tableCol@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_tableCol: *mut nsICSSAnonBoxPseudo; - #[link_name = "?pageBreak@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_pageBreak: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozText@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozText: *mut nsICSSAnonBoxPseudo; - #[link_name = "?firstLetterContinuation@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_firstLetterContinuation: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozBlockInsideInlineWrapper@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozBlockInsideInlineWrapper: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozMathMLAnonymousBlock@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozMathMLAnonymousBlock: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozXULAnonymousBlock@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozXULAnonymousBlock: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozLineFrame@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozLineFrame: *mut nsICSSAnonBoxPseudo; - #[link_name = "?buttonContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_buttonContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?cellContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_cellContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?dropDownList@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_dropDownList: *mut nsICSSAnonBoxPseudo; - #[link_name = "?fieldsetContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_fieldsetContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozDisplayComboboxControlFrame@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozDisplayComboboxControlFrame: *mut nsICSSAnonBoxPseudo; - #[link_name = "?htmlCanvasContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_htmlCanvasContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?inlineTable@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_inlineTable: *mut nsICSSAnonBoxPseudo; - #[link_name = "?table@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_table: *mut nsICSSAnonBoxPseudo; - #[link_name = "?tableCell@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_tableCell: *mut nsICSSAnonBoxPseudo; - #[link_name = "?tableWrapper@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_tableWrapper: *mut nsICSSAnonBoxPseudo; - #[link_name = "?tableRowGroup@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_tableRowGroup: *mut nsICSSAnonBoxPseudo; - #[link_name = "?tableRow@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_tableRow: *mut nsICSSAnonBoxPseudo; - #[link_name = "?canvas@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_canvas: *mut nsICSSAnonBoxPseudo; - #[link_name = "?page@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_page: *mut nsICSSAnonBoxPseudo; - #[link_name = "?pageContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_pageContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?pageSequence@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_pageSequence: *mut nsICSSAnonBoxPseudo; - #[link_name = "?scrolledContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_scrolledContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?scrolledCanvas@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_scrolledCanvas: *mut nsICSSAnonBoxPseudo; - #[link_name = "?scrolledPageSequence@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_scrolledPageSequence: *mut nsICSSAnonBoxPseudo; - #[link_name = "?columnContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_columnContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?viewport@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_viewport: *mut nsICSSAnonBoxPseudo; - #[link_name = "?viewportScroll@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_viewportScroll: *mut nsICSSAnonBoxPseudo; - #[link_name = "?anonymousFlexItem@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_anonymousFlexItem: *mut nsICSSAnonBoxPseudo; - #[link_name = "?anonymousGridItem@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_anonymousGridItem: *mut nsICSSAnonBoxPseudo; - #[link_name = "?ruby@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_ruby: *mut nsICSSAnonBoxPseudo; - #[link_name = "?rubyBase@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_rubyBase: *mut nsICSSAnonBoxPseudo; - #[link_name = "?rubyBaseContainer@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_rubyBaseContainer: *mut nsICSSAnonBoxPseudo; - #[link_name = "?rubyText@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_rubyText: *mut nsICSSAnonBoxPseudo; - #[link_name = "?rubyTextContainer@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_rubyTextContainer: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeColumn@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeColumn: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeRow@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeRow: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeSeparator@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeSeparator: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeCell@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeCell: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeIndentation@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeIndentation: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeLine@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeLine: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeTwisty@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeTwisty: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeImage@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeImage: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeCellText@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeCellText: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeCheckbox@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeCheckbox: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozTreeDropFeedback@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozTreeDropFeedback: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozSVGMarkerAnonChild@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozSVGMarkerAnonChild: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozSVGOuterSVGAnonChild@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozSVGOuterSVGAnonChild: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozSVGForeignContent@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozSVGForeignContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "?mozSVGText@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"] - pub static nsCSSAnonBoxes_mozSVGText: *mut nsICSSAnonBoxPseudo; - } - } else { - extern { - #[link_name = "\x01?_empty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__empty: *mut nsStaticAtom; - #[link_name = "\x01?moz@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_moz: *mut nsStaticAtom; - #[link_name = "\x01?mozframetype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozframetype: *mut nsStaticAtom; - #[link_name = "\x01?_moz_abspos@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_abspos: *mut nsStaticAtom; - #[link_name = "\x01?_moz_activated@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_activated: *mut nsStaticAtom; - #[link_name = "\x01?_moz_anonclass@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_anonclass: *mut nsStaticAtom; - #[link_name = "\x01?_moz_resizing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_resizing: *mut nsStaticAtom; - #[link_name = "\x01?mozallowfullscreen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozallowfullscreen: *mut nsStaticAtom; - #[link_name = "\x01?moztype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_moztype: *mut nsStaticAtom; - #[link_name = "\x01?mozdirty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozdirty: *mut nsStaticAtom; - #[link_name = "\x01?mozdisallowselectionprint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozdisallowselectionprint: *mut nsStaticAtom; - #[link_name = "\x01?mozdonotsend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozdonotsend: *mut nsStaticAtom; - #[link_name = "\x01?mozeditorbogusnode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozeditorbogusnode: *mut nsStaticAtom; - #[link_name = "\x01?mozgeneratedcontentbefore@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozgeneratedcontentbefore: *mut nsStaticAtom; - #[link_name = "\x01?mozgeneratedcontentafter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozgeneratedcontentafter: *mut nsStaticAtom; - #[link_name = "\x01?mozgeneratedcontentimage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozgeneratedcontentimage: *mut nsStaticAtom; - #[link_name = "\x01?mozquote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozquote: *mut nsStaticAtom; - #[link_name = "\x01?mozsignature@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozsignature: *mut nsStaticAtom; - #[link_name = "\x01?_moz_is_glyph@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_is_glyph: *mut nsStaticAtom; - #[link_name = "\x01?_moz_original_size@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_original_size: *mut nsStaticAtom; - #[link_name = "\x01?_moz_target@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_target: *mut nsStaticAtom; - #[link_name = "\x01?menuactive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menuactive: *mut nsStaticAtom; - #[link_name = "\x01?_poundDefault@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__poundDefault: *mut nsStaticAtom; - #[link_name = "\x01?_asterisk@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__asterisk: *mut nsStaticAtom; - #[link_name = "\x01?a@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_a: *mut nsStaticAtom; - #[link_name = "\x01?abbr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_abbr: *mut nsStaticAtom; - #[link_name = "\x01?abort@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_abort: *mut nsStaticAtom; - #[link_name = "\x01?above@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_above: *mut nsStaticAtom; - #[link_name = "\x01?acceltext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_acceltext: *mut nsStaticAtom; - #[link_name = "\x01?accept@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_accept: *mut nsStaticAtom; - #[link_name = "\x01?acceptcharset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_acceptcharset: *mut nsStaticAtom; - #[link_name = "\x01?accesskey@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_accesskey: *mut nsStaticAtom; - #[link_name = "\x01?acronym@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_acronym: *mut nsStaticAtom; - #[link_name = "\x01?action@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_action: *mut nsStaticAtom; - #[link_name = "\x01?active@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_active: *mut nsStaticAtom; - #[link_name = "\x01?activateontab@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_activateontab: *mut nsStaticAtom; - #[link_name = "\x01?actuate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_actuate: *mut nsStaticAtom; - #[link_name = "\x01?address@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_address: *mut nsStaticAtom; - #[link_name = "\x01?after@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_after: *mut nsStaticAtom; - #[link_name = "\x01?after_end@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_after_end: *mut nsStaticAtom; - #[link_name = "\x01?after_start@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_after_start: *mut nsStaticAtom; - #[link_name = "\x01?align@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_align: *mut nsStaticAtom; - #[link_name = "\x01?alink@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alink: *mut nsStaticAtom; - #[link_name = "\x01?all@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_all: *mut nsStaticAtom; - #[link_name = "\x01?allowdirs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowdirs: *mut nsStaticAtom; - #[link_name = "\x01?allowevents@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowevents: *mut nsStaticAtom; - #[link_name = "\x01?allownegativeassertions@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allownegativeassertions: *mut nsStaticAtom; - #[link_name = "\x01?allowforms@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowforms: *mut nsStaticAtom; - #[link_name = "\x01?allowfullscreen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowfullscreen: *mut nsStaticAtom; - #[link_name = "\x01?allowmodals@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowmodals: *mut nsStaticAtom; - #[link_name = "\x01?alloworientationlock@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alloworientationlock: *mut nsStaticAtom; - #[link_name = "\x01?allowpaymentrequest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowpaymentrequest: *mut nsStaticAtom; - #[link_name = "\x01?allowpointerlock@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowpointerlock: *mut nsStaticAtom; - #[link_name = "\x01?allowpopupstoescapesandbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowpopupstoescapesandbox: *mut nsStaticAtom; - #[link_name = "\x01?allowpopups@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowpopups: *mut nsStaticAtom; - #[link_name = "\x01?allowpresentation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowpresentation: *mut nsStaticAtom; - #[link_name = "\x01?allowsameorigin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowsameorigin: *mut nsStaticAtom; - #[link_name = "\x01?allowscripts@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowscripts: *mut nsStaticAtom; - #[link_name = "\x01?allowtopnavigation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowtopnavigation: *mut nsStaticAtom; - #[link_name = "\x01?allowuntrusted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_allowuntrusted: *mut nsStaticAtom; - #[link_name = "\x01?alt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alt: *mut nsStaticAtom; - #[link_name = "\x01?alternate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alternate: *mut nsStaticAtom; - #[link_name = "\x01?always@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_always: *mut nsStaticAtom; - #[link_name = "\x01?ancestor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ancestor: *mut nsStaticAtom; - #[link_name = "\x01?ancestorOrSelf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ancestorOrSelf: *mut nsStaticAtom; - #[link_name = "\x01?anchor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_anchor: *mut nsStaticAtom; - #[link_name = "\x01?_and@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__and: *mut nsStaticAtom; - #[link_name = "\x01?animations@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animations: *mut nsStaticAtom; - #[link_name = "\x01?anonid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_anonid: *mut nsStaticAtom; - #[link_name = "\x01?anonlocation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_anonlocation: *mut nsStaticAtom; - #[link_name = "\x01?any@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_any: *mut nsStaticAtom; - #[link_name = "\x01?applet@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_applet: *mut nsStaticAtom; - #[link_name = "\x01?applyImports@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_applyImports: *mut nsStaticAtom; - #[link_name = "\x01?applyTemplates@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_applyTemplates: *mut nsStaticAtom; - #[link_name = "\x01?archive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_archive: *mut nsStaticAtom; - #[link_name = "\x01?area@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_area: *mut nsStaticAtom; - #[link_name = "\x01?aria_activedescendant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_activedescendant: *mut nsStaticAtom; - #[link_name = "\x01?aria_atomic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_atomic: *mut nsStaticAtom; - #[link_name = "\x01?aria_autocomplete@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_autocomplete: *mut nsStaticAtom; - #[link_name = "\x01?aria_busy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_busy: *mut nsStaticAtom; - #[link_name = "\x01?aria_checked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_checked: *mut nsStaticAtom; - #[link_name = "\x01?aria_controls@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_controls: *mut nsStaticAtom; - #[link_name = "\x01?aria_current@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_current: *mut nsStaticAtom; - #[link_name = "\x01?aria_describedby@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_describedby: *mut nsStaticAtom; - #[link_name = "\x01?aria_disabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_disabled: *mut nsStaticAtom; - #[link_name = "\x01?aria_dropeffect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_dropeffect: *mut nsStaticAtom; - #[link_name = "\x01?aria_expanded@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_expanded: *mut nsStaticAtom; - #[link_name = "\x01?aria_flowto@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_flowto: *mut nsStaticAtom; - #[link_name = "\x01?aria_haspopup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_haspopup: *mut nsStaticAtom; - #[link_name = "\x01?aria_hidden@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_hidden: *mut nsStaticAtom; - #[link_name = "\x01?aria_invalid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_invalid: *mut nsStaticAtom; - #[link_name = "\x01?aria_labelledby@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_labelledby: *mut nsStaticAtom; - #[link_name = "\x01?aria_level@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_level: *mut nsStaticAtom; - #[link_name = "\x01?aria_live@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_live: *mut nsStaticAtom; - #[link_name = "\x01?aria_multiline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_multiline: *mut nsStaticAtom; - #[link_name = "\x01?aria_multiselectable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_multiselectable: *mut nsStaticAtom; - #[link_name = "\x01?aria_owns@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_owns: *mut nsStaticAtom; - #[link_name = "\x01?aria_posinset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_posinset: *mut nsStaticAtom; - #[link_name = "\x01?aria_pressed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_pressed: *mut nsStaticAtom; - #[link_name = "\x01?aria_readonly@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_readonly: *mut nsStaticAtom; - #[link_name = "\x01?aria_relevant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_relevant: *mut nsStaticAtom; - #[link_name = "\x01?aria_required@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_required: *mut nsStaticAtom; - #[link_name = "\x01?aria_selected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_selected: *mut nsStaticAtom; - #[link_name = "\x01?aria_setsize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_setsize: *mut nsStaticAtom; - #[link_name = "\x01?aria_sort@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_sort: *mut nsStaticAtom; - #[link_name = "\x01?aria_valuemax@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_valuemax: *mut nsStaticAtom; - #[link_name = "\x01?aria_valuemin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_valuemin: *mut nsStaticAtom; - #[link_name = "\x01?aria_valuenow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_valuenow: *mut nsStaticAtom; - #[link_name = "\x01?arrow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arrow: *mut nsStaticAtom; - #[link_name = "\x01?article@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_article: *mut nsStaticAtom; - #[link_name = "\x01?as@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_as: *mut nsStaticAtom; - #[link_name = "\x01?ascending@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ascending: *mut nsStaticAtom; - #[link_name = "\x01?aside@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aside: *mut nsStaticAtom; - #[link_name = "\x01?aspectRatio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aspectRatio: *mut nsStaticAtom; - #[link_name = "\x01?assign@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_assign: *mut nsStaticAtom; - #[link_name = "\x01?async@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_async: *mut nsStaticAtom; - #[link_name = "\x01?attribute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attribute: *mut nsStaticAtom; - #[link_name = "\x01?attributes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attributes: *mut nsStaticAtom; - #[link_name = "\x01?attributeSet@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attributeSet: *mut nsStaticAtom; - #[link_name = "\x01?aural@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aural: *mut nsStaticAtom; - #[link_name = "\x01?_auto@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__auto: *mut nsStaticAtom; - #[link_name = "\x01?autocheck@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_autocheck: *mut nsStaticAtom; - #[link_name = "\x01?autocomplete@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_autocomplete: *mut nsStaticAtom; - #[link_name = "\x01?autocomplete_richlistbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_autocomplete_richlistbox: *mut nsStaticAtom; - #[link_name = "\x01?autofocus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_autofocus: *mut nsStaticAtom; - #[link_name = "\x01?autoplay@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_autoplay: *mut nsStaticAtom; - #[link_name = "\x01?autorepeatbutton@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_autorepeatbutton: *mut nsStaticAtom; - #[link_name = "\x01?axis@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_axis: *mut nsStaticAtom; - #[link_name = "\x01?b@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_b: *mut nsStaticAtom; - #[link_name = "\x01?background@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_background: *mut nsStaticAtom; - #[link_name = "\x01?base@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_base: *mut nsStaticAtom; - #[link_name = "\x01?basefont@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_basefont: *mut nsStaticAtom; - #[link_name = "\x01?baseline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_baseline: *mut nsStaticAtom; - #[link_name = "\x01?bdi@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bdi: *mut nsStaticAtom; - #[link_name = "\x01?bdo@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bdo: *mut nsStaticAtom; - #[link_name = "\x01?before@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_before: *mut nsStaticAtom; - #[link_name = "\x01?before_end@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_before_end: *mut nsStaticAtom; - #[link_name = "\x01?before_start@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_before_start: *mut nsStaticAtom; - #[link_name = "\x01?below@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_below: *mut nsStaticAtom; - #[link_name = "\x01?bgcolor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bgcolor: *mut nsStaticAtom; - #[link_name = "\x01?bgsound@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bgsound: *mut nsStaticAtom; - #[link_name = "\x01?big@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_big: *mut nsStaticAtom; - #[link_name = "\x01?binding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_binding: *mut nsStaticAtom; - #[link_name = "\x01?bindings@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bindings: *mut nsStaticAtom; - #[link_name = "\x01?bindToUntrustedContent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bindToUntrustedContent: *mut nsStaticAtom; - #[link_name = "\x01?blankrow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_blankrow: *mut nsStaticAtom; - #[link_name = "\x01?block@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_block: *mut nsStaticAtom; - #[link_name = "\x01?blockquote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_blockquote: *mut nsStaticAtom; - #[link_name = "\x01?blur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_blur: *mut nsStaticAtom; - #[link_name = "\x01?body@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_body: *mut nsStaticAtom; - #[link_name = "\x01?boolean@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_boolean: *mut nsStaticAtom; - #[link_name = "\x01?border@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_border: *mut nsStaticAtom; - #[link_name = "\x01?bordercolor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bordercolor: *mut nsStaticAtom; - #[link_name = "\x01?both@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_both: *mut nsStaticAtom; - #[link_name = "\x01?bottom@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottom: *mut nsStaticAtom; - #[link_name = "\x01?bottomend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottomend: *mut nsStaticAtom; - #[link_name = "\x01?bottomstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottomstart: *mut nsStaticAtom; - #[link_name = "\x01?bottomleft@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottomleft: *mut nsStaticAtom; - #[link_name = "\x01?bottommargin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottommargin: *mut nsStaticAtom; - #[link_name = "\x01?bottompadding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottompadding: *mut nsStaticAtom; - #[link_name = "\x01?bottomright@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bottomright: *mut nsStaticAtom; - #[link_name = "\x01?box@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_box: *mut nsStaticAtom; - #[link_name = "\x01?br@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_br: *mut nsStaticAtom; - #[link_name = "\x01?braille@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_braille: *mut nsStaticAtom; - #[link_name = "\x01?broadcast@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_broadcast: *mut nsStaticAtom; - #[link_name = "\x01?broadcaster@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_broadcaster: *mut nsStaticAtom; - #[link_name = "\x01?broadcasterset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_broadcasterset: *mut nsStaticAtom; - #[link_name = "\x01?browser@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_browser: *mut nsStaticAtom; - #[link_name = "\x01?mozbrowser@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozbrowser: *mut nsStaticAtom; - #[link_name = "\x01?button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_button: *mut nsStaticAtom; - #[link_name = "\x01?brighttitlebarforeground@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_brighttitlebarforeground: *mut nsStaticAtom; - #[link_name = "\x01?callTemplate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_callTemplate: *mut nsStaticAtom; - #[link_name = "\x01?cancel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cancel: *mut nsStaticAtom; - #[link_name = "\x01?canvas@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_canvas: *mut nsStaticAtom; - #[link_name = "\x01?caption@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_caption: *mut nsStaticAtom; - #[link_name = "\x01?capture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_capture: *mut nsStaticAtom; - #[link_name = "\x01?caseOrder@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_caseOrder: *mut nsStaticAtom; - #[link_name = "\x01?cdataSectionElements@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cdataSectionElements: *mut nsStaticAtom; - #[link_name = "\x01?ceiling@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ceiling: *mut nsStaticAtom; - #[link_name = "\x01?cell@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cell: *mut nsStaticAtom; - #[link_name = "\x01?cellpadding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cellpadding: *mut nsStaticAtom; - #[link_name = "\x01?cellspacing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cellspacing: *mut nsStaticAtom; - #[link_name = "\x01?center@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_center: *mut nsStaticAtom; - #[link_name = "\x01?ch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ch: *mut nsStaticAtom; - #[link_name = "\x01?change@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_change: *mut nsStaticAtom; - #[link_name = "\x01?_char@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__char: *mut nsStaticAtom; - #[link_name = "\x01?characterData@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_characterData: *mut nsStaticAtom; - #[link_name = "\x01?charcode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_charcode: *mut nsStaticAtom; - #[link_name = "\x01?charoff@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_charoff: *mut nsStaticAtom; - #[link_name = "\x01?charset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_charset: *mut nsStaticAtom; - #[link_name = "\x01?checkbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_checkbox: *mut nsStaticAtom; - #[link_name = "\x01?checked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_checked: *mut nsStaticAtom; - #[link_name = "\x01?child@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_child: *mut nsStaticAtom; - #[link_name = "\x01?children@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_children: *mut nsStaticAtom; - #[link_name = "\x01?childList@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_childList: *mut nsStaticAtom; - #[link_name = "\x01?choose@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_choose: *mut nsStaticAtom; - #[link_name = "\x01?chromemargin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_chromemargin: *mut nsStaticAtom; - #[link_name = "\x01?chromeOnlyContent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_chromeOnlyContent: *mut nsStaticAtom; - #[link_name = "\x01?exposeToUntrustedContent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exposeToUntrustedContent: *mut nsStaticAtom; - #[link_name = "\x01?circ@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_circ: *mut nsStaticAtom; - #[link_name = "\x01?circle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_circle: *mut nsStaticAtom; - #[link_name = "\x01?cite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cite: *mut nsStaticAtom; - #[link_name = "\x01?cjkDecimal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cjkDecimal: *mut nsStaticAtom; - #[link_name = "\x01?_class@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__class: *mut nsStaticAtom; - #[link_name = "\x01?classid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_classid: *mut nsStaticAtom; - #[link_name = "\x01?clear@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clear: *mut nsStaticAtom; - #[link_name = "\x01?click@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_click: *mut nsStaticAtom; - #[link_name = "\x01?clickcount@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clickcount: *mut nsStaticAtom; - #[link_name = "\x01?clickthrough@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clickthrough: *mut nsStaticAtom; - #[link_name = "\x01?movetoclick@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_movetoclick: *mut nsStaticAtom; - #[link_name = "\x01?clip@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clip: *mut nsStaticAtom; - #[link_name = "\x01?close@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_close: *mut nsStaticAtom; - #[link_name = "\x01?closed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_closed: *mut nsStaticAtom; - #[link_name = "\x01?closemenu@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_closemenu: *mut nsStaticAtom; - #[link_name = "\x01?coalesceduplicatearcs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_coalesceduplicatearcs: *mut nsStaticAtom; - #[link_name = "\x01?code@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_code: *mut nsStaticAtom; - #[link_name = "\x01?codebase@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_codebase: *mut nsStaticAtom; - #[link_name = "\x01?codetype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_codetype: *mut nsStaticAtom; - #[link_name = "\x01?col@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_col: *mut nsStaticAtom; - #[link_name = "\x01?colgroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colgroup: *mut nsStaticAtom; - #[link_name = "\x01?collapse@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_collapse: *mut nsStaticAtom; - #[link_name = "\x01?collapsed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_collapsed: *mut nsStaticAtom; - #[link_name = "\x01?color@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_color: *mut nsStaticAtom; - #[link_name = "\x01?colorIndex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorIndex: *mut nsStaticAtom; - #[link_name = "\x01?cols@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cols: *mut nsStaticAtom; - #[link_name = "\x01?colspan@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colspan: *mut nsStaticAtom; - #[link_name = "\x01?column@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_column: *mut nsStaticAtom; - #[link_name = "\x01?columns@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columns: *mut nsStaticAtom; - #[link_name = "\x01?combobox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_combobox: *mut nsStaticAtom; - #[link_name = "\x01?command@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_command: *mut nsStaticAtom; - #[link_name = "\x01?commands@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_commands: *mut nsStaticAtom; - #[link_name = "\x01?commandset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_commandset: *mut nsStaticAtom; - #[link_name = "\x01?commandupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_commandupdate: *mut nsStaticAtom; - #[link_name = "\x01?commandupdater@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_commandupdater: *mut nsStaticAtom; - #[link_name = "\x01?comment@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_comment: *mut nsStaticAtom; - #[link_name = "\x01?compact@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_compact: *mut nsStaticAtom; - #[link_name = "\x01?concat@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_concat: *mut nsStaticAtom; - #[link_name = "\x01?conditions@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_conditions: *mut nsStaticAtom; - #[link_name = "\x01?constructor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_constructor: *mut nsStaticAtom; - #[link_name = "\x01?consumeoutsideclicks@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_consumeoutsideclicks: *mut nsStaticAtom; - #[link_name = "\x01?container@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_container: *mut nsStaticAtom; - #[link_name = "\x01?containment@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_containment: *mut nsStaticAtom; - #[link_name = "\x01?contains@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_contains: *mut nsStaticAtom; - #[link_name = "\x01?content@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_content: *mut nsStaticAtom; - #[link_name = "\x01?contenteditable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_contenteditable: *mut nsStaticAtom; - #[link_name = "\x01?headerContentDisposition@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerContentDisposition: *mut nsStaticAtom; - #[link_name = "\x01?headerContentLanguage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerContentLanguage: *mut nsStaticAtom; - #[link_name = "\x01?contentLocation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_contentLocation: *mut nsStaticAtom; - #[link_name = "\x01?headerContentScriptType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerContentScriptType: *mut nsStaticAtom; - #[link_name = "\x01?headerContentStyleType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerContentStyleType: *mut nsStaticAtom; - #[link_name = "\x01?headerContentType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerContentType: *mut nsStaticAtom; - #[link_name = "\x01?consumeanchor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_consumeanchor: *mut nsStaticAtom; - #[link_name = "\x01?context@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_context: *mut nsStaticAtom; - #[link_name = "\x01?contextmenu@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_contextmenu: *mut nsStaticAtom; - #[link_name = "\x01?control@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_control: *mut nsStaticAtom; - #[link_name = "\x01?controls@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_controls: *mut nsStaticAtom; - #[link_name = "\x01?coords@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_coords: *mut nsStaticAtom; - #[link_name = "\x01?copy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_copy: *mut nsStaticAtom; - #[link_name = "\x01?copyOf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_copyOf: *mut nsStaticAtom; - #[link_name = "\x01?count@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_count: *mut nsStaticAtom; - #[link_name = "\x01?crop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_crop: *mut nsStaticAtom; - #[link_name = "\x01?crossorigin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_crossorigin: *mut nsStaticAtom; - #[link_name = "\x01?curpos@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_curpos: *mut nsStaticAtom; - #[link_name = "\x01?current@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_current: *mut nsStaticAtom; - #[link_name = "\x01?cutoutregion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cutoutregion: *mut nsStaticAtom; - #[link_name = "\x01?cycler@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cycler: *mut nsStaticAtom; - #[link_name = "\x01?data@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_data: *mut nsStaticAtom; - #[link_name = "\x01?datalist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datalist: *mut nsStaticAtom; - #[link_name = "\x01?datal10nid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datal10nid: *mut nsStaticAtom; - #[link_name = "\x01?datal10nargs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datal10nargs: *mut nsStaticAtom; - #[link_name = "\x01?datal10nattrs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datal10nattrs: *mut nsStaticAtom; - #[link_name = "\x01?dataType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dataType: *mut nsStaticAtom; - #[link_name = "\x01?dateTime@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dateTime: *mut nsStaticAtom; - #[link_name = "\x01?datasources@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datasources: *mut nsStaticAtom; - #[link_name = "\x01?date@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_date: *mut nsStaticAtom; - #[link_name = "\x01?datetime@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datetime: *mut nsStaticAtom; - #[link_name = "\x01?datetimebox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datetimebox: *mut nsStaticAtom; - #[link_name = "\x01?dblclick@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dblclick: *mut nsStaticAtom; - #[link_name = "\x01?dd@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dd: *mut nsStaticAtom; - #[link_name = "\x01?debug@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_debug: *mut nsStaticAtom; - #[link_name = "\x01?decimal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_decimal: *mut nsStaticAtom; - #[link_name = "\x01?decimalFormat@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_decimalFormat: *mut nsStaticAtom; - #[link_name = "\x01?decimalSeparator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_decimalSeparator: *mut nsStaticAtom; - #[link_name = "\x01?deck@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_deck: *mut nsStaticAtom; - #[link_name = "\x01?declare@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_declare: *mut nsStaticAtom; - #[link_name = "\x01?decoderDoctor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_decoderDoctor: *mut nsStaticAtom; - #[link_name = "\x01?decrement@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_decrement: *mut nsStaticAtom; - #[link_name = "\x01?_default@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__default: *mut nsStaticAtom; - #[link_name = "\x01?headerDefaultStyle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerDefaultStyle: *mut nsStaticAtom; - #[link_name = "\x01?defaultAction@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defaultAction: *mut nsStaticAtom; - #[link_name = "\x01?defaultchecked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defaultchecked: *mut nsStaticAtom; - #[link_name = "\x01?defaultLabel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defaultLabel: *mut nsStaticAtom; - #[link_name = "\x01?defaultselected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defaultselected: *mut nsStaticAtom; - #[link_name = "\x01?defaultvalue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defaultvalue: *mut nsStaticAtom; - #[link_name = "\x01?defaultplaybackrate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defaultplaybackrate: *mut nsStaticAtom; - #[link_name = "\x01?defer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defer: *mut nsStaticAtom; - #[link_name = "\x01?del@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_del: *mut nsStaticAtom; - #[link_name = "\x01?descendant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_descendant: *mut nsStaticAtom; - #[link_name = "\x01?descendantOrSelf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_descendantOrSelf: *mut nsStaticAtom; - #[link_name = "\x01?descending@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_descending: *mut nsStaticAtom; - #[link_name = "\x01?description@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_description: *mut nsStaticAtom; - #[link_name = "\x01?destructor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_destructor: *mut nsStaticAtom; - #[link_name = "\x01?details@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_details: *mut nsStaticAtom; - #[link_name = "\x01?deviceAspectRatio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_deviceAspectRatio: *mut nsStaticAtom; - #[link_name = "\x01?deviceHeight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_deviceHeight: *mut nsStaticAtom; - #[link_name = "\x01?devicePixelRatio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_devicePixelRatio: *mut nsStaticAtom; - #[link_name = "\x01?deviceWidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_deviceWidth: *mut nsStaticAtom; - #[link_name = "\x01?dfn@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dfn: *mut nsStaticAtom; - #[link_name = "\x01?dialog@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dialog: *mut nsStaticAtom; - #[link_name = "\x01?difference@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_difference: *mut nsStaticAtom; - #[link_name = "\x01?digit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_digit: *mut nsStaticAtom; - #[link_name = "\x01?dir@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dir: *mut nsStaticAtom; - #[link_name = "\x01?dirAutoSetBy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dirAutoSetBy: *mut nsStaticAtom; - #[link_name = "\x01?directionality@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_directionality: *mut nsStaticAtom; - #[link_name = "\x01?directory@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_directory: *mut nsStaticAtom; - #[link_name = "\x01?disableOutputEscaping@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disableOutputEscaping: *mut nsStaticAtom; - #[link_name = "\x01?disabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disabled: *mut nsStaticAtom; - #[link_name = "\x01?disableglobalhistory@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disableglobalhistory: *mut nsStaticAtom; - #[link_name = "\x01?disablehistory@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disablehistory: *mut nsStaticAtom; - #[link_name = "\x01?disablefullscreen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disablefullscreen: *mut nsStaticAtom; - #[link_name = "\x01?disclosure_closed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disclosure_closed: *mut nsStaticAtom; - #[link_name = "\x01?disclosure_open@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disclosure_open: *mut nsStaticAtom; - #[link_name = "\x01?display@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_display: *mut nsStaticAtom; - #[link_name = "\x01?displayMode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_displayMode: *mut nsStaticAtom; - #[link_name = "\x01?distinct@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_distinct: *mut nsStaticAtom; - #[link_name = "\x01?div@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_div: *mut nsStaticAtom; - #[link_name = "\x01?dl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dl: *mut nsStaticAtom; - #[link_name = "\x01?docAbstract@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docAbstract: *mut nsStaticAtom; - #[link_name = "\x01?docAcknowledgments@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docAcknowledgments: *mut nsStaticAtom; - #[link_name = "\x01?docAfterword@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docAfterword: *mut nsStaticAtom; - #[link_name = "\x01?docAppendix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docAppendix: *mut nsStaticAtom; - #[link_name = "\x01?docBacklink@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docBacklink: *mut nsStaticAtom; - #[link_name = "\x01?docBiblioentry@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docBiblioentry: *mut nsStaticAtom; - #[link_name = "\x01?docBibliography@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docBibliography: *mut nsStaticAtom; - #[link_name = "\x01?docBiblioref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docBiblioref: *mut nsStaticAtom; - #[link_name = "\x01?docChapter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docChapter: *mut nsStaticAtom; - #[link_name = "\x01?docColophon@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docColophon: *mut nsStaticAtom; - #[link_name = "\x01?docConclusion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docConclusion: *mut nsStaticAtom; - #[link_name = "\x01?docCover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docCover: *mut nsStaticAtom; - #[link_name = "\x01?docCredit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docCredit: *mut nsStaticAtom; - #[link_name = "\x01?docCredits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docCredits: *mut nsStaticAtom; - #[link_name = "\x01?docDedication@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docDedication: *mut nsStaticAtom; - #[link_name = "\x01?docEndnote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docEndnote: *mut nsStaticAtom; - #[link_name = "\x01?docEndnotes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docEndnotes: *mut nsStaticAtom; - #[link_name = "\x01?docEpigraph@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docEpigraph: *mut nsStaticAtom; - #[link_name = "\x01?docEpilogue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docEpilogue: *mut nsStaticAtom; - #[link_name = "\x01?docErrata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docErrata: *mut nsStaticAtom; - #[link_name = "\x01?docExample@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docExample: *mut nsStaticAtom; - #[link_name = "\x01?docFootnote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docFootnote: *mut nsStaticAtom; - #[link_name = "\x01?docForeword@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docForeword: *mut nsStaticAtom; - #[link_name = "\x01?docGlossary@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docGlossary: *mut nsStaticAtom; - #[link_name = "\x01?docGlossref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docGlossref: *mut nsStaticAtom; - #[link_name = "\x01?docIndex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docIndex: *mut nsStaticAtom; - #[link_name = "\x01?docIntroduction@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docIntroduction: *mut nsStaticAtom; - #[link_name = "\x01?docNoteref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docNoteref: *mut nsStaticAtom; - #[link_name = "\x01?docNotice@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docNotice: *mut nsStaticAtom; - #[link_name = "\x01?docPagebreak@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docPagebreak: *mut nsStaticAtom; - #[link_name = "\x01?docPagelist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docPagelist: *mut nsStaticAtom; - #[link_name = "\x01?docPart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docPart: *mut nsStaticAtom; - #[link_name = "\x01?docPreface@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docPreface: *mut nsStaticAtom; - #[link_name = "\x01?docPrologue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docPrologue: *mut nsStaticAtom; - #[link_name = "\x01?docPullquote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docPullquote: *mut nsStaticAtom; - #[link_name = "\x01?docQna@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docQna: *mut nsStaticAtom; - #[link_name = "\x01?docSubtitle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docSubtitle: *mut nsStaticAtom; - #[link_name = "\x01?docTip@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docTip: *mut nsStaticAtom; - #[link_name = "\x01?docToc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docToc: *mut nsStaticAtom; - #[link_name = "\x01?doctypePublic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_doctypePublic: *mut nsStaticAtom; - #[link_name = "\x01?doctypeSystem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_doctypeSystem: *mut nsStaticAtom; - #[link_name = "\x01?document@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_document: *mut nsStaticAtom; - #[link_name = "\x01?download@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_download: *mut nsStaticAtom; - #[link_name = "\x01?DOMAttrModified@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMAttrModified: *mut nsStaticAtom; - #[link_name = "\x01?DOMCharacterDataModified@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMCharacterDataModified: *mut nsStaticAtom; - #[link_name = "\x01?DOMNodeInserted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMNodeInserted: *mut nsStaticAtom; - #[link_name = "\x01?DOMNodeInsertedIntoDocument@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMNodeInsertedIntoDocument: *mut nsStaticAtom; - #[link_name = "\x01?DOMNodeRemoved@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMNodeRemoved: *mut nsStaticAtom; - #[link_name = "\x01?DOMNodeRemovedFromDocument@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMNodeRemovedFromDocument: *mut nsStaticAtom; - #[link_name = "\x01?DOMSubtreeModified@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DOMSubtreeModified: *mut nsStaticAtom; - #[link_name = "\x01?double_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_double_: *mut nsStaticAtom; - #[link_name = "\x01?drag@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_drag: *mut nsStaticAtom; - #[link_name = "\x01?dragend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragend: *mut nsStaticAtom; - #[link_name = "\x01?dragenter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragenter: *mut nsStaticAtom; - #[link_name = "\x01?dragevent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragevent: *mut nsStaticAtom; - #[link_name = "\x01?dragexit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragexit: *mut nsStaticAtom; - #[link_name = "\x01?draggable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_draggable: *mut nsStaticAtom; - #[link_name = "\x01?dragging@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragging: *mut nsStaticAtom; - #[link_name = "\x01?dragleave@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragleave: *mut nsStaticAtom; - #[link_name = "\x01?dragover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragover: *mut nsStaticAtom; - #[link_name = "\x01?dragSession@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragSession: *mut nsStaticAtom; - #[link_name = "\x01?dragstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dragstart: *mut nsStaticAtom; - #[link_name = "\x01?drawintitlebar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_drawintitlebar: *mut nsStaticAtom; - #[link_name = "\x01?drawtitle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_drawtitle: *mut nsStaticAtom; - #[link_name = "\x01?drop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_drop: *mut nsStaticAtom; - #[link_name = "\x01?dropAfter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dropAfter: *mut nsStaticAtom; - #[link_name = "\x01?dropBefore@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dropBefore: *mut nsStaticAtom; - #[link_name = "\x01?dropOn@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dropOn: *mut nsStaticAtom; - #[link_name = "\x01?dropMarker@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dropMarker: *mut nsStaticAtom; - #[link_name = "\x01?dt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dt: *mut nsStaticAtom; - #[link_name = "\x01?editable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_editable: *mut nsStaticAtom; - #[link_name = "\x01?editing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_editing: *mut nsStaticAtom; - #[link_name = "\x01?editor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_editor: *mut nsStaticAtom; - #[link_name = "\x01?editorDisplayList@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_editorDisplayList: *mut nsStaticAtom; - #[link_name = "\x01?element@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_element: *mut nsStaticAtom; - #[link_name = "\x01?elementAvailable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_elementAvailable: *mut nsStaticAtom; - #[link_name = "\x01?elements@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_elements: *mut nsStaticAtom; - #[link_name = "\x01?em@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_em: *mut nsStaticAtom; - #[link_name = "\x01?embed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_embed: *mut nsStaticAtom; - #[link_name = "\x01?embossed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_embossed: *mut nsStaticAtom; - #[link_name = "\x01?empty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_empty: *mut nsStaticAtom; - #[link_name = "\x01?encoding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_encoding: *mut nsStaticAtom; - #[link_name = "\x01?enctype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_enctype: *mut nsStaticAtom; - #[link_name = "\x01?end@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_end: *mut nsStaticAtom; - #[link_name = "\x01?endEvent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_endEvent: *mut nsStaticAtom; - #[link_name = "\x01?end_after@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_end_after: *mut nsStaticAtom; - #[link_name = "\x01?end_before@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_end_before: *mut nsStaticAtom; - #[link_name = "\x01?equalsize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_equalsize: *mut nsStaticAtom; - #[link_name = "\x01?error@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_error: *mut nsStaticAtom; - #[link_name = "\x01?ethiopic_numeric@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ethiopic_numeric: *mut nsStaticAtom; - #[link_name = "\x01?even@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_even: *mut nsStaticAtom; - #[link_name = "\x01?event@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_event: *mut nsStaticAtom; - #[link_name = "\x01?events@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_events: *mut nsStaticAtom; - #[link_name = "\x01?excludeResultPrefixes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_excludeResultPrefixes: *mut nsStaticAtom; - #[link_name = "\x01?excludes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_excludes: *mut nsStaticAtom; - #[link_name = "\x01?expr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_expr: *mut nsStaticAtom; - #[link_name = "\x01?extends@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_extends: *mut nsStaticAtom; - #[link_name = "\x01?extensionElementPrefixes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_extensionElementPrefixes: *mut nsStaticAtom; - #[link_name = "\x01?face@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_face: *mut nsStaticAtom; - #[link_name = "\x01?fallback@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fallback: *mut nsStaticAtom; - #[link_name = "\x01?_false@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__false: *mut nsStaticAtom; - #[link_name = "\x01?farthest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_farthest: *mut nsStaticAtom; - #[link_name = "\x01?field@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_field: *mut nsStaticAtom; - #[link_name = "\x01?fieldset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fieldset: *mut nsStaticAtom; - #[link_name = "\x01?file@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_file: *mut nsStaticAtom; - #[link_name = "\x01?figcaption@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_figcaption: *mut nsStaticAtom; - #[link_name = "\x01?figure@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_figure: *mut nsStaticAtom; - #[link_name = "\x01?findbar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_findbar: *mut nsStaticAtom; - #[link_name = "\x01?fixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fixed: *mut nsStaticAtom; - #[link_name = "\x01?flags@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_flags: *mut nsStaticAtom; - #[link_name = "\x01?flex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_flex: *mut nsStaticAtom; - #[link_name = "\x01?flip@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_flip: *mut nsStaticAtom; - #[link_name = "\x01?floating@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_floating: *mut nsStaticAtom; - #[link_name = "\x01?floor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_floor: *mut nsStaticAtom; - #[link_name = "\x01?flowlength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_flowlength: *mut nsStaticAtom; - #[link_name = "\x01?focus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_focus: *mut nsStaticAtom; - #[link_name = "\x01?focused@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_focused: *mut nsStaticAtom; - #[link_name = "\x01?followanchor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_followanchor: *mut nsStaticAtom; - #[link_name = "\x01?following@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_following: *mut nsStaticAtom; - #[link_name = "\x01?followingSibling@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_followingSibling: *mut nsStaticAtom; - #[link_name = "\x01?font@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font: *mut nsStaticAtom; - #[link_name = "\x01?fontWeight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fontWeight: *mut nsStaticAtom; - #[link_name = "\x01?fontpicker@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fontpicker: *mut nsStaticAtom; - #[link_name = "\x01?footer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_footer: *mut nsStaticAtom; - #[link_name = "\x01?_for@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__for: *mut nsStaticAtom; - #[link_name = "\x01?forEach@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_forEach: *mut nsStaticAtom; - #[link_name = "\x01?forceOwnRefreshDriver@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_forceOwnRefreshDriver: *mut nsStaticAtom; - #[link_name = "\x01?form@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_form: *mut nsStaticAtom; - #[link_name = "\x01?formaction@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_formaction: *mut nsStaticAtom; - #[link_name = "\x01?format@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_format: *mut nsStaticAtom; - #[link_name = "\x01?formatNumber@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_formatNumber: *mut nsStaticAtom; - #[link_name = "\x01?formenctype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_formenctype: *mut nsStaticAtom; - #[link_name = "\x01?formmethod@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_formmethod: *mut nsStaticAtom; - #[link_name = "\x01?formnovalidate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_formnovalidate: *mut nsStaticAtom; - #[link_name = "\x01?formtarget@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_formtarget: *mut nsStaticAtom; - #[link_name = "\x01?frame@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_frame: *mut nsStaticAtom; - #[link_name = "\x01?frameborder@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_frameborder: *mut nsStaticAtom; - #[link_name = "\x01?frameset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_frameset: *mut nsStaticAtom; - #[link_name = "\x01?from@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_from: *mut nsStaticAtom; - #[link_name = "\x01?fullscreenchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fullscreenchange: *mut nsStaticAtom; - #[link_name = "\x01?fullscreenerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fullscreenerror: *mut nsStaticAtom; - #[link_name = "\x01?functionAvailable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_functionAvailable: *mut nsStaticAtom; - #[link_name = "\x01?freshProcess@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_freshProcess: *mut nsStaticAtom; - #[link_name = "\x01?generateId@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_generateId: *mut nsStaticAtom; - #[link_name = "\x01?getter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_getter: *mut nsStaticAtom; - #[link_name = "\x01?glyphchar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_glyphchar: *mut nsStaticAtom; - #[link_name = "\x01?glyphid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_glyphid: *mut nsStaticAtom; - #[link_name = "\x01?graphicsDocument@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_graphicsDocument: *mut nsStaticAtom; - #[link_name = "\x01?graphicsObject@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_graphicsObject: *mut nsStaticAtom; - #[link_name = "\x01?graphicsSymbol@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_graphicsSymbol: *mut nsStaticAtom; - #[link_name = "\x01?grid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_grid: *mut nsStaticAtom; - #[link_name = "\x01?group@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_group: *mut nsStaticAtom; - #[link_name = "\x01?groupbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_groupbox: *mut nsStaticAtom; - #[link_name = "\x01?groupingSeparator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_groupingSeparator: *mut nsStaticAtom; - #[link_name = "\x01?groupingSize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_groupingSize: *mut nsStaticAtom; - #[link_name = "\x01?grow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_grow: *mut nsStaticAtom; - #[link_name = "\x01?gutter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gutter: *mut nsStaticAtom; - #[link_name = "\x01?h1@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_h1: *mut nsStaticAtom; - #[link_name = "\x01?h2@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_h2: *mut nsStaticAtom; - #[link_name = "\x01?h3@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_h3: *mut nsStaticAtom; - #[link_name = "\x01?h4@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_h4: *mut nsStaticAtom; - #[link_name = "\x01?h5@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_h5: *mut nsStaticAtom; - #[link_name = "\x01?h6@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_h6: *mut nsStaticAtom; - #[link_name = "\x01?handheld@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_handheld: *mut nsStaticAtom; - #[link_name = "\x01?handheldFriendly@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_handheldFriendly: *mut nsStaticAtom; - #[link_name = "\x01?handler@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_handler: *mut nsStaticAtom; - #[link_name = "\x01?handlers@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_handlers: *mut nsStaticAtom; - #[link_name = "\x01?HARD@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_HARD: *mut nsStaticAtom; - #[link_name = "\x01?haspopup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_haspopup: *mut nsStaticAtom; - #[link_name = "\x01?hasSameNode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hasSameNode: *mut nsStaticAtom; - #[link_name = "\x01?hbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hbox: *mut nsStaticAtom; - #[link_name = "\x01?head@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_head: *mut nsStaticAtom; - #[link_name = "\x01?header@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_header: *mut nsStaticAtom; - #[link_name = "\x01?headers@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headers: *mut nsStaticAtom; - #[link_name = "\x01?hebrew@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hebrew: *mut nsStaticAtom; - #[link_name = "\x01?height@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_height: *mut nsStaticAtom; - #[link_name = "\x01?hgroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hgroup: *mut nsStaticAtom; - #[link_name = "\x01?hidden@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hidden: *mut nsStaticAtom; - #[link_name = "\x01?hidechrome@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hidechrome: *mut nsStaticAtom; - #[link_name = "\x01?hidecolumnpicker@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hidecolumnpicker: *mut nsStaticAtom; - #[link_name = "\x01?high@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_high: *mut nsStaticAtom; - #[link_name = "\x01?highest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_highest: *mut nsStaticAtom; - #[link_name = "\x01?horizontal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_horizontal: *mut nsStaticAtom; - #[link_name = "\x01?hover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hover: *mut nsStaticAtom; - #[link_name = "\x01?hr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hr: *mut nsStaticAtom; - #[link_name = "\x01?href@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_href: *mut nsStaticAtom; - #[link_name = "\x01?hreflang@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hreflang: *mut nsStaticAtom; - #[link_name = "\x01?hspace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hspace: *mut nsStaticAtom; - #[link_name = "\x01?html@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_html: *mut nsStaticAtom; - #[link_name = "\x01?httpEquiv@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_httpEquiv: *mut nsStaticAtom; - #[link_name = "\x01?i@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_i: *mut nsStaticAtom; - #[link_name = "\x01?icon@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_icon: *mut nsStaticAtom; - #[link_name = "\x01?id@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_id: *mut nsStaticAtom; - #[link_name = "\x01?_if@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__if: *mut nsStaticAtom; - #[link_name = "\x01?iframe@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_iframe: *mut nsStaticAtom; - #[link_name = "\x01?ignorecase@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ignorecase: *mut nsStaticAtom; - #[link_name = "\x01?ignorekeys@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ignorekeys: *mut nsStaticAtom; - #[link_name = "\x01?ignoreuserfocus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ignoreuserfocus: *mut nsStaticAtom; - #[link_name = "\x01?ilayer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ilayer: *mut nsStaticAtom; - #[link_name = "\x01?image@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_image: *mut nsStaticAtom; - #[link_name = "\x01?imageClickedPoint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_imageClickedPoint: *mut nsStaticAtom; - #[link_name = "\x01?img@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_img: *mut nsStaticAtom; - #[link_name = "\x01?implementation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_implementation: *mut nsStaticAtom; - #[link_name = "\x01?implements@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_implements: *mut nsStaticAtom; - #[link_name = "\x01?import@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_import: *mut nsStaticAtom; - #[link_name = "\x01?include@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_include: *mut nsStaticAtom; - #[link_name = "\x01?includes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_includes: *mut nsStaticAtom; - #[link_name = "\x01?increment@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_increment: *mut nsStaticAtom; - #[link_name = "\x01?indent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indent: *mut nsStaticAtom; - #[link_name = "\x01?indeterminate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indeterminate: *mut nsStaticAtom; - #[link_name = "\x01?index@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_index: *mut nsStaticAtom; - #[link_name = "\x01?infer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_infer: *mut nsStaticAtom; - #[link_name = "\x01?infinity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_infinity: *mut nsStaticAtom; - #[link_name = "\x01?inherit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_inherit: *mut nsStaticAtom; - #[link_name = "\x01?inherits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_inherits: *mut nsStaticAtom; - #[link_name = "\x01?inheritstyle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_inheritstyle: *mut nsStaticAtom; - #[link_name = "\x01?initial_scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_initial_scale: *mut nsStaticAtom; - #[link_name = "\x01?input@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_input: *mut nsStaticAtom; - #[link_name = "\x01?inputmode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_inputmode: *mut nsStaticAtom; - #[link_name = "\x01?ins@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ins: *mut nsStaticAtom; - #[link_name = "\x01?insertafter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_insertafter: *mut nsStaticAtom; - #[link_name = "\x01?insertbefore@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_insertbefore: *mut nsStaticAtom; - #[link_name = "\x01?install@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_install: *mut nsStaticAtom; - #[link_name = "\x01?instanceOf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_instanceOf: *mut nsStaticAtom; - #[link_name = "\x01?int32@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_int32: *mut nsStaticAtom; - #[link_name = "\x01?int64@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_int64: *mut nsStaticAtom; - #[link_name = "\x01?integer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_integer: *mut nsStaticAtom; - #[link_name = "\x01?integrity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_integrity: *mut nsStaticAtom; - #[link_name = "\x01?intersection@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_intersection: *mut nsStaticAtom; - #[link_name = "\x01?intersectionobserverlist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_intersectionobserverlist: *mut nsStaticAtom; - #[link_name = "\x01?is@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_is: *mut nsStaticAtom; - #[link_name = "\x01?iscontainer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_iscontainer: *mut nsStaticAtom; - #[link_name = "\x01?isempty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_isempty: *mut nsStaticAtom; - #[link_name = "\x01?ismap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ismap: *mut nsStaticAtom; - #[link_name = "\x01?itemid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_itemid: *mut nsStaticAtom; - #[link_name = "\x01?itemprop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_itemprop: *mut nsStaticAtom; - #[link_name = "\x01?itemref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_itemref: *mut nsStaticAtom; - #[link_name = "\x01?itemscope@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_itemscope: *mut nsStaticAtom; - #[link_name = "\x01?itemtype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_itemtype: *mut nsStaticAtom; - #[link_name = "\x01?japanese_formal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_japanese_formal: *mut nsStaticAtom; - #[link_name = "\x01?japanese_informal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_japanese_informal: *mut nsStaticAtom; - #[link_name = "\x01?kbd@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kbd: *mut nsStaticAtom; - #[link_name = "\x01?keepcurrentinview@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keepcurrentinview: *mut nsStaticAtom; - #[link_name = "\x01?keepobjectsalive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keepobjectsalive: *mut nsStaticAtom; - #[link_name = "\x01?key@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_key: *mut nsStaticAtom; - #[link_name = "\x01?keycode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keycode: *mut nsStaticAtom; - #[link_name = "\x01?keystatuseschange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keystatuseschange: *mut nsStaticAtom; - #[link_name = "\x01?keydown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keydown: *mut nsStaticAtom; - #[link_name = "\x01?keygen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keygen: *mut nsStaticAtom; - #[link_name = "\x01?keypress@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keypress: *mut nsStaticAtom; - #[link_name = "\x01?keyset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keyset: *mut nsStaticAtom; - #[link_name = "\x01?keysystem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keysystem: *mut nsStaticAtom; - #[link_name = "\x01?keytext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keytext: *mut nsStaticAtom; - #[link_name = "\x01?keyup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keyup: *mut nsStaticAtom; - #[link_name = "\x01?kind@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kind: *mut nsStaticAtom; - #[link_name = "\x01?korean_hangul_formal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_korean_hangul_formal: *mut nsStaticAtom; - #[link_name = "\x01?korean_hanja_formal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_korean_hanja_formal: *mut nsStaticAtom; - #[link_name = "\x01?korean_hanja_informal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_korean_hanja_informal: *mut nsStaticAtom; - #[link_name = "\x01?label@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_label: *mut nsStaticAtom; - #[link_name = "\x01?labels@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_labels: *mut nsStaticAtom; - #[link_name = "\x01?lang@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lang: *mut nsStaticAtom; - #[link_name = "\x01?language@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_language: *mut nsStaticAtom; - #[link_name = "\x01?last@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_last: *mut nsStaticAtom; - #[link_name = "\x01?layer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_layer: *mut nsStaticAtom; - #[link_name = "\x01?LayerActivity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_LayerActivity: *mut nsStaticAtom; - #[link_name = "\x01?layout@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_layout: *mut nsStaticAtom; - #[link_name = "\x01?leading@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_leading: *mut nsStaticAtom; - #[link_name = "\x01?leaf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_leaf: *mut nsStaticAtom; - #[link_name = "\x01?left@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_left: *mut nsStaticAtom; - #[link_name = "\x01?leftmargin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_leftmargin: *mut nsStaticAtom; - #[link_name = "\x01?leftpadding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_leftpadding: *mut nsStaticAtom; - #[link_name = "\x01?legend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_legend: *mut nsStaticAtom; - #[link_name = "\x01?length@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_length: *mut nsStaticAtom; - #[link_name = "\x01?letterValue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_letterValue: *mut nsStaticAtom; - #[link_name = "\x01?level@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_level: *mut nsStaticAtom; - #[link_name = "\x01?li@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_li: *mut nsStaticAtom; - #[link_name = "\x01?line@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_line: *mut nsStaticAtom; - #[link_name = "\x01?link@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_link: *mut nsStaticAtom; - #[link_name = "\x01?listbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listbox: *mut nsStaticAtom; - #[link_name = "\x01?listboxbody@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listboxbody: *mut nsStaticAtom; - #[link_name = "\x01?listcell@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listcell: *mut nsStaticAtom; - #[link_name = "\x01?listcol@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listcol: *mut nsStaticAtom; - #[link_name = "\x01?listcols@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listcols: *mut nsStaticAtom; - #[link_name = "\x01?listener@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listener: *mut nsStaticAtom; - #[link_name = "\x01?listhead@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listhead: *mut nsStaticAtom; - #[link_name = "\x01?listheader@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listheader: *mut nsStaticAtom; - #[link_name = "\x01?listing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listing: *mut nsStaticAtom; - #[link_name = "\x01?listitem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listitem: *mut nsStaticAtom; - #[link_name = "\x01?listrows@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_listrows: *mut nsStaticAtom; - #[link_name = "\x01?load@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_load: *mut nsStaticAtom; - #[link_name = "\x01?triggeringprincipal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_triggeringprincipal: *mut nsStaticAtom; - #[link_name = "\x01?localedir@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_localedir: *mut nsStaticAtom; - #[link_name = "\x01?localName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_localName: *mut nsStaticAtom; - #[link_name = "\x01?longdesc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_longdesc: *mut nsStaticAtom; - #[link_name = "\x01?loop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_loop: *mut nsStaticAtom; - #[link_name = "\x01?low@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_low: *mut nsStaticAtom; - #[link_name = "\x01?lowerAlpha@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lowerAlpha: *mut nsStaticAtom; - #[link_name = "\x01?lowerFirst@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lowerFirst: *mut nsStaticAtom; - #[link_name = "\x01?lowerRoman@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lowerRoman: *mut nsStaticAtom; - #[link_name = "\x01?lowest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lowest: *mut nsStaticAtom; - #[link_name = "\x01?lowsrc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lowsrc: *mut nsStaticAtom; - #[link_name = "\x01?ltr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ltr: *mut nsStaticAtom; - #[link_name = "\x01?lwtheme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lwtheme: *mut nsStaticAtom; - #[link_name = "\x01?lwthemetextcolor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lwthemetextcolor: *mut nsStaticAtom; - #[link_name = "\x01?main@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_main: *mut nsStaticAtom; - #[link_name = "\x01?map@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_map: *mut nsStaticAtom; - #[link_name = "\x01?manifest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_manifest: *mut nsStaticAtom; - #[link_name = "\x01?marginBottom@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marginBottom: *mut nsStaticAtom; - #[link_name = "\x01?marginLeft@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marginLeft: *mut nsStaticAtom; - #[link_name = "\x01?marginRight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marginRight: *mut nsStaticAtom; - #[link_name = "\x01?marginTop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marginTop: *mut nsStaticAtom; - #[link_name = "\x01?marginheight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marginheight: *mut nsStaticAtom; - #[link_name = "\x01?marginwidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marginwidth: *mut nsStaticAtom; - #[link_name = "\x01?mark@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mark: *mut nsStaticAtom; - #[link_name = "\x01?marquee@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marquee: *mut nsStaticAtom; - #[link_name = "\x01?match@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_match: *mut nsStaticAtom; - #[link_name = "\x01?max@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_max: *mut nsStaticAtom; - #[link_name = "\x01?maxheight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maxheight: *mut nsStaticAtom; - #[link_name = "\x01?maximum_scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maximum_scale: *mut nsStaticAtom; - #[link_name = "\x01?maxlength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maxlength: *mut nsStaticAtom; - #[link_name = "\x01?maxpos@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maxpos: *mut nsStaticAtom; - #[link_name = "\x01?maxwidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maxwidth: *mut nsStaticAtom; - #[link_name = "\x01?mayscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mayscript: *mut nsStaticAtom; - #[link_name = "\x01?media@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_media: *mut nsStaticAtom; - #[link_name = "\x01?mediaType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mediaType: *mut nsStaticAtom; - #[link_name = "\x01?member@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_member: *mut nsStaticAtom; - #[link_name = "\x01?menu@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menu: *mut nsStaticAtom; - #[link_name = "\x01?menubar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menubar: *mut nsStaticAtom; - #[link_name = "\x01?menubutton@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menubutton: *mut nsStaticAtom; - #[link_name = "\x01?menuButton@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menuButton: *mut nsStaticAtom; - #[link_name = "\x01?menucaption@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menucaption: *mut nsStaticAtom; - #[link_name = "\x01?menugroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menugroup: *mut nsStaticAtom; - #[link_name = "\x01?menuitem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menuitem: *mut nsStaticAtom; - #[link_name = "\x01?menulist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menulist: *mut nsStaticAtom; - #[link_name = "\x01?menupopup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menupopup: *mut nsStaticAtom; - #[link_name = "\x01?menuseparator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menuseparator: *mut nsStaticAtom; - #[link_name = "\x01?message@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_message: *mut nsStaticAtom; - #[link_name = "\x01?meta@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_meta: *mut nsStaticAtom; - #[link_name = "\x01?referrer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_referrer: *mut nsStaticAtom; - #[link_name = "\x01?referrerpolicy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_referrerpolicy: *mut nsStaticAtom; - #[link_name = "\x01?headerReferrerPolicy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerReferrerPolicy: *mut nsStaticAtom; - #[link_name = "\x01?meter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_meter: *mut nsStaticAtom; - #[link_name = "\x01?method@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_method: *mut nsStaticAtom; - #[link_name = "\x01?middle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_middle: *mut nsStaticAtom; - #[link_name = "\x01?min@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_min: *mut nsStaticAtom; - #[link_name = "\x01?minheight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minheight: *mut nsStaticAtom; - #[link_name = "\x01?minimum_scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minimum_scale: *mut nsStaticAtom; - #[link_name = "\x01?minlength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minlength: *mut nsStaticAtom; - #[link_name = "\x01?minpos@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minpos: *mut nsStaticAtom; - #[link_name = "\x01?minusSign@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minusSign: *mut nsStaticAtom; - #[link_name = "\x01?minwidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minwidth: *mut nsStaticAtom; - #[link_name = "\x01?mixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mixed: *mut nsStaticAtom; - #[link_name = "\x01?messagemanagergroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_messagemanagergroup: *mut nsStaticAtom; - #[link_name = "\x01?mod@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mod: *mut nsStaticAtom; - #[link_name = "\x01?mode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mode: *mut nsStaticAtom; - #[link_name = "\x01?modifiers@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_modifiers: *mut nsStaticAtom; - #[link_name = "\x01?monochrome@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_monochrome: *mut nsStaticAtom; - #[link_name = "\x01?mousedown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mousedown: *mut nsStaticAtom; - #[link_name = "\x01?mousemove@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mousemove: *mut nsStaticAtom; - #[link_name = "\x01?mouseout@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mouseout: *mut nsStaticAtom; - #[link_name = "\x01?mouseover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mouseover: *mut nsStaticAtom; - #[link_name = "\x01?mousethrough@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mousethrough: *mut nsStaticAtom; - #[link_name = "\x01?mouseup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mouseup: *mut nsStaticAtom; - #[link_name = "\x01?mozfullscreenchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozfullscreenchange: *mut nsStaticAtom; - #[link_name = "\x01?mozfullscreenerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozfullscreenerror: *mut nsStaticAtom; - #[link_name = "\x01?mozpointerlockchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozpointerlockchange: *mut nsStaticAtom; - #[link_name = "\x01?mozpointerlockerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozpointerlockerror: *mut nsStaticAtom; - #[link_name = "\x01?mozprivatebrowsing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozprivatebrowsing: *mut nsStaticAtom; - #[link_name = "\x01?moz_opaque@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_moz_opaque: *mut nsStaticAtom; - #[link_name = "\x01?moz_action_hint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_moz_action_hint: *mut nsStaticAtom; - #[link_name = "\x01?x_moz_errormessage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_moz_errormessage: *mut nsStaticAtom; - #[link_name = "\x01?multicol@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_multicol: *mut nsStaticAtom; - #[link_name = "\x01?multiple@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_multiple: *mut nsStaticAtom; - #[link_name = "\x01?mute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mute: *mut nsStaticAtom; - #[link_name = "\x01?muted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_muted: *mut nsStaticAtom; - #[link_name = "\x01?name@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_name: *mut nsStaticAtom; - #[link_name = "\x01?_namespace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__namespace: *mut nsStaticAtom; - #[link_name = "\x01?namespaceAlias@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_namespaceAlias: *mut nsStaticAtom; - #[link_name = "\x01?namespaceUri@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_namespaceUri: *mut nsStaticAtom; - #[link_name = "\x01?NaN@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_NaN: *mut nsStaticAtom; - #[link_name = "\x01?nativeAnonymousChildList@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nativeAnonymousChildList: *mut nsStaticAtom; - #[link_name = "\x01?nav@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nav: *mut nsStaticAtom; - #[link_name = "\x01?negate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_negate: *mut nsStaticAtom; - #[link_name = "\x01?never@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_never: *mut nsStaticAtom; - #[link_name = "\x01?_new@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__new: *mut nsStaticAtom; - #[link_name = "\x01?newline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_newline: *mut nsStaticAtom; - #[link_name = "\x01?nextBidi@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nextBidi: *mut nsStaticAtom; - #[link_name = "\x01?nextTabParentId@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nextTabParentId: *mut nsStaticAtom; - #[link_name = "\x01?no@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_no: *mut nsStaticAtom; - #[link_name = "\x01?noautofocus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noautofocus: *mut nsStaticAtom; - #[link_name = "\x01?noautohide@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noautohide: *mut nsStaticAtom; - #[link_name = "\x01?norolluponanchor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_norolluponanchor: *mut nsStaticAtom; - #[link_name = "\x01?nobr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nobr: *mut nsStaticAtom; - #[link_name = "\x01?node@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_node: *mut nsStaticAtom; - #[link_name = "\x01?nodefaultsrc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nodefaultsrc: *mut nsStaticAtom; - #[link_name = "\x01?nodeSet@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nodeSet: *mut nsStaticAtom; - #[link_name = "\x01?noembed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noembed: *mut nsStaticAtom; - #[link_name = "\x01?noframes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noframes: *mut nsStaticAtom; - #[link_name = "\x01?nohref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nohref: *mut nsStaticAtom; - #[link_name = "\x01?noisolation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noisolation: *mut nsStaticAtom; - #[link_name = "\x01?nomodule@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nomodule: *mut nsStaticAtom; - #[link_name = "\x01?nonce@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nonce: *mut nsStaticAtom; - #[link_name = "\x01?none@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_none: *mut nsStaticAtom; - #[link_name = "\x01?noresize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noresize: *mut nsStaticAtom; - #[link_name = "\x01?normal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_normal: *mut nsStaticAtom; - #[link_name = "\x01?normalizeSpace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_normalizeSpace: *mut nsStaticAtom; - #[link_name = "\x01?noscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noscript: *mut nsStaticAtom; - #[link_name = "\x01?noshade@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noshade: *mut nsStaticAtom; - #[link_name = "\x01?notification@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_notification: *mut nsStaticAtom; - #[link_name = "\x01?novalidate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_novalidate: *mut nsStaticAtom; - #[link_name = "\x01?_not@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__not: *mut nsStaticAtom; - #[link_name = "\x01?nowrap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nowrap: *mut nsStaticAtom; - #[link_name = "\x01?number@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_number: *mut nsStaticAtom; - #[link_name = "\x01?null@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_null: *mut nsStaticAtom; - #[link_name = "\x01?object@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_object: *mut nsStaticAtom; - #[link_name = "\x01?objectType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_objectType: *mut nsStaticAtom; - #[link_name = "\x01?observer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_observer: *mut nsStaticAtom; - #[link_name = "\x01?observes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_observes: *mut nsStaticAtom; - #[link_name = "\x01?odd@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_odd: *mut nsStaticAtom; - #[link_name = "\x01?OFF@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_OFF: *mut nsStaticAtom; - #[link_name = "\x01?ol@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ol: *mut nsStaticAtom; - #[link_name = "\x01?omitXmlDeclaration@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_omitXmlDeclaration: *mut nsStaticAtom; - #[link_name = "\x01?ona2dpstatuschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ona2dpstatuschanged: *mut nsStaticAtom; - #[link_name = "\x01?onabort@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onabort: *mut nsStaticAtom; - #[link_name = "\x01?onmozaccesskeynotfound@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozaccesskeynotfound: *mut nsStaticAtom; - #[link_name = "\x01?onactivate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onactivate: *mut nsStaticAtom; - #[link_name = "\x01?onadapteradded@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onadapteradded: *mut nsStaticAtom; - #[link_name = "\x01?onadapterremoved@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onadapterremoved: *mut nsStaticAtom; - #[link_name = "\x01?onafterprint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onafterprint: *mut nsStaticAtom; - #[link_name = "\x01?onafterscriptexecute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onafterscriptexecute: *mut nsStaticAtom; - #[link_name = "\x01?onalerting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onalerting: *mut nsStaticAtom; - #[link_name = "\x01?onanimationcancel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onanimationcancel: *mut nsStaticAtom; - #[link_name = "\x01?onanimationend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onanimationend: *mut nsStaticAtom; - #[link_name = "\x01?onanimationiteration@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onanimationiteration: *mut nsStaticAtom; - #[link_name = "\x01?onanimationstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onanimationstart: *mut nsStaticAtom; - #[link_name = "\x01?onantennaavailablechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onantennaavailablechange: *mut nsStaticAtom; - #[link_name = "\x01?onAppCommand@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onAppCommand: *mut nsStaticAtom; - #[link_name = "\x01?onappinstalled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onappinstalled: *mut nsStaticAtom; - #[link_name = "\x01?onattributechanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onattributechanged: *mut nsStaticAtom; - #[link_name = "\x01?onattributereadreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onattributereadreq: *mut nsStaticAtom; - #[link_name = "\x01?onattributewritereq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onattributewritereq: *mut nsStaticAtom; - #[link_name = "\x01?onaudioprocess@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onaudioprocess: *mut nsStaticAtom; - #[link_name = "\x01?onauxclick@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onauxclick: *mut nsStaticAtom; - #[link_name = "\x01?onbeforecopy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforecopy: *mut nsStaticAtom; - #[link_name = "\x01?onbeforecut@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforecut: *mut nsStaticAtom; - #[link_name = "\x01?onbeforepaste@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforepaste: *mut nsStaticAtom; - #[link_name = "\x01?onbeforeevicted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforeevicted: *mut nsStaticAtom; - #[link_name = "\x01?onbeforeprint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforeprint: *mut nsStaticAtom; - #[link_name = "\x01?onbeforescriptexecute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforescriptexecute: *mut nsStaticAtom; - #[link_name = "\x01?onbeforeunload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeforeunload: *mut nsStaticAtom; - #[link_name = "\x01?onblocked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onblocked: *mut nsStaticAtom; - #[link_name = "\x01?onblur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onblur: *mut nsStaticAtom; - #[link_name = "\x01?onbroadcast@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbroadcast: *mut nsStaticAtom; - #[link_name = "\x01?onbusy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbusy: *mut nsStaticAtom; - #[link_name = "\x01?onbufferedamountlow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbufferedamountlow: *mut nsStaticAtom; - #[link_name = "\x01?oncached@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncached: *mut nsStaticAtom; - #[link_name = "\x01?oncallschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncallschanged: *mut nsStaticAtom; - #[link_name = "\x01?oncancel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncancel: *mut nsStaticAtom; - #[link_name = "\x01?oncardstatechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncardstatechange: *mut nsStaticAtom; - #[link_name = "\x01?oncfstatechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncfstatechange: *mut nsStaticAtom; - #[link_name = "\x01?onchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onchange: *mut nsStaticAtom; - #[link_name = "\x01?oncharacteristicchanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncharacteristicchanged: *mut nsStaticAtom; - #[link_name = "\x01?onchargingchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onchargingchange: *mut nsStaticAtom; - #[link_name = "\x01?onchargingtimechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onchargingtimechange: *mut nsStaticAtom; - #[link_name = "\x01?onchecking@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onchecking: *mut nsStaticAtom; - #[link_name = "\x01?onCheckboxStateChange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onCheckboxStateChange: *mut nsStaticAtom; - #[link_name = "\x01?onclick@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onclick: *mut nsStaticAtom; - #[link_name = "\x01?onclirmodechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onclirmodechange: *mut nsStaticAtom; - #[link_name = "\x01?onclose@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onclose: *mut nsStaticAtom; - #[link_name = "\x01?oncommand@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncommand: *mut nsStaticAtom; - #[link_name = "\x01?oncommandupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncommandupdate: *mut nsStaticAtom; - #[link_name = "\x01?oncomplete@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncomplete: *mut nsStaticAtom; - #[link_name = "\x01?oncompositionend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncompositionend: *mut nsStaticAtom; - #[link_name = "\x01?oncompositionstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncompositionstart: *mut nsStaticAtom; - #[link_name = "\x01?oncompositionupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncompositionupdate: *mut nsStaticAtom; - #[link_name = "\x01?onconnect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onconnect: *mut nsStaticAtom; - #[link_name = "\x01?onconnected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onconnected: *mut nsStaticAtom; - #[link_name = "\x01?onconnecting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onconnecting: *mut nsStaticAtom; - #[link_name = "\x01?onconnectionavailable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onconnectionavailable: *mut nsStaticAtom; - #[link_name = "\x01?onconnectionstatechanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onconnectionstatechanged: *mut nsStaticAtom; - #[link_name = "\x01?oncontextmenu@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncontextmenu: *mut nsStaticAtom; - #[link_name = "\x01?oncopy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncopy: *mut nsStaticAtom; - #[link_name = "\x01?oncurrentchannelchanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncurrentchannelchanged: *mut nsStaticAtom; - #[link_name = "\x01?oncurrentsourcechanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncurrentsourcechanged: *mut nsStaticAtom; - #[link_name = "\x01?oncut@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncut: *mut nsStaticAtom; - #[link_name = "\x01?ondatachange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondatachange: *mut nsStaticAtom; - #[link_name = "\x01?ondataerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondataerror: *mut nsStaticAtom; - #[link_name = "\x01?ondblclick@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondblclick: *mut nsStaticAtom; - #[link_name = "\x01?ondeleted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondeleted: *mut nsStaticAtom; - #[link_name = "\x01?ondeliverysuccess@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondeliverysuccess: *mut nsStaticAtom; - #[link_name = "\x01?ondeliveryerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondeliveryerror: *mut nsStaticAtom; - #[link_name = "\x01?ondevicefound@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondevicefound: *mut nsStaticAtom; - #[link_name = "\x01?ondevicepaired@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondevicepaired: *mut nsStaticAtom; - #[link_name = "\x01?ondeviceunpaired@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondeviceunpaired: *mut nsStaticAtom; - #[link_name = "\x01?ondialing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondialing: *mut nsStaticAtom; - #[link_name = "\x01?ondisabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondisabled: *mut nsStaticAtom; - #[link_name = "\x01?ondischargingtimechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondischargingtimechange: *mut nsStaticAtom; - #[link_name = "\x01?ondisconnect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondisconnect: *mut nsStaticAtom; - #[link_name = "\x01?ondisconnected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondisconnected: *mut nsStaticAtom; - #[link_name = "\x01?ondisconnecting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondisconnecting: *mut nsStaticAtom; - #[link_name = "\x01?ondisplaypasskeyreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondisplaypasskeyreq: *mut nsStaticAtom; - #[link_name = "\x01?ondownloading@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondownloading: *mut nsStaticAtom; - #[link_name = "\x01?onDOMActivate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMActivate: *mut nsStaticAtom; - #[link_name = "\x01?onDOMAttrModified@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMAttrModified: *mut nsStaticAtom; - #[link_name = "\x01?onDOMCharacterDataModified@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMCharacterDataModified: *mut nsStaticAtom; - #[link_name = "\x01?onDOMFocusIn@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMFocusIn: *mut nsStaticAtom; - #[link_name = "\x01?onDOMFocusOut@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMFocusOut: *mut nsStaticAtom; - #[link_name = "\x01?onDOMMouseScroll@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMMouseScroll: *mut nsStaticAtom; - #[link_name = "\x01?onDOMNodeInserted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMNodeInserted: *mut nsStaticAtom; - #[link_name = "\x01?onDOMNodeInsertedIntoDocument@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMNodeInsertedIntoDocument: *mut nsStaticAtom; - #[link_name = "\x01?onDOMNodeRemoved@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMNodeRemoved: *mut nsStaticAtom; - #[link_name = "\x01?onDOMNodeRemovedFromDocument@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMNodeRemovedFromDocument: *mut nsStaticAtom; - #[link_name = "\x01?onDOMSubtreeModified@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onDOMSubtreeModified: *mut nsStaticAtom; - #[link_name = "\x01?ondata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondata: *mut nsStaticAtom; - #[link_name = "\x01?ondrag@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondrag: *mut nsStaticAtom; - #[link_name = "\x01?ondragdrop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragdrop: *mut nsStaticAtom; - #[link_name = "\x01?ondragend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragend: *mut nsStaticAtom; - #[link_name = "\x01?ondragenter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragenter: *mut nsStaticAtom; - #[link_name = "\x01?ondragexit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragexit: *mut nsStaticAtom; - #[link_name = "\x01?ondraggesture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondraggesture: *mut nsStaticAtom; - #[link_name = "\x01?ondragleave@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragleave: *mut nsStaticAtom; - #[link_name = "\x01?ondragover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragover: *mut nsStaticAtom; - #[link_name = "\x01?ondragstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondragstart: *mut nsStaticAtom; - #[link_name = "\x01?ondrain@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondrain: *mut nsStaticAtom; - #[link_name = "\x01?ondrop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondrop: *mut nsStaticAtom; - #[link_name = "\x01?oneitbroadcasted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oneitbroadcasted: *mut nsStaticAtom; - #[link_name = "\x01?onenabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onenabled: *mut nsStaticAtom; - #[link_name = "\x01?onenterpincodereq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onenterpincodereq: *mut nsStaticAtom; - #[link_name = "\x01?onemergencycbmodechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onemergencycbmodechange: *mut nsStaticAtom; - #[link_name = "\x01?onerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onerror: *mut nsStaticAtom; - #[link_name = "\x01?onevicted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onevicted: *mut nsStaticAtom; - #[link_name = "\x01?onfailed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfailed: *mut nsStaticAtom; - #[link_name = "\x01?onfetch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfetch: *mut nsStaticAtom; - #[link_name = "\x01?onfinish@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfinish: *mut nsStaticAtom; - #[link_name = "\x01?onfocus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfocus: *mut nsStaticAtom; - #[link_name = "\x01?onfocusin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfocusin: *mut nsStaticAtom; - #[link_name = "\x01?onfocusout@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfocusout: *mut nsStaticAtom; - #[link_name = "\x01?onfrequencychange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfrequencychange: *mut nsStaticAtom; - #[link_name = "\x01?onfullscreenchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfullscreenchange: *mut nsStaticAtom; - #[link_name = "\x01?onfullscreenerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onfullscreenerror: *mut nsStaticAtom; - #[link_name = "\x01?onspeakerforcedchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onspeakerforcedchange: *mut nsStaticAtom; - #[link_name = "\x01?onget@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onget: *mut nsStaticAtom; - #[link_name = "\x01?ongroupchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongroupchange: *mut nsStaticAtom; - #[link_name = "\x01?onhashchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onhashchange: *mut nsStaticAtom; - #[link_name = "\x01?onheadphoneschange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onheadphoneschange: *mut nsStaticAtom; - #[link_name = "\x01?onheld@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onheld: *mut nsStaticAtom; - #[link_name = "\x01?onhfpstatuschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onhfpstatuschanged: *mut nsStaticAtom; - #[link_name = "\x01?onhidstatuschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onhidstatuschanged: *mut nsStaticAtom; - #[link_name = "\x01?onholding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onholding: *mut nsStaticAtom; - #[link_name = "\x01?oniccchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oniccchange: *mut nsStaticAtom; - #[link_name = "\x01?oniccdetected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oniccdetected: *mut nsStaticAtom; - #[link_name = "\x01?oniccinfochange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oniccinfochange: *mut nsStaticAtom; - #[link_name = "\x01?oniccundetected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oniccundetected: *mut nsStaticAtom; - #[link_name = "\x01?onincoming@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onincoming: *mut nsStaticAtom; - #[link_name = "\x01?oninput@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oninput: *mut nsStaticAtom; - #[link_name = "\x01?oninstall@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oninstall: *mut nsStaticAtom; - #[link_name = "\x01?oninvalid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oninvalid: *mut nsStaticAtom; - #[link_name = "\x01?onkeydown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onkeydown: *mut nsStaticAtom; - #[link_name = "\x01?onkeypress@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onkeypress: *mut nsStaticAtom; - #[link_name = "\x01?onkeyup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onkeyup: *mut nsStaticAtom; - #[link_name = "\x01?onlanguagechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onlanguagechange: *mut nsStaticAtom; - #[link_name = "\x01?onlevelchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onlevelchange: *mut nsStaticAtom; - #[link_name = "\x01?onLoad@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onLoad: *mut nsStaticAtom; - #[link_name = "\x01?onload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onload: *mut nsStaticAtom; - #[link_name = "\x01?onloading@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloading: *mut nsStaticAtom; - #[link_name = "\x01?onloadingdone@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloadingdone: *mut nsStaticAtom; - #[link_name = "\x01?onloadingerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloadingerror: *mut nsStaticAtom; - #[link_name = "\x01?onpopstate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpopstate: *mut nsStaticAtom; - #[link_name = "\x01?only@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_only: *mut nsStaticAtom; - #[link_name = "\x01?onmessage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmessage: *mut nsStaticAtom; - #[link_name = "\x01?onmessageerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmessageerror: *mut nsStaticAtom; - #[link_name = "\x01?onmidimessage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmidimessage: *mut nsStaticAtom; - #[link_name = "\x01?onmousedown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmousedown: *mut nsStaticAtom; - #[link_name = "\x01?onmouseenter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmouseenter: *mut nsStaticAtom; - #[link_name = "\x01?onmouseleave@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmouseleave: *mut nsStaticAtom; - #[link_name = "\x01?onmouselongtap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmouselongtap: *mut nsStaticAtom; - #[link_name = "\x01?onmousemove@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmousemove: *mut nsStaticAtom; - #[link_name = "\x01?onmouseout@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmouseout: *mut nsStaticAtom; - #[link_name = "\x01?onmouseover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmouseover: *mut nsStaticAtom; - #[link_name = "\x01?onMozMouseHittest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozMouseHittest: *mut nsStaticAtom; - #[link_name = "\x01?onmouseup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmouseup: *mut nsStaticAtom; - #[link_name = "\x01?onMozAfterPaint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozAfterPaint: *mut nsStaticAtom; - #[link_name = "\x01?onmozfullscreenchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozfullscreenchange: *mut nsStaticAtom; - #[link_name = "\x01?onmozfullscreenerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozfullscreenerror: *mut nsStaticAtom; - #[link_name = "\x01?onmozkeydownonplugin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozkeydownonplugin: *mut nsStaticAtom; - #[link_name = "\x01?onmozkeyuponplugin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozkeyuponplugin: *mut nsStaticAtom; - #[link_name = "\x01?onmozpointerlockchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozpointerlockchange: *mut nsStaticAtom; - #[link_name = "\x01?onmozpointerlockerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozpointerlockerror: *mut nsStaticAtom; - #[link_name = "\x01?onMozMousePixelScroll@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozMousePixelScroll: *mut nsStaticAtom; - #[link_name = "\x01?onMozScrolledAreaChanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozScrolledAreaChanged: *mut nsStaticAtom; - #[link_name = "\x01?onmapfolderlistingreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmapfolderlistingreq: *mut nsStaticAtom; - #[link_name = "\x01?onmapmessageslistingreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmapmessageslistingreq: *mut nsStaticAtom; - #[link_name = "\x01?onmapgetmessagereq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmapgetmessagereq: *mut nsStaticAtom; - #[link_name = "\x01?onmapsetmessagestatusreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmapsetmessagestatusreq: *mut nsStaticAtom; - #[link_name = "\x01?onmapsendmessagereq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmapsendmessagereq: *mut nsStaticAtom; - #[link_name = "\x01?onmapmessageupdatereq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmapmessageupdatereq: *mut nsStaticAtom; - #[link_name = "\x01?onmute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmute: *mut nsStaticAtom; - #[link_name = "\x01?onnewrdsgroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onnewrdsgroup: *mut nsStaticAtom; - #[link_name = "\x01?onnotificationclick@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onnotificationclick: *mut nsStaticAtom; - #[link_name = "\x01?onnotificationclose@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onnotificationclose: *mut nsStaticAtom; - #[link_name = "\x01?onnoupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onnoupdate: *mut nsStaticAtom; - #[link_name = "\x01?onobexpasswordreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onobexpasswordreq: *mut nsStaticAtom; - #[link_name = "\x01?onobsolete@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onobsolete: *mut nsStaticAtom; - #[link_name = "\x01?ononline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ononline: *mut nsStaticAtom; - #[link_name = "\x01?onoffline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onoffline: *mut nsStaticAtom; - #[link_name = "\x01?onopen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onopen: *mut nsStaticAtom; - #[link_name = "\x01?onorientationchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onorientationchange: *mut nsStaticAtom; - #[link_name = "\x01?onotastatuschange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onotastatuschange: *mut nsStaticAtom; - #[link_name = "\x01?onoverflow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onoverflow: *mut nsStaticAtom; - #[link_name = "\x01?onoverflowchanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onoverflowchanged: *mut nsStaticAtom; - #[link_name = "\x01?onpagehide@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpagehide: *mut nsStaticAtom; - #[link_name = "\x01?onpageshow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpageshow: *mut nsStaticAtom; - #[link_name = "\x01?onpaint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpaint: *mut nsStaticAtom; - #[link_name = "\x01?onpairingaborted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpairingaborted: *mut nsStaticAtom; - #[link_name = "\x01?onpairingconfirmationreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpairingconfirmationreq: *mut nsStaticAtom; - #[link_name = "\x01?onpairingconsentreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpairingconsentreq: *mut nsStaticAtom; - #[link_name = "\x01?onpaste@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpaste: *mut nsStaticAtom; - #[link_name = "\x01?onpendingchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpendingchange: *mut nsStaticAtom; - #[link_name = "\x01?onpichange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpichange: *mut nsStaticAtom; - #[link_name = "\x01?onpointerlockchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerlockchange: *mut nsStaticAtom; - #[link_name = "\x01?onpointerlockerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerlockerror: *mut nsStaticAtom; - #[link_name = "\x01?onpopuphidden@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpopuphidden: *mut nsStaticAtom; - #[link_name = "\x01?onpopuphiding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpopuphiding: *mut nsStaticAtom; - #[link_name = "\x01?onpopuppositioned@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpopuppositioned: *mut nsStaticAtom; - #[link_name = "\x01?onpopupshowing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpopupshowing: *mut nsStaticAtom; - #[link_name = "\x01?onpopupshown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpopupshown: *mut nsStaticAtom; - #[link_name = "\x01?onpullphonebookreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpullphonebookreq: *mut nsStaticAtom; - #[link_name = "\x01?onpullvcardentryreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpullvcardentryreq: *mut nsStaticAtom; - #[link_name = "\x01?onpullvcardlistingreq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpullvcardlistingreq: *mut nsStaticAtom; - #[link_name = "\x01?onpush@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpush: *mut nsStaticAtom; - #[link_name = "\x01?onpushsubscriptionchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpushsubscriptionchange: *mut nsStaticAtom; - #[link_name = "\x01?onpschange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpschange: *mut nsStaticAtom; - #[link_name = "\x01?onptychange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onptychange: *mut nsStaticAtom; - #[link_name = "\x01?onradiostatechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onradiostatechange: *mut nsStaticAtom; - #[link_name = "\x01?onRadioStateChange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onRadioStateChange: *mut nsStaticAtom; - #[link_name = "\x01?onrdsdisabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrdsdisabled: *mut nsStaticAtom; - #[link_name = "\x01?onrdsenabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrdsenabled: *mut nsStaticAtom; - #[link_name = "\x01?onreaderror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onreaderror: *mut nsStaticAtom; - #[link_name = "\x01?onreadsuccess@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onreadsuccess: *mut nsStaticAtom; - #[link_name = "\x01?onready@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onready: *mut nsStaticAtom; - #[link_name = "\x01?onreadystatechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onreadystatechange: *mut nsStaticAtom; - #[link_name = "\x01?onreceived@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onreceived: *mut nsStaticAtom; - #[link_name = "\x01?onremoteheld@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onremoteheld: *mut nsStaticAtom; - #[link_name = "\x01?onremoteresumed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onremoteresumed: *mut nsStaticAtom; - #[link_name = "\x01?onrequestprogress@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrequestprogress: *mut nsStaticAtom; - #[link_name = "\x01?onresourcetimingbufferfull@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onresourcetimingbufferfull: *mut nsStaticAtom; - #[link_name = "\x01?onresponseprogress@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onresponseprogress: *mut nsStaticAtom; - #[link_name = "\x01?onretrieving@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onretrieving: *mut nsStaticAtom; - #[link_name = "\x01?onRequest@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onRequest: *mut nsStaticAtom; - #[link_name = "\x01?onrequestmediaplaystatus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrequestmediaplaystatus: *mut nsStaticAtom; - #[link_name = "\x01?onreset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onreset: *mut nsStaticAtom; - #[link_name = "\x01?onresuming@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onresuming: *mut nsStaticAtom; - #[link_name = "\x01?onresize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onresize: *mut nsStaticAtom; - #[link_name = "\x01?onrtchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrtchange: *mut nsStaticAtom; - #[link_name = "\x01?onscanningstatechanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onscanningstatechanged: *mut nsStaticAtom; - #[link_name = "\x01?onscostatuschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onscostatuschanged: *mut nsStaticAtom; - #[link_name = "\x01?onscroll@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onscroll: *mut nsStaticAtom; - #[link_name = "\x01?onselect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onselect: *mut nsStaticAtom; - #[link_name = "\x01?onselectionchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onselectionchange: *mut nsStaticAtom; - #[link_name = "\x01?onselectstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onselectstart: *mut nsStaticAtom; - #[link_name = "\x01?onsending@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsending: *mut nsStaticAtom; - #[link_name = "\x01?onsent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsent: *mut nsStaticAtom; - #[link_name = "\x01?onset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onset: *mut nsStaticAtom; - #[link_name = "\x01?onshippingaddresschange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onshippingaddresschange: *mut nsStaticAtom; - #[link_name = "\x01?onshippingoptionchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onshippingoptionchange: *mut nsStaticAtom; - #[link_name = "\x01?onshow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onshow: *mut nsStaticAtom; - #[link_name = "\x01?onstatechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstatechange: *mut nsStaticAtom; - #[link_name = "\x01?onstatuschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstatuschanged: *mut nsStaticAtom; - #[link_name = "\x01?onstkcommand@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstkcommand: *mut nsStaticAtom; - #[link_name = "\x01?onstksessionend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstksessionend: *mut nsStaticAtom; - #[link_name = "\x01?onstorage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstorage: *mut nsStaticAtom; - #[link_name = "\x01?onstorageareachanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstorageareachanged: *mut nsStaticAtom; - #[link_name = "\x01?onsubmit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsubmit: *mut nsStaticAtom; - #[link_name = "\x01?onsuccess@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsuccess: *mut nsStaticAtom; - #[link_name = "\x01?ontypechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontypechange: *mut nsStaticAtom; - #[link_name = "\x01?onterminate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onterminate: *mut nsStaticAtom; - #[link_name = "\x01?ontext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontext: *mut nsStaticAtom; - #[link_name = "\x01?ontoggle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontoggle: *mut nsStaticAtom; - #[link_name = "\x01?ontouchstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontouchstart: *mut nsStaticAtom; - #[link_name = "\x01?ontouchend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontouchend: *mut nsStaticAtom; - #[link_name = "\x01?ontouchmove@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontouchmove: *mut nsStaticAtom; - #[link_name = "\x01?ontouchcancel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontouchcancel: *mut nsStaticAtom; - #[link_name = "\x01?ontransitioncancel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontransitioncancel: *mut nsStaticAtom; - #[link_name = "\x01?ontransitionend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontransitionend: *mut nsStaticAtom; - #[link_name = "\x01?ontransitionrun@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontransitionrun: *mut nsStaticAtom; - #[link_name = "\x01?ontransitionstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontransitionstart: *mut nsStaticAtom; - #[link_name = "\x01?onunderflow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onunderflow: *mut nsStaticAtom; - #[link_name = "\x01?onunload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onunload: *mut nsStaticAtom; - #[link_name = "\x01?onunmute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onunmute: *mut nsStaticAtom; - #[link_name = "\x01?onupdatefound@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onupdatefound: *mut nsStaticAtom; - #[link_name = "\x01?onupdateready@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onupdateready: *mut nsStaticAtom; - #[link_name = "\x01?onupgradeneeded@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onupgradeneeded: *mut nsStaticAtom; - #[link_name = "\x01?onussdreceived@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onussdreceived: *mut nsStaticAtom; - #[link_name = "\x01?onversionchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onversionchange: *mut nsStaticAtom; - #[link_name = "\x01?onvisibilitychange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvisibilitychange: *mut nsStaticAtom; - #[link_name = "\x01?onvoicechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvoicechange: *mut nsStaticAtom; - #[link_name = "\x01?onvoiceschanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvoiceschanged: *mut nsStaticAtom; - #[link_name = "\x01?onvrdisplayactivate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvrdisplayactivate: *mut nsStaticAtom; - #[link_name = "\x01?onvrdisplayconnect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvrdisplayconnect: *mut nsStaticAtom; - #[link_name = "\x01?onvrdisplaydeactivate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvrdisplaydeactivate: *mut nsStaticAtom; - #[link_name = "\x01?onvrdisplaydisconnect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvrdisplaydisconnect: *mut nsStaticAtom; - #[link_name = "\x01?onvrdisplaypresentchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvrdisplaypresentchange: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitAnimationEnd@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitAnimationEnd: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitAnimationIteration@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitAnimationIteration: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitAnimationStart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitAnimationStart: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitTransitionEnd@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitTransitionEnd: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitanimationend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitanimationend: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitanimationiteration@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitanimationiteration: *mut nsStaticAtom; - #[link_name = "\x01?onwebkitanimationstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkitanimationstart: *mut nsStaticAtom; - #[link_name = "\x01?onwebkittransitionend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebkittransitionend: *mut nsStaticAtom; - #[link_name = "\x01?onwebsocket@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwebsocket: *mut nsStaticAtom; - #[link_name = "\x01?onwheel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwheel: *mut nsStaticAtom; - #[link_name = "\x01?open@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_open: *mut nsStaticAtom; - #[link_name = "\x01?optgroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_optgroup: *mut nsStaticAtom; - #[link_name = "\x01?optimum@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_optimum: *mut nsStaticAtom; - #[link_name = "\x01?option@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_option: *mut nsStaticAtom; - #[link_name = "\x01?_or@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__or: *mut nsStaticAtom; - #[link_name = "\x01?order@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_order: *mut nsStaticAtom; - #[link_name = "\x01?ordinal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ordinal: *mut nsStaticAtom; - #[link_name = "\x01?orient@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_orient: *mut nsStaticAtom; - #[link_name = "\x01?orientation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_orientation: *mut nsStaticAtom; - #[link_name = "\x01?otherwise@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_otherwise: *mut nsStaticAtom; - #[link_name = "\x01?output@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_output: *mut nsStaticAtom; - #[link_name = "\x01?overflow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overflow: *mut nsStaticAtom; - #[link_name = "\x01?overflowchanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overflowchanged: *mut nsStaticAtom; - #[link_name = "\x01?overlay@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overlay: *mut nsStaticAtom; - #[link_name = "\x01?overlap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overlap: *mut nsStaticAtom; - #[link_name = "\x01?p@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_p: *mut nsStaticAtom; - #[link_name = "\x01?pack@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pack: *mut nsStaticAtom; - #[link_name = "\x01?page@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_page: *mut nsStaticAtom; - #[link_name = "\x01?pageincrement@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pageincrement: *mut nsStaticAtom; - #[link_name = "\x01?pagex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pagex: *mut nsStaticAtom; - #[link_name = "\x01?pagey@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pagey: *mut nsStaticAtom; - #[link_name = "\x01?paint_order@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_paint_order: *mut nsStaticAtom; - #[link_name = "\x01?palettename@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_palettename: *mut nsStaticAtom; - #[link_name = "\x01?panel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_panel: *mut nsStaticAtom; - #[link_name = "\x01?param@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_param: *mut nsStaticAtom; - #[link_name = "\x01?parameter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_parameter: *mut nsStaticAtom; - #[link_name = "\x01?parent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_parent: *mut nsStaticAtom; - #[link_name = "\x01?parentfocused@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_parentfocused: *mut nsStaticAtom; - #[link_name = "\x01?parsetype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_parsetype: *mut nsStaticAtom; - #[link_name = "\x01?password@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_password: *mut nsStaticAtom; - #[link_name = "\x01?pattern@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pattern: *mut nsStaticAtom; - #[link_name = "\x01?patternSeparator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patternSeparator: *mut nsStaticAtom; - #[link_name = "\x01?perMille@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_perMille: *mut nsStaticAtom; - #[link_name = "\x01?percent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_percent: *mut nsStaticAtom; - #[link_name = "\x01?persist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_persist: *mut nsStaticAtom; - #[link_name = "\x01?phase@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_phase: *mut nsStaticAtom; - #[link_name = "\x01?picture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_picture: *mut nsStaticAtom; - #[link_name = "\x01?ping@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ping: *mut nsStaticAtom; - #[link_name = "\x01?pinned@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pinned: *mut nsStaticAtom; - #[link_name = "\x01?placeholder@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_placeholder: *mut nsStaticAtom; - #[link_name = "\x01?plaintext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_plaintext: *mut nsStaticAtom; - #[link_name = "\x01?playbackrate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_playbackrate: *mut nsStaticAtom; - #[link_name = "\x01?pointSize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointSize: *mut nsStaticAtom; - #[link_name = "\x01?pointerlockchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointerlockchange: *mut nsStaticAtom; - #[link_name = "\x01?pointerlockerror@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointerlockerror: *mut nsStaticAtom; - #[link_name = "\x01?poly@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_poly: *mut nsStaticAtom; - #[link_name = "\x01?polygon@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_polygon: *mut nsStaticAtom; - #[link_name = "\x01?popup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popup: *mut nsStaticAtom; - #[link_name = "\x01?popupalign@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupalign: *mut nsStaticAtom; - #[link_name = "\x01?popupanchor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupanchor: *mut nsStaticAtom; - #[link_name = "\x01?popupgroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupgroup: *mut nsStaticAtom; - #[link_name = "\x01?popuphidden@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popuphidden: *mut nsStaticAtom; - #[link_name = "\x01?popuphiding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popuphiding: *mut nsStaticAtom; - #[link_name = "\x01?popupset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupset: *mut nsStaticAtom; - #[link_name = "\x01?popupshowing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupshowing: *mut nsStaticAtom; - #[link_name = "\x01?popupshown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupshown: *mut nsStaticAtom; - #[link_name = "\x01?popupsinherittooltip@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_popupsinherittooltip: *mut nsStaticAtom; - #[link_name = "\x01?position@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_position: *mut nsStaticAtom; - #[link_name = "\x01?poster@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_poster: *mut nsStaticAtom; - #[link_name = "\x01?pre@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pre: *mut nsStaticAtom; - #[link_name = "\x01?preceding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preceding: *mut nsStaticAtom; - #[link_name = "\x01?precedingSibling@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_precedingSibling: *mut nsStaticAtom; - #[link_name = "\x01?predicate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_predicate: *mut nsStaticAtom; - #[link_name = "\x01?prefix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_prefix: *mut nsStaticAtom; - #[link_name = "\x01?preload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preload: *mut nsStaticAtom; - #[link_name = "\x01?mozpresentation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozpresentation: *mut nsStaticAtom; - #[link_name = "\x01?preserve@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preserve: *mut nsStaticAtom; - #[link_name = "\x01?preserveSpace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preserveSpace: *mut nsStaticAtom; - #[link_name = "\x01?preventdefault@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preventdefault: *mut nsStaticAtom; - #[link_name = "\x01?primary@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_primary: *mut nsStaticAtom; - #[link_name = "\x01?print@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_print: *mut nsStaticAtom; - #[link_name = "\x01?priority@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_priority: *mut nsStaticAtom; - #[link_name = "\x01?processingInstruction@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_processingInstruction: *mut nsStaticAtom; - #[link_name = "\x01?profile@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_profile: *mut nsStaticAtom; - #[link_name = "\x01?progress@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_progress: *mut nsStaticAtom; - #[link_name = "\x01?progressmeter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_progressmeter: *mut nsStaticAtom; - #[link_name = "\x01?progressNormal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_progressNormal: *mut nsStaticAtom; - #[link_name = "\x01?progressUndetermined@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_progressUndetermined: *mut nsStaticAtom; - #[link_name = "\x01?projection@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_projection: *mut nsStaticAtom; - #[link_name = "\x01?prompt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_prompt: *mut nsStaticAtom; - #[link_name = "\x01?propagate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_propagate: *mut nsStaticAtom; - #[link_name = "\x01?properties@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_properties: *mut nsStaticAtom; - #[link_name = "\x01?property@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_property: *mut nsStaticAtom; - #[link_name = "\x01?pubdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pubdate: *mut nsStaticAtom; - #[link_name = "\x01?q@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_q: *mut nsStaticAtom; - #[link_name = "\x01?query@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_query: *mut nsStaticAtom; - #[link_name = "\x01?queryset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_queryset: *mut nsStaticAtom; - #[link_name = "\x01?querytype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_querytype: *mut nsStaticAtom; - #[link_name = "\x01?radio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_radio: *mut nsStaticAtom; - #[link_name = "\x01?radiogroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_radiogroup: *mut nsStaticAtom; - #[link_name = "\x01?range@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_range: *mut nsStaticAtom; - #[link_name = "\x01?readonly@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_readonly: *mut nsStaticAtom; - #[link_name = "\x01?rect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rect: *mut nsStaticAtom; - #[link_name = "\x01?rectangle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rectangle: *mut nsStaticAtom; - #[link_name = "\x01?refresh@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_refresh: *mut nsStaticAtom; - #[link_name = "\x01?rel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rel: *mut nsStaticAtom; - #[link_name = "\x01?onreloadpage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onreloadpage: *mut nsStaticAtom; - #[link_name = "\x01?rem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rem: *mut nsStaticAtom; - #[link_name = "\x01?remote@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_remote: *mut nsStaticAtom; - #[link_name = "\x01?removeelement@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_removeelement: *mut nsStaticAtom; - #[link_name = "\x01?renderingobserverlist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_renderingobserverlist: *mut nsStaticAtom; - #[link_name = "\x01?repeat@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_repeat: *mut nsStaticAtom; - #[link_name = "\x01?replace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_replace: *mut nsStaticAtom; - #[link_name = "\x01?requestcontextid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_requestcontextid: *mut nsStaticAtom; - #[link_name = "\x01?required@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_required: *mut nsStaticAtom; - #[link_name = "\x01?reserved@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reserved: *mut nsStaticAtom; - #[link_name = "\x01?reset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reset: *mut nsStaticAtom; - #[link_name = "\x01?resizeafter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resizeafter: *mut nsStaticAtom; - #[link_name = "\x01?resizebefore@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resizebefore: *mut nsStaticAtom; - #[link_name = "\x01?resizer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resizer: *mut nsStaticAtom; - #[link_name = "\x01?resolution@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resolution: *mut nsStaticAtom; - #[link_name = "\x01?resources@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resources: *mut nsStaticAtom; - #[link_name = "\x01?result@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_result: *mut nsStaticAtom; - #[link_name = "\x01?resultPrefix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resultPrefix: *mut nsStaticAtom; - #[link_name = "\x01?retargetdocumentfocus@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_retargetdocumentfocus: *mut nsStaticAtom; - #[link_name = "\x01?rev@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rev: *mut nsStaticAtom; - #[link_name = "\x01?reverse@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reverse: *mut nsStaticAtom; - #[link_name = "\x01?reversed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reversed: *mut nsStaticAtom; - #[link_name = "\x01?richlistbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_richlistbox: *mut nsStaticAtom; - #[link_name = "\x01?richlistitem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_richlistitem: *mut nsStaticAtom; - #[link_name = "\x01?right@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_right: *mut nsStaticAtom; - #[link_name = "\x01?rightmargin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rightmargin: *mut nsStaticAtom; - #[link_name = "\x01?rightpadding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rightpadding: *mut nsStaticAtom; - #[link_name = "\x01?role@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_role: *mut nsStaticAtom; - #[link_name = "\x01?rolluponmousewheel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rolluponmousewheel: *mut nsStaticAtom; - #[link_name = "\x01?round@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_round: *mut nsStaticAtom; - #[link_name = "\x01?row@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_row: *mut nsStaticAtom; - #[link_name = "\x01?rows@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rows: *mut nsStaticAtom; - #[link_name = "\x01?rowspan@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rowspan: *mut nsStaticAtom; - #[link_name = "\x01?rb@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rb: *mut nsStaticAtom; - #[link_name = "\x01?rp@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rp: *mut nsStaticAtom; - #[link_name = "\x01?rt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rt: *mut nsStaticAtom; - #[link_name = "\x01?rtc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rtc: *mut nsStaticAtom; - #[link_name = "\x01?rtl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rtl: *mut nsStaticAtom; - #[link_name = "\x01?ruby@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ruby: *mut nsStaticAtom; - #[link_name = "\x01?rubyBase@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rubyBase: *mut nsStaticAtom; - #[link_name = "\x01?rubyBaseContainer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rubyBaseContainer: *mut nsStaticAtom; - #[link_name = "\x01?rubyText@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rubyText: *mut nsStaticAtom; - #[link_name = "\x01?rubyTextContainer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rubyTextContainer: *mut nsStaticAtom; - #[link_name = "\x01?rule@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rule: *mut nsStaticAtom; - #[link_name = "\x01?rules@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rules: *mut nsStaticAtom; - #[link_name = "\x01?s@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_s: *mut nsStaticAtom; - #[link_name = "\x01?samp@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_samp: *mut nsStaticAtom; - #[link_name = "\x01?sandbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sandbox: *mut nsStaticAtom; - #[link_name = "\x01?sbattr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sbattr: *mut nsStaticAtom; - #[link_name = "\x01?scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scale: *mut nsStaticAtom; - #[link_name = "\x01?scan@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scan: *mut nsStaticAtom; - #[link_name = "\x01?scheme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scheme: *mut nsStaticAtom; - #[link_name = "\x01?scope@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scope: *mut nsStaticAtom; - #[link_name = "\x01?scoped@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scoped: *mut nsStaticAtom; - #[link_name = "\x01?screen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_screen: *mut nsStaticAtom; - #[link_name = "\x01?screenX@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_screenX: *mut nsStaticAtom; - #[link_name = "\x01?screenY@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_screenY: *mut nsStaticAtom; - #[link_name = "\x01?script@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_script: *mut nsStaticAtom; - #[link_name = "\x01?scriptEnabledBeforePrintOrPreview@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scriptEnabledBeforePrintOrPreview: *mut nsStaticAtom; - #[link_name = "\x01?scrollbar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbar: *mut nsStaticAtom; - #[link_name = "\x01?scrollbarbutton@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbarbutton: *mut nsStaticAtom; - #[link_name = "\x01?scrollbarDownBottom@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbarDownBottom: *mut nsStaticAtom; - #[link_name = "\x01?scrollbarDownTop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbarDownTop: *mut nsStaticAtom; - #[link_name = "\x01?scrollbarUpBottom@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbarUpBottom: *mut nsStaticAtom; - #[link_name = "\x01?scrollbarUpTop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbarUpTop: *mut nsStaticAtom; - #[link_name = "\x01?scrollbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbox: *mut nsStaticAtom; - #[link_name = "\x01?scrollcorner@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollcorner: *mut nsStaticAtom; - #[link_name = "\x01?scrolling@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrolling: *mut nsStaticAtom; - #[link_name = "\x01?scrollPosition@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollPosition: *mut nsStaticAtom; - #[link_name = "\x01?section@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_section: *mut nsStaticAtom; - #[link_name = "\x01?select@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_select: *mut nsStaticAtom; - #[link_name = "\x01?selectable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_selectable: *mut nsStaticAtom; - #[link_name = "\x01?selected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_selected: *mut nsStaticAtom; - #[link_name = "\x01?selectedIndex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_selectedIndex: *mut nsStaticAtom; - #[link_name = "\x01?selectedindex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_selectedindex: *mut nsStaticAtom; - #[link_name = "\x01?self@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_self: *mut nsStaticAtom; - #[link_name = "\x01?seltype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_seltype: *mut nsStaticAtom; - #[link_name = "\x01?setcookie@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_setcookie: *mut nsStaticAtom; - #[link_name = "\x01?setter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_setter: *mut nsStaticAtom; - #[link_name = "\x01?shape@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_shape: *mut nsStaticAtom; - #[link_name = "\x01?show@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_show: *mut nsStaticAtom; - #[link_name = "\x01?showcaret@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_showcaret: *mut nsStaticAtom; - #[link_name = "\x01?showresizer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_showresizer: *mut nsStaticAtom; - #[link_name = "\x01?simple@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_simple: *mut nsStaticAtom; - #[link_name = "\x01?simp_chinese_formal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_simp_chinese_formal: *mut nsStaticAtom; - #[link_name = "\x01?simp_chinese_informal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_simp_chinese_informal: *mut nsStaticAtom; - #[link_name = "\x01?single@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_single: *mut nsStaticAtom; - #[link_name = "\x01?size@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_size: *mut nsStaticAtom; - #[link_name = "\x01?sizes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sizes: *mut nsStaticAtom; - #[link_name = "\x01?sizemode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sizemode: *mut nsStaticAtom; - #[link_name = "\x01?sizetopopup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sizetopopup: *mut nsStaticAtom; - #[link_name = "\x01?slider@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_slider: *mut nsStaticAtom; - #[link_name = "\x01?small@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_small: *mut nsStaticAtom; - #[link_name = "\x01?smooth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_smooth: *mut nsStaticAtom; - #[link_name = "\x01?snap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_snap: *mut nsStaticAtom; - #[link_name = "\x01?sort@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sort: *mut nsStaticAtom; - #[link_name = "\x01?sortActive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sortActive: *mut nsStaticAtom; - #[link_name = "\x01?sortDirection@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sortDirection: *mut nsStaticAtom; - #[link_name = "\x01?sorted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sorted: *mut nsStaticAtom; - #[link_name = "\x01?sorthints@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sorthints: *mut nsStaticAtom; - #[link_name = "\x01?sortLocked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sortLocked: *mut nsStaticAtom; - #[link_name = "\x01?source@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_source: *mut nsStaticAtom; - #[link_name = "\x01?space@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_space: *mut nsStaticAtom; - #[link_name = "\x01?spacer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spacer: *mut nsStaticAtom; - #[link_name = "\x01?span@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_span: *mut nsStaticAtom; - #[link_name = "\x01?spellcheck@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spellcheck: *mut nsStaticAtom; - #[link_name = "\x01?spinner@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spinner: *mut nsStaticAtom; - #[link_name = "\x01?split@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_split: *mut nsStaticAtom; - #[link_name = "\x01?splitter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_splitter: *mut nsStaticAtom; - #[link_name = "\x01?spring@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spring: *mut nsStaticAtom; - #[link_name = "\x01?square@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_square: *mut nsStaticAtom; - #[link_name = "\x01?src@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_src: *mut nsStaticAtom; - #[link_name = "\x01?srcdoc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_srcdoc: *mut nsStaticAtom; - #[link_name = "\x01?srclang@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_srclang: *mut nsStaticAtom; - #[link_name = "\x01?srcset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_srcset: *mut nsStaticAtom; - #[link_name = "\x01?stack@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stack: *mut nsStaticAtom; - #[link_name = "\x01?standalone@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_standalone: *mut nsStaticAtom; - #[link_name = "\x01?standby@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_standby: *mut nsStaticAtom; - #[link_name = "\x01?start@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_start: *mut nsStaticAtom; - #[link_name = "\x01?start_after@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_start_after: *mut nsStaticAtom; - #[link_name = "\x01?start_before@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_start_before: *mut nsStaticAtom; - #[link_name = "\x01?startsWith@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_startsWith: *mut nsStaticAtom; - #[link_name = "\x01?state@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_state: *mut nsStaticAtom; - #[link_name = "\x01?statedatasource@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_statedatasource: *mut nsStaticAtom; - #[link_name = "\x01?staticHint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_staticHint: *mut nsStaticAtom; - #[link_name = "\x01?statusbar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_statusbar: *mut nsStaticAtom; - #[link_name = "\x01?statustext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_statustext: *mut nsStaticAtom; - #[link_name = "\x01?step@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_step: *mut nsStaticAtom; - #[link_name = "\x01?stop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stop: *mut nsStaticAtom; - #[link_name = "\x01?stretch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stretch: *mut nsStaticAtom; - #[link_name = "\x01?strike@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_strike: *mut nsStaticAtom; - #[link_name = "\x01?string@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_string: *mut nsStaticAtom; - #[link_name = "\x01?stringLength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stringLength: *mut nsStaticAtom; - #[link_name = "\x01?stripSpace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stripSpace: *mut nsStaticAtom; - #[link_name = "\x01?strong@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_strong: *mut nsStaticAtom; - #[link_name = "\x01?style@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_style: *mut nsStaticAtom; - #[link_name = "\x01?stylesheet@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stylesheet: *mut nsStaticAtom; - #[link_name = "\x01?stylesheetPrefix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stylesheetPrefix: *mut nsStaticAtom; - #[link_name = "\x01?subject@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_subject: *mut nsStaticAtom; - #[link_name = "\x01?submit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_submit: *mut nsStaticAtom; - #[link_name = "\x01?substate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_substate: *mut nsStaticAtom; - #[link_name = "\x01?substring@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_substring: *mut nsStaticAtom; - #[link_name = "\x01?substringAfter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_substringAfter: *mut nsStaticAtom; - #[link_name = "\x01?substringBefore@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_substringBefore: *mut nsStaticAtom; - #[link_name = "\x01?sub@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sub: *mut nsStaticAtom; - #[link_name = "\x01?sum@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sum: *mut nsStaticAtom; - #[link_name = "\x01?sup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sup: *mut nsStaticAtom; - #[link_name = "\x01?summary@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_summary: *mut nsStaticAtom; - #[link_name = "\x01?systemProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_systemProperty: *mut nsStaticAtom; - #[link_name = "\x01?tab@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tab: *mut nsStaticAtom; - #[link_name = "\x01?tabbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tabbox: *mut nsStaticAtom; - #[link_name = "\x01?tabindex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tabindex: *mut nsStaticAtom; - #[link_name = "\x01?table@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_table: *mut nsStaticAtom; - #[link_name = "\x01?tabpanel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tabpanel: *mut nsStaticAtom; - #[link_name = "\x01?tabpanels@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tabpanels: *mut nsStaticAtom; - #[link_name = "\x01?tag@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tag: *mut nsStaticAtom; - #[link_name = "\x01?target@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_target: *mut nsStaticAtom; - #[link_name = "\x01?targets@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_targets: *mut nsStaticAtom; - #[link_name = "\x01?tbody@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tbody: *mut nsStaticAtom; - #[link_name = "\x01?td@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_td: *mut nsStaticAtom; - #[link_name = "\x01?_template@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__template: *mut nsStaticAtom; - #[link_name = "\x01?text_decoration@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_text_decoration: *mut nsStaticAtom; - #[link_name = "\x01?terminate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_terminate: *mut nsStaticAtom; - #[link_name = "\x01?term@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_term: *mut nsStaticAtom; - #[link_name = "\x01?test@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_test: *mut nsStaticAtom; - #[link_name = "\x01?text@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_text: *mut nsStaticAtom; - #[link_name = "\x01?textAlign@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textAlign: *mut nsStaticAtom; - #[link_name = "\x01?textarea@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textarea: *mut nsStaticAtom; - #[link_name = "\x01?textbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textbox: *mut nsStaticAtom; - #[link_name = "\x01?textnode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textnode: *mut nsStaticAtom; - #[link_name = "\x01?textNodeDirectionalityMap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textNodeDirectionalityMap: *mut nsStaticAtom; - #[link_name = "\x01?tfoot@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tfoot: *mut nsStaticAtom; - #[link_name = "\x01?th@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_th: *mut nsStaticAtom; - #[link_name = "\x01?thead@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_thead: *mut nsStaticAtom; - #[link_name = "\x01?thumb@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_thumb: *mut nsStaticAtom; - #[link_name = "\x01?time@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_time: *mut nsStaticAtom; - #[link_name = "\x01?title@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_title: *mut nsStaticAtom; - #[link_name = "\x01?titlebar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_titlebar: *mut nsStaticAtom; - #[link_name = "\x01?titletip@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_titletip: *mut nsStaticAtom; - #[link_name = "\x01?toggled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toggled: *mut nsStaticAtom; - #[link_name = "\x01?token@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_token: *mut nsStaticAtom; - #[link_name = "\x01?tokenize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tokenize: *mut nsStaticAtom; - #[link_name = "\x01?toolbar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbar: *mut nsStaticAtom; - #[link_name = "\x01?toolbarbutton@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbarbutton: *mut nsStaticAtom; - #[link_name = "\x01?toolbaritem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbaritem: *mut nsStaticAtom; - #[link_name = "\x01?toolbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbox: *mut nsStaticAtom; - #[link_name = "\x01?tooltip@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tooltip: *mut nsStaticAtom; - #[link_name = "\x01?tooltiptext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tooltiptext: *mut nsStaticAtom; - #[link_name = "\x01?top@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_top: *mut nsStaticAtom; - #[link_name = "\x01?topleft@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_topleft: *mut nsStaticAtom; - #[link_name = "\x01?topmargin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_topmargin: *mut nsStaticAtom; - #[link_name = "\x01?toppadding@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toppadding: *mut nsStaticAtom; - #[link_name = "\x01?topright@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_topright: *mut nsStaticAtom; - #[link_name = "\x01?tr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tr: *mut nsStaticAtom; - #[link_name = "\x01?track@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_track: *mut nsStaticAtom; - #[link_name = "\x01?trad_chinese_formal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_trad_chinese_formal: *mut nsStaticAtom; - #[link_name = "\x01?trad_chinese_informal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_trad_chinese_informal: *mut nsStaticAtom; - #[link_name = "\x01?trailing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_trailing: *mut nsStaticAtom; - #[link_name = "\x01?transform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transform: *mut nsStaticAtom; - #[link_name = "\x01?transform_3d@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transform_3d: *mut nsStaticAtom; - #[link_name = "\x01?transformiix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transformiix: *mut nsStaticAtom; - #[link_name = "\x01?translate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_translate: *mut nsStaticAtom; - #[link_name = "\x01?transparent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transparent: *mut nsStaticAtom; - #[link_name = "\x01?tree@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tree: *mut nsStaticAtom; - #[link_name = "\x01?treecell@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treecell: *mut nsStaticAtom; - #[link_name = "\x01?treechildren@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treechildren: *mut nsStaticAtom; - #[link_name = "\x01?treecol@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treecol: *mut nsStaticAtom; - #[link_name = "\x01?treecolpicker@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treecolpicker: *mut nsStaticAtom; - #[link_name = "\x01?treecols@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treecols: *mut nsStaticAtom; - #[link_name = "\x01?treeitem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treeitem: *mut nsStaticAtom; - #[link_name = "\x01?treerow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treerow: *mut nsStaticAtom; - #[link_name = "\x01?treeseparator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treeseparator: *mut nsStaticAtom; - #[link_name = "\x01?triple@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_triple: *mut nsStaticAtom; - #[link_name = "\x01?_true@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__true: *mut nsStaticAtom; - #[link_name = "\x01?tt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tt: *mut nsStaticAtom; - #[link_name = "\x01?tty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tty: *mut nsStaticAtom; - #[link_name = "\x01?tv@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tv: *mut nsStaticAtom; - #[link_name = "\x01?type@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_type: *mut nsStaticAtom; - #[link_name = "\x01?typemustmatch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_typemustmatch: *mut nsStaticAtom; - #[link_name = "\x01?u@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_u: *mut nsStaticAtom; - #[link_name = "\x01?ul@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ul: *mut nsStaticAtom; - #[link_name = "\x01?underflow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_underflow: *mut nsStaticAtom; - #[link_name = "\x01?undetermined@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_undetermined: *mut nsStaticAtom; - #[link_name = "\x01?unload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_unload: *mut nsStaticAtom; - #[link_name = "\x01?unmute@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_unmute: *mut nsStaticAtom; - #[link_name = "\x01?unparsedEntityUri@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_unparsedEntityUri: *mut nsStaticAtom; - #[link_name = "\x01?upperAlpha@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_upperAlpha: *mut nsStaticAtom; - #[link_name = "\x01?upperFirst@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_upperFirst: *mut nsStaticAtom; - #[link_name = "\x01?upperRoman@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_upperRoman: *mut nsStaticAtom; - #[link_name = "\x01?uri@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_uri: *mut nsStaticAtom; - #[link_name = "\x01?use@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_use: *mut nsStaticAtom; - #[link_name = "\x01?useAttributeSets@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_useAttributeSets: *mut nsStaticAtom; - #[link_name = "\x01?usemap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_usemap: *mut nsStaticAtom; - #[link_name = "\x01?user_scalable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_user_scalable: *mut nsStaticAtom; - #[link_name = "\x01?userInput@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_userInput: *mut nsStaticAtom; - #[link_name = "\x01?validate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_validate: *mut nsStaticAtom; - #[link_name = "\x01?valign@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_valign: *mut nsStaticAtom; - #[link_name = "\x01?value@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_value: *mut nsStaticAtom; - #[link_name = "\x01?values@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_values: *mut nsStaticAtom; - #[link_name = "\x01?valueOf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_valueOf: *mut nsStaticAtom; - #[link_name = "\x01?valuetype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_valuetype: *mut nsStaticAtom; - #[link_name = "\x01?var@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_var: *mut nsStaticAtom; - #[link_name = "\x01?variable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_variable: *mut nsStaticAtom; - #[link_name = "\x01?vbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vbox: *mut nsStaticAtom; - #[link_name = "\x01?vcard_name@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vcard_name: *mut nsStaticAtom; - #[link_name = "\x01?vendor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vendor: *mut nsStaticAtom; - #[link_name = "\x01?vendorUrl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vendorUrl: *mut nsStaticAtom; - #[link_name = "\x01?version@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_version: *mut nsStaticAtom; - #[link_name = "\x01?vert@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vert: *mut nsStaticAtom; - #[link_name = "\x01?vertical@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vertical: *mut nsStaticAtom; - #[link_name = "\x01?audio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_audio: *mut nsStaticAtom; - #[link_name = "\x01?video@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_video: *mut nsStaticAtom; - #[link_name = "\x01?videocontrols@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_videocontrols: *mut nsStaticAtom; - #[link_name = "\x01?viewport@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport: *mut nsStaticAtom; - #[link_name = "\x01?viewport_height@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport_height: *mut nsStaticAtom; - #[link_name = "\x01?viewport_initial_scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport_initial_scale: *mut nsStaticAtom; - #[link_name = "\x01?viewport_maximum_scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport_maximum_scale: *mut nsStaticAtom; - #[link_name = "\x01?viewport_minimum_scale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport_minimum_scale: *mut nsStaticAtom; - #[link_name = "\x01?viewport_user_scalable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport_user_scalable: *mut nsStaticAtom; - #[link_name = "\x01?viewport_width@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewport_width: *mut nsStaticAtom; - #[link_name = "\x01?visibility@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_visibility: *mut nsStaticAtom; - #[link_name = "\x01?visuallyselected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_visuallyselected: *mut nsStaticAtom; - #[link_name = "\x01?vlink@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vlink: *mut nsStaticAtom; - #[link_name = "\x01?vspace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vspace: *mut nsStaticAtom; - #[link_name = "\x01?wbr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_wbr: *mut nsStaticAtom; - #[link_name = "\x01?webkitdirectory@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_webkitdirectory: *mut nsStaticAtom; - #[link_name = "\x01?when@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_when: *mut nsStaticAtom; - #[link_name = "\x01?where@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_where: *mut nsStaticAtom; - #[link_name = "\x01?widget@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_widget: *mut nsStaticAtom; - #[link_name = "\x01?width@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_width: *mut nsStaticAtom; - #[link_name = "\x01?willChange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_willChange: *mut nsStaticAtom; - #[link_name = "\x01?window@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_window: *mut nsStaticAtom; - #[link_name = "\x01?headerWindowTarget@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerWindowTarget: *mut nsStaticAtom; - #[link_name = "\x01?windowtype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windowtype: *mut nsStaticAtom; - #[link_name = "\x01?withParam@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_withParam: *mut nsStaticAtom; - #[link_name = "\x01?wizard@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_wizard: *mut nsStaticAtom; - #[link_name = "\x01?wrap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_wrap: *mut nsStaticAtom; - #[link_name = "\x01?headerDNSPrefetchControl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerDNSPrefetchControl: *mut nsStaticAtom; - #[link_name = "\x01?headerCSP@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerCSP: *mut nsStaticAtom; - #[link_name = "\x01?headerCSPReportOnly@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerCSPReportOnly: *mut nsStaticAtom; - #[link_name = "\x01?headerXFO@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_headerXFO: *mut nsStaticAtom; - #[link_name = "\x01?x_western@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_western: *mut nsStaticAtom; - #[link_name = "\x01?xml@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xml: *mut nsStaticAtom; - #[link_name = "\x01?xml_stylesheet@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xml_stylesheet: *mut nsStaticAtom; - #[link_name = "\x01?xmlns@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xmlns: *mut nsStaticAtom; - #[link_name = "\x01?xmp@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xmp: *mut nsStaticAtom; - #[link_name = "\x01?xulcontentsgenerated@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xulcontentsgenerated: *mut nsStaticAtom; - #[link_name = "\x01?yes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_yes: *mut nsStaticAtom; - #[link_name = "\x01?z_index@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_z_index: *mut nsStaticAtom; - #[link_name = "\x01?zeroDigit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zeroDigit: *mut nsStaticAtom; - #[link_name = "\x01?percentage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_percentage: *mut nsStaticAtom; - #[link_name = "\x01?A@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_A: *mut nsStaticAtom; - #[link_name = "\x01?alignment_baseline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alignment_baseline: *mut nsStaticAtom; - #[link_name = "\x01?amplitude@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_amplitude: *mut nsStaticAtom; - #[link_name = "\x01?animate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animate: *mut nsStaticAtom; - #[link_name = "\x01?animateColor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animateColor: *mut nsStaticAtom; - #[link_name = "\x01?animateMotion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animateMotion: *mut nsStaticAtom; - #[link_name = "\x01?animateTransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animateTransform: *mut nsStaticAtom; - #[link_name = "\x01?arithmetic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arithmetic: *mut nsStaticAtom; - #[link_name = "\x01?atop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_atop: *mut nsStaticAtom; - #[link_name = "\x01?azimuth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_azimuth: *mut nsStaticAtom; - #[link_name = "\x01?B@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_B: *mut nsStaticAtom; - #[link_name = "\x01?backgroundColor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_backgroundColor: *mut nsStaticAtom; - #[link_name = "\x01?background_image@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_background_image: *mut nsStaticAtom; - #[link_name = "\x01?baseFrequency@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_baseFrequency: *mut nsStaticAtom; - #[link_name = "\x01?baseline_shift@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_baseline_shift: *mut nsStaticAtom; - #[link_name = "\x01?bias@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bias: *mut nsStaticAtom; - #[link_name = "\x01?caption_side@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_caption_side: *mut nsStaticAtom; - #[link_name = "\x01?clip_path@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clip_path: *mut nsStaticAtom; - #[link_name = "\x01?clip_rule@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clip_rule: *mut nsStaticAtom; - #[link_name = "\x01?clipPath@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clipPath: *mut nsStaticAtom; - #[link_name = "\x01?clipPathUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clipPathUnits: *mut nsStaticAtom; - #[link_name = "\x01?cm@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cm: *mut nsStaticAtom; - #[link_name = "\x01?colorBurn@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorBurn: *mut nsStaticAtom; - #[link_name = "\x01?colorDodge@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorDodge: *mut nsStaticAtom; - #[link_name = "\x01?colorInterpolation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorInterpolation: *mut nsStaticAtom; - #[link_name = "\x01?colorInterpolationFilters@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorInterpolationFilters: *mut nsStaticAtom; - #[link_name = "\x01?colorpicker@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorpicker: *mut nsStaticAtom; - #[link_name = "\x01?colorProfile@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_colorProfile: *mut nsStaticAtom; - #[link_name = "\x01?cursor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cursor: *mut nsStaticAtom; - #[link_name = "\x01?cx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cx: *mut nsStaticAtom; - #[link_name = "\x01?cy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cy: *mut nsStaticAtom; - #[link_name = "\x01?d@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_d: *mut nsStaticAtom; - #[link_name = "\x01?darken@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_darken: *mut nsStaticAtom; - #[link_name = "\x01?defs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_defs: *mut nsStaticAtom; - #[link_name = "\x01?deg@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_deg: *mut nsStaticAtom; - #[link_name = "\x01?desc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_desc: *mut nsStaticAtom; - #[link_name = "\x01?diffuseConstant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_diffuseConstant: *mut nsStaticAtom; - #[link_name = "\x01?dilate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dilate: *mut nsStaticAtom; - #[link_name = "\x01?direction@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_direction: *mut nsStaticAtom; - #[link_name = "\x01?disable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disable: *mut nsStaticAtom; - #[link_name = "\x01?disc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_disc: *mut nsStaticAtom; - #[link_name = "\x01?discrete@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_discrete: *mut nsStaticAtom; - #[link_name = "\x01?divisor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_divisor: *mut nsStaticAtom; - #[link_name = "\x01?dominant_baseline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dominant_baseline: *mut nsStaticAtom; - #[link_name = "\x01?duplicate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_duplicate: *mut nsStaticAtom; - #[link_name = "\x01?dx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dx: *mut nsStaticAtom; - #[link_name = "\x01?dy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dy: *mut nsStaticAtom; - #[link_name = "\x01?edgeMode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_edgeMode: *mut nsStaticAtom; - #[link_name = "\x01?ellipse@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ellipse: *mut nsStaticAtom; - #[link_name = "\x01?elevation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_elevation: *mut nsStaticAtom; - #[link_name = "\x01?erode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_erode: *mut nsStaticAtom; - #[link_name = "\x01?ex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ex: *mut nsStaticAtom; - #[link_name = "\x01?exact@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exact: *mut nsStaticAtom; - #[link_name = "\x01?exclusion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exclusion: *mut nsStaticAtom; - #[link_name = "\x01?exponent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exponent: *mut nsStaticAtom; - #[link_name = "\x01?feBlend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feBlend: *mut nsStaticAtom; - #[link_name = "\x01?feColorMatrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feColorMatrix: *mut nsStaticAtom; - #[link_name = "\x01?feComponentTransfer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feComponentTransfer: *mut nsStaticAtom; - #[link_name = "\x01?feComposite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feComposite: *mut nsStaticAtom; - #[link_name = "\x01?feConvolveMatrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feConvolveMatrix: *mut nsStaticAtom; - #[link_name = "\x01?feDiffuseLighting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feDiffuseLighting: *mut nsStaticAtom; - #[link_name = "\x01?feDisplacementMap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feDisplacementMap: *mut nsStaticAtom; - #[link_name = "\x01?feDistantLight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feDistantLight: *mut nsStaticAtom; - #[link_name = "\x01?feDropShadow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feDropShadow: *mut nsStaticAtom; - #[link_name = "\x01?feFlood@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feFlood: *mut nsStaticAtom; - #[link_name = "\x01?feFuncA@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feFuncA: *mut nsStaticAtom; - #[link_name = "\x01?feFuncB@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feFuncB: *mut nsStaticAtom; - #[link_name = "\x01?feFuncG@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feFuncG: *mut nsStaticAtom; - #[link_name = "\x01?feFuncR@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feFuncR: *mut nsStaticAtom; - #[link_name = "\x01?feGaussianBlur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feGaussianBlur: *mut nsStaticAtom; - #[link_name = "\x01?feImage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feImage: *mut nsStaticAtom; - #[link_name = "\x01?feMerge@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feMerge: *mut nsStaticAtom; - #[link_name = "\x01?feMergeNode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feMergeNode: *mut nsStaticAtom; - #[link_name = "\x01?feMorphology@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feMorphology: *mut nsStaticAtom; - #[link_name = "\x01?feOffset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feOffset: *mut nsStaticAtom; - #[link_name = "\x01?fePointLight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fePointLight: *mut nsStaticAtom; - #[link_name = "\x01?feSpecularLighting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feSpecularLighting: *mut nsStaticAtom; - #[link_name = "\x01?feSpotLight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feSpotLight: *mut nsStaticAtom; - #[link_name = "\x01?feTile@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feTile: *mut nsStaticAtom; - #[link_name = "\x01?feTurbulence@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feTurbulence: *mut nsStaticAtom; - #[link_name = "\x01?fill@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fill: *mut nsStaticAtom; - #[link_name = "\x01?fill_opacity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fill_opacity: *mut nsStaticAtom; - #[link_name = "\x01?fill_rule@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fill_rule: *mut nsStaticAtom; - #[link_name = "\x01?filter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_filter: *mut nsStaticAtom; - #[link_name = "\x01?filterUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_filterUnits: *mut nsStaticAtom; - #[link_name = "\x01?_float@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__float: *mut nsStaticAtom; - #[link_name = "\x01?flood_color@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_flood_color: *mut nsStaticAtom; - #[link_name = "\x01?flood_opacity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_flood_opacity: *mut nsStaticAtom; - #[link_name = "\x01?font_face@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_face: *mut nsStaticAtom; - #[link_name = "\x01?font_face_format@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_face_format: *mut nsStaticAtom; - #[link_name = "\x01?font_face_name@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_face_name: *mut nsStaticAtom; - #[link_name = "\x01?font_face_src@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_face_src: *mut nsStaticAtom; - #[link_name = "\x01?font_face_uri@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_face_uri: *mut nsStaticAtom; - #[link_name = "\x01?font_family@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_family: *mut nsStaticAtom; - #[link_name = "\x01?font_size@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_size: *mut nsStaticAtom; - #[link_name = "\x01?font_size_adjust@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_size_adjust: *mut nsStaticAtom; - #[link_name = "\x01?font_stretch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_stretch: *mut nsStaticAtom; - #[link_name = "\x01?font_style@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_style: *mut nsStaticAtom; - #[link_name = "\x01?font_variant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_font_variant: *mut nsStaticAtom; - #[link_name = "\x01?foreignObject@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_foreignObject: *mut nsStaticAtom; - #[link_name = "\x01?fractalNoise@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fractalNoise: *mut nsStaticAtom; - #[link_name = "\x01?fr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fr: *mut nsStaticAtom; - #[link_name = "\x01?fx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fx: *mut nsStaticAtom; - #[link_name = "\x01?fy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fy: *mut nsStaticAtom; - #[link_name = "\x01?G@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_G: *mut nsStaticAtom; - #[link_name = "\x01?g@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_g: *mut nsStaticAtom; - #[link_name = "\x01?gamma@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gamma: *mut nsStaticAtom; - #[link_name = "\x01?generic_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_generic_: *mut nsStaticAtom; - #[link_name = "\x01?glyphRef@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_glyphRef: *mut nsStaticAtom; - #[link_name = "\x01?grad@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_grad: *mut nsStaticAtom; - #[link_name = "\x01?gradientTransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gradientTransform: *mut nsStaticAtom; - #[link_name = "\x01?gradientUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gradientUnits: *mut nsStaticAtom; - #[link_name = "\x01?hardLight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hardLight: *mut nsStaticAtom; - #[link_name = "\x01?hue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hue: *mut nsStaticAtom; - #[link_name = "\x01?hueRotate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hueRotate: *mut nsStaticAtom; - #[link_name = "\x01?identity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_identity: *mut nsStaticAtom; - #[link_name = "\x01?image_rendering@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_image_rendering: *mut nsStaticAtom; - #[link_name = "\x01?in@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_in: *mut nsStaticAtom; - #[link_name = "\x01?in2@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_in2: *mut nsStaticAtom; - #[link_name = "\x01?intercept@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_intercept: *mut nsStaticAtom; - #[link_name = "\x01?k1@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_k1: *mut nsStaticAtom; - #[link_name = "\x01?k2@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_k2: *mut nsStaticAtom; - #[link_name = "\x01?k3@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_k3: *mut nsStaticAtom; - #[link_name = "\x01?k4@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_k4: *mut nsStaticAtom; - #[link_name = "\x01?kernelMatrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kernelMatrix: *mut nsStaticAtom; - #[link_name = "\x01?kernelUnitLength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kernelUnitLength: *mut nsStaticAtom; - #[link_name = "\x01?lengthAdjust@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lengthAdjust: *mut nsStaticAtom; - #[link_name = "\x01?letter_spacing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_letter_spacing: *mut nsStaticAtom; - #[link_name = "\x01?lighten@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lighten: *mut nsStaticAtom; - #[link_name = "\x01?lighting_color@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lighting_color: *mut nsStaticAtom; - #[link_name = "\x01?limitingConeAngle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_limitingConeAngle: *mut nsStaticAtom; - #[link_name = "\x01?linear@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linear: *mut nsStaticAtom; - #[link_name = "\x01?linearGradient@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linearGradient: *mut nsStaticAtom; - #[link_name = "\x01?linearRGB@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linearRGB: *mut nsStaticAtom; - #[link_name = "\x01?list_style_type@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_list_style_type: *mut nsStaticAtom; - #[link_name = "\x01?luminanceToAlpha@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_luminanceToAlpha: *mut nsStaticAtom; - #[link_name = "\x01?luminosity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_luminosity: *mut nsStaticAtom; - #[link_name = "\x01?magnify@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_magnify: *mut nsStaticAtom; - #[link_name = "\x01?marker@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marker: *mut nsStaticAtom; - #[link_name = "\x01?marker_end@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marker_end: *mut nsStaticAtom; - #[link_name = "\x01?marker_mid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marker_mid: *mut nsStaticAtom; - #[link_name = "\x01?marker_start@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_marker_start: *mut nsStaticAtom; - #[link_name = "\x01?markerHeight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_markerHeight: *mut nsStaticAtom; - #[link_name = "\x01?markerUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_markerUnits: *mut nsStaticAtom; - #[link_name = "\x01?markerWidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_markerWidth: *mut nsStaticAtom; - #[link_name = "\x01?mask@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mask: *mut nsStaticAtom; - #[link_name = "\x01?maskContentUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maskContentUnits: *mut nsStaticAtom; - #[link_name = "\x01?mask_type@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mask_type: *mut nsStaticAtom; - #[link_name = "\x01?maskUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maskUnits: *mut nsStaticAtom; - #[link_name = "\x01?matrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_matrix: *mut nsStaticAtom; - #[link_name = "\x01?metadata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_metadata: *mut nsStaticAtom; - #[link_name = "\x01?missingGlyph@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_missingGlyph: *mut nsStaticAtom; - #[link_name = "\x01?mm@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mm: *mut nsStaticAtom; - #[link_name = "\x01?mpath@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mpath: *mut nsStaticAtom; - #[link_name = "\x01?noStitch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_noStitch: *mut nsStaticAtom; - #[link_name = "\x01?numOctaves@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_numOctaves: *mut nsStaticAtom; - #[link_name = "\x01?multiply@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_multiply: *mut nsStaticAtom; - #[link_name = "\x01?objectBoundingBox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_objectBoundingBox: *mut nsStaticAtom; - #[link_name = "\x01?offset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_offset: *mut nsStaticAtom; - #[link_name = "\x01?onSVGLoad@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onSVGLoad: *mut nsStaticAtom; - #[link_name = "\x01?onSVGResize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onSVGResize: *mut nsStaticAtom; - #[link_name = "\x01?onSVGScroll@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onSVGScroll: *mut nsStaticAtom; - #[link_name = "\x01?onSVGUnload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onSVGUnload: *mut nsStaticAtom; - #[link_name = "\x01?onSVGZoom@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onSVGZoom: *mut nsStaticAtom; - #[link_name = "\x01?onzoom@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onzoom: *mut nsStaticAtom; - #[link_name = "\x01?opacity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_opacity: *mut nsStaticAtom; - #[link_name = "\x01?_operator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__operator: *mut nsStaticAtom; - #[link_name = "\x01?out@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_out: *mut nsStaticAtom; - #[link_name = "\x01?over@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_over: *mut nsStaticAtom; - #[link_name = "\x01?overridePreserveAspectRatio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overridePreserveAspectRatio: *mut nsStaticAtom; - #[link_name = "\x01?pad@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pad: *mut nsStaticAtom; - #[link_name = "\x01?path@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_path: *mut nsStaticAtom; - #[link_name = "\x01?pathLength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pathLength: *mut nsStaticAtom; - #[link_name = "\x01?patternContentUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patternContentUnits: *mut nsStaticAtom; - #[link_name = "\x01?patternTransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patternTransform: *mut nsStaticAtom; - #[link_name = "\x01?patternUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patternUnits: *mut nsStaticAtom; - #[link_name = "\x01?pc@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pc: *mut nsStaticAtom; - #[link_name = "\x01?pointer_events@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointer_events: *mut nsStaticAtom; - #[link_name = "\x01?points@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_points: *mut nsStaticAtom; - #[link_name = "\x01?pointsAtX@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointsAtX: *mut nsStaticAtom; - #[link_name = "\x01?pointsAtY@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointsAtY: *mut nsStaticAtom; - #[link_name = "\x01?pointsAtZ@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointsAtZ: *mut nsStaticAtom; - #[link_name = "\x01?polyline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_polyline: *mut nsStaticAtom; - #[link_name = "\x01?preserveAlpha@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preserveAlpha: *mut nsStaticAtom; - #[link_name = "\x01?preserveAspectRatio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preserveAspectRatio: *mut nsStaticAtom; - #[link_name = "\x01?primitiveUnits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_primitiveUnits: *mut nsStaticAtom; - #[link_name = "\x01?pt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pt: *mut nsStaticAtom; - #[link_name = "\x01?px@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_px: *mut nsStaticAtom; - #[link_name = "\x01?R@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_R: *mut nsStaticAtom; - #[link_name = "\x01?r@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_r: *mut nsStaticAtom; - #[link_name = "\x01?rad@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rad: *mut nsStaticAtom; - #[link_name = "\x01?radialGradient@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_radialGradient: *mut nsStaticAtom; - #[link_name = "\x01?radius@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_radius: *mut nsStaticAtom; - #[link_name = "\x01?reflect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reflect: *mut nsStaticAtom; - #[link_name = "\x01?refX@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_refX: *mut nsStaticAtom; - #[link_name = "\x01?refY@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_refY: *mut nsStaticAtom; - #[link_name = "\x01?requiredExtensions@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_requiredExtensions: *mut nsStaticAtom; - #[link_name = "\x01?requiredFeatures@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_requiredFeatures: *mut nsStaticAtom; - #[link_name = "\x01?rotate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rotate: *mut nsStaticAtom; - #[link_name = "\x01?rx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rx: *mut nsStaticAtom; - #[link_name = "\x01?ry@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ry: *mut nsStaticAtom; - #[link_name = "\x01?saturate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_saturate: *mut nsStaticAtom; - #[link_name = "\x01?saturation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_saturation: *mut nsStaticAtom; - #[link_name = "\x01?set@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_set: *mut nsStaticAtom; - #[link_name = "\x01?seed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_seed: *mut nsStaticAtom; - #[link_name = "\x01?shape_rendering@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_shape_rendering: *mut nsStaticAtom; - #[link_name = "\x01?simpleScopeChain@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_simpleScopeChain: *mut nsStaticAtom; - #[link_name = "\x01?skewX@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_skewX: *mut nsStaticAtom; - #[link_name = "\x01?skewY@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_skewY: *mut nsStaticAtom; - #[link_name = "\x01?slope@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_slope: *mut nsStaticAtom; - #[link_name = "\x01?slot@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_slot: *mut nsStaticAtom; - #[link_name = "\x01?softLight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_softLight: *mut nsStaticAtom; - #[link_name = "\x01?spacing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spacing: *mut nsStaticAtom; - #[link_name = "\x01?spacingAndGlyphs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spacingAndGlyphs: *mut nsStaticAtom; - #[link_name = "\x01?specularConstant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_specularConstant: *mut nsStaticAtom; - #[link_name = "\x01?specularExponent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_specularExponent: *mut nsStaticAtom; - #[link_name = "\x01?spreadMethod@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spreadMethod: *mut nsStaticAtom; - #[link_name = "\x01?sRGB@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sRGB: *mut nsStaticAtom; - #[link_name = "\x01?startOffset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_startOffset: *mut nsStaticAtom; - #[link_name = "\x01?stdDeviation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stdDeviation: *mut nsStaticAtom; - #[link_name = "\x01?stitch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stitch: *mut nsStaticAtom; - #[link_name = "\x01?stitchTiles@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stitchTiles: *mut nsStaticAtom; - #[link_name = "\x01?stop_color@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stop_color: *mut nsStaticAtom; - #[link_name = "\x01?stop_opacity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stop_opacity: *mut nsStaticAtom; - #[link_name = "\x01?stroke@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke: *mut nsStaticAtom; - #[link_name = "\x01?stroke_dasharray@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_dasharray: *mut nsStaticAtom; - #[link_name = "\x01?stroke_dashoffset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_dashoffset: *mut nsStaticAtom; - #[link_name = "\x01?stroke_linecap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_linecap: *mut nsStaticAtom; - #[link_name = "\x01?stroke_linejoin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_linejoin: *mut nsStaticAtom; - #[link_name = "\x01?stroke_miterlimit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_miterlimit: *mut nsStaticAtom; - #[link_name = "\x01?stroke_opacity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_opacity: *mut nsStaticAtom; - #[link_name = "\x01?stroke_width@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stroke_width: *mut nsStaticAtom; - #[link_name = "\x01?strokeWidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_strokeWidth: *mut nsStaticAtom; - #[link_name = "\x01?surfaceScale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_surfaceScale: *mut nsStaticAtom; - #[link_name = "\x01?svg@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_svg: *mut nsStaticAtom; - #[link_name = "\x01?svgContextPaint@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_svgContextPaint: *mut nsStaticAtom; - #[link_name = "\x01?svgSwitch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_svgSwitch: *mut nsStaticAtom; - #[link_name = "\x01?symbol@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_symbol: *mut nsStaticAtom; - #[link_name = "\x01?systemLanguage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_systemLanguage: *mut nsStaticAtom; - #[link_name = "\x01?tableValues@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tableValues: *mut nsStaticAtom; - #[link_name = "\x01?targetX@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_targetX: *mut nsStaticAtom; - #[link_name = "\x01?targetY@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_targetY: *mut nsStaticAtom; - #[link_name = "\x01?text_anchor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_text_anchor: *mut nsStaticAtom; - #[link_name = "\x01?text_rendering@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_text_rendering: *mut nsStaticAtom; - #[link_name = "\x01?textLength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textLength: *mut nsStaticAtom; - #[link_name = "\x01?textPath@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textPath: *mut nsStaticAtom; - #[link_name = "\x01?tref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tref: *mut nsStaticAtom; - #[link_name = "\x01?tspan@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tspan: *mut nsStaticAtom; - #[link_name = "\x01?turbulence@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_turbulence: *mut nsStaticAtom; - #[link_name = "\x01?unicode_bidi@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_unicode_bidi: *mut nsStaticAtom; - #[link_name = "\x01?userSpaceOnUse@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_userSpaceOnUse: *mut nsStaticAtom; - #[link_name = "\x01?view@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_view: *mut nsStaticAtom; - #[link_name = "\x01?viewBox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewBox: *mut nsStaticAtom; - #[link_name = "\x01?viewTarget@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewTarget: *mut nsStaticAtom; - #[link_name = "\x01?white_space@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_white_space: *mut nsStaticAtom; - #[link_name = "\x01?word_spacing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_word_spacing: *mut nsStaticAtom; - #[link_name = "\x01?writing_mode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_writing_mode: *mut nsStaticAtom; - #[link_name = "\x01?x@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x: *mut nsStaticAtom; - #[link_name = "\x01?x1@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x1: *mut nsStaticAtom; - #[link_name = "\x01?x2@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x2: *mut nsStaticAtom; - #[link_name = "\x01?xChannelSelector@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xChannelSelector: *mut nsStaticAtom; - #[link_name = "\x01?xor_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xor_: *mut nsStaticAtom; - #[link_name = "\x01?y@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_y: *mut nsStaticAtom; - #[link_name = "\x01?y1@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_y1: *mut nsStaticAtom; - #[link_name = "\x01?y2@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_y2: *mut nsStaticAtom; - #[link_name = "\x01?yChannelSelector@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_yChannelSelector: *mut nsStaticAtom; - #[link_name = "\x01?z@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_z: *mut nsStaticAtom; - #[link_name = "\x01?zoomAndPan@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zoomAndPan: *mut nsStaticAtom; - #[link_name = "\x01?vector_effect@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vector_effect: *mut nsStaticAtom; - #[link_name = "\x01?vertical_align@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vertical_align: *mut nsStaticAtom; - #[link_name = "\x01?accumulate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_accumulate: *mut nsStaticAtom; - #[link_name = "\x01?additive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_additive: *mut nsStaticAtom; - #[link_name = "\x01?attributeName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attributeName: *mut nsStaticAtom; - #[link_name = "\x01?attributeType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attributeType: *mut nsStaticAtom; - #[link_name = "\x01?auto_reverse@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_auto_reverse: *mut nsStaticAtom; - #[link_name = "\x01?begin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_begin: *mut nsStaticAtom; - #[link_name = "\x01?beginEvent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_beginEvent: *mut nsStaticAtom; - #[link_name = "\x01?by@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_by: *mut nsStaticAtom; - #[link_name = "\x01?calcMode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_calcMode: *mut nsStaticAtom; - #[link_name = "\x01?css@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_css: *mut nsStaticAtom; - #[link_name = "\x01?dur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_dur: *mut nsStaticAtom; - #[link_name = "\x01?keyPoints@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keyPoints: *mut nsStaticAtom; - #[link_name = "\x01?keySplines@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keySplines: *mut nsStaticAtom; - #[link_name = "\x01?keyTimes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keyTimes: *mut nsStaticAtom; - #[link_name = "\x01?mozAnimateMotionDummyAttr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozAnimateMotionDummyAttr: *mut nsStaticAtom; - #[link_name = "\x01?onbegin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbegin: *mut nsStaticAtom; - #[link_name = "\x01?onbeginEvent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onbeginEvent: *mut nsStaticAtom; - #[link_name = "\x01?onend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onend: *mut nsStaticAtom; - #[link_name = "\x01?onendEvent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onendEvent: *mut nsStaticAtom; - #[link_name = "\x01?onrepeat@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrepeat: *mut nsStaticAtom; - #[link_name = "\x01?onrepeatEvent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onrepeatEvent: *mut nsStaticAtom; - #[link_name = "\x01?repeatCount@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_repeatCount: *mut nsStaticAtom; - #[link_name = "\x01?repeatDur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_repeatDur: *mut nsStaticAtom; - #[link_name = "\x01?repeatEvent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_repeatEvent: *mut nsStaticAtom; - #[link_name = "\x01?restart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_restart: *mut nsStaticAtom; - #[link_name = "\x01?to@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_to: *mut nsStaticAtom; - #[link_name = "\x01?XML@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_XML: *mut nsStaticAtom; - #[link_name = "\x01?abs_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_abs_: *mut nsStaticAtom; - #[link_name = "\x01?accent_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_accent_: *mut nsStaticAtom; - #[link_name = "\x01?accentunder_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_accentunder_: *mut nsStaticAtom; - #[link_name = "\x01?actiontype_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_actiontype_: *mut nsStaticAtom; - #[link_name = "\x01?alignmentscope_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alignmentscope_: *mut nsStaticAtom; - #[link_name = "\x01?altimg_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altimg_: *mut nsStaticAtom; - #[link_name = "\x01?altimg_height_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altimg_height_: *mut nsStaticAtom; - #[link_name = "\x01?altimg_valign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altimg_valign_: *mut nsStaticAtom; - #[link_name = "\x01?altimg_width_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altimg_width_: *mut nsStaticAtom; - #[link_name = "\x01?annotation_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_annotation_: *mut nsStaticAtom; - #[link_name = "\x01?annotation_xml_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_annotation_xml_: *mut nsStaticAtom; - #[link_name = "\x01?apply_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_apply_: *mut nsStaticAtom; - #[link_name = "\x01?approx_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_approx_: *mut nsStaticAtom; - #[link_name = "\x01?arccos_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arccos_: *mut nsStaticAtom; - #[link_name = "\x01?arccosh_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arccosh_: *mut nsStaticAtom; - #[link_name = "\x01?arccot_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arccot_: *mut nsStaticAtom; - #[link_name = "\x01?arccoth_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arccoth_: *mut nsStaticAtom; - #[link_name = "\x01?arccsc_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arccsc_: *mut nsStaticAtom; - #[link_name = "\x01?arccsch_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arccsch_: *mut nsStaticAtom; - #[link_name = "\x01?arcsec_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arcsec_: *mut nsStaticAtom; - #[link_name = "\x01?arcsech_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arcsech_: *mut nsStaticAtom; - #[link_name = "\x01?arcsin_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arcsin_: *mut nsStaticAtom; - #[link_name = "\x01?arcsinh_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arcsinh_: *mut nsStaticAtom; - #[link_name = "\x01?arctan_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arctan_: *mut nsStaticAtom; - #[link_name = "\x01?arctanh_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arctanh_: *mut nsStaticAtom; - #[link_name = "\x01?arg_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arg_: *mut nsStaticAtom; - #[link_name = "\x01?bevelled_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bevelled_: *mut nsStaticAtom; - #[link_name = "\x01?bind_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bind_: *mut nsStaticAtom; - #[link_name = "\x01?bvar_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_bvar_: *mut nsStaticAtom; - #[link_name = "\x01?card_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_card_: *mut nsStaticAtom; - #[link_name = "\x01?cartesianproduct_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cartesianproduct_: *mut nsStaticAtom; - #[link_name = "\x01?cbytes_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cbytes_: *mut nsStaticAtom; - #[link_name = "\x01?cd_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cd_: *mut nsStaticAtom; - #[link_name = "\x01?cdgroup_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cdgroup_: *mut nsStaticAtom; - #[link_name = "\x01?cerror_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cerror_: *mut nsStaticAtom; - #[link_name = "\x01?charalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_charalign_: *mut nsStaticAtom; - #[link_name = "\x01?ci_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ci_: *mut nsStaticAtom; - #[link_name = "\x01?closure_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_closure_: *mut nsStaticAtom; - #[link_name = "\x01?cn_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cn_: *mut nsStaticAtom; - #[link_name = "\x01?codomain_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_codomain_: *mut nsStaticAtom; - #[link_name = "\x01?columnalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnalign_: *mut nsStaticAtom; - #[link_name = "\x01?columnalignment_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnalignment_: *mut nsStaticAtom; - #[link_name = "\x01?columnlines_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnlines_: *mut nsStaticAtom; - #[link_name = "\x01?columnspacing_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnspacing_: *mut nsStaticAtom; - #[link_name = "\x01?columnspan_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnspan_: *mut nsStaticAtom; - #[link_name = "\x01?columnwidth_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnwidth_: *mut nsStaticAtom; - #[link_name = "\x01?complexes_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_complexes_: *mut nsStaticAtom; - #[link_name = "\x01?compose_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_compose_: *mut nsStaticAtom; - #[link_name = "\x01?condition_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_condition_: *mut nsStaticAtom; - #[link_name = "\x01?conjugate_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_conjugate_: *mut nsStaticAtom; - #[link_name = "\x01?cos_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cos_: *mut nsStaticAtom; - #[link_name = "\x01?cosh_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cosh_: *mut nsStaticAtom; - #[link_name = "\x01?cot_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cot_: *mut nsStaticAtom; - #[link_name = "\x01?coth_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_coth_: *mut nsStaticAtom; - #[link_name = "\x01?crossout_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_crossout_: *mut nsStaticAtom; - #[link_name = "\x01?csc_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_csc_: *mut nsStaticAtom; - #[link_name = "\x01?csch_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_csch_: *mut nsStaticAtom; - #[link_name = "\x01?cs_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cs_: *mut nsStaticAtom; - #[link_name = "\x01?csymbol_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_csymbol_: *mut nsStaticAtom; - #[link_name = "\x01?curl_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_curl_: *mut nsStaticAtom; - #[link_name = "\x01?decimalpoint_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_decimalpoint_: *mut nsStaticAtom; - #[link_name = "\x01?definitionURL_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_definitionURL_: *mut nsStaticAtom; - #[link_name = "\x01?degree_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_degree_: *mut nsStaticAtom; - #[link_name = "\x01?denomalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_denomalign_: *mut nsStaticAtom; - #[link_name = "\x01?depth_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_depth_: *mut nsStaticAtom; - #[link_name = "\x01?determinant_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_determinant_: *mut nsStaticAtom; - #[link_name = "\x01?diff_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_diff_: *mut nsStaticAtom; - #[link_name = "\x01?displaystyle_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_displaystyle_: *mut nsStaticAtom; - #[link_name = "\x01?divergence_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_divergence_: *mut nsStaticAtom; - #[link_name = "\x01?divide_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_divide_: *mut nsStaticAtom; - #[link_name = "\x01?domain_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_domain_: *mut nsStaticAtom; - #[link_name = "\x01?domainofapplication_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_domainofapplication_: *mut nsStaticAtom; - #[link_name = "\x01?edge_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_edge_: *mut nsStaticAtom; - #[link_name = "\x01?el@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_el: *mut nsStaticAtom; - #[link_name = "\x01?emptyset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_emptyset_: *mut nsStaticAtom; - #[link_name = "\x01?eq_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_eq_: *mut nsStaticAtom; - #[link_name = "\x01?equalcolumns_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_equalcolumns_: *mut nsStaticAtom; - #[link_name = "\x01?equalrows_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_equalrows_: *mut nsStaticAtom; - #[link_name = "\x01?equivalent_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_equivalent_: *mut nsStaticAtom; - #[link_name = "\x01?eulergamma_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_eulergamma_: *mut nsStaticAtom; - #[link_name = "\x01?exists_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exists_: *mut nsStaticAtom; - #[link_name = "\x01?exp_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exp_: *mut nsStaticAtom; - #[link_name = "\x01?exponentiale_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_exponentiale_: *mut nsStaticAtom; - #[link_name = "\x01?factorial_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_factorial_: *mut nsStaticAtom; - #[link_name = "\x01?factorof_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_factorof_: *mut nsStaticAtom; - #[link_name = "\x01?fence_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fence_: *mut nsStaticAtom; - #[link_name = "\x01?fn_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fn_: *mut nsStaticAtom; - #[link_name = "\x01?fontfamily_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fontfamily_: *mut nsStaticAtom; - #[link_name = "\x01?fontsize_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fontsize_: *mut nsStaticAtom; - #[link_name = "\x01?fontstyle_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fontstyle_: *mut nsStaticAtom; - #[link_name = "\x01?fontweight_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fontweight_: *mut nsStaticAtom; - #[link_name = "\x01?forall_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_forall_: *mut nsStaticAtom; - #[link_name = "\x01?framespacing_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_framespacing_: *mut nsStaticAtom; - #[link_name = "\x01?gcd_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gcd_: *mut nsStaticAtom; - #[link_name = "\x01?geq_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_geq_: *mut nsStaticAtom; - #[link_name = "\x01?groupalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_groupalign_: *mut nsStaticAtom; - #[link_name = "\x01?gt_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gt_: *mut nsStaticAtom; - #[link_name = "\x01?ident_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ident_: *mut nsStaticAtom; - #[link_name = "\x01?imaginaryi_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_imaginaryi_: *mut nsStaticAtom; - #[link_name = "\x01?imaginary_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_imaginary_: *mut nsStaticAtom; - #[link_name = "\x01?implies_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_implies_: *mut nsStaticAtom; - #[link_name = "\x01?indentalignfirst_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indentalignfirst_: *mut nsStaticAtom; - #[link_name = "\x01?indentalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indentalign_: *mut nsStaticAtom; - #[link_name = "\x01?indentalignlast_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indentalignlast_: *mut nsStaticAtom; - #[link_name = "\x01?indentshiftfirst_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indentshiftfirst_: *mut nsStaticAtom; - #[link_name = "\x01?indentshift_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indentshift_: *mut nsStaticAtom; - #[link_name = "\x01?indenttarget_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_indenttarget_: *mut nsStaticAtom; - #[link_name = "\x01?integers_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_integers_: *mut nsStaticAtom; - #[link_name = "\x01?intersect_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_intersect_: *mut nsStaticAtom; - #[link_name = "\x01?interval_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_interval_: *mut nsStaticAtom; - #[link_name = "\x01?int_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_int_: *mut nsStaticAtom; - #[link_name = "\x01?inverse_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_inverse_: *mut nsStaticAtom; - #[link_name = "\x01?lambda_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lambda_: *mut nsStaticAtom; - #[link_name = "\x01?laplacian_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_laplacian_: *mut nsStaticAtom; - #[link_name = "\x01?largeop_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_largeop_: *mut nsStaticAtom; - #[link_name = "\x01?lcm_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lcm_: *mut nsStaticAtom; - #[link_name = "\x01?leq_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_leq_: *mut nsStaticAtom; - #[link_name = "\x01?limit_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_limit_: *mut nsStaticAtom; - #[link_name = "\x01?linebreak_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linebreak_: *mut nsStaticAtom; - #[link_name = "\x01?linebreakmultchar_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linebreakmultchar_: *mut nsStaticAtom; - #[link_name = "\x01?linebreakstyle_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linebreakstyle_: *mut nsStaticAtom; - #[link_name = "\x01?linethickness_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linethickness_: *mut nsStaticAtom; - #[link_name = "\x01?list_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_list_: *mut nsStaticAtom; - #[link_name = "\x01?ln_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ln_: *mut nsStaticAtom; - #[link_name = "\x01?location_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_location_: *mut nsStaticAtom; - #[link_name = "\x01?logbase_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_logbase_: *mut nsStaticAtom; - #[link_name = "\x01?log_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_log_: *mut nsStaticAtom; - #[link_name = "\x01?longdivstyle_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_longdivstyle_: *mut nsStaticAtom; - #[link_name = "\x01?lowlimit_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lowlimit_: *mut nsStaticAtom; - #[link_name = "\x01?lquote_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lquote_: *mut nsStaticAtom; - #[link_name = "\x01?lspace_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lspace_: *mut nsStaticAtom; - #[link_name = "\x01?lt_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lt_: *mut nsStaticAtom; - #[link_name = "\x01?maction_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maction_: *mut nsStaticAtom; - #[link_name = "\x01?maligngroup_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maligngroup_: *mut nsStaticAtom; - #[link_name = "\x01?malignmark_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_malignmark_: *mut nsStaticAtom; - #[link_name = "\x01?mathbackground_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mathbackground_: *mut nsStaticAtom; - #[link_name = "\x01?mathcolor_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mathcolor_: *mut nsStaticAtom; - #[link_name = "\x01?mathsize_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mathsize_: *mut nsStaticAtom; - #[link_name = "\x01?mathvariant_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mathvariant_: *mut nsStaticAtom; - #[link_name = "\x01?matrixrow_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_matrixrow_: *mut nsStaticAtom; - #[link_name = "\x01?maxsize_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maxsize_: *mut nsStaticAtom; - #[link_name = "\x01?mean_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mean_: *mut nsStaticAtom; - #[link_name = "\x01?median_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_median_: *mut nsStaticAtom; - #[link_name = "\x01?menclose_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menclose_: *mut nsStaticAtom; - #[link_name = "\x01?merror_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_merror_: *mut nsStaticAtom; - #[link_name = "\x01?mfenced_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mfenced_: *mut nsStaticAtom; - #[link_name = "\x01?mfrac_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mfrac_: *mut nsStaticAtom; - #[link_name = "\x01?mglyph_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mglyph_: *mut nsStaticAtom; - #[link_name = "\x01?mi_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mi_: *mut nsStaticAtom; - #[link_name = "\x01?minlabelspacing_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minlabelspacing_: *mut nsStaticAtom; - #[link_name = "\x01?minsize_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minsize_: *mut nsStaticAtom; - #[link_name = "\x01?minus_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_minus_: *mut nsStaticAtom; - #[link_name = "\x01?mlabeledtr_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mlabeledtr_: *mut nsStaticAtom; - #[link_name = "\x01?mlongdiv_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mlongdiv_: *mut nsStaticAtom; - #[link_name = "\x01?mmultiscripts_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mmultiscripts_: *mut nsStaticAtom; - #[link_name = "\x01?mn_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mn_: *mut nsStaticAtom; - #[link_name = "\x01?momentabout_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_momentabout_: *mut nsStaticAtom; - #[link_name = "\x01?moment_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_moment_: *mut nsStaticAtom; - #[link_name = "\x01?mo_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mo_: *mut nsStaticAtom; - #[link_name = "\x01?movablelimits_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_movablelimits_: *mut nsStaticAtom; - #[link_name = "\x01?mover_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mover_: *mut nsStaticAtom; - #[link_name = "\x01?mpadded_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mpadded_: *mut nsStaticAtom; - #[link_name = "\x01?mphantom_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mphantom_: *mut nsStaticAtom; - #[link_name = "\x01?mprescripts_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mprescripts_: *mut nsStaticAtom; - #[link_name = "\x01?mroot_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mroot_: *mut nsStaticAtom; - #[link_name = "\x01?mrow_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mrow_: *mut nsStaticAtom; - #[link_name = "\x01?mscarries_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mscarries_: *mut nsStaticAtom; - #[link_name = "\x01?mscarry_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mscarry_: *mut nsStaticAtom; - #[link_name = "\x01?msgroup_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msgroup_: *mut nsStaticAtom; - #[link_name = "\x01?msline_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msline_: *mut nsStaticAtom; - #[link_name = "\x01?ms_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ms_: *mut nsStaticAtom; - #[link_name = "\x01?mspace_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mspace_: *mut nsStaticAtom; - #[link_name = "\x01?msqrt_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msqrt_: *mut nsStaticAtom; - #[link_name = "\x01?msrow_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msrow_: *mut nsStaticAtom; - #[link_name = "\x01?mstack_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mstack_: *mut nsStaticAtom; - #[link_name = "\x01?mstyle_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mstyle_: *mut nsStaticAtom; - #[link_name = "\x01?msub_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msub_: *mut nsStaticAtom; - #[link_name = "\x01?msubsup_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msubsup_: *mut nsStaticAtom; - #[link_name = "\x01?msup_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_msup_: *mut nsStaticAtom; - #[link_name = "\x01?mtable_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mtable_: *mut nsStaticAtom; - #[link_name = "\x01?mtd_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mtd_: *mut nsStaticAtom; - #[link_name = "\x01?mtext_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mtext_: *mut nsStaticAtom; - #[link_name = "\x01?mtr_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mtr_: *mut nsStaticAtom; - #[link_name = "\x01?munder_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_munder_: *mut nsStaticAtom; - #[link_name = "\x01?munderover_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_munderover_: *mut nsStaticAtom; - #[link_name = "\x01?naturalnumbers_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_naturalnumbers_: *mut nsStaticAtom; - #[link_name = "\x01?neq_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_neq_: *mut nsStaticAtom; - #[link_name = "\x01?notanumber_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_notanumber_: *mut nsStaticAtom; - #[link_name = "\x01?notation_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_notation_: *mut nsStaticAtom; - #[link_name = "\x01?note_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_note_: *mut nsStaticAtom; - #[link_name = "\x01?notin_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_notin_: *mut nsStaticAtom; - #[link_name = "\x01?notprsubset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_notprsubset_: *mut nsStaticAtom; - #[link_name = "\x01?notsubset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_notsubset_: *mut nsStaticAtom; - #[link_name = "\x01?numalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_numalign_: *mut nsStaticAtom; - #[link_name = "\x01?other@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_other: *mut nsStaticAtom; - #[link_name = "\x01?outerproduct_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_outerproduct_: *mut nsStaticAtom; - #[link_name = "\x01?partialdiff_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_partialdiff_: *mut nsStaticAtom; - #[link_name = "\x01?piece_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_piece_: *mut nsStaticAtom; - #[link_name = "\x01?piecewise_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_piecewise_: *mut nsStaticAtom; - #[link_name = "\x01?pi_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pi_: *mut nsStaticAtom; - #[link_name = "\x01?plus_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_plus_: *mut nsStaticAtom; - #[link_name = "\x01?power_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_power_: *mut nsStaticAtom; - #[link_name = "\x01?primes_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_primes_: *mut nsStaticAtom; - #[link_name = "\x01?product_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_product_: *mut nsStaticAtom; - #[link_name = "\x01?prsubset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_prsubset_: *mut nsStaticAtom; - #[link_name = "\x01?quotient_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_quotient_: *mut nsStaticAtom; - #[link_name = "\x01?rationals_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rationals_: *mut nsStaticAtom; - #[link_name = "\x01?real_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_real_: *mut nsStaticAtom; - #[link_name = "\x01?reals_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reals_: *mut nsStaticAtom; - #[link_name = "\x01?reln_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_reln_: *mut nsStaticAtom; - #[link_name = "\x01?root_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_root_: *mut nsStaticAtom; - #[link_name = "\x01?rowalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rowalign_: *mut nsStaticAtom; - #[link_name = "\x01?rowlines_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rowlines_: *mut nsStaticAtom; - #[link_name = "\x01?rowspacing_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rowspacing_: *mut nsStaticAtom; - #[link_name = "\x01?rquote_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rquote_: *mut nsStaticAtom; - #[link_name = "\x01?rspace_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rspace_: *mut nsStaticAtom; - #[link_name = "\x01?scalarproduct_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scalarproduct_: *mut nsStaticAtom; - #[link_name = "\x01?schemaLocation_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_schemaLocation_: *mut nsStaticAtom; - #[link_name = "\x01?scriptlevel_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scriptlevel_: *mut nsStaticAtom; - #[link_name = "\x01?scriptminsize_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scriptminsize_: *mut nsStaticAtom; - #[link_name = "\x01?scriptsizemultiplier_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scriptsizemultiplier_: *mut nsStaticAtom; - #[link_name = "\x01?scriptsize_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scriptsize_: *mut nsStaticAtom; - #[link_name = "\x01?sdev_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sdev_: *mut nsStaticAtom; - #[link_name = "\x01?sech_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sech_: *mut nsStaticAtom; - #[link_name = "\x01?sec_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sec_: *mut nsStaticAtom; - #[link_name = "\x01?selection_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_selection_: *mut nsStaticAtom; - #[link_name = "\x01?selector_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_selector_: *mut nsStaticAtom; - #[link_name = "\x01?semantics_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_semantics_: *mut nsStaticAtom; - #[link_name = "\x01?separator_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_separator_: *mut nsStaticAtom; - #[link_name = "\x01?separators_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_separators_: *mut nsStaticAtom; - #[link_name = "\x01?sep_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sep_: *mut nsStaticAtom; - #[link_name = "\x01?setdiff_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_setdiff_: *mut nsStaticAtom; - #[link_name = "\x01?share_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_share_: *mut nsStaticAtom; - #[link_name = "\x01?shift_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_shift_: *mut nsStaticAtom; - #[link_name = "\x01?side_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_side_: *mut nsStaticAtom; - #[link_name = "\x01?sinh_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sinh_: *mut nsStaticAtom; - #[link_name = "\x01?sin_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sin_: *mut nsStaticAtom; - #[link_name = "\x01?stackalign_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stackalign_: *mut nsStaticAtom; - #[link_name = "\x01?stretchy_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stretchy_: *mut nsStaticAtom; - #[link_name = "\x01?subscriptshift_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_subscriptshift_: *mut nsStaticAtom; - #[link_name = "\x01?subset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_subset_: *mut nsStaticAtom; - #[link_name = "\x01?superscriptshift_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_superscriptshift_: *mut nsStaticAtom; - #[link_name = "\x01?symmetric_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_symmetric_: *mut nsStaticAtom; - #[link_name = "\x01?tanh_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tanh_: *mut nsStaticAtom; - #[link_name = "\x01?tan_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tan_: *mut nsStaticAtom; - #[link_name = "\x01?tendsto_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tendsto_: *mut nsStaticAtom; - #[link_name = "\x01?times_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_times_: *mut nsStaticAtom; - #[link_name = "\x01?transpose_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transpose_: *mut nsStaticAtom; - #[link_name = "\x01?union_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_union_: *mut nsStaticAtom; - #[link_name = "\x01?uplimit_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_uplimit_: *mut nsStaticAtom; - #[link_name = "\x01?variance_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_variance_: *mut nsStaticAtom; - #[link_name = "\x01?vectorproduct_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vectorproduct_: *mut nsStaticAtom; - #[link_name = "\x01?vector_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_vector_: *mut nsStaticAtom; - #[link_name = "\x01?voffset_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_voffset_: *mut nsStaticAtom; - #[link_name = "\x01?xref_@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xref_: *mut nsStaticAtom; - #[link_name = "\x01?math@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_math: *mut nsStaticAtom; - #[link_name = "\x01?avg@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_avg: *mut nsStaticAtom; - #[link_name = "\x01?booleanFromString@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_booleanFromString: *mut nsStaticAtom; - #[link_name = "\x01?countNonEmpty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_countNonEmpty: *mut nsStaticAtom; - #[link_name = "\x01?daysFromDate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_daysFromDate: *mut nsStaticAtom; - #[link_name = "\x01?init@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_init: *mut nsStaticAtom; - #[link_name = "\x01?instance@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_instance: *mut nsStaticAtom; - #[link_name = "\x01?months@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_months: *mut nsStaticAtom; - #[link_name = "\x01?now@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_now: *mut nsStaticAtom; - #[link_name = "\x01?seconds@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_seconds: *mut nsStaticAtom; - #[link_name = "\x01?secondsFromDateTime@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_secondsFromDateTime: *mut nsStaticAtom; - #[link_name = "\x01?onMozSwipeGestureMayStart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozSwipeGestureMayStart: *mut nsStaticAtom; - #[link_name = "\x01?onMozSwipeGestureStart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozSwipeGestureStart: *mut nsStaticAtom; - #[link_name = "\x01?onMozSwipeGestureUpdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozSwipeGestureUpdate: *mut nsStaticAtom; - #[link_name = "\x01?onMozSwipeGestureEnd@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozSwipeGestureEnd: *mut nsStaticAtom; - #[link_name = "\x01?onMozSwipeGesture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozSwipeGesture: *mut nsStaticAtom; - #[link_name = "\x01?onMozMagnifyGestureStart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozMagnifyGestureStart: *mut nsStaticAtom; - #[link_name = "\x01?onMozMagnifyGestureUpdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozMagnifyGestureUpdate: *mut nsStaticAtom; - #[link_name = "\x01?onMozMagnifyGesture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozMagnifyGesture: *mut nsStaticAtom; - #[link_name = "\x01?onMozRotateGestureStart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozRotateGestureStart: *mut nsStaticAtom; - #[link_name = "\x01?onMozRotateGestureUpdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozRotateGestureUpdate: *mut nsStaticAtom; - #[link_name = "\x01?onMozRotateGesture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozRotateGesture: *mut nsStaticAtom; - #[link_name = "\x01?onMozTapGesture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozTapGesture: *mut nsStaticAtom; - #[link_name = "\x01?onMozPressTapGesture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozPressTapGesture: *mut nsStaticAtom; - #[link_name = "\x01?onMozEdgeUIStarted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozEdgeUIStarted: *mut nsStaticAtom; - #[link_name = "\x01?onMozEdgeUICanceled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozEdgeUICanceled: *mut nsStaticAtom; - #[link_name = "\x01?onMozEdgeUICompleted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onMozEdgeUICompleted: *mut nsStaticAtom; - #[link_name = "\x01?onpointerdown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerdown: *mut nsStaticAtom; - #[link_name = "\x01?onpointermove@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointermove: *mut nsStaticAtom; - #[link_name = "\x01?onpointerup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerup: *mut nsStaticAtom; - #[link_name = "\x01?onpointercancel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointercancel: *mut nsStaticAtom; - #[link_name = "\x01?onpointerover@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerover: *mut nsStaticAtom; - #[link_name = "\x01?onpointerout@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerout: *mut nsStaticAtom; - #[link_name = "\x01?onpointerenter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerenter: *mut nsStaticAtom; - #[link_name = "\x01?onpointerleave@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpointerleave: *mut nsStaticAtom; - #[link_name = "\x01?ongotpointercapture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongotpointercapture: *mut nsStaticAtom; - #[link_name = "\x01?onlostpointercapture@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onlostpointercapture: *mut nsStaticAtom; - #[link_name = "\x01?ondevicemotion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondevicemotion: *mut nsStaticAtom; - #[link_name = "\x01?ondeviceorientation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondeviceorientation: *mut nsStaticAtom; - #[link_name = "\x01?onabsolutedeviceorientation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onabsolutedeviceorientation: *mut nsStaticAtom; - #[link_name = "\x01?ondeviceproximity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondeviceproximity: *mut nsStaticAtom; - #[link_name = "\x01?onmozorientationchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmozorientationchange: *mut nsStaticAtom; - #[link_name = "\x01?onuserproximity@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onuserproximity: *mut nsStaticAtom; - #[link_name = "\x01?ondevicelight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondevicelight: *mut nsStaticAtom; - #[link_name = "\x01?ondevicechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondevicechange: *mut nsStaticAtom; - #[link_name = "\x01?moz_extension@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_moz_extension: *mut nsStaticAtom; - #[link_name = "\x01?all_urlsPermission@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_all_urlsPermission: *mut nsStaticAtom; - #[link_name = "\x01?clipboardRead@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clipboardRead: *mut nsStaticAtom; - #[link_name = "\x01?clipboardWrite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clipboardWrite: *mut nsStaticAtom; - #[link_name = "\x01?debugger@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_debugger: *mut nsStaticAtom; - #[link_name = "\x01?tabs@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tabs: *mut nsStaticAtom; - #[link_name = "\x01?webRequestBlocking@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_webRequestBlocking: *mut nsStaticAtom; - #[link_name = "\x01?http@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_http: *mut nsStaticAtom; - #[link_name = "\x01?https@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_https: *mut nsStaticAtom; - #[link_name = "\x01?proxy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_proxy: *mut nsStaticAtom; - #[link_name = "\x01?cdataTagName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cdataTagName: *mut nsStaticAtom; - #[link_name = "\x01?commentTagName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_commentTagName: *mut nsStaticAtom; - #[link_name = "\x01?documentNodeName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_documentNodeName: *mut nsStaticAtom; - #[link_name = "\x01?documentFragmentNodeName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_documentFragmentNodeName: *mut nsStaticAtom; - #[link_name = "\x01?documentTypeNodeName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_documentTypeNodeName: *mut nsStaticAtom; - #[link_name = "\x01?processingInstructionTagName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_processingInstructionTagName: *mut nsStaticAtom; - #[link_name = "\x01?textTagName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textTagName: *mut nsStaticAtom; - #[link_name = "\x01?placeholderFrame@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_placeholderFrame: *mut nsStaticAtom; - #[link_name = "\x01?onloadend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloadend: *mut nsStaticAtom; - #[link_name = "\x01?onloadstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloadstart: *mut nsStaticAtom; - #[link_name = "\x01?onprogress@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onprogress: *mut nsStaticAtom; - #[link_name = "\x01?onsuspend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsuspend: *mut nsStaticAtom; - #[link_name = "\x01?onemptied@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onemptied: *mut nsStaticAtom; - #[link_name = "\x01?onstalled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstalled: *mut nsStaticAtom; - #[link_name = "\x01?onplay@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onplay: *mut nsStaticAtom; - #[link_name = "\x01?onpause@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onpause: *mut nsStaticAtom; - #[link_name = "\x01?onloadedmetadata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloadedmetadata: *mut nsStaticAtom; - #[link_name = "\x01?onloadeddata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onloadeddata: *mut nsStaticAtom; - #[link_name = "\x01?onwaiting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwaiting: *mut nsStaticAtom; - #[link_name = "\x01?onplaying@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onplaying: *mut nsStaticAtom; - #[link_name = "\x01?oncanplay@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncanplay: *mut nsStaticAtom; - #[link_name = "\x01?oncanplaythrough@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncanplaythrough: *mut nsStaticAtom; - #[link_name = "\x01?onseeking@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onseeking: *mut nsStaticAtom; - #[link_name = "\x01?onseeked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onseeked: *mut nsStaticAtom; - #[link_name = "\x01?ontimeout@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontimeout: *mut nsStaticAtom; - #[link_name = "\x01?ontimeupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ontimeupdate: *mut nsStaticAtom; - #[link_name = "\x01?onended@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onended: *mut nsStaticAtom; - #[link_name = "\x01?onratechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onratechange: *mut nsStaticAtom; - #[link_name = "\x01?ondurationchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondurationchange: *mut nsStaticAtom; - #[link_name = "\x01?onvolumechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onvolumechange: *mut nsStaticAtom; - #[link_name = "\x01?onaddtrack@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onaddtrack: *mut nsStaticAtom; - #[link_name = "\x01?oncontrollerchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncontrollerchange: *mut nsStaticAtom; - #[link_name = "\x01?oncuechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_oncuechange: *mut nsStaticAtom; - #[link_name = "\x01?onenter@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onenter: *mut nsStaticAtom; - #[link_name = "\x01?onexit@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onexit: *mut nsStaticAtom; - #[link_name = "\x01?onencrypted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onencrypted: *mut nsStaticAtom; - #[link_name = "\x01?encrypted@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_encrypted: *mut nsStaticAtom; - #[link_name = "\x01?onwaitingforkey@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwaitingforkey: *mut nsStaticAtom; - #[link_name = "\x01?onkeystatuseschange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onkeystatuseschange: *mut nsStaticAtom; - #[link_name = "\x01?onremovetrack@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onremovetrack: *mut nsStaticAtom; - #[link_name = "\x01?loadstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_loadstart: *mut nsStaticAtom; - #[link_name = "\x01?suspend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_suspend: *mut nsStaticAtom; - #[link_name = "\x01?emptied@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_emptied: *mut nsStaticAtom; - #[link_name = "\x01?stalled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stalled: *mut nsStaticAtom; - #[link_name = "\x01?play@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_play: *mut nsStaticAtom; - #[link_name = "\x01?pause@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pause: *mut nsStaticAtom; - #[link_name = "\x01?loadedmetadata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_loadedmetadata: *mut nsStaticAtom; - #[link_name = "\x01?loadeddata@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_loadeddata: *mut nsStaticAtom; - #[link_name = "\x01?waiting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_waiting: *mut nsStaticAtom; - #[link_name = "\x01?playing@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_playing: *mut nsStaticAtom; - #[link_name = "\x01?seeking@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_seeking: *mut nsStaticAtom; - #[link_name = "\x01?seeked@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_seeked: *mut nsStaticAtom; - #[link_name = "\x01?timeupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_timeupdate: *mut nsStaticAtom; - #[link_name = "\x01?ended@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ended: *mut nsStaticAtom; - #[link_name = "\x01?canplay@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_canplay: *mut nsStaticAtom; - #[link_name = "\x01?canplaythrough@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_canplaythrough: *mut nsStaticAtom; - #[link_name = "\x01?ratechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ratechange: *mut nsStaticAtom; - #[link_name = "\x01?durationchange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_durationchange: *mut nsStaticAtom; - #[link_name = "\x01?volumechange@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_volumechange: *mut nsStaticAtom; - #[link_name = "\x01?ondataavailable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ondataavailable: *mut nsStaticAtom; - #[link_name = "\x01?onwarning@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onwarning: *mut nsStaticAtom; - #[link_name = "\x01?onstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstart: *mut nsStaticAtom; - #[link_name = "\x01?onstop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onstop: *mut nsStaticAtom; - #[link_name = "\x01?onphoto@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onphoto: *mut nsStaticAtom; - #[link_name = "\x01?onactivestatechanged@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onactivestatechanged: *mut nsStaticAtom; - #[link_name = "\x01?ongamepadbuttondown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongamepadbuttondown: *mut nsStaticAtom; - #[link_name = "\x01?ongamepadbuttonup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongamepadbuttonup: *mut nsStaticAtom; - #[link_name = "\x01?ongamepadaxismove@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongamepadaxismove: *mut nsStaticAtom; - #[link_name = "\x01?ongamepadconnected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongamepadconnected: *mut nsStaticAtom; - #[link_name = "\x01?ongamepaddisconnected@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ongamepaddisconnected: *mut nsStaticAtom; - #[link_name = "\x01?afterPseudoProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_afterPseudoProperty: *mut nsStaticAtom; - #[link_name = "\x01?animationsProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animationsProperty: *mut nsStaticAtom; - #[link_name = "\x01?animationsOfBeforeProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animationsOfBeforeProperty: *mut nsStaticAtom; - #[link_name = "\x01?animationsOfAfterProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animationsOfAfterProperty: *mut nsStaticAtom; - #[link_name = "\x01?animationEffectsProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animationEffectsProperty: *mut nsStaticAtom; - #[link_name = "\x01?animationEffectsForBeforeProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animationEffectsForBeforeProperty: *mut nsStaticAtom; - #[link_name = "\x01?animationEffectsForAfterProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animationEffectsForAfterProperty: *mut nsStaticAtom; - #[link_name = "\x01?beforePseudoProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_beforePseudoProperty: *mut nsStaticAtom; - #[link_name = "\x01?cssPseudoElementBeforeProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cssPseudoElementBeforeProperty: *mut nsStaticAtom; - #[link_name = "\x01?cssPseudoElementAfterProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cssPseudoElementAfterProperty: *mut nsStaticAtom; - #[link_name = "\x01?transitionsProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transitionsProperty: *mut nsStaticAtom; - #[link_name = "\x01?transitionsOfBeforeProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transitionsOfBeforeProperty: *mut nsStaticAtom; - #[link_name = "\x01?transitionsOfAfterProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_transitionsOfAfterProperty: *mut nsStaticAtom; - #[link_name = "\x01?genConInitializerProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_genConInitializerProperty: *mut nsStaticAtom; - #[link_name = "\x01?labelMouseDownPtProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_labelMouseDownPtProperty: *mut nsStaticAtom; - #[link_name = "\x01?lockedStyleStates@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lockedStyleStates: *mut nsStaticAtom; - #[link_name = "\x01?apzCallbackTransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_apzCallbackTransform: *mut nsStaticAtom; - #[link_name = "\x01?restylableAnonymousNode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_restylableAnonymousNode: *mut nsStaticAtom; - #[link_name = "\x01?docLevelNativeAnonymousContent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_docLevelNativeAnonymousContent: *mut nsStaticAtom; - #[link_name = "\x01?paintRequestTime@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_paintRequestTime: *mut nsStaticAtom; - #[link_name = "\x01?pseudoProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pseudoProperty: *mut nsStaticAtom; - #[link_name = "\x01?manualNACProperty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_manualNACProperty: *mut nsStaticAtom; - #[link_name = "\x01?Japanese@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Japanese: *mut nsStaticAtom; - #[link_name = "\x01?Chinese@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Chinese: *mut nsStaticAtom; - #[link_name = "\x01?Taiwanese@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Taiwanese: *mut nsStaticAtom; - #[link_name = "\x01?HongKongChinese@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_HongKongChinese: *mut nsStaticAtom; - #[link_name = "\x01?Unicode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Unicode: *mut nsStaticAtom; - #[link_name = "\x01?ko@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ko: *mut nsStaticAtom; - #[link_name = "\x01?zh_cn@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zh_cn: *mut nsStaticAtom; - #[link_name = "\x01?zh_hk@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zh_hk: *mut nsStaticAtom; - #[link_name = "\x01?zh_tw@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zh_tw: *mut nsStaticAtom; - #[link_name = "\x01?x_cyrillic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_cyrillic: *mut nsStaticAtom; - #[link_name = "\x01?he@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_he: *mut nsStaticAtom; - #[link_name = "\x01?ar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ar: *mut nsStaticAtom; - #[link_name = "\x01?x_devanagari@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_devanagari: *mut nsStaticAtom; - #[link_name = "\x01?x_tamil@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_tamil: *mut nsStaticAtom; - #[link_name = "\x01?x_armn@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_armn: *mut nsStaticAtom; - #[link_name = "\x01?x_beng@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_beng: *mut nsStaticAtom; - #[link_name = "\x01?x_cans@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_cans: *mut nsStaticAtom; - #[link_name = "\x01?x_ethi@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_ethi: *mut nsStaticAtom; - #[link_name = "\x01?x_geor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_geor: *mut nsStaticAtom; - #[link_name = "\x01?x_gujr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_gujr: *mut nsStaticAtom; - #[link_name = "\x01?x_guru@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_guru: *mut nsStaticAtom; - #[link_name = "\x01?x_khmr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_khmr: *mut nsStaticAtom; - #[link_name = "\x01?x_knda@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_knda: *mut nsStaticAtom; - #[link_name = "\x01?x_mlym@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_mlym: *mut nsStaticAtom; - #[link_name = "\x01?x_orya@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_orya: *mut nsStaticAtom; - #[link_name = "\x01?x_sinh@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_sinh: *mut nsStaticAtom; - #[link_name = "\x01?x_telu@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_telu: *mut nsStaticAtom; - #[link_name = "\x01?x_tibt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_tibt: *mut nsStaticAtom; - #[link_name = "\x01?az@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_az: *mut nsStaticAtom; - #[link_name = "\x01?ba@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ba: *mut nsStaticAtom; - #[link_name = "\x01?crh@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_crh: *mut nsStaticAtom; - #[link_name = "\x01?ga@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ga: *mut nsStaticAtom; - #[link_name = "\x01?nl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nl: *mut nsStaticAtom; - #[link_name = "\x01?x_math@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_x_math: *mut nsStaticAtom; - #[link_name = "\x01?TypingTxnName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_TypingTxnName: *mut nsStaticAtom; - #[link_name = "\x01?IMETxnName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_IMETxnName: *mut nsStaticAtom; - #[link_name = "\x01?DeleteTxnName@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DeleteTxnName: *mut nsStaticAtom; - #[link_name = "\x01?serif@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_serif: *mut nsStaticAtom; - #[link_name = "\x01?sans_serif@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_sans_serif: *mut nsStaticAtom; - #[link_name = "\x01?cursive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cursive: *mut nsStaticAtom; - #[link_name = "\x01?fantasy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fantasy: *mut nsStaticAtom; - #[link_name = "\x01?monospace@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_monospace: *mut nsStaticAtom; - #[link_name = "\x01?mozfixed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mozfixed: *mut nsStaticAtom; - #[link_name = "\x01?RemoteId@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_RemoteId: *mut nsStaticAtom; - #[link_name = "\x01?RemoteType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_RemoteType: *mut nsStaticAtom; - #[link_name = "\x01?DisplayPort@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DisplayPort: *mut nsStaticAtom; - #[link_name = "\x01?DisplayPortMargins@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DisplayPortMargins: *mut nsStaticAtom; - #[link_name = "\x01?DisplayPortBase@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_DisplayPortBase: *mut nsStaticAtom; - #[link_name = "\x01?AsyncScrollLayerCreationFailed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_AsyncScrollLayerCreationFailed: *mut nsStaticAtom; - #[link_name = "\x01?forcemessagemanager@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_forcemessagemanager: *mut nsStaticAtom; - #[link_name = "\x01?preloadedState@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preloadedState: *mut nsStaticAtom; - #[link_name = "\x01?scrollbar_start_backward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbar_start_backward: *mut nsStaticAtom; - #[link_name = "\x01?scrollbar_start_forward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbar_start_forward: *mut nsStaticAtom; - #[link_name = "\x01?scrollbar_end_backward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbar_end_backward: *mut nsStaticAtom; - #[link_name = "\x01?scrollbar_end_forward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbar_end_forward: *mut nsStaticAtom; - #[link_name = "\x01?scrollbar_thumb_proportional@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbar_thumb_proportional: *mut nsStaticAtom; - #[link_name = "\x01?overlay_scrollbars@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overlay_scrollbars: *mut nsStaticAtom; - #[link_name = "\x01?windows_accent_color_in_titlebar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_accent_color_in_titlebar: *mut nsStaticAtom; - #[link_name = "\x01?windows_default_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_default_theme: *mut nsStaticAtom; - #[link_name = "\x01?mac_graphite_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mac_graphite_theme: *mut nsStaticAtom; - #[link_name = "\x01?mac_yosemite_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mac_yosemite_theme: *mut nsStaticAtom; - #[link_name = "\x01?windows_compositor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_compositor: *mut nsStaticAtom; - #[link_name = "\x01?windows_glass@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_glass: *mut nsStaticAtom; - #[link_name = "\x01?touch_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_touch_enabled: *mut nsStaticAtom; - #[link_name = "\x01?menubar_drag@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menubar_drag: *mut nsStaticAtom; - #[link_name = "\x01?swipe_animation_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_swipe_animation_enabled: *mut nsStaticAtom; - #[link_name = "\x01?gtk_csd_available@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gtk_csd_available: *mut nsStaticAtom; - #[link_name = "\x01?gtk_csd_minimize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gtk_csd_minimize_button: *mut nsStaticAtom; - #[link_name = "\x01?gtk_csd_maximize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gtk_csd_maximize_button: *mut nsStaticAtom; - #[link_name = "\x01?gtk_csd_close_button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gtk_csd_close_button: *mut nsStaticAtom; - #[link_name = "\x01?windows_classic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_classic: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_aero@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_aero: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_aero_lite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_aero_lite: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_luna_blue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_luna_blue: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_luna_olive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_luna_olive: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_luna_silver@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_luna_silver: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_royale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_royale: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_zune@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_zune: *mut nsStaticAtom; - #[link_name = "\x01?windows_theme_generic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_theme_generic: *mut nsStaticAtom; - #[link_name = "\x01?aero@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aero: *mut nsStaticAtom; - #[link_name = "\x01?aero_lite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aero_lite: *mut nsStaticAtom; - #[link_name = "\x01?luna_blue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_luna_blue: *mut nsStaticAtom; - #[link_name = "\x01?luna_olive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_luna_olive: *mut nsStaticAtom; - #[link_name = "\x01?luna_silver@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_luna_silver: *mut nsStaticAtom; - #[link_name = "\x01?royale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_royale: *mut nsStaticAtom; - #[link_name = "\x01?zune@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zune: *mut nsStaticAtom; - #[link_name = "\x01?windows_win7@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_win7: *mut nsStaticAtom; - #[link_name = "\x01?windows_win8@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_win8: *mut nsStaticAtom; - #[link_name = "\x01?windows_win10@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_windows_win10: *mut nsStaticAtom; - #[link_name = "\x01?_moz_scrollbar_start_backward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_scrollbar_start_backward: *mut nsStaticAtom; - #[link_name = "\x01?_moz_scrollbar_start_forward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_scrollbar_start_forward: *mut nsStaticAtom; - #[link_name = "\x01?_moz_scrollbar_end_backward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_scrollbar_end_backward: *mut nsStaticAtom; - #[link_name = "\x01?_moz_scrollbar_end_forward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_scrollbar_end_forward: *mut nsStaticAtom; - #[link_name = "\x01?_moz_scrollbar_thumb_proportional@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_scrollbar_thumb_proportional: *mut nsStaticAtom; - #[link_name = "\x01?_moz_overlay_scrollbars@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_overlay_scrollbars: *mut nsStaticAtom; - #[link_name = "\x01?_moz_windows_accent_color_in_titlebar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_windows_accent_color_in_titlebar: *mut nsStaticAtom; - #[link_name = "\x01?_moz_windows_default_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_windows_default_theme: *mut nsStaticAtom; - #[link_name = "\x01?_moz_mac_graphite_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_mac_graphite_theme: *mut nsStaticAtom; - #[link_name = "\x01?_moz_mac_yosemite_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_mac_yosemite_theme: *mut nsStaticAtom; - #[link_name = "\x01?_moz_windows_compositor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_windows_compositor: *mut nsStaticAtom; - #[link_name = "\x01?_moz_windows_classic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_windows_classic: *mut nsStaticAtom; - #[link_name = "\x01?_moz_windows_glass@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_windows_glass: *mut nsStaticAtom; - #[link_name = "\x01?_moz_windows_theme@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_windows_theme: *mut nsStaticAtom; - #[link_name = "\x01?_moz_os_version@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_os_version: *mut nsStaticAtom; - #[link_name = "\x01?_moz_touch_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_touch_enabled: *mut nsStaticAtom; - #[link_name = "\x01?_moz_menubar_drag@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_menubar_drag: *mut nsStaticAtom; - #[link_name = "\x01?_moz_device_pixel_ratio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_device_pixel_ratio: *mut nsStaticAtom; - #[link_name = "\x01?_moz_device_orientation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_device_orientation: *mut nsStaticAtom; - #[link_name = "\x01?_moz_is_resource_document@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_is_resource_document: *mut nsStaticAtom; - #[link_name = "\x01?_moz_swipe_animation_enabled@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_swipe_animation_enabled: *mut nsStaticAtom; - #[link_name = "\x01?_moz_gtk_csd_available@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_gtk_csd_available: *mut nsStaticAtom; - #[link_name = "\x01?_moz_gtk_csd_minimize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_gtk_csd_minimize_button: *mut nsStaticAtom; - #[link_name = "\x01?_moz_gtk_csd_maximize_button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_gtk_csd_maximize_button: *mut nsStaticAtom; - #[link_name = "\x01?_moz_gtk_csd_close_button@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__moz_gtk_csd_close_button: *mut nsStaticAtom; - #[link_name = "\x01?Back@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Back: *mut nsStaticAtom; - #[link_name = "\x01?Forward@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Forward: *mut nsStaticAtom; - #[link_name = "\x01?Reload@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Reload: *mut nsStaticAtom; - #[link_name = "\x01?Stop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Stop: *mut nsStaticAtom; - #[link_name = "\x01?Search@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Search: *mut nsStaticAtom; - #[link_name = "\x01?Bookmarks@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Bookmarks: *mut nsStaticAtom; - #[link_name = "\x01?Home@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Home: *mut nsStaticAtom; - #[link_name = "\x01?Clear@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Clear: *mut nsStaticAtom; - #[link_name = "\x01?VolumeUp@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_VolumeUp: *mut nsStaticAtom; - #[link_name = "\x01?VolumeDown@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_VolumeDown: *mut nsStaticAtom; - #[link_name = "\x01?NextTrack@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_NextTrack: *mut nsStaticAtom; - #[link_name = "\x01?PreviousTrack@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_PreviousTrack: *mut nsStaticAtom; - #[link_name = "\x01?MediaStop@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_MediaStop: *mut nsStaticAtom; - #[link_name = "\x01?PlayPause@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_PlayPause: *mut nsStaticAtom; - #[link_name = "\x01?Menu@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Menu: *mut nsStaticAtom; - #[link_name = "\x01?New@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_New: *mut nsStaticAtom; - #[link_name = "\x01?Open@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Open: *mut nsStaticAtom; - #[link_name = "\x01?Close@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Close: *mut nsStaticAtom; - #[link_name = "\x01?Save@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Save: *mut nsStaticAtom; - #[link_name = "\x01?Find@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Find: *mut nsStaticAtom; - #[link_name = "\x01?Help@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Help: *mut nsStaticAtom; - #[link_name = "\x01?Print@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Print: *mut nsStaticAtom; - #[link_name = "\x01?SendMail@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_SendMail: *mut nsStaticAtom; - #[link_name = "\x01?ForwardMail@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ForwardMail: *mut nsStaticAtom; - #[link_name = "\x01?ReplyToMail@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ReplyToMail: *mut nsStaticAtom; - #[link_name = "\x01?mouseWheel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_mouseWheel: *mut nsStaticAtom; - #[link_name = "\x01?pixels@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pixels: *mut nsStaticAtom; - #[link_name = "\x01?lines@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lines: *mut nsStaticAtom; - #[link_name = "\x01?pages@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pages: *mut nsStaticAtom; - #[link_name = "\x01?scrollbars@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_scrollbars: *mut nsStaticAtom; - #[link_name = "\x01?apz@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_apz: *mut nsStaticAtom; - #[link_name = "\x01?restore@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_restore: *mut nsStaticAtom; - #[link_name = "\x01?alert@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alert: *mut nsStaticAtom; - #[link_name = "\x01?alertdialog@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alertdialog: *mut nsStaticAtom; - #[link_name = "\x01?application@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_application: *mut nsStaticAtom; - #[link_name = "\x01?aria_colcount@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_colcount: *mut nsStaticAtom; - #[link_name = "\x01?aria_colindex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_colindex: *mut nsStaticAtom; - #[link_name = "\x01?aria_details@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_details: *mut nsStaticAtom; - #[link_name = "\x01?aria_errormessage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_errormessage: *mut nsStaticAtom; - #[link_name = "\x01?aria_grabbed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_grabbed: *mut nsStaticAtom; - #[link_name = "\x01?aria_label@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_label: *mut nsStaticAtom; - #[link_name = "\x01?aria_modal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_modal: *mut nsStaticAtom; - #[link_name = "\x01?aria_orientation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_orientation: *mut nsStaticAtom; - #[link_name = "\x01?aria_rowcount@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_rowcount: *mut nsStaticAtom; - #[link_name = "\x01?aria_rowindex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_rowindex: *mut nsStaticAtom; - #[link_name = "\x01?aria_valuetext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_valuetext: *mut nsStaticAtom; - #[link_name = "\x01?auto_generated@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_auto_generated: *mut nsStaticAtom; - #[link_name = "\x01?banner@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_banner: *mut nsStaticAtom; - #[link_name = "\x01?checkable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_checkable: *mut nsStaticAtom; - #[link_name = "\x01?choices@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_choices: *mut nsStaticAtom; - #[link_name = "\x01?columnheader@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_columnheader: *mut nsStaticAtom; - #[link_name = "\x01?complementary@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_complementary: *mut nsStaticAtom; - #[link_name = "\x01?containerAtomic@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_containerAtomic: *mut nsStaticAtom; - #[link_name = "\x01?containerBusy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_containerBusy: *mut nsStaticAtom; - #[link_name = "\x01?containerLive@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_containerLive: *mut nsStaticAtom; - #[link_name = "\x01?containerLiveRole@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_containerLiveRole: *mut nsStaticAtom; - #[link_name = "\x01?containerRelevant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_containerRelevant: *mut nsStaticAtom; - #[link_name = "\x01?contentinfo@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_contentinfo: *mut nsStaticAtom; - #[link_name = "\x01?cycles@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_cycles: *mut nsStaticAtom; - #[link_name = "\x01?datatable@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_datatable: *mut nsStaticAtom; - #[link_name = "\x01?eventFromInput@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_eventFromInput: *mut nsStaticAtom; - #[link_name = "\x01?feed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feed: *mut nsStaticAtom; - #[link_name = "\x01?grammar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_grammar: *mut nsStaticAtom; - #[link_name = "\x01?gridcell@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gridcell: *mut nsStaticAtom; - #[link_name = "\x01?heading@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_heading: *mut nsStaticAtom; - #[link_name = "\x01?hitregion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_hitregion: *mut nsStaticAtom; - #[link_name = "\x01?inlinevalue@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_inlinevalue: *mut nsStaticAtom; - #[link_name = "\x01?invalid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_invalid: *mut nsStaticAtom; - #[link_name = "\x01?item@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_item: *mut nsStaticAtom; - #[link_name = "\x01?itemset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_itemset: *mut nsStaticAtom; - #[link_name = "\x01?lineNumber@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lineNumber: *mut nsStaticAtom; - #[link_name = "\x01?linkedPanel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_linkedPanel: *mut nsStaticAtom; - #[link_name = "\x01?live@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_live: *mut nsStaticAtom; - #[link_name = "\x01?menuitemcheckbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menuitemcheckbox: *mut nsStaticAtom; - #[link_name = "\x01?menuitemradio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_menuitemradio: *mut nsStaticAtom; - #[link_name = "\x01?multiline@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_multiline: *mut nsStaticAtom; - #[link_name = "\x01?navigation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_navigation: *mut nsStaticAtom; - #[link_name = "\x01?polite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_polite: *mut nsStaticAtom; - #[link_name = "\x01?posinset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_posinset: *mut nsStaticAtom; - #[link_name = "\x01?presentation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_presentation: *mut nsStaticAtom; - #[link_name = "\x01?progressbar@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_progressbar: *mut nsStaticAtom; - #[link_name = "\x01?region@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_region: *mut nsStaticAtom; - #[link_name = "\x01?rowgroup@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rowgroup: *mut nsStaticAtom; - #[link_name = "\x01?rowheader@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rowheader: *mut nsStaticAtom; - #[link_name = "\x01?search@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_search: *mut nsStaticAtom; - #[link_name = "\x01?searchbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_searchbox: *mut nsStaticAtom; - #[link_name = "\x01?select1@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_select1: *mut nsStaticAtom; - #[link_name = "\x01?setsize@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_setsize: *mut nsStaticAtom; - #[link_name = "\x01?spelling@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spelling: *mut nsStaticAtom; - #[link_name = "\x01?spinbutton@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spinbutton: *mut nsStaticAtom; - #[link_name = "\x01?status@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_status: *mut nsStaticAtom; - #[link_name = "\x01?tableCellIndex@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tableCellIndex: *mut nsStaticAtom; - #[link_name = "\x01?tablist@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tablist: *mut nsStaticAtom; - #[link_name = "\x01?textIndent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textIndent: *mut nsStaticAtom; - #[link_name = "\x01?textInputType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textInputType: *mut nsStaticAtom; - #[link_name = "\x01?textLineThroughColor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textLineThroughColor: *mut nsStaticAtom; - #[link_name = "\x01?textLineThroughStyle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textLineThroughStyle: *mut nsStaticAtom; - #[link_name = "\x01?textPosition@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textPosition: *mut nsStaticAtom; - #[link_name = "\x01?textUnderlineColor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textUnderlineColor: *mut nsStaticAtom; - #[link_name = "\x01?textUnderlineStyle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textUnderlineStyle: *mut nsStaticAtom; - #[link_name = "\x01?timer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_timer: *mut nsStaticAtom; - #[link_name = "\x01?toolbarname@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbarname: *mut nsStaticAtom; - #[link_name = "\x01?toolbarseparator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbarseparator: *mut nsStaticAtom; - #[link_name = "\x01?toolbarspacer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbarspacer: *mut nsStaticAtom; - #[link_name = "\x01?toolbarspring@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_toolbarspring: *mut nsStaticAtom; - #[link_name = "\x01?treegrid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_treegrid: *mut nsStaticAtom; - #[link_name = "\x01?_undefined@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms__undefined: *mut nsStaticAtom; - #[link_name = "\x01?xmlroles@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xmlroles: *mut nsStaticAtom; - #[link_name = "\x01?close_fence@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_close_fence: *mut nsStaticAtom; - #[link_name = "\x01?denominator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_denominator: *mut nsStaticAtom; - #[link_name = "\x01?numerator@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_numerator: *mut nsStaticAtom; - #[link_name = "\x01?open_fence@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_open_fence: *mut nsStaticAtom; - #[link_name = "\x01?overscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_overscript: *mut nsStaticAtom; - #[link_name = "\x01?presubscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_presubscript: *mut nsStaticAtom; - #[link_name = "\x01?presuperscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_presuperscript: *mut nsStaticAtom; - #[link_name = "\x01?root_index@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_root_index: *mut nsStaticAtom; - #[link_name = "\x01?subscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_subscript: *mut nsStaticAtom; - #[link_name = "\x01?superscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_superscript: *mut nsStaticAtom; - #[link_name = "\x01?underscript@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_underscript: *mut nsStaticAtom; - #[link_name = "\x01?onaudiostart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onaudiostart: *mut nsStaticAtom; - #[link_name = "\x01?onaudioend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onaudioend: *mut nsStaticAtom; - #[link_name = "\x01?onsoundstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsoundstart: *mut nsStaticAtom; - #[link_name = "\x01?onsoundend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsoundend: *mut nsStaticAtom; - #[link_name = "\x01?onspeechstart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onspeechstart: *mut nsStaticAtom; - #[link_name = "\x01?onspeechend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onspeechend: *mut nsStaticAtom; - #[link_name = "\x01?onresult@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onresult: *mut nsStaticAtom; - #[link_name = "\x01?onnomatch@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onnomatch: *mut nsStaticAtom; - #[link_name = "\x01?onresume@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onresume: *mut nsStaticAtom; - #[link_name = "\x01?onmark@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmark: *mut nsStaticAtom; - #[link_name = "\x01?onboundary@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onboundary: *mut nsStaticAtom; - #[link_name = "\x01?usercontextid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_usercontextid: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xmlns@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xmlns: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xml@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xml: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xhtml@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xhtml: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xlink@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xlink: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xslt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xslt: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xbl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xbl: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_mathml@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_mathml: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_rdf@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_rdf: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_xul@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_xul: *mut nsStaticAtom; - #[link_name = "\x01?nsuri_svg@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nsuri_svg: *mut nsStaticAtom; - #[link_name = "\x01?onsourceopen@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsourceopen: *mut nsStaticAtom; - #[link_name = "\x01?onsourceended@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsourceended: *mut nsStaticAtom; - #[link_name = "\x01?onsourceclosed@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onsourceclosed: *mut nsStaticAtom; - #[link_name = "\x01?onupdatestart@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onupdatestart: *mut nsStaticAtom; - #[link_name = "\x01?onupdate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onupdate: *mut nsStaticAtom; - #[link_name = "\x01?onupdateend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onupdateend: *mut nsStaticAtom; - #[link_name = "\x01?onaddsourcebuffer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onaddsourcebuffer: *mut nsStaticAtom; - #[link_name = "\x01?onremovesourcebuffer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onremovesourcebuffer: *mut nsStaticAtom; - #[link_name = "\x01?about@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_about: *mut nsStaticAtom; - #[link_name = "\x01?ID@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ID: *mut nsStaticAtom; - #[link_name = "\x01?nodeID@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_nodeID: *mut nsStaticAtom; - #[link_name = "\x01?aboutEach@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aboutEach: *mut nsStaticAtom; - #[link_name = "\x01?resource@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_resource: *mut nsStaticAtom; - #[link_name = "\x01?RDF@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_RDF: *mut nsStaticAtom; - #[link_name = "\x01?Description@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Description: *mut nsStaticAtom; - #[link_name = "\x01?Bag@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Bag: *mut nsStaticAtom; - #[link_name = "\x01?Seq@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Seq: *mut nsStaticAtom; - #[link_name = "\x01?Alt@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_Alt: *mut nsStaticAtom; - #[link_name = "\x01?parseType@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_parseType: *mut nsStaticAtom; - #[link_name = "\x01?xlink@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink: *mut nsStaticAtom; - #[link_name = "\x01?xml_space@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xml_space: *mut nsStaticAtom; - #[link_name = "\x01?xml_lang@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xml_lang: *mut nsStaticAtom; - #[link_name = "\x01?xml_base@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xml_base: *mut nsStaticAtom; - #[link_name = "\x01?aria_grab@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_grab: *mut nsStaticAtom; - #[link_name = "\x01?aria_channel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_channel: *mut nsStaticAtom; - #[link_name = "\x01?aria_secret@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_secret: *mut nsStaticAtom; - #[link_name = "\x01?aria_templateid@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_templateid: *mut nsStaticAtom; - #[link_name = "\x01?aria_datatype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_aria_datatype: *mut nsStaticAtom; - #[link_name = "\x01?local@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_local: *mut nsStaticAtom; - #[link_name = "\x01?xchannelselector@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xchannelselector: *mut nsStaticAtom; - #[link_name = "\x01?ychannelselector@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_ychannelselector: *mut nsStaticAtom; - #[link_name = "\x01?enable_background@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_enable_background: *mut nsStaticAtom; - #[link_name = "\x01?calcmode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_calcmode: *mut nsStaticAtom; - #[link_name = "\x01?specularexponent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_specularexponent: *mut nsStaticAtom; - #[link_name = "\x01?specularconstant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_specularconstant: *mut nsStaticAtom; - #[link_name = "\x01?gradienttransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gradienttransform: *mut nsStaticAtom; - #[link_name = "\x01?gradientunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_gradientunits: *mut nsStaticAtom; - #[link_name = "\x01?rendering_intent@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_rendering_intent: *mut nsStaticAtom; - #[link_name = "\x01?stddeviation@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stddeviation: *mut nsStaticAtom; - #[link_name = "\x01?basefrequency@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_basefrequency: *mut nsStaticAtom; - #[link_name = "\x01?baseprofile@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_baseprofile: *mut nsStaticAtom; - #[link_name = "\x01?baseProfile@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_baseProfile: *mut nsStaticAtom; - #[link_name = "\x01?edgemode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_edgemode: *mut nsStaticAtom; - #[link_name = "\x01?repeatcount@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_repeatcount: *mut nsStaticAtom; - #[link_name = "\x01?repeatdur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_repeatdur: *mut nsStaticAtom; - #[link_name = "\x01?spreadmethod@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_spreadmethod: *mut nsStaticAtom; - #[link_name = "\x01?diffuseconstant@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_diffuseconstant: *mut nsStaticAtom; - #[link_name = "\x01?surfacescale@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_surfacescale: *mut nsStaticAtom; - #[link_name = "\x01?lengthadjust@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lengthadjust: *mut nsStaticAtom; - #[link_name = "\x01?origin@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_origin: *mut nsStaticAtom; - #[link_name = "\x01?targetx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_targetx: *mut nsStaticAtom; - #[link_name = "\x01?targety@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_targety: *mut nsStaticAtom; - #[link_name = "\x01?pathlength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pathlength: *mut nsStaticAtom; - #[link_name = "\x01?definitionurl@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_definitionurl: *mut nsStaticAtom; - #[link_name = "\x01?limitingconeangle@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_limitingconeangle: *mut nsStaticAtom; - #[link_name = "\x01?markerheight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_markerheight: *mut nsStaticAtom; - #[link_name = "\x01?markerwidth@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_markerwidth: *mut nsStaticAtom; - #[link_name = "\x01?maskunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maskunits: *mut nsStaticAtom; - #[link_name = "\x01?markerunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_markerunits: *mut nsStaticAtom; - #[link_name = "\x01?maskcontentunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_maskcontentunits: *mut nsStaticAtom; - #[link_name = "\x01?tablevalues@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_tablevalues: *mut nsStaticAtom; - #[link_name = "\x01?primitiveunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_primitiveunits: *mut nsStaticAtom; - #[link_name = "\x01?zoomandpan@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_zoomandpan: *mut nsStaticAtom; - #[link_name = "\x01?kernelmatrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kernelmatrix: *mut nsStaticAtom; - #[link_name = "\x01?kerning@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kerning: *mut nsStaticAtom; - #[link_name = "\x01?kernelunitlength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_kernelunitlength: *mut nsStaticAtom; - #[link_name = "\x01?pointsatx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointsatx: *mut nsStaticAtom; - #[link_name = "\x01?pointsaty@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointsaty: *mut nsStaticAtom; - #[link_name = "\x01?pointsatz@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_pointsatz: *mut nsStaticAtom; - #[link_name = "\x01?xlink_href@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_href: *mut nsStaticAtom; - #[link_name = "\x01?xlink_title@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_title: *mut nsStaticAtom; - #[link_name = "\x01?xlink_role@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_role: *mut nsStaticAtom; - #[link_name = "\x01?xlink_arcrole@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_arcrole: *mut nsStaticAtom; - #[link_name = "\x01?arcrole@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_arcrole: *mut nsStaticAtom; - #[link_name = "\x01?xmlns_xlink@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xmlns_xlink: *mut nsStaticAtom; - #[link_name = "\x01?xlink_type@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_type: *mut nsStaticAtom; - #[link_name = "\x01?xlink_show@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_show: *mut nsStaticAtom; - #[link_name = "\x01?xlink_actuate@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_xlink_actuate: *mut nsStaticAtom; - #[link_name = "\x01?color_rendering@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_color_rendering: *mut nsStaticAtom; - #[link_name = "\x01?numoctaves@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_numoctaves: *mut nsStaticAtom; - #[link_name = "\x01?onmousewheel@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_onmousewheel: *mut nsStaticAtom; - #[link_name = "\x01?clippathunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clippathunits: *mut nsStaticAtom; - #[link_name = "\x01?glyph_orientation_vertical@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_glyph_orientation_vertical: *mut nsStaticAtom; - #[link_name = "\x01?glyph_orientation_horizontal@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_glyph_orientation_horizontal: *mut nsStaticAtom; - #[link_name = "\x01?glyphref@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_glyphref: *mut nsStaticAtom; - #[link_name = "\x01?keypoints@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keypoints: *mut nsStaticAtom; - #[link_name = "\x01?attributename@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attributename: *mut nsStaticAtom; - #[link_name = "\x01?attributetype@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_attributetype: *mut nsStaticAtom; - #[link_name = "\x01?startoffset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_startoffset: *mut nsStaticAtom; - #[link_name = "\x01?keysplines@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keysplines: *mut nsStaticAtom; - #[link_name = "\x01?preservealpha@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preservealpha: *mut nsStaticAtom; - #[link_name = "\x01?preserveaspectratio@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_preserveaspectratio: *mut nsStaticAtom; - #[link_name = "\x01?alttext@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_alttext: *mut nsStaticAtom; - #[link_name = "\x01?filterunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_filterunits: *mut nsStaticAtom; - #[link_name = "\x01?keytimes@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_keytimes: *mut nsStaticAtom; - #[link_name = "\x01?patterntransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patterntransform: *mut nsStaticAtom; - #[link_name = "\x01?patternunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patternunits: *mut nsStaticAtom; - #[link_name = "\x01?patterncontentunits@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_patterncontentunits: *mut nsStaticAtom; - #[link_name = "\x01?stitchtiles@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_stitchtiles: *mut nsStaticAtom; - #[link_name = "\x01?systemlanguage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_systemlanguage: *mut nsStaticAtom; - #[link_name = "\x01?textlength@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textlength: *mut nsStaticAtom; - #[link_name = "\x01?requiredfeatures@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_requiredfeatures: *mut nsStaticAtom; - #[link_name = "\x01?requiredextensions@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_requiredextensions: *mut nsStaticAtom; - #[link_name = "\x01?viewtarget@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewtarget: *mut nsStaticAtom; - #[link_name = "\x01?viewbox@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_viewbox: *mut nsStaticAtom; - #[link_name = "\x01?refx@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_refx: *mut nsStaticAtom; - #[link_name = "\x01?refy@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_refy: *mut nsStaticAtom; - #[link_name = "\x01?fefunca@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fefunca: *mut nsStaticAtom; - #[link_name = "\x01?fefuncb@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fefuncb: *mut nsStaticAtom; - #[link_name = "\x01?feblend@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feblend: *mut nsStaticAtom; - #[link_name = "\x01?feflood@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feflood: *mut nsStaticAtom; - #[link_name = "\x01?feturbulence@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feturbulence: *mut nsStaticAtom; - #[link_name = "\x01?femergenode@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_femergenode: *mut nsStaticAtom; - #[link_name = "\x01?feimage@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feimage: *mut nsStaticAtom; - #[link_name = "\x01?femerge@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_femerge: *mut nsStaticAtom; - #[link_name = "\x01?fetile@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fetile: *mut nsStaticAtom; - #[link_name = "\x01?fecomposite@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fecomposite: *mut nsStaticAtom; - #[link_name = "\x01?altglyphdef@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altglyphdef: *mut nsStaticAtom; - #[link_name = "\x01?altGlyphDef@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altGlyphDef: *mut nsStaticAtom; - #[link_name = "\x01?fefuncg@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fefuncg: *mut nsStaticAtom; - #[link_name = "\x01?fediffuselighting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fediffuselighting: *mut nsStaticAtom; - #[link_name = "\x01?fespecularlighting@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fespecularlighting: *mut nsStaticAtom; - #[link_name = "\x01?altglyph@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altglyph: *mut nsStaticAtom; - #[link_name = "\x01?altGlyph@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altGlyph: *mut nsStaticAtom; - #[link_name = "\x01?clippath@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_clippath: *mut nsStaticAtom; - #[link_name = "\x01?textpath@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_textpath: *mut nsStaticAtom; - #[link_name = "\x01?altglyphitem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altglyphitem: *mut nsStaticAtom; - #[link_name = "\x01?altGlyphItem@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_altGlyphItem: *mut nsStaticAtom; - #[link_name = "\x01?animatetransform@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animatetransform: *mut nsStaticAtom; - #[link_name = "\x01?animatemotion@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animatemotion: *mut nsStaticAtom; - #[link_name = "\x01?fedisplacementmap@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fedisplacementmap: *mut nsStaticAtom; - #[link_name = "\x01?animatecolor@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_animatecolor: *mut nsStaticAtom; - #[link_name = "\x01?fefuncr@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fefuncr: *mut nsStaticAtom; - #[link_name = "\x01?fecomponenttransfer@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fecomponenttransfer: *mut nsStaticAtom; - #[link_name = "\x01?fegaussianblur@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fegaussianblur: *mut nsStaticAtom; - #[link_name = "\x01?foreignobject@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_foreignobject: *mut nsStaticAtom; - #[link_name = "\x01?feoffset@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feoffset: *mut nsStaticAtom; - #[link_name = "\x01?fespotlight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fespotlight: *mut nsStaticAtom; - #[link_name = "\x01?fepointlight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fepointlight: *mut nsStaticAtom; - #[link_name = "\x01?fedistantlight@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fedistantlight: *mut nsStaticAtom; - #[link_name = "\x01?lineargradient@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_lineargradient: *mut nsStaticAtom; - #[link_name = "\x01?radialgradient@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_radialgradient: *mut nsStaticAtom; - #[link_name = "\x01?fedropshadow@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fedropshadow: *mut nsStaticAtom; - #[link_name = "\x01?fecolormatrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_fecolormatrix: *mut nsStaticAtom; - #[link_name = "\x01?feconvolvematrix@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_feconvolvematrix: *mut nsStaticAtom; - #[link_name = "\x01?femorphology@nsGkAtoms@@2PAVnsStaticAtom@@A"] - pub static nsGkAtoms_femorphology: *mut nsStaticAtom; - #[link_name = "\x01?after@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_after: *mut nsICSSPseudoElement; - #[link_name = "\x01?before@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_before: *mut nsICSSPseudoElement; - #[link_name = "\x01?backdrop@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_backdrop: *mut nsICSSPseudoElement; - #[link_name = "\x01?cue@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_cue: *mut nsICSSPseudoElement; - #[link_name = "\x01?firstLetter@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_firstLetter: *mut nsICSSPseudoElement; - #[link_name = "\x01?firstLine@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_firstLine: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozSelection@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozSelection: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozFocusInner@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozFocusInner: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozFocusOuter@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozFocusOuter: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozListBullet@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozListBullet: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozListNumber@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozListNumber: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozMathAnonymous@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozMathAnonymous: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozNumberWrapper@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozNumberWrapper: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozNumberText@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozNumberText: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozNumberSpinBox@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozNumberSpinBox: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozNumberSpinUp@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozNumberSpinUp: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozNumberSpinDown@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozNumberSpinDown: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozProgressBar@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozProgressBar: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozRangeTrack@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozRangeTrack: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozRangeProgress@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozRangeProgress: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozRangeThumb@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozRangeThumb: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozMeterBar@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozMeterBar: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozPlaceholder@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozPlaceholder: *mut nsICSSPseudoElement; - #[link_name = "\x01?placeholder@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_placeholder: *mut nsICSSPseudoElement; - #[link_name = "\x01?mozColorSwatch@nsCSSPseudoElements@@2PAVnsICSSPseudoElement@@A"] - pub static nsCSSPseudoElements_mozColorSwatch: *mut nsICSSPseudoElement; - #[link_name = "\x01?oofPlaceholder@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_oofPlaceholder: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?horizontalFramesetBorder@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_horizontalFramesetBorder: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?verticalFramesetBorder@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_verticalFramesetBorder: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?framesetBlank@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_framesetBlank: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?tableColGroup@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_tableColGroup: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?tableCol@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_tableCol: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?pageBreak@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_pageBreak: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozText@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozText: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?firstLetterContinuation@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_firstLetterContinuation: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozBlockInsideInlineWrapper@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozBlockInsideInlineWrapper: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozMathMLAnonymousBlock@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozMathMLAnonymousBlock: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozXULAnonymousBlock@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozXULAnonymousBlock: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozLineFrame@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozLineFrame: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?buttonContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_buttonContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?cellContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_cellContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?dropDownList@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_dropDownList: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?fieldsetContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_fieldsetContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozDisplayComboboxControlFrame@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozDisplayComboboxControlFrame: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?htmlCanvasContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_htmlCanvasContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?inlineTable@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_inlineTable: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?table@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_table: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?tableCell@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_tableCell: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?tableWrapper@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_tableWrapper: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?tableRowGroup@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_tableRowGroup: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?tableRow@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_tableRow: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?canvas@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_canvas: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?page@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_page: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?pageContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_pageContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?pageSequence@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_pageSequence: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?scrolledContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_scrolledContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?scrolledCanvas@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_scrolledCanvas: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?scrolledPageSequence@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_scrolledPageSequence: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?columnContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_columnContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?viewport@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_viewport: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?viewportScroll@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_viewportScroll: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?anonymousFlexItem@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_anonymousFlexItem: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?anonymousGridItem@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_anonymousGridItem: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?ruby@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_ruby: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?rubyBase@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_rubyBase: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?rubyBaseContainer@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_rubyBaseContainer: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?rubyText@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_rubyText: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?rubyTextContainer@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_rubyTextContainer: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeColumn@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeColumn: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeRow@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeRow: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeSeparator@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeSeparator: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeCell@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeCell: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeIndentation@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeIndentation: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeLine@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeLine: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeTwisty@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeTwisty: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeImage@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeImage: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeCellText@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeCellText: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeCheckbox@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeCheckbox: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozTreeDropFeedback@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozTreeDropFeedback: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozSVGMarkerAnonChild@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozSVGMarkerAnonChild: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozSVGOuterSVGAnonChild@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozSVGOuterSVGAnonChild: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozSVGForeignContent@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozSVGForeignContent: *mut nsICSSAnonBoxPseudo; - #[link_name = "\x01?mozSVGText@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"] - pub static nsCSSAnonBoxes_mozSVGText: *mut nsICSSAnonBoxPseudo; - } - } -} - -#[macro_export] -macro_rules! atom { -("") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__empty as *mut _) } }}; -("_moz") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moz as *mut _) } }}; -("mozframetype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozframetype as *mut _) } }}; -("_moz_abspos") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_abspos as *mut _) } }}; -("_moz_activated") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_activated as *mut _) } }}; -("_moz_anonclass") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_anonclass as *mut _) } }}; -("_moz_resizing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_resizing as *mut _) } }}; -("mozallowfullscreen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozallowfullscreen as *mut _) } }}; -("_moz-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moztype as *mut _) } }}; -("_moz_dirty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozdirty as *mut _) } }}; -("mozdisallowselectionprint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozdisallowselectionprint as *mut _) } }}; -("moz-do-not-send") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozdonotsend as *mut _) } }}; -("_moz_editor_bogus_node") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozeditorbogusnode as *mut _) } }}; -("_moz_generated_content_before") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozgeneratedcontentbefore as *mut _) } }}; -("_moz_generated_content_after") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozgeneratedcontentafter as *mut _) } }}; -("_moz_generated_content_image") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozgeneratedcontentimage as *mut _) } }}; -("_moz_quote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozquote as *mut _) } }}; -("moz-signature") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozsignature as *mut _) } }}; -("-moz-is-glyph") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_is_glyph as *mut _) } }}; -("_moz_original_size") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_original_size as *mut _) } }}; -("_moz_target") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_target as *mut _) } }}; -("_moz-menuactive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuactive as *mut _) } }}; -("#default") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__poundDefault as *mut _) } }}; -("*") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__asterisk as *mut _) } }}; -("a") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_a as *mut _) } }}; -("abbr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_abbr as *mut _) } }}; -("abort") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_abort as *mut _) } }}; -("above") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_above as *mut _) } }}; -("acceltext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_acceltext as *mut _) } }}; -("accept") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_accept as *mut _) } }}; -("accept-charset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_acceptcharset as *mut _) } }}; -("accesskey") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_accesskey as *mut _) } }}; -("acronym") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_acronym as *mut _) } }}; -("action") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_action as *mut _) } }}; -("active") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_active as *mut _) } }}; -("activateontab") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_activateontab as *mut _) } }}; -("actuate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_actuate as *mut _) } }}; -("address") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_address as *mut _) } }}; -("after") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_after as *mut _) } }}; -("after_end") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_after_end as *mut _) } }}; -("after_start") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_after_start as *mut _) } }}; -("align") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_align as *mut _) } }}; -("alink") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alink as *mut _) } }}; -("all") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_all as *mut _) } }}; -("allowdirs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowdirs as *mut _) } }}; -("allowevents") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowevents as *mut _) } }}; -("allownegativeassertions") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allownegativeassertions as *mut _) } }}; -("allow-forms") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowforms as *mut _) } }}; -("allowfullscreen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowfullscreen as *mut _) } }}; -("allow-modals") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowmodals as *mut _) } }}; -("allow-orientation-lock") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alloworientationlock as *mut _) } }}; -("allowpaymentrequest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpaymentrequest as *mut _) } }}; -("allow-pointer-lock") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpointerlock as *mut _) } }}; -("allow-popups-to-escape-sandbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpopupstoescapesandbox as *mut _) } }}; -("allow-popups") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpopups as *mut _) } }}; -("allow-presentation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowpresentation as *mut _) } }}; -("allow-same-origin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowsameorigin as *mut _) } }}; -("allow-scripts") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowscripts as *mut _) } }}; -("allow-top-navigation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowtopnavigation as *mut _) } }}; -("allowuntrusted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_allowuntrusted as *mut _) } }}; -("alt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alt as *mut _) } }}; -("alternate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alternate as *mut _) } }}; -("always") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_always as *mut _) } }}; -("ancestor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ancestor as *mut _) } }}; -("ancestor-or-self") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ancestorOrSelf as *mut _) } }}; -("anchor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_anchor as *mut _) } }}; -("and") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__and as *mut _) } }}; -("animations") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animations as *mut _) } }}; -("anonid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_anonid as *mut _) } }}; -("anonlocation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_anonlocation as *mut _) } }}; -("any") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_any as *mut _) } }}; -("applet") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_applet as *mut _) } }}; -("apply-imports") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_applyImports as *mut _) } }}; -("apply-templates") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_applyTemplates as *mut _) } }}; -("archive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_archive as *mut _) } }}; -("area") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_area as *mut _) } }}; -("aria-activedescendant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_activedescendant as *mut _) } }}; -("aria-atomic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_atomic as *mut _) } }}; -("aria-autocomplete") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_autocomplete as *mut _) } }}; -("aria-busy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_busy as *mut _) } }}; -("aria-checked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_checked as *mut _) } }}; -("aria-controls") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_controls as *mut _) } }}; -("aria-current") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_current as *mut _) } }}; -("aria-describedby") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_describedby as *mut _) } }}; -("aria-disabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_disabled as *mut _) } }}; -("aria-dropeffect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_dropeffect as *mut _) } }}; -("aria-expanded") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_expanded as *mut _) } }}; -("aria-flowto") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_flowto as *mut _) } }}; -("aria-haspopup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_haspopup as *mut _) } }}; -("aria-hidden") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_hidden as *mut _) } }}; -("aria-invalid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_invalid as *mut _) } }}; -("aria-labelledby") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_labelledby as *mut _) } }}; -("aria-level") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_level as *mut _) } }}; -("aria-live") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_live as *mut _) } }}; -("aria-multiline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_multiline as *mut _) } }}; -("aria-multiselectable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_multiselectable as *mut _) } }}; -("aria-owns") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_owns as *mut _) } }}; -("aria-posinset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_posinset as *mut _) } }}; -("aria-pressed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_pressed as *mut _) } }}; -("aria-readonly") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_readonly as *mut _) } }}; -("aria-relevant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_relevant as *mut _) } }}; -("aria-required") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_required as *mut _) } }}; -("aria-selected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_selected as *mut _) } }}; -("aria-setsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_setsize as *mut _) } }}; -("aria-sort") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_sort as *mut _) } }}; -("aria-valuemax") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_valuemax as *mut _) } }}; -("aria-valuemin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_valuemin as *mut _) } }}; -("aria-valuenow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_valuenow as *mut _) } }}; -("arrow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arrow as *mut _) } }}; -("article") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_article as *mut _) } }}; -("as") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_as as *mut _) } }}; -("ascending") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ascending as *mut _) } }}; -("aside") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aside as *mut _) } }}; -("aspect-ratio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aspectRatio as *mut _) } }}; -("assign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_assign as *mut _) } }}; -("async") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_async as *mut _) } }}; -("attribute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attribute as *mut _) } }}; -("attributes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attributes as *mut _) } }}; -("attribute-set") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attributeSet as *mut _) } }}; -("aural") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aural as *mut _) } }}; -("auto") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__auto as *mut _) } }}; -("autocheck") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autocheck as *mut _) } }}; -("autocomplete") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autocomplete as *mut _) } }}; -("autocomplete-richlistbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autocomplete_richlistbox as *mut _) } }}; -("autofocus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autofocus as *mut _) } }}; -("autoplay") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autoplay as *mut _) } }}; -("autorepeatbutton") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_autorepeatbutton as *mut _) } }}; -("axis") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_axis as *mut _) } }}; -("b") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_b as *mut _) } }}; -("background") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_background as *mut _) } }}; -("base") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_base as *mut _) } }}; -("basefont") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_basefont as *mut _) } }}; -("baseline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_baseline as *mut _) } }}; -("bdi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bdi as *mut _) } }}; -("bdo") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bdo as *mut _) } }}; -("before") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_before as *mut _) } }}; -("before_end") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_before_end as *mut _) } }}; -("before_start") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_before_start as *mut _) } }}; -("below") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_below as *mut _) } }}; -("bgcolor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bgcolor as *mut _) } }}; -("bgsound") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bgsound as *mut _) } }}; -("big") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_big as *mut _) } }}; -("binding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_binding as *mut _) } }}; -("bindings") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bindings as *mut _) } }}; -("bindToUntrustedContent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bindToUntrustedContent as *mut _) } }}; -("blankrow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_blankrow as *mut _) } }}; -("block") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_block as *mut _) } }}; -("blockquote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_blockquote as *mut _) } }}; -("blur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_blur as *mut _) } }}; -("body") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_body as *mut _) } }}; -("boolean") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_boolean as *mut _) } }}; -("border") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_border as *mut _) } }}; -("bordercolor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bordercolor as *mut _) } }}; -("both") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_both as *mut _) } }}; -("bottom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottom as *mut _) } }}; -("bottomend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottomend as *mut _) } }}; -("bottomstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottomstart as *mut _) } }}; -("bottomleft") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottomleft as *mut _) } }}; -("bottommargin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottommargin as *mut _) } }}; -("bottompadding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottompadding as *mut _) } }}; -("bottomright") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bottomright as *mut _) } }}; -("box") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_box as *mut _) } }}; -("br") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_br as *mut _) } }}; -("braille") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_braille as *mut _) } }}; -("broadcast") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_broadcast as *mut _) } }}; -("broadcaster") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_broadcaster as *mut _) } }}; -("broadcasterset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_broadcasterset as *mut _) } }}; -("browser") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_browser as *mut _) } }}; -("mozbrowser") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozbrowser as *mut _) } }}; -("button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_button as *mut _) } }}; -("brighttitlebarforeground") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_brighttitlebarforeground as *mut _) } }}; -("call-template") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_callTemplate as *mut _) } }}; -("cancel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cancel as *mut _) } }}; -("canvas") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_canvas as *mut _) } }}; -("caption") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_caption as *mut _) } }}; -("capture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_capture as *mut _) } }}; -("case-order") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_caseOrder as *mut _) } }}; -("cdata-section-elements") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cdataSectionElements as *mut _) } }}; -("ceiling") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ceiling as *mut _) } }}; -("cell") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cell as *mut _) } }}; -("cellpadding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cellpadding as *mut _) } }}; -("cellspacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cellspacing as *mut _) } }}; -("center") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_center as *mut _) } }}; -("ch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ch as *mut _) } }}; -("change") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_change as *mut _) } }}; -("char") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__char as *mut _) } }}; -("characterData") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_characterData as *mut _) } }}; -("charcode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_charcode as *mut _) } }}; -("charoff") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_charoff as *mut _) } }}; -("charset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_charset as *mut _) } }}; -("checkbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_checkbox as *mut _) } }}; -("checked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_checked as *mut _) } }}; -("child") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_child as *mut _) } }}; -("children") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_children as *mut _) } }}; -("childList") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_childList as *mut _) } }}; -("choose") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_choose as *mut _) } }}; -("chromemargin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_chromemargin as *mut _) } }}; -("chromeOnlyContent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_chromeOnlyContent as *mut _) } }}; -("exposeToUntrustedContent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exposeToUntrustedContent as *mut _) } }}; -("circ") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_circ as *mut _) } }}; -("circle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_circle as *mut _) } }}; -("cite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cite as *mut _) } }}; -("cjk-decimal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cjkDecimal as *mut _) } }}; -("class") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__class as *mut _) } }}; -("classid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_classid as *mut _) } }}; -("clear") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clear as *mut _) } }}; -("click") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_click as *mut _) } }}; -("clickcount") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clickcount as *mut _) } }}; -("clickthrough") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clickthrough as *mut _) } }}; -("movetoclick") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_movetoclick as *mut _) } }}; -("clip") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clip as *mut _) } }}; -("close") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_close as *mut _) } }}; -("closed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_closed as *mut _) } }}; -("closemenu") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_closemenu as *mut _) } }}; -("coalesceduplicatearcs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_coalesceduplicatearcs as *mut _) } }}; -("code") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_code as *mut _) } }}; -("codebase") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_codebase as *mut _) } }}; -("codetype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_codetype as *mut _) } }}; -("col") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_col as *mut _) } }}; -("colgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colgroup as *mut _) } }}; -("collapse") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_collapse as *mut _) } }}; -("collapsed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_collapsed as *mut _) } }}; -("color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_color as *mut _) } }}; -("color-index") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorIndex as *mut _) } }}; -("cols") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cols as *mut _) } }}; -("colspan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colspan as *mut _) } }}; -("column") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_column as *mut _) } }}; -("columns") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columns as *mut _) } }}; -("combobox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_combobox as *mut _) } }}; -("command") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_command as *mut _) } }}; -("commands") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_commands as *mut _) } }}; -("commandset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_commandset as *mut _) } }}; -("commandupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_commandupdate as *mut _) } }}; -("commandupdater") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_commandupdater as *mut _) } }}; -("comment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_comment as *mut _) } }}; -("compact") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_compact as *mut _) } }}; -("concat") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_concat as *mut _) } }}; -("conditions") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_conditions as *mut _) } }}; -("constructor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_constructor as *mut _) } }}; -("consumeoutsideclicks") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_consumeoutsideclicks as *mut _) } }}; -("container") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_container as *mut _) } }}; -("containment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_containment as *mut _) } }}; -("contains") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_contains as *mut _) } }}; -("content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_content as *mut _) } }}; -("contenteditable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_contenteditable as *mut _) } }}; -("content-disposition") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerContentDisposition as *mut _) } }}; -("content-language") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerContentLanguage as *mut _) } }}; -("content-location") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_contentLocation as *mut _) } }}; -("content-script-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerContentScriptType as *mut _) } }}; -("content-style-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerContentStyleType as *mut _) } }}; -("content-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerContentType as *mut _) } }}; -("consumeanchor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_consumeanchor as *mut _) } }}; -("context") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_context as *mut _) } }}; -("contextmenu") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_contextmenu as *mut _) } }}; -("control") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_control as *mut _) } }}; -("controls") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_controls as *mut _) } }}; -("coords") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_coords as *mut _) } }}; -("copy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_copy as *mut _) } }}; -("copy-of") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_copyOf as *mut _) } }}; -("count") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_count as *mut _) } }}; -("crop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_crop as *mut _) } }}; -("crossorigin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_crossorigin as *mut _) } }}; -("curpos") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_curpos as *mut _) } }}; -("current") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_current as *mut _) } }}; -("cutoutregion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cutoutregion as *mut _) } }}; -("cycler") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cycler as *mut _) } }}; -("data") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_data as *mut _) } }}; -("datalist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datalist as *mut _) } }}; -("data-l10n-id") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datal10nid as *mut _) } }}; -("data-l10n-args") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datal10nargs as *mut _) } }}; -("data-l10n-attrs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datal10nattrs as *mut _) } }}; -("data-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dataType as *mut _) } }}; -("date-time") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dateTime as *mut _) } }}; -("datasources") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datasources as *mut _) } }}; -("date") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_date as *mut _) } }}; -("datetime") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datetime as *mut _) } }}; -("datetimebox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datetimebox as *mut _) } }}; -("dblclick") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dblclick as *mut _) } }}; -("dd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dd as *mut _) } }}; -("debug") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_debug as *mut _) } }}; -("decimal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_decimal as *mut _) } }}; -("decimal-format") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_decimalFormat as *mut _) } }}; -("decimal-separator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_decimalSeparator as *mut _) } }}; -("deck") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_deck as *mut _) } }}; -("declare") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_declare as *mut _) } }}; -("decoder-doctor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_decoderDoctor as *mut _) } }}; -("decrement") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_decrement as *mut _) } }}; -("default") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__default as *mut _) } }}; -("default-style") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerDefaultStyle as *mut _) } }}; -("defaultAction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defaultAction as *mut _) } }}; -("defaultchecked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defaultchecked as *mut _) } }}; -("defaultLabel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defaultLabel as *mut _) } }}; -("defaultselected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defaultselected as *mut _) } }}; -("defaultvalue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defaultvalue as *mut _) } }}; -("defaultplaybackrate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defaultplaybackrate as *mut _) } }}; -("defer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defer as *mut _) } }}; -("del") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_del as *mut _) } }}; -("descendant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_descendant as *mut _) } }}; -("descendant-or-self") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_descendantOrSelf as *mut _) } }}; -("descending") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_descending as *mut _) } }}; -("description") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_description as *mut _) } }}; -("destructor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_destructor as *mut _) } }}; -("details") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_details as *mut _) } }}; -("device-aspect-ratio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_deviceAspectRatio as *mut _) } }}; -("device-height") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_deviceHeight as *mut _) } }}; -("device-pixel-ratio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_devicePixelRatio as *mut _) } }}; -("device-width") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_deviceWidth as *mut _) } }}; -("dfn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dfn as *mut _) } }}; -("dialog") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dialog as *mut _) } }}; -("difference") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_difference as *mut _) } }}; -("digit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_digit as *mut _) } }}; -("dir") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dir as *mut _) } }}; -("dirAutoSetBy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dirAutoSetBy as *mut _) } }}; -("directionality") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_directionality as *mut _) } }}; -("directory") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_directory as *mut _) } }}; -("disable-output-escaping") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disableOutputEscaping as *mut _) } }}; -("disabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disabled as *mut _) } }}; -("disableglobalhistory") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disableglobalhistory as *mut _) } }}; -("disablehistory") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disablehistory as *mut _) } }}; -("disablefullscreen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disablefullscreen as *mut _) } }}; -("disclosure-closed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disclosure_closed as *mut _) } }}; -("disclosure-open") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disclosure_open as *mut _) } }}; -("display") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_display as *mut _) } }}; -("display-mode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_displayMode as *mut _) } }}; -("distinct") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_distinct as *mut _) } }}; -("div") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_div as *mut _) } }}; -("dl") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dl as *mut _) } }}; -("doc-abstract") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docAbstract as *mut _) } }}; -("doc-acknowledgments") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docAcknowledgments as *mut _) } }}; -("doc-afterword") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docAfterword as *mut _) } }}; -("doc-appendix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docAppendix as *mut _) } }}; -("doc-backlink") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docBacklink as *mut _) } }}; -("doc-biblioentry") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docBiblioentry as *mut _) } }}; -("doc-bibliography") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docBibliography as *mut _) } }}; -("doc-biblioref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docBiblioref as *mut _) } }}; -("doc-chapter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docChapter as *mut _) } }}; -("doc-colophon") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docColophon as *mut _) } }}; -("doc-conclusion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docConclusion as *mut _) } }}; -("doc-cover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docCover as *mut _) } }}; -("doc-credit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docCredit as *mut _) } }}; -("doc-credits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docCredits as *mut _) } }}; -("doc-dedication") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docDedication as *mut _) } }}; -("doc-endnote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docEndnote as *mut _) } }}; -("doc-endnotes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docEndnotes as *mut _) } }}; -("doc-epigraph") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docEpigraph as *mut _) } }}; -("doc-epilogue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docEpilogue as *mut _) } }}; -("doc-errata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docErrata as *mut _) } }}; -("doc-example") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docExample as *mut _) } }}; -("doc-footnote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docFootnote as *mut _) } }}; -("doc-foreword") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docForeword as *mut _) } }}; -("doc-glossary") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docGlossary as *mut _) } }}; -("doc-glossref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docGlossref as *mut _) } }}; -("doc-index") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docIndex as *mut _) } }}; -("doc-introduction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docIntroduction as *mut _) } }}; -("doc-noteref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docNoteref as *mut _) } }}; -("doc-notice") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docNotice as *mut _) } }}; -("doc-pagebreak") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docPagebreak as *mut _) } }}; -("doc-pagelist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docPagelist as *mut _) } }}; -("doc-part") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docPart as *mut _) } }}; -("doc-preface") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docPreface as *mut _) } }}; -("doc-prologue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docPrologue as *mut _) } }}; -("doc-pullquote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docPullquote as *mut _) } }}; -("doc-qna") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docQna as *mut _) } }}; -("doc-subtitle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docSubtitle as *mut _) } }}; -("doc-tip") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docTip as *mut _) } }}; -("doc-toc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docToc as *mut _) } }}; -("doctype-public") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_doctypePublic as *mut _) } }}; -("doctype-system") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_doctypeSystem as *mut _) } }}; -("document") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_document as *mut _) } }}; -("download") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_download as *mut _) } }}; -("DOMAttrModified") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMAttrModified as *mut _) } }}; -("DOMCharacterDataModified") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMCharacterDataModified as *mut _) } }}; -("DOMNodeInserted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMNodeInserted as *mut _) } }}; -("DOMNodeInsertedIntoDocument") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMNodeInsertedIntoDocument as *mut _) } }}; -("DOMNodeRemoved") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMNodeRemoved as *mut _) } }}; -("DOMNodeRemovedFromDocument") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMNodeRemovedFromDocument as *mut _) } }}; -("DOMSubtreeModified") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DOMSubtreeModified as *mut _) } }}; -("double") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_double_ as *mut _) } }}; -("drag") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_drag as *mut _) } }}; -("dragend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragend as *mut _) } }}; -("dragenter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragenter as *mut _) } }}; -("dragevent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragevent as *mut _) } }}; -("dragexit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragexit as *mut _) } }}; -("draggable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_draggable as *mut _) } }}; -("dragging") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragging as *mut _) } }}; -("dragleave") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragleave as *mut _) } }}; -("dragover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragover as *mut _) } }}; -("dragSession") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragSession as *mut _) } }}; -("dragstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dragstart as *mut _) } }}; -("drawintitlebar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_drawintitlebar as *mut _) } }}; -("drawtitle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_drawtitle as *mut _) } }}; -("drop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_drop as *mut _) } }}; -("dropAfter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dropAfter as *mut _) } }}; -("dropBefore") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dropBefore as *mut _) } }}; -("dropOn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dropOn as *mut _) } }}; -("dropmarker") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dropMarker as *mut _) } }}; -("dt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dt as *mut _) } }}; -("editable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_editable as *mut _) } }}; -("editing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_editing as *mut _) } }}; -("editor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_editor as *mut _) } }}; -("EditorDisplay-List") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_editorDisplayList as *mut _) } }}; -("element") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_element as *mut _) } }}; -("element-available") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_elementAvailable as *mut _) } }}; -("elements") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_elements as *mut _) } }}; -("em") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_em as *mut _) } }}; -("embed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_embed as *mut _) } }}; -("embossed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_embossed as *mut _) } }}; -("empty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_empty as *mut _) } }}; -("encoding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_encoding as *mut _) } }}; -("enctype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_enctype as *mut _) } }}; -("end") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_end as *mut _) } }}; -("endEvent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_endEvent as *mut _) } }}; -("end_after") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_end_after as *mut _) } }}; -("end_before") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_end_before as *mut _) } }}; -("equalsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_equalsize as *mut _) } }}; -("error") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_error as *mut _) } }}; -("ethiopic-numeric") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ethiopic_numeric as *mut _) } }}; -("even") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_even as *mut _) } }}; -("event") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_event as *mut _) } }}; -("events") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_events as *mut _) } }}; -("exclude-result-prefixes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_excludeResultPrefixes as *mut _) } }}; -("excludes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_excludes as *mut _) } }}; -("expr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_expr as *mut _) } }}; -("extends") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_extends as *mut _) } }}; -("extension-element-prefixes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_extensionElementPrefixes as *mut _) } }}; -("face") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_face as *mut _) } }}; -("fallback") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fallback as *mut _) } }}; -("false") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__false as *mut _) } }}; -("farthest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_farthest as *mut _) } }}; -("field") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_field as *mut _) } }}; -("fieldset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fieldset as *mut _) } }}; -("file") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_file as *mut _) } }}; -("figcaption") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_figcaption as *mut _) } }}; -("figure") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_figure as *mut _) } }}; -("findbar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_findbar as *mut _) } }}; -("fixed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fixed as *mut _) } }}; -("flags") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flags as *mut _) } }}; -("flex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flex as *mut _) } }}; -("flip") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flip as *mut _) } }}; -("floating") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_floating as *mut _) } }}; -("floor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_floor as *mut _) } }}; -("flowlength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flowlength as *mut _) } }}; -("focus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_focus as *mut _) } }}; -("focused") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_focused as *mut _) } }}; -("followanchor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_followanchor as *mut _) } }}; -("following") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_following as *mut _) } }}; -("following-sibling") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_followingSibling as *mut _) } }}; -("font") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font as *mut _) } }}; -("font-weight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fontWeight as *mut _) } }}; -("fontpicker") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fontpicker as *mut _) } }}; -("footer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_footer as *mut _) } }}; -("for") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__for as *mut _) } }}; -("for-each") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_forEach as *mut _) } }}; -("forceOwnRefreshDriver") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_forceOwnRefreshDriver as *mut _) } }}; -("form") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_form as *mut _) } }}; -("formaction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_formaction as *mut _) } }}; -("format") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_format as *mut _) } }}; -("format-number") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_formatNumber as *mut _) } }}; -("formenctype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_formenctype as *mut _) } }}; -("formmethod") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_formmethod as *mut _) } }}; -("formnovalidate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_formnovalidate as *mut _) } }}; -("formtarget") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_formtarget as *mut _) } }}; -("frame") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_frame as *mut _) } }}; -("frameborder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_frameborder as *mut _) } }}; -("frameset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_frameset as *mut _) } }}; -("from") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_from as *mut _) } }}; -("fullscreenchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fullscreenchange as *mut _) } }}; -("fullscreenerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fullscreenerror as *mut _) } }}; -("function-available") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_functionAvailable as *mut _) } }}; -("freshProcess") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_freshProcess as *mut _) } }}; -("generate-id") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_generateId as *mut _) } }}; -("getter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_getter as *mut _) } }}; -("glyphchar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_glyphchar as *mut _) } }}; -("glyphid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_glyphid as *mut _) } }}; -("graphics-document") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_graphicsDocument as *mut _) } }}; -("graphics-object") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_graphicsObject as *mut _) } }}; -("graphics-symbol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_graphicsSymbol as *mut _) } }}; -("grid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_grid as *mut _) } }}; -("group") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_group as *mut _) } }}; -("groupbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_groupbox as *mut _) } }}; -("grouping-separator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_groupingSeparator as *mut _) } }}; -("grouping-size") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_groupingSize as *mut _) } }}; -("grow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_grow as *mut _) } }}; -("gutter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gutter as *mut _) } }}; -("h1") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_h1 as *mut _) } }}; -("h2") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_h2 as *mut _) } }}; -("h3") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_h3 as *mut _) } }}; -("h4") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_h4 as *mut _) } }}; -("h5") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_h5 as *mut _) } }}; -("h6") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_h6 as *mut _) } }}; -("handheld") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_handheld as *mut _) } }}; -("HandheldFriendly") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_handheldFriendly as *mut _) } }}; -("handler") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_handler as *mut _) } }}; -("handlers") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_handlers as *mut _) } }}; -("HARD") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_HARD as *mut _) } }}; -("haspopup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_haspopup as *mut _) } }}; -("has-same-node") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hasSameNode as *mut _) } }}; -("hbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hbox as *mut _) } }}; -("head") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_head as *mut _) } }}; -("header") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_header as *mut _) } }}; -("headers") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headers as *mut _) } }}; -("hebrew") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hebrew as *mut _) } }}; -("height") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_height as *mut _) } }}; -("hgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hgroup as *mut _) } }}; -("hidden") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hidden as *mut _) } }}; -("hidechrome") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hidechrome as *mut _) } }}; -("hidecolumnpicker") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hidecolumnpicker as *mut _) } }}; -("high") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_high as *mut _) } }}; -("highest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_highest as *mut _) } }}; -("horizontal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_horizontal as *mut _) } }}; -("hover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hover as *mut _) } }}; -("hr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hr as *mut _) } }}; -("href") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_href as *mut _) } }}; -("hreflang") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hreflang as *mut _) } }}; -("hspace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hspace as *mut _) } }}; -("html") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_html as *mut _) } }}; -("http-equiv") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_httpEquiv as *mut _) } }}; -("i") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_i as *mut _) } }}; -("icon") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_icon as *mut _) } }}; -("id") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_id as *mut _) } }}; -("if") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__if as *mut _) } }}; -("iframe") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_iframe as *mut _) } }}; -("ignorecase") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ignorecase as *mut _) } }}; -("ignorekeys") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ignorekeys as *mut _) } }}; -("ignoreuserfocus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ignoreuserfocus as *mut _) } }}; -("ilayer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ilayer as *mut _) } }}; -("image") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_image as *mut _) } }}; -("image-clicked-point") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_imageClickedPoint as *mut _) } }}; -("img") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_img as *mut _) } }}; -("implementation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_implementation as *mut _) } }}; -("implements") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_implements as *mut _) } }}; -("import") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_import as *mut _) } }}; -("include") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_include as *mut _) } }}; -("includes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_includes as *mut _) } }}; -("increment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_increment as *mut _) } }}; -("indent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indent as *mut _) } }}; -("indeterminate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indeterminate as *mut _) } }}; -("index") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_index as *mut _) } }}; -("infer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_infer as *mut _) } }}; -("infinity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_infinity as *mut _) } }}; -("inherit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_inherit as *mut _) } }}; -("inherits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_inherits as *mut _) } }}; -("inheritstyle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_inheritstyle as *mut _) } }}; -("initial-scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_initial_scale as *mut _) } }}; -("input") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_input as *mut _) } }}; -("inputmode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_inputmode as *mut _) } }}; -("ins") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ins as *mut _) } }}; -("insertafter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_insertafter as *mut _) } }}; -("insertbefore") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_insertbefore as *mut _) } }}; -("install") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_install as *mut _) } }}; -("instanceOf") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_instanceOf as *mut _) } }}; -("int32") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_int32 as *mut _) } }}; -("int64") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_int64 as *mut _) } }}; -("integer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_integer as *mut _) } }}; -("integrity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_integrity as *mut _) } }}; -("intersection") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_intersection as *mut _) } }}; -("intersectionobserverlist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_intersectionobserverlist as *mut _) } }}; -("is") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_is as *mut _) } }}; -("iscontainer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_iscontainer as *mut _) } }}; -("isempty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_isempty as *mut _) } }}; -("ismap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ismap as *mut _) } }}; -("itemid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_itemid as *mut _) } }}; -("itemprop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_itemprop as *mut _) } }}; -("itemref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_itemref as *mut _) } }}; -("itemscope") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_itemscope as *mut _) } }}; -("itemtype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_itemtype as *mut _) } }}; -("japanese-formal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_japanese_formal as *mut _) } }}; -("japanese-informal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_japanese_informal as *mut _) } }}; -("kbd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kbd as *mut _) } }}; -("keepcurrentinview") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keepcurrentinview as *mut _) } }}; -("keepobjectsalive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keepobjectsalive as *mut _) } }}; -("key") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_key as *mut _) } }}; -("keycode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keycode as *mut _) } }}; -("keystatuseschange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keystatuseschange as *mut _) } }}; -("keydown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keydown as *mut _) } }}; -("keygen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keygen as *mut _) } }}; -("keypress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keypress as *mut _) } }}; -("keyset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keyset as *mut _) } }}; -("keysystem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keysystem as *mut _) } }}; -("keytext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keytext as *mut _) } }}; -("keyup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keyup as *mut _) } }}; -("kind") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kind as *mut _) } }}; -("korean-hangul-formal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_korean_hangul_formal as *mut _) } }}; -("korean-hanja-formal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_korean_hanja_formal as *mut _) } }}; -("korean-hanja-informal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_korean_hanja_informal as *mut _) } }}; -("label") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_label as *mut _) } }}; -("labels") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_labels as *mut _) } }}; -("lang") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lang as *mut _) } }}; -("language") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_language as *mut _) } }}; -("last") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_last as *mut _) } }}; -("layer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_layer as *mut _) } }}; -("LayerActivity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_LayerActivity as *mut _) } }}; -("layout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_layout as *mut _) } }}; -("leading") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_leading as *mut _) } }}; -("leaf") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_leaf as *mut _) } }}; -("left") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_left as *mut _) } }}; -("leftmargin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_leftmargin as *mut _) } }}; -("leftpadding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_leftpadding as *mut _) } }}; -("legend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_legend as *mut _) } }}; -("length") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_length as *mut _) } }}; -("letter-value") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_letterValue as *mut _) } }}; -("level") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_level as *mut _) } }}; -("li") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_li as *mut _) } }}; -("line") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_line as *mut _) } }}; -("link") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_link as *mut _) } }}; -("listbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listbox as *mut _) } }}; -("listboxbody") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listboxbody as *mut _) } }}; -("listcell") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listcell as *mut _) } }}; -("listcol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listcol as *mut _) } }}; -("listcols") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listcols as *mut _) } }}; -("listener") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listener as *mut _) } }}; -("listhead") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listhead as *mut _) } }}; -("listheader") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listheader as *mut _) } }}; -("listing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listing as *mut _) } }}; -("listitem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listitem as *mut _) } }}; -("listrows") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_listrows as *mut _) } }}; -("load") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_load as *mut _) } }}; -("triggeringprincipal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_triggeringprincipal as *mut _) } }}; -("localedir") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_localedir as *mut _) } }}; -("local-name") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_localName as *mut _) } }}; -("longdesc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_longdesc as *mut _) } }}; -("loop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_loop as *mut _) } }}; -("low") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_low as *mut _) } }}; -("lower-alpha") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lowerAlpha as *mut _) } }}; -("lower-first") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lowerFirst as *mut _) } }}; -("lower-roman") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lowerRoman as *mut _) } }}; -("lowest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lowest as *mut _) } }}; -("lowsrc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lowsrc as *mut _) } }}; -("ltr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ltr as *mut _) } }}; -("lwtheme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lwtheme as *mut _) } }}; -("lwthemetextcolor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lwthemetextcolor as *mut _) } }}; -("main") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_main as *mut _) } }}; -("map") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_map as *mut _) } }}; -("manifest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_manifest as *mut _) } }}; -("margin-bottom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marginBottom as *mut _) } }}; -("margin-left") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marginLeft as *mut _) } }}; -("margin-right") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marginRight as *mut _) } }}; -("margin-top") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marginTop as *mut _) } }}; -("marginheight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marginheight as *mut _) } }}; -("marginwidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marginwidth as *mut _) } }}; -("mark") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mark as *mut _) } }}; -("marquee") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marquee as *mut _) } }}; -("match") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_match as *mut _) } }}; -("max") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_max as *mut _) } }}; -("maxheight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maxheight as *mut _) } }}; -("maximum-scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maximum_scale as *mut _) } }}; -("maxlength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maxlength as *mut _) } }}; -("maxpos") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maxpos as *mut _) } }}; -("maxwidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maxwidth as *mut _) } }}; -("mayscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mayscript as *mut _) } }}; -("media") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_media as *mut _) } }}; -("media-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mediaType as *mut _) } }}; -("member") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_member as *mut _) } }}; -("menu") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menu as *mut _) } }}; -("menubar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menubar as *mut _) } }}; -("menubutton") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menubutton as *mut _) } }}; -("menu-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuButton as *mut _) } }}; -("menucaption") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menucaption as *mut _) } }}; -("menugroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menugroup as *mut _) } }}; -("menuitem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuitem as *mut _) } }}; -("menulist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menulist as *mut _) } }}; -("menupopup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menupopup as *mut _) } }}; -("menuseparator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuseparator as *mut _) } }}; -("message") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_message as *mut _) } }}; -("meta") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_meta as *mut _) } }}; -("referrer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_referrer as *mut _) } }}; -("referrerpolicy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_referrerpolicy as *mut _) } }}; -("referrer-policy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerReferrerPolicy as *mut _) } }}; -("meter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_meter as *mut _) } }}; -("method") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_method as *mut _) } }}; -("middle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_middle as *mut _) } }}; -("min") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_min as *mut _) } }}; -("minheight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minheight as *mut _) } }}; -("minimum-scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minimum_scale as *mut _) } }}; -("minlength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minlength as *mut _) } }}; -("minpos") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minpos as *mut _) } }}; -("minus-sign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minusSign as *mut _) } }}; -("minwidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minwidth as *mut _) } }}; -("mixed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mixed as *mut _) } }}; -("messagemanagergroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_messagemanagergroup as *mut _) } }}; -("mod") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mod as *mut _) } }}; -("mode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mode as *mut _) } }}; -("modifiers") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_modifiers as *mut _) } }}; -("monochrome") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_monochrome as *mut _) } }}; -("mousedown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mousedown as *mut _) } }}; -("mousemove") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mousemove as *mut _) } }}; -("mouseout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mouseout as *mut _) } }}; -("mouseover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mouseover as *mut _) } }}; -("mousethrough") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mousethrough as *mut _) } }}; -("mouseup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mouseup as *mut _) } }}; -("mozfullscreenchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozfullscreenchange as *mut _) } }}; -("mozfullscreenerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozfullscreenerror as *mut _) } }}; -("mozpointerlockchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozpointerlockchange as *mut _) } }}; -("mozpointerlockerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozpointerlockerror as *mut _) } }}; -("mozprivatebrowsing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozprivatebrowsing as *mut _) } }}; -("moz-opaque") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moz_opaque as *mut _) } }}; -("mozactionhint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moz_action_hint as *mut _) } }}; -("x-moz-errormessage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_moz_errormessage as *mut _) } }}; -("multicol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_multicol as *mut _) } }}; -("multiple") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_multiple as *mut _) } }}; -("mute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mute as *mut _) } }}; -("muted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_muted as *mut _) } }}; -("name") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_name as *mut _) } }}; -("namespace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__namespace as *mut _) } }}; -("namespace-alias") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_namespaceAlias as *mut _) } }}; -("namespace-uri") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_namespaceUri as *mut _) } }}; -("NaN") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_NaN as *mut _) } }}; -("nativeAnonymousChildList") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nativeAnonymousChildList as *mut _) } }}; -("nav") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nav as *mut _) } }}; -("negate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_negate as *mut _) } }}; -("never") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_never as *mut _) } }}; -("new") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__new as *mut _) } }}; -("newline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_newline as *mut _) } }}; -("NextBidi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nextBidi as *mut _) } }}; -("nextTabParentId") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nextTabParentId as *mut _) } }}; -("no") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_no as *mut _) } }}; -("noautofocus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noautofocus as *mut _) } }}; -("noautohide") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noautohide as *mut _) } }}; -("norolluponanchor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_norolluponanchor as *mut _) } }}; -("nobr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nobr as *mut _) } }}; -("node") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_node as *mut _) } }}; -("nodefaultsrc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nodefaultsrc as *mut _) } }}; -("node-set") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nodeSet as *mut _) } }}; -("noembed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noembed as *mut _) } }}; -("noframes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noframes as *mut _) } }}; -("nohref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nohref as *mut _) } }}; -("noisolation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noisolation as *mut _) } }}; -("nomodule") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nomodule as *mut _) } }}; -("nonce") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nonce as *mut _) } }}; -("none") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_none as *mut _) } }}; -("noresize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noresize as *mut _) } }}; -("normal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_normal as *mut _) } }}; -("normalize-space") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_normalizeSpace as *mut _) } }}; -("noscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noscript as *mut _) } }}; -("noshade") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noshade as *mut _) } }}; -("notification") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_notification as *mut _) } }}; -("novalidate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_novalidate as *mut _) } }}; -("not") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__not as *mut _) } }}; -("nowrap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nowrap as *mut _) } }}; -("number") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_number as *mut _) } }}; -("null") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_null as *mut _) } }}; -("object") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_object as *mut _) } }}; -("object-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_objectType as *mut _) } }}; -("observer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_observer as *mut _) } }}; -("observes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_observes as *mut _) } }}; -("odd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_odd as *mut _) } }}; -("OFF") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_OFF as *mut _) } }}; -("ol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ol as *mut _) } }}; -("omit-xml-declaration") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_omitXmlDeclaration as *mut _) } }}; -("ona2dpstatuschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ona2dpstatuschanged as *mut _) } }}; -("onabort") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onabort as *mut _) } }}; -("onmozaccesskeynotfound") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozaccesskeynotfound as *mut _) } }}; -("onactivate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onactivate as *mut _) } }}; -("onadapteradded") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onadapteradded as *mut _) } }}; -("onadapterremoved") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onadapterremoved as *mut _) } }}; -("onafterprint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onafterprint as *mut _) } }}; -("onafterscriptexecute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onafterscriptexecute as *mut _) } }}; -("onalerting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onalerting as *mut _) } }}; -("onanimationcancel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onanimationcancel as *mut _) } }}; -("onanimationend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onanimationend as *mut _) } }}; -("onanimationiteration") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onanimationiteration as *mut _) } }}; -("onanimationstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onanimationstart as *mut _) } }}; -("onantennaavailablechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onantennaavailablechange as *mut _) } }}; -("onAppCommand") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onAppCommand as *mut _) } }}; -("onappinstalled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onappinstalled as *mut _) } }}; -("onattributechanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onattributechanged as *mut _) } }}; -("onattributereadreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onattributereadreq as *mut _) } }}; -("onattributewritereq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onattributewritereq as *mut _) } }}; -("onaudioprocess") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onaudioprocess as *mut _) } }}; -("onauxclick") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onauxclick as *mut _) } }}; -("onbeforecopy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforecopy as *mut _) } }}; -("onbeforecut") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforecut as *mut _) } }}; -("onbeforepaste") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforepaste as *mut _) } }}; -("onbeforeevicted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforeevicted as *mut _) } }}; -("onbeforeprint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforeprint as *mut _) } }}; -("onbeforescriptexecute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforescriptexecute as *mut _) } }}; -("onbeforeunload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeforeunload as *mut _) } }}; -("onblocked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onblocked as *mut _) } }}; -("onblur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onblur as *mut _) } }}; -("onbroadcast") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbroadcast as *mut _) } }}; -("onbusy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbusy as *mut _) } }}; -("onbufferedamountlow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbufferedamountlow as *mut _) } }}; -("oncached") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncached as *mut _) } }}; -("oncallschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncallschanged as *mut _) } }}; -("oncancel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncancel as *mut _) } }}; -("oncardstatechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncardstatechange as *mut _) } }}; -("oncfstatechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncfstatechange as *mut _) } }}; -("onchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onchange as *mut _) } }}; -("oncharacteristicchanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncharacteristicchanged as *mut _) } }}; -("onchargingchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onchargingchange as *mut _) } }}; -("onchargingtimechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onchargingtimechange as *mut _) } }}; -("onchecking") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onchecking as *mut _) } }}; -("onCheckboxStateChange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onCheckboxStateChange as *mut _) } }}; -("onclick") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onclick as *mut _) } }}; -("onclirmodechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onclirmodechange as *mut _) } }}; -("onclose") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onclose as *mut _) } }}; -("oncommand") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncommand as *mut _) } }}; -("oncommandupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncommandupdate as *mut _) } }}; -("oncomplete") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncomplete as *mut _) } }}; -("oncompositionend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncompositionend as *mut _) } }}; -("oncompositionstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncompositionstart as *mut _) } }}; -("oncompositionupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncompositionupdate as *mut _) } }}; -("onconnect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onconnect as *mut _) } }}; -("onconnected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onconnected as *mut _) } }}; -("onconnecting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onconnecting as *mut _) } }}; -("onconnectionavailable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onconnectionavailable as *mut _) } }}; -("onconnectionstatechanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onconnectionstatechanged as *mut _) } }}; -("oncontextmenu") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncontextmenu as *mut _) } }}; -("oncopy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncopy as *mut _) } }}; -("oncurrentchannelchanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncurrentchannelchanged as *mut _) } }}; -("oncurrentsourcechanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncurrentsourcechanged as *mut _) } }}; -("oncut") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncut as *mut _) } }}; -("ondatachange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondatachange as *mut _) } }}; -("ondataerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondataerror as *mut _) } }}; -("ondblclick") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondblclick as *mut _) } }}; -("ondeleted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondeleted as *mut _) } }}; -("ondeliverysuccess") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondeliverysuccess as *mut _) } }}; -("ondeliveryerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondeliveryerror as *mut _) } }}; -("ondevicefound") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicefound as *mut _) } }}; -("ondevicepaired") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicepaired as *mut _) } }}; -("ondeviceunpaired") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondeviceunpaired as *mut _) } }}; -("ondialing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondialing as *mut _) } }}; -("ondisabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondisabled as *mut _) } }}; -("ondischargingtimechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondischargingtimechange as *mut _) } }}; -("ondisconnect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondisconnect as *mut _) } }}; -("ondisconnected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondisconnected as *mut _) } }}; -("ondisconnecting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondisconnecting as *mut _) } }}; -("ondisplaypasskeyreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondisplaypasskeyreq as *mut _) } }}; -("ondownloading") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondownloading as *mut _) } }}; -("onDOMActivate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMActivate as *mut _) } }}; -("onDOMAttrModified") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMAttrModified as *mut _) } }}; -("onDOMCharacterDataModified") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMCharacterDataModified as *mut _) } }}; -("onDOMFocusIn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMFocusIn as *mut _) } }}; -("onDOMFocusOut") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMFocusOut as *mut _) } }}; -("onDOMMouseScroll") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMMouseScroll as *mut _) } }}; -("onDOMNodeInserted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMNodeInserted as *mut _) } }}; -("onDOMNodeInsertedIntoDocument") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMNodeInsertedIntoDocument as *mut _) } }}; -("onDOMNodeRemoved") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMNodeRemoved as *mut _) } }}; -("onDOMNodeRemovedFromDocument") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMNodeRemovedFromDocument as *mut _) } }}; -("onDOMSubtreeModified") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onDOMSubtreeModified as *mut _) } }}; -("ondata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondata as *mut _) } }}; -("ondrag") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondrag as *mut _) } }}; -("ondragdrop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragdrop as *mut _) } }}; -("ondragend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragend as *mut _) } }}; -("ondragenter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragenter as *mut _) } }}; -("ondragexit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragexit as *mut _) } }}; -("ondraggesture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondraggesture as *mut _) } }}; -("ondragleave") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragleave as *mut _) } }}; -("ondragover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragover as *mut _) } }}; -("ondragstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondragstart as *mut _) } }}; -("ondrain") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondrain as *mut _) } }}; -("ondrop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondrop as *mut _) } }}; -("oneitbroadcasted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oneitbroadcasted as *mut _) } }}; -("onenabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onenabled as *mut _) } }}; -("onenterpincodereq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onenterpincodereq as *mut _) } }}; -("onemergencycbmodechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onemergencycbmodechange as *mut _) } }}; -("onerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onerror as *mut _) } }}; -("onevicted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onevicted as *mut _) } }}; -("onfailed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfailed as *mut _) } }}; -("onfetch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfetch as *mut _) } }}; -("onfinish") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfinish as *mut _) } }}; -("onfocus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfocus as *mut _) } }}; -("onfocusin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfocusin as *mut _) } }}; -("onfocusout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfocusout as *mut _) } }}; -("onfrequencychange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfrequencychange as *mut _) } }}; -("onfullscreenchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfullscreenchange as *mut _) } }}; -("onfullscreenerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onfullscreenerror as *mut _) } }}; -("onspeakerforcedchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onspeakerforcedchange as *mut _) } }}; -("onget") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onget as *mut _) } }}; -("ongroupchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongroupchange as *mut _) } }}; -("onhashchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onhashchange as *mut _) } }}; -("onheadphoneschange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onheadphoneschange as *mut _) } }}; -("onheld") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onheld as *mut _) } }}; -("onhfpstatuschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onhfpstatuschanged as *mut _) } }}; -("onhidstatuschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onhidstatuschanged as *mut _) } }}; -("onholding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onholding as *mut _) } }}; -("oniccchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oniccchange as *mut _) } }}; -("oniccdetected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oniccdetected as *mut _) } }}; -("oniccinfochange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oniccinfochange as *mut _) } }}; -("oniccundetected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oniccundetected as *mut _) } }}; -("onincoming") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onincoming as *mut _) } }}; -("oninput") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oninput as *mut _) } }}; -("oninstall") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oninstall as *mut _) } }}; -("oninvalid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oninvalid as *mut _) } }}; -("onkeydown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onkeydown as *mut _) } }}; -("onkeypress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onkeypress as *mut _) } }}; -("onkeyup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onkeyup as *mut _) } }}; -("onlanguagechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onlanguagechange as *mut _) } }}; -("onlevelchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onlevelchange as *mut _) } }}; -("onLoad") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onLoad as *mut _) } }}; -("onload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onload as *mut _) } }}; -("onloading") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloading as *mut _) } }}; -("onloadingdone") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloadingdone as *mut _) } }}; -("onloadingerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloadingerror as *mut _) } }}; -("onpopstate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpopstate as *mut _) } }}; -("only") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_only as *mut _) } }}; -("onmessage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessage as *mut _) } }}; -("onmessageerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessageerror as *mut _) } }}; -("onmidimessage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmidimessage as *mut _) } }}; -("onmousedown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousedown as *mut _) } }}; -("onmouseenter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmouseenter as *mut _) } }}; -("onmouseleave") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmouseleave as *mut _) } }}; -("onmouselongtap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmouselongtap as *mut _) } }}; -("onmousemove") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousemove as *mut _) } }}; -("onmouseout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmouseout as *mut _) } }}; -("onmouseover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmouseover as *mut _) } }}; -("onMozMouseHittest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozMouseHittest as *mut _) } }}; -("onmouseup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmouseup as *mut _) } }}; -("onMozAfterPaint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozAfterPaint as *mut _) } }}; -("onmozfullscreenchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozfullscreenchange as *mut _) } }}; -("onmozfullscreenerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozfullscreenerror as *mut _) } }}; -("onmozkeydownonplugin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozkeydownonplugin as *mut _) } }}; -("onmozkeyuponplugin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozkeyuponplugin as *mut _) } }}; -("onmozpointerlockchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozpointerlockchange as *mut _) } }}; -("onmozpointerlockerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozpointerlockerror as *mut _) } }}; -("onMozMousePixelScroll") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozMousePixelScroll as *mut _) } }}; -("onMozScrolledAreaChanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozScrolledAreaChanged as *mut _) } }}; -("onmapfolderlistingreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmapfolderlistingreq as *mut _) } }}; -("onmapmessageslistingreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmapmessageslistingreq as *mut _) } }}; -("onmapgetmessagereq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmapgetmessagereq as *mut _) } }}; -("onmapsetmessagestatusreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmapsetmessagestatusreq as *mut _) } }}; -("onmapsendmessagereq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmapsendmessagereq as *mut _) } }}; -("onmapmessageupdatereq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmapmessageupdatereq as *mut _) } }}; -("onmute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmute as *mut _) } }}; -("onnewrdsgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onnewrdsgroup as *mut _) } }}; -("onnotificationclick") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onnotificationclick as *mut _) } }}; -("onnotificationclose") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onnotificationclose as *mut _) } }}; -("onnoupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onnoupdate as *mut _) } }}; -("onobexpasswordreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onobexpasswordreq as *mut _) } }}; -("onobsolete") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onobsolete as *mut _) } }}; -("ononline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ononline as *mut _) } }}; -("onoffline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onoffline as *mut _) } }}; -("onopen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onopen as *mut _) } }}; -("onorientationchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onorientationchange as *mut _) } }}; -("onotastatuschange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onotastatuschange as *mut _) } }}; -("onoverflow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onoverflow as *mut _) } }}; -("onoverflowchanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onoverflowchanged as *mut _) } }}; -("onpagehide") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpagehide as *mut _) } }}; -("onpageshow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpageshow as *mut _) } }}; -("onpaint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpaint as *mut _) } }}; -("onpairingaborted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpairingaborted as *mut _) } }}; -("onpairingconfirmationreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpairingconfirmationreq as *mut _) } }}; -("onpairingconsentreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpairingconsentreq as *mut _) } }}; -("onpaste") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpaste as *mut _) } }}; -("onpendingchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpendingchange as *mut _) } }}; -("onpichange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpichange as *mut _) } }}; -("onpointerlockchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerlockchange as *mut _) } }}; -("onpointerlockerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerlockerror as *mut _) } }}; -("onpopuphidden") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpopuphidden as *mut _) } }}; -("onpopuphiding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpopuphiding as *mut _) } }}; -("onpopuppositioned") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpopuppositioned as *mut _) } }}; -("onpopupshowing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpopupshowing as *mut _) } }}; -("onpopupshown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpopupshown as *mut _) } }}; -("onpullphonebookreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpullphonebookreq as *mut _) } }}; -("onpullvcardentryreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpullvcardentryreq as *mut _) } }}; -("onpullvcardlistingreq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpullvcardlistingreq as *mut _) } }}; -("onpush") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpush as *mut _) } }}; -("onpushsubscriptionchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpushsubscriptionchange as *mut _) } }}; -("onpschange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpschange as *mut _) } }}; -("onptychange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onptychange as *mut _) } }}; -("onradiostatechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onradiostatechange as *mut _) } }}; -("onRadioStateChange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onRadioStateChange as *mut _) } }}; -("onrdsdisabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrdsdisabled as *mut _) } }}; -("onrdsenabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrdsenabled as *mut _) } }}; -("onreaderror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onreaderror as *mut _) } }}; -("onreadsuccess") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onreadsuccess as *mut _) } }}; -("onready") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onready as *mut _) } }}; -("onreadystatechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onreadystatechange as *mut _) } }}; -("onreceived") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onreceived as *mut _) } }}; -("onremoteheld") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onremoteheld as *mut _) } }}; -("onremoteresumed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onremoteresumed as *mut _) } }}; -("onrequestprogress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrequestprogress as *mut _) } }}; -("onresourcetimingbufferfull") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onresourcetimingbufferfull as *mut _) } }}; -("onresponseprogress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onresponseprogress as *mut _) } }}; -("onretrieving") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onretrieving as *mut _) } }}; -("onRequest") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onRequest as *mut _) } }}; -("onrequestmediaplaystatus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrequestmediaplaystatus as *mut _) } }}; -("onreset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onreset as *mut _) } }}; -("onresuming") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onresuming as *mut _) } }}; -("onresize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onresize as *mut _) } }}; -("onrtchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrtchange as *mut _) } }}; -("onscanningstatechanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onscanningstatechanged as *mut _) } }}; -("onscostatuschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onscostatuschanged as *mut _) } }}; -("onscroll") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onscroll as *mut _) } }}; -("onselect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onselect as *mut _) } }}; -("onselectionchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onselectionchange as *mut _) } }}; -("onselectstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onselectstart as *mut _) } }}; -("onsending") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsending as *mut _) } }}; -("onsent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsent as *mut _) } }}; -("onset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onset as *mut _) } }}; -("onshippingaddresschange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onshippingaddresschange as *mut _) } }}; -("onshippingoptionchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onshippingoptionchange as *mut _) } }}; -("onshow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onshow as *mut _) } }}; -("onstatechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstatechange as *mut _) } }}; -("onstatuschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstatuschanged as *mut _) } }}; -("onstkcommand") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstkcommand as *mut _) } }}; -("onstksessionend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstksessionend as *mut _) } }}; -("onstorage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstorage as *mut _) } }}; -("onstorageareachanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstorageareachanged as *mut _) } }}; -("onsubmit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsubmit as *mut _) } }}; -("onsuccess") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsuccess as *mut _) } }}; -("ontypechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontypechange as *mut _) } }}; -("onterminate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onterminate as *mut _) } }}; -("ontext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontext as *mut _) } }}; -("ontoggle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontoggle as *mut _) } }}; -("ontouchstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontouchstart as *mut _) } }}; -("ontouchend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontouchend as *mut _) } }}; -("ontouchmove") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontouchmove as *mut _) } }}; -("ontouchcancel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontouchcancel as *mut _) } }}; -("ontransitioncancel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitioncancel as *mut _) } }}; -("ontransitionend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionend as *mut _) } }}; -("ontransitionrun") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionrun as *mut _) } }}; -("ontransitionstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontransitionstart as *mut _) } }}; -("onunderflow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onunderflow as *mut _) } }}; -("onunload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onunload as *mut _) } }}; -("onunmute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onunmute as *mut _) } }}; -("onupdatefound") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onupdatefound as *mut _) } }}; -("onupdateready") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onupdateready as *mut _) } }}; -("onupgradeneeded") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onupgradeneeded as *mut _) } }}; -("onussdreceived") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onussdreceived as *mut _) } }}; -("onversionchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onversionchange as *mut _) } }}; -("onvisibilitychange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvisibilitychange as *mut _) } }}; -("onvoicechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvoicechange as *mut _) } }}; -("onvoiceschanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvoiceschanged as *mut _) } }}; -("onvrdisplayactivate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvrdisplayactivate as *mut _) } }}; -("onvrdisplayconnect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvrdisplayconnect as *mut _) } }}; -("onvrdisplaydeactivate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvrdisplaydeactivate as *mut _) } }}; -("onvrdisplaydisconnect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvrdisplaydisconnect as *mut _) } }}; -("onvrdisplaypresentchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvrdisplaypresentchange as *mut _) } }}; -("onwebkitAnimationEnd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitAnimationEnd as *mut _) } }}; -("onwebkitAnimationIteration") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitAnimationIteration as *mut _) } }}; -("onwebkitAnimationStart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitAnimationStart as *mut _) } }}; -("onwebkitTransitionEnd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitTransitionEnd as *mut _) } }}; -("onwebkitanimationend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitanimationend as *mut _) } }}; -("onwebkitanimationiteration") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitanimationiteration as *mut _) } }}; -("onwebkitanimationstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkitanimationstart as *mut _) } }}; -("onwebkittransitionend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebkittransitionend as *mut _) } }}; -("onwebsocket") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwebsocket as *mut _) } }}; -("onwheel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwheel as *mut _) } }}; -("open") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_open as *mut _) } }}; -("optgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_optgroup as *mut _) } }}; -("optimum") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_optimum as *mut _) } }}; -("option") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_option as *mut _) } }}; -("or") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__or as *mut _) } }}; -("order") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_order as *mut _) } }}; -("ordinal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ordinal as *mut _) } }}; -("orient") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_orient as *mut _) } }}; -("orientation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_orientation as *mut _) } }}; -("otherwise") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_otherwise as *mut _) } }}; -("output") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_output as *mut _) } }}; -("overflow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overflow as *mut _) } }}; -("overflowchanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overflowchanged as *mut _) } }}; -("overlay") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overlay as *mut _) } }}; -("overlap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overlap as *mut _) } }}; -("p") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_p as *mut _) } }}; -("pack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pack as *mut _) } }}; -("page") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_page as *mut _) } }}; -("pageincrement") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pageincrement as *mut _) } }}; -("pagex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pagex as *mut _) } }}; -("pagey") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pagey as *mut _) } }}; -("paint-order") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_paint_order as *mut _) } }}; -("palettename") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_palettename as *mut _) } }}; -("panel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_panel as *mut _) } }}; -("param") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_param as *mut _) } }}; -("parameter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_parameter as *mut _) } }}; -("parent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_parent as *mut _) } }}; -("parentfocused") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_parentfocused as *mut _) } }}; -("parsetype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_parsetype as *mut _) } }}; -("password") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_password as *mut _) } }}; -("pattern") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pattern as *mut _) } }}; -("pattern-separator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patternSeparator as *mut _) } }}; -("per-mille") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_perMille as *mut _) } }}; -("percent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_percent as *mut _) } }}; -("persist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_persist as *mut _) } }}; -("phase") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_phase as *mut _) } }}; -("picture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_picture as *mut _) } }}; -("ping") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ping as *mut _) } }}; -("pinned") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pinned as *mut _) } }}; -("placeholder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_placeholder as *mut _) } }}; -("plaintext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_plaintext as *mut _) } }}; -("playbackrate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_playbackrate as *mut _) } }}; -("point-size") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointSize as *mut _) } }}; -("pointerlockchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointerlockchange as *mut _) } }}; -("pointerlockerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointerlockerror as *mut _) } }}; -("poly") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_poly as *mut _) } }}; -("polygon") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_polygon as *mut _) } }}; -("popup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popup as *mut _) } }}; -("popupalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupalign as *mut _) } }}; -("popupanchor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupanchor as *mut _) } }}; -("popupgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupgroup as *mut _) } }}; -("popuphidden") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popuphidden as *mut _) } }}; -("popuphiding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popuphiding as *mut _) } }}; -("popupset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupset as *mut _) } }}; -("popupshowing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupshowing as *mut _) } }}; -("popupshown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupshown as *mut _) } }}; -("popupsinherittooltip") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_popupsinherittooltip as *mut _) } }}; -("position") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_position as *mut _) } }}; -("poster") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_poster as *mut _) } }}; -("pre") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pre as *mut _) } }}; -("preceding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preceding as *mut _) } }}; -("preceding-sibling") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_precedingSibling as *mut _) } }}; -("predicate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_predicate as *mut _) } }}; -("prefix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_prefix as *mut _) } }}; -("preload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preload as *mut _) } }}; -("mozpresentation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozpresentation as *mut _) } }}; -("preserve") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preserve as *mut _) } }}; -("preserve-space") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preserveSpace as *mut _) } }}; -("preventdefault") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preventdefault as *mut _) } }}; -("primary") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_primary as *mut _) } }}; -("print") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_print as *mut _) } }}; -("priority") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_priority as *mut _) } }}; -("processing-instruction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_processingInstruction as *mut _) } }}; -("profile") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_profile as *mut _) } }}; -("progress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_progress as *mut _) } }}; -("progressmeter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_progressmeter as *mut _) } }}; -("progressNormal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_progressNormal as *mut _) } }}; -("progressUndetermined") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_progressUndetermined as *mut _) } }}; -("projection") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_projection as *mut _) } }}; -("prompt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_prompt as *mut _) } }}; -("propagate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_propagate as *mut _) } }}; -("properties") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_properties as *mut _) } }}; -("property") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_property as *mut _) } }}; -("pubdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pubdate as *mut _) } }}; -("q") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_q as *mut _) } }}; -("query") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_query as *mut _) } }}; -("queryset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_queryset as *mut _) } }}; -("querytype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_querytype as *mut _) } }}; -("radio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_radio as *mut _) } }}; -("radiogroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_radiogroup as *mut _) } }}; -("range") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_range as *mut _) } }}; -("readonly") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_readonly as *mut _) } }}; -("rect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rect as *mut _) } }}; -("rectangle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rectangle as *mut _) } }}; -("refresh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_refresh as *mut _) } }}; -("rel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rel as *mut _) } }}; -("onreloadpage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onreloadpage as *mut _) } }}; -("rem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rem as *mut _) } }}; -("remote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_remote as *mut _) } }}; -("removeelement") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_removeelement as *mut _) } }}; -("renderingobserverlist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_renderingobserverlist as *mut _) } }}; -("repeat") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_repeat as *mut _) } }}; -("replace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_replace as *mut _) } }}; -("requestcontextid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_requestcontextid as *mut _) } }}; -("required") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_required as *mut _) } }}; -("reserved") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reserved as *mut _) } }}; -("reset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reset as *mut _) } }}; -("resizeafter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resizeafter as *mut _) } }}; -("resizebefore") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resizebefore as *mut _) } }}; -("resizer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resizer as *mut _) } }}; -("resolution") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resolution as *mut _) } }}; -("resources") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resources as *mut _) } }}; -("result") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_result as *mut _) } }}; -("result-prefix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resultPrefix as *mut _) } }}; -("retargetdocumentfocus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_retargetdocumentfocus as *mut _) } }}; -("rev") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rev as *mut _) } }}; -("reverse") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reverse as *mut _) } }}; -("reversed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reversed as *mut _) } }}; -("richlistbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_richlistbox as *mut _) } }}; -("richlistitem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_richlistitem as *mut _) } }}; -("right") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_right as *mut _) } }}; -("rightmargin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rightmargin as *mut _) } }}; -("rightpadding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rightpadding as *mut _) } }}; -("role") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_role as *mut _) } }}; -("rolluponmousewheel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rolluponmousewheel as *mut _) } }}; -("round") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_round as *mut _) } }}; -("row") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_row as *mut _) } }}; -("rows") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rows as *mut _) } }}; -("rowspan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rowspan as *mut _) } }}; -("rb") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rb as *mut _) } }}; -("rp") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rp as *mut _) } }}; -("rt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rt as *mut _) } }}; -("rtc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rtc as *mut _) } }}; -("rtl") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rtl as *mut _) } }}; -("ruby") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ruby as *mut _) } }}; -("ruby-base") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rubyBase as *mut _) } }}; -("ruby-base-container") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rubyBaseContainer as *mut _) } }}; -("ruby-text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rubyText as *mut _) } }}; -("ruby-text-container") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rubyTextContainer as *mut _) } }}; -("rule") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rule as *mut _) } }}; -("rules") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rules as *mut _) } }}; -("s") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_s as *mut _) } }}; -("samp") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_samp as *mut _) } }}; -("sandbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sandbox as *mut _) } }}; -("sbattr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sbattr as *mut _) } }}; -("scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scale as *mut _) } }}; -("scan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scan as *mut _) } }}; -("scheme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scheme as *mut _) } }}; -("scope") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scope as *mut _) } }}; -("scoped") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scoped as *mut _) } }}; -("screen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_screen as *mut _) } }}; -("screenX") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_screenX as *mut _) } }}; -("screenY") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_screenY as *mut _) } }}; -("script") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_script as *mut _) } }}; -("scriptEnabledBeforePrintOrPreview") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scriptEnabledBeforePrintOrPreview as *mut _) } }}; -("scrollbar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar as *mut _) } }}; -("scrollbarbutton") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbarbutton as *mut _) } }}; -("scrollbar-down-bottom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbarDownBottom as *mut _) } }}; -("scrollbar-down-top") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbarDownTop as *mut _) } }}; -("scrollbar-up-bottom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbarUpBottom as *mut _) } }}; -("scrollbar-up-top") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbarUpTop as *mut _) } }}; -("scrollbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbox as *mut _) } }}; -("scrollcorner") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollcorner as *mut _) } }}; -("scrolling") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrolling as *mut _) } }}; -("scroll-position") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollPosition as *mut _) } }}; -("section") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_section as *mut _) } }}; -("select") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_select as *mut _) } }}; -("selectable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_selectable as *mut _) } }}; -("selected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_selected as *mut _) } }}; -("selectedIndex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_selectedIndex as *mut _) } }}; -("selectedindex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_selectedindex as *mut _) } }}; -("self") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_self as *mut _) } }}; -("seltype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_seltype as *mut _) } }}; -("set-cookie") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_setcookie as *mut _) } }}; -("setter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_setter as *mut _) } }}; -("shape") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_shape as *mut _) } }}; -("show") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_show as *mut _) } }}; -("showcaret") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_showcaret as *mut _) } }}; -("showresizer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_showresizer as *mut _) } }}; -("simple") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_simple as *mut _) } }}; -("simp-chinese-formal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_simp_chinese_formal as *mut _) } }}; -("simp-chinese-informal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_simp_chinese_informal as *mut _) } }}; -("single") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_single as *mut _) } }}; -("size") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_size as *mut _) } }}; -("sizes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sizes as *mut _) } }}; -("sizemode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sizemode as *mut _) } }}; -("sizetopopup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sizetopopup as *mut _) } }}; -("slider") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_slider as *mut _) } }}; -("small") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_small as *mut _) } }}; -("smooth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_smooth as *mut _) } }}; -("snap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_snap as *mut _) } }}; -("sort") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sort as *mut _) } }}; -("sortActive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortActive as *mut _) } }}; -("sortDirection") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortDirection as *mut _) } }}; -("sorted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sorted as *mut _) } }}; -("sorthints") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sorthints as *mut _) } }}; -("sortLocked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortLocked as *mut _) } }}; -("source") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_source as *mut _) } }}; -("space") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_space as *mut _) } }}; -("spacer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spacer as *mut _) } }}; -("span") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_span as *mut _) } }}; -("spellcheck") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spellcheck as *mut _) } }}; -("spinner") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spinner as *mut _) } }}; -("split") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_split as *mut _) } }}; -("splitter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_splitter as *mut _) } }}; -("spring") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spring as *mut _) } }}; -("square") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_square as *mut _) } }}; -("src") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_src as *mut _) } }}; -("srcdoc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_srcdoc as *mut _) } }}; -("srclang") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_srclang as *mut _) } }}; -("srcset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_srcset as *mut _) } }}; -("stack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stack as *mut _) } }}; -("standalone") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_standalone as *mut _) } }}; -("standby") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_standby as *mut _) } }}; -("start") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_start as *mut _) } }}; -("start_after") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_start_after as *mut _) } }}; -("start_before") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_start_before as *mut _) } }}; -("starts-with") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_startsWith as *mut _) } }}; -("state") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_state as *mut _) } }}; -("statedatasource") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_statedatasource as *mut _) } }}; -("staticHint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_staticHint as *mut _) } }}; -("statusbar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_statusbar as *mut _) } }}; -("statustext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_statustext as *mut _) } }}; -("step") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_step as *mut _) } }}; -("stop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stop as *mut _) } }}; -("stretch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stretch as *mut _) } }}; -("strike") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_strike as *mut _) } }}; -("string") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_string as *mut _) } }}; -("string-length") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stringLength as *mut _) } }}; -("strip-space") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stripSpace as *mut _) } }}; -("strong") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_strong as *mut _) } }}; -("style") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_style as *mut _) } }}; -("stylesheet") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stylesheet as *mut _) } }}; -("stylesheet-prefix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stylesheetPrefix as *mut _) } }}; -("subject") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_subject as *mut _) } }}; -("submit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_submit as *mut _) } }}; -("substate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_substate as *mut _) } }}; -("substring") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_substring as *mut _) } }}; -("substring-after") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_substringAfter as *mut _) } }}; -("substring-before") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_substringBefore as *mut _) } }}; -("sub") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sub as *mut _) } }}; -("sum") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sum as *mut _) } }}; -("sup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sup as *mut _) } }}; -("summary") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_summary as *mut _) } }}; -("system-property") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_systemProperty as *mut _) } }}; -("tab") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tab as *mut _) } }}; -("tabbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tabbox as *mut _) } }}; -("tabindex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tabindex as *mut _) } }}; -("table") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_table as *mut _) } }}; -("tabpanel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tabpanel as *mut _) } }}; -("tabpanels") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tabpanels as *mut _) } }}; -("tag") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tag as *mut _) } }}; -("target") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_target as *mut _) } }}; -("targets") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_targets as *mut _) } }}; -("tbody") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tbody as *mut _) } }}; -("td") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_td as *mut _) } }}; -("template") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__template as *mut _) } }}; -("text-decoration") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_text_decoration as *mut _) } }}; -("terminate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_terminate as *mut _) } }}; -("term") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_term as *mut _) } }}; -("test") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_test as *mut _) } }}; -("text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_text as *mut _) } }}; -("text-align") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textAlign as *mut _) } }}; -("textarea") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textarea as *mut _) } }}; -("textbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textbox as *mut _) } }}; -("textnode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textnode as *mut _) } }}; -("textNodeDirectionalityMap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textNodeDirectionalityMap as *mut _) } }}; -("tfoot") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tfoot as *mut _) } }}; -("th") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_th as *mut _) } }}; -("thead") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_thead as *mut _) } }}; -("thumb") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_thumb as *mut _) } }}; -("time") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_time as *mut _) } }}; -("title") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_title as *mut _) } }}; -("titlebar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_titlebar as *mut _) } }}; -("titletip") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_titletip as *mut _) } }}; -("toggled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toggled as *mut _) } }}; -("token") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_token as *mut _) } }}; -("tokenize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tokenize as *mut _) } }}; -("toolbar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbar as *mut _) } }}; -("toolbarbutton") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbarbutton as *mut _) } }}; -("toolbaritem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbaritem as *mut _) } }}; -("toolbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbox as *mut _) } }}; -("tooltip") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tooltip as *mut _) } }}; -("tooltiptext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tooltiptext as *mut _) } }}; -("top") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_top as *mut _) } }}; -("topleft") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_topleft as *mut _) } }}; -("topmargin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_topmargin as *mut _) } }}; -("toppadding") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toppadding as *mut _) } }}; -("topright") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_topright as *mut _) } }}; -("tr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tr as *mut _) } }}; -("track") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_track as *mut _) } }}; -("trad-chinese-formal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_trad_chinese_formal as *mut _) } }}; -("trad-chinese-informal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_trad_chinese_informal as *mut _) } }}; -("trailing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_trailing as *mut _) } }}; -("transform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transform as *mut _) } }}; -("transform-3d") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transform_3d as *mut _) } }}; -("transformiix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transformiix as *mut _) } }}; -("translate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_translate as *mut _) } }}; -("transparent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transparent as *mut _) } }}; -("tree") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tree as *mut _) } }}; -("treecell") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treecell as *mut _) } }}; -("treechildren") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treechildren as *mut _) } }}; -("treecol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treecol as *mut _) } }}; -("treecolpicker") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treecolpicker as *mut _) } }}; -("treecols") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treecols as *mut _) } }}; -("treeitem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treeitem as *mut _) } }}; -("treerow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treerow as *mut _) } }}; -("treeseparator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treeseparator as *mut _) } }}; -("triple") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_triple as *mut _) } }}; -("true") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__true as *mut _) } }}; -("tt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tt as *mut _) } }}; -("tty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tty as *mut _) } }}; -("tv") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tv as *mut _) } }}; -("type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_type as *mut _) } }}; -("typemustmatch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_typemustmatch as *mut _) } }}; -("u") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_u as *mut _) } }}; -("ul") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ul as *mut _) } }}; -("underflow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_underflow as *mut _) } }}; -("undetermined") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_undetermined as *mut _) } }}; -("unload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_unload as *mut _) } }}; -("unmute") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_unmute as *mut _) } }}; -("unparsed-entity-uri") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_unparsedEntityUri as *mut _) } }}; -("upper-alpha") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_upperAlpha as *mut _) } }}; -("upper-first") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_upperFirst as *mut _) } }}; -("upper-roman") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_upperRoman as *mut _) } }}; -("uri") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_uri as *mut _) } }}; -("use") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_use as *mut _) } }}; -("use-attribute-sets") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_useAttributeSets as *mut _) } }}; -("usemap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_usemap as *mut _) } }}; -("user-scalable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_user_scalable as *mut _) } }}; -("userInput") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_userInput as *mut _) } }}; -("validate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_validate as *mut _) } }}; -("valign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_valign as *mut _) } }}; -("value") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_value as *mut _) } }}; -("values") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_values as *mut _) } }}; -("value-of") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_valueOf as *mut _) } }}; -("valuetype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_valuetype as *mut _) } }}; -("var") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_var as *mut _) } }}; -("variable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_variable as *mut _) } }}; -("vbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vbox as *mut _) } }}; -("vcard_name") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vcard_name as *mut _) } }}; -("vendor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vendor as *mut _) } }}; -("vendor-url") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vendorUrl as *mut _) } }}; -("version") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_version as *mut _) } }}; -("vert") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vert as *mut _) } }}; -("vertical") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vertical as *mut _) } }}; -("audio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_audio as *mut _) } }}; -("video") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_video as *mut _) } }}; -("videocontrols") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_videocontrols as *mut _) } }}; -("viewport") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport as *mut _) } }}; -("viewport-height") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport_height as *mut _) } }}; -("viewport-initial-scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport_initial_scale as *mut _) } }}; -("viewport-maximum-scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport_maximum_scale as *mut _) } }}; -("viewport-minimum-scale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport_minimum_scale as *mut _) } }}; -("viewport-user-scalable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport_user_scalable as *mut _) } }}; -("viewport-width") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewport_width as *mut _) } }}; -("visibility") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_visibility as *mut _) } }}; -("visuallyselected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_visuallyselected as *mut _) } }}; -("vlink") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vlink as *mut _) } }}; -("vspace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vspace as *mut _) } }}; -("wbr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_wbr as *mut _) } }}; -("webkitdirectory") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_webkitdirectory as *mut _) } }}; -("when") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_when as *mut _) } }}; -("where") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_where as *mut _) } }}; -("widget") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_widget as *mut _) } }}; -("width") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_width as *mut _) } }}; -("will-change") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_willChange as *mut _) } }}; -("window") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_window as *mut _) } }}; -("window-target") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerWindowTarget as *mut _) } }}; -("windowtype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windowtype as *mut _) } }}; -("with-param") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_withParam as *mut _) } }}; -("wizard") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_wizard as *mut _) } }}; -("wrap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_wrap as *mut _) } }}; -("x-dns-prefetch-control") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerDNSPrefetchControl as *mut _) } }}; -("content-security-policy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerCSP as *mut _) } }}; -("content-security-policy-report-only") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerCSPReportOnly as *mut _) } }}; -("x-frame-options") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_headerXFO as *mut _) } }}; -("x-western") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_western as *mut _) } }}; -("xml") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xml as *mut _) } }}; -("xml-stylesheet") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xml_stylesheet as *mut _) } }}; -("xmlns") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xmlns as *mut _) } }}; -("xmp") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xmp as *mut _) } }}; -("xulcontentsgenerated") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xulcontentsgenerated as *mut _) } }}; -("yes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_yes as *mut _) } }}; -("z-index") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_z_index as *mut _) } }}; -("zero-digit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zeroDigit as *mut _) } }}; -("%") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_percentage as *mut _) } }}; -("A") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_A as *mut _) } }}; -("alignment-baseline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alignment_baseline as *mut _) } }}; -("amplitude") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_amplitude as *mut _) } }}; -("animate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animate as *mut _) } }}; -("animateColor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animateColor as *mut _) } }}; -("animateMotion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animateMotion as *mut _) } }}; -("animateTransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animateTransform as *mut _) } }}; -("arithmetic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arithmetic as *mut _) } }}; -("atop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_atop as *mut _) } }}; -("azimuth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_azimuth as *mut _) } }}; -("B") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_B as *mut _) } }}; -("background-color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_backgroundColor as *mut _) } }}; -("background-image") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_background_image as *mut _) } }}; -("baseFrequency") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_baseFrequency as *mut _) } }}; -("baseline-shift") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_baseline_shift as *mut _) } }}; -("bias") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bias as *mut _) } }}; -("caption-side") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_caption_side as *mut _) } }}; -("clip-path") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clip_path as *mut _) } }}; -("clip-rule") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clip_rule as *mut _) } }}; -("clipPath") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clipPath as *mut _) } }}; -("clipPathUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clipPathUnits as *mut _) } }}; -("cm") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cm as *mut _) } }}; -("color-burn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorBurn as *mut _) } }}; -("color-dodge") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorDodge as *mut _) } }}; -("color-interpolation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorInterpolation as *mut _) } }}; -("color-interpolation-filters") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorInterpolationFilters as *mut _) } }}; -("colorpicker") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorpicker as *mut _) } }}; -("color-profile") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_colorProfile as *mut _) } }}; -("cursor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cursor as *mut _) } }}; -("cx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cx as *mut _) } }}; -("cy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cy as *mut _) } }}; -("d") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_d as *mut _) } }}; -("darken") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_darken as *mut _) } }}; -("defs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_defs as *mut _) } }}; -("deg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_deg as *mut _) } }}; -("desc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_desc as *mut _) } }}; -("diffuseConstant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_diffuseConstant as *mut _) } }}; -("dilate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dilate as *mut _) } }}; -("direction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_direction as *mut _) } }}; -("disable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disable as *mut _) } }}; -("disc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_disc as *mut _) } }}; -("discrete") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_discrete as *mut _) } }}; -("divisor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_divisor as *mut _) } }}; -("dominant-baseline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dominant_baseline as *mut _) } }}; -("duplicate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_duplicate as *mut _) } }}; -("dx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dx as *mut _) } }}; -("dy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dy as *mut _) } }}; -("edgeMode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_edgeMode as *mut _) } }}; -("ellipse") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ellipse as *mut _) } }}; -("elevation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_elevation as *mut _) } }}; -("erode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_erode as *mut _) } }}; -("ex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ex as *mut _) } }}; -("exact") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exact as *mut _) } }}; -("exclusion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exclusion as *mut _) } }}; -("exponent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exponent as *mut _) } }}; -("feBlend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feBlend as *mut _) } }}; -("feColorMatrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feColorMatrix as *mut _) } }}; -("feComponentTransfer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feComponentTransfer as *mut _) } }}; -("feComposite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feComposite as *mut _) } }}; -("feConvolveMatrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feConvolveMatrix as *mut _) } }}; -("feDiffuseLighting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feDiffuseLighting as *mut _) } }}; -("feDisplacementMap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feDisplacementMap as *mut _) } }}; -("feDistantLight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feDistantLight as *mut _) } }}; -("feDropShadow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feDropShadow as *mut _) } }}; -("feFlood") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feFlood as *mut _) } }}; -("feFuncA") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feFuncA as *mut _) } }}; -("feFuncB") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feFuncB as *mut _) } }}; -("feFuncG") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feFuncG as *mut _) } }}; -("feFuncR") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feFuncR as *mut _) } }}; -("feGaussianBlur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feGaussianBlur as *mut _) } }}; -("feImage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feImage as *mut _) } }}; -("feMerge") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feMerge as *mut _) } }}; -("feMergeNode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feMergeNode as *mut _) } }}; -("feMorphology") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feMorphology as *mut _) } }}; -("feOffset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feOffset as *mut _) } }}; -("fePointLight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fePointLight as *mut _) } }}; -("feSpecularLighting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feSpecularLighting as *mut _) } }}; -("feSpotLight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feSpotLight as *mut _) } }}; -("feTile") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feTile as *mut _) } }}; -("feTurbulence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feTurbulence as *mut _) } }}; -("fill") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fill as *mut _) } }}; -("fill-opacity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fill_opacity as *mut _) } }}; -("fill-rule") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fill_rule as *mut _) } }}; -("filter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_filter as *mut _) } }}; -("filterUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_filterUnits as *mut _) } }}; -("float") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__float as *mut _) } }}; -("flood-color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flood_color as *mut _) } }}; -("flood-opacity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_flood_opacity as *mut _) } }}; -("font-face") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_face as *mut _) } }}; -("font-face-format") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_face_format as *mut _) } }}; -("font-face-name") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_face_name as *mut _) } }}; -("font-face-src") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_face_src as *mut _) } }}; -("font-face-uri") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_face_uri as *mut _) } }}; -("font-family") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_family as *mut _) } }}; -("font-size") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_size as *mut _) } }}; -("font-size-adjust") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_size_adjust as *mut _) } }}; -("font-stretch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_stretch as *mut _) } }}; -("font-style") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_style as *mut _) } }}; -("font-variant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_font_variant as *mut _) } }}; -("foreignObject") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_foreignObject as *mut _) } }}; -("fractalNoise") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fractalNoise as *mut _) } }}; -("fr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fr as *mut _) } }}; -("fx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fx as *mut _) } }}; -("fy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fy as *mut _) } }}; -("G") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_G as *mut _) } }}; -("g") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_g as *mut _) } }}; -("gamma") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gamma as *mut _) } }}; -("generic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_generic_ as *mut _) } }}; -("glyphRef") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_glyphRef as *mut _) } }}; -("grad") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_grad as *mut _) } }}; -("gradientTransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gradientTransform as *mut _) } }}; -("gradientUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gradientUnits as *mut _) } }}; -("hard-light") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hardLight as *mut _) } }}; -("hue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hue as *mut _) } }}; -("hueRotate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hueRotate as *mut _) } }}; -("identity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_identity as *mut _) } }}; -("image-rendering") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_image_rendering as *mut _) } }}; -("in") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_in as *mut _) } }}; -("in2") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_in2 as *mut _) } }}; -("intercept") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_intercept as *mut _) } }}; -("k1") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_k1 as *mut _) } }}; -("k2") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_k2 as *mut _) } }}; -("k3") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_k3 as *mut _) } }}; -("k4") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_k4 as *mut _) } }}; -("kernelMatrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kernelMatrix as *mut _) } }}; -("kernelUnitLength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kernelUnitLength as *mut _) } }}; -("lengthAdjust") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lengthAdjust as *mut _) } }}; -("letter-spacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_letter_spacing as *mut _) } }}; -("lighten") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lighten as *mut _) } }}; -("lighting-color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lighting_color as *mut _) } }}; -("limitingConeAngle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_limitingConeAngle as *mut _) } }}; -("linear") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linear as *mut _) } }}; -("linearGradient") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linearGradient as *mut _) } }}; -("linearRGB") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linearRGB as *mut _) } }}; -("list-style-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_list_style_type as *mut _) } }}; -("luminanceToAlpha") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_luminanceToAlpha as *mut _) } }}; -("luminosity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_luminosity as *mut _) } }}; -("magnify") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_magnify as *mut _) } }}; -("marker") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marker as *mut _) } }}; -("marker-end") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marker_end as *mut _) } }}; -("marker-mid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marker_mid as *mut _) } }}; -("marker-start") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_marker_start as *mut _) } }}; -("markerHeight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_markerHeight as *mut _) } }}; -("markerUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_markerUnits as *mut _) } }}; -("markerWidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_markerWidth as *mut _) } }}; -("mask") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mask as *mut _) } }}; -("maskContentUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maskContentUnits as *mut _) } }}; -("mask-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mask_type as *mut _) } }}; -("maskUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maskUnits as *mut _) } }}; -("matrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_matrix as *mut _) } }}; -("metadata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_metadata as *mut _) } }}; -("missing-glyph") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_missingGlyph as *mut _) } }}; -("mm") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mm as *mut _) } }}; -("mpath") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mpath as *mut _) } }}; -("noStitch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_noStitch as *mut _) } }}; -("numOctaves") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_numOctaves as *mut _) } }}; -("multiply") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_multiply as *mut _) } }}; -("objectBoundingBox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_objectBoundingBox as *mut _) } }}; -("offset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_offset as *mut _) } }}; -("onSVGLoad") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onSVGLoad as *mut _) } }}; -("onSVGResize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onSVGResize as *mut _) } }}; -("onSVGScroll") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onSVGScroll as *mut _) } }}; -("onSVGUnload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onSVGUnload as *mut _) } }}; -("onSVGZoom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onSVGZoom as *mut _) } }}; -("onzoom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onzoom as *mut _) } }}; -("opacity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_opacity as *mut _) } }}; -("operator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__operator as *mut _) } }}; -("out") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_out as *mut _) } }}; -("over") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_over as *mut _) } }}; -("overridePreserveAspectRatio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overridePreserveAspectRatio as *mut _) } }}; -("pad") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pad as *mut _) } }}; -("path") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_path as *mut _) } }}; -("pathLength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pathLength as *mut _) } }}; -("patternContentUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patternContentUnits as *mut _) } }}; -("patternTransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patternTransform as *mut _) } }}; -("patternUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patternUnits as *mut _) } }}; -("pc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pc as *mut _) } }}; -("pointer-events") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointer_events as *mut _) } }}; -("points") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_points as *mut _) } }}; -("pointsAtX") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointsAtX as *mut _) } }}; -("pointsAtY") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointsAtY as *mut _) } }}; -("pointsAtZ") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointsAtZ as *mut _) } }}; -("polyline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_polyline as *mut _) } }}; -("preserveAlpha") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preserveAlpha as *mut _) } }}; -("preserveAspectRatio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preserveAspectRatio as *mut _) } }}; -("primitiveUnits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_primitiveUnits as *mut _) } }}; -("pt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pt as *mut _) } }}; -("px") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_px as *mut _) } }}; -("R") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_R as *mut _) } }}; -("r") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_r as *mut _) } }}; -("rad") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rad as *mut _) } }}; -("radialGradient") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_radialGradient as *mut _) } }}; -("radius") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_radius as *mut _) } }}; -("reflect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reflect as *mut _) } }}; -("refX") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_refX as *mut _) } }}; -("refY") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_refY as *mut _) } }}; -("requiredExtensions") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_requiredExtensions as *mut _) } }}; -("requiredFeatures") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_requiredFeatures as *mut _) } }}; -("rotate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rotate as *mut _) } }}; -("rx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rx as *mut _) } }}; -("ry") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ry as *mut _) } }}; -("saturate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_saturate as *mut _) } }}; -("saturation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_saturation as *mut _) } }}; -("set") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_set as *mut _) } }}; -("seed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_seed as *mut _) } }}; -("shape-rendering") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_shape_rendering as *mut _) } }}; -("simpleScopeChain") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_simpleScopeChain as *mut _) } }}; -("skewX") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_skewX as *mut _) } }}; -("skewY") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_skewY as *mut _) } }}; -("slope") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_slope as *mut _) } }}; -("slot") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_slot as *mut _) } }}; -("soft-light") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_softLight as *mut _) } }}; -("spacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spacing as *mut _) } }}; -("spacingAndGlyphs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spacingAndGlyphs as *mut _) } }}; -("specularConstant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_specularConstant as *mut _) } }}; -("specularExponent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_specularExponent as *mut _) } }}; -("spreadMethod") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spreadMethod as *mut _) } }}; -("sRGB") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sRGB as *mut _) } }}; -("startOffset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_startOffset as *mut _) } }}; -("stdDeviation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stdDeviation as *mut _) } }}; -("stitch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stitch as *mut _) } }}; -("stitchTiles") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stitchTiles as *mut _) } }}; -("stop-color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stop_color as *mut _) } }}; -("stop-opacity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stop_opacity as *mut _) } }}; -("stroke") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke as *mut _) } }}; -("stroke-dasharray") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_dasharray as *mut _) } }}; -("stroke-dashoffset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_dashoffset as *mut _) } }}; -("stroke-linecap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_linecap as *mut _) } }}; -("stroke-linejoin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_linejoin as *mut _) } }}; -("stroke-miterlimit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_miterlimit as *mut _) } }}; -("stroke-opacity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_opacity as *mut _) } }}; -("stroke-width") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stroke_width as *mut _) } }}; -("strokeWidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_strokeWidth as *mut _) } }}; -("surfaceScale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_surfaceScale as *mut _) } }}; -("svg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_svg as *mut _) } }}; -("svgContextPaint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_svgContextPaint as *mut _) } }}; -("switch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_svgSwitch as *mut _) } }}; -("symbol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_symbol as *mut _) } }}; -("systemLanguage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_systemLanguage as *mut _) } }}; -("tableValues") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tableValues as *mut _) } }}; -("targetX") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_targetX as *mut _) } }}; -("targetY") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_targetY as *mut _) } }}; -("text-anchor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_text_anchor as *mut _) } }}; -("text-rendering") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_text_rendering as *mut _) } }}; -("textLength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textLength as *mut _) } }}; -("textPath") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textPath as *mut _) } }}; -("tref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tref as *mut _) } }}; -("tspan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tspan as *mut _) } }}; -("turbulence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_turbulence as *mut _) } }}; -("unicode-bidi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_unicode_bidi as *mut _) } }}; -("userSpaceOnUse") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_userSpaceOnUse as *mut _) } }}; -("view") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_view as *mut _) } }}; -("viewBox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewBox as *mut _) } }}; -("viewTarget") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewTarget as *mut _) } }}; -("white-space") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_white_space as *mut _) } }}; -("word-spacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_word_spacing as *mut _) } }}; -("writing-mode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_writing_mode as *mut _) } }}; -("x") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x as *mut _) } }}; -("x1") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x1 as *mut _) } }}; -("x2") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x2 as *mut _) } }}; -("xChannelSelector") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xChannelSelector as *mut _) } }}; -("xor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xor_ as *mut _) } }}; -("y") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_y as *mut _) } }}; -("y1") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_y1 as *mut _) } }}; -("y2") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_y2 as *mut _) } }}; -("yChannelSelector") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_yChannelSelector as *mut _) } }}; -("z") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_z as *mut _) } }}; -("zoomAndPan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zoomAndPan as *mut _) } }}; -("vector-effect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vector_effect as *mut _) } }}; -("vertical-align") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vertical_align as *mut _) } }}; -("accumulate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_accumulate as *mut _) } }}; -("additive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_additive as *mut _) } }}; -("attributeName") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attributeName as *mut _) } }}; -("attributeType") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attributeType as *mut _) } }}; -("auto-reverse") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_auto_reverse as *mut _) } }}; -("begin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_begin as *mut _) } }}; -("beginEvent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_beginEvent as *mut _) } }}; -("by") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_by as *mut _) } }}; -("calcMode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_calcMode as *mut _) } }}; -("CSS") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_css as *mut _) } }}; -("dur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_dur as *mut _) } }}; -("keyPoints") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keyPoints as *mut _) } }}; -("keySplines") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keySplines as *mut _) } }}; -("keyTimes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keyTimes as *mut _) } }}; -("_mozAnimateMotionDummyAttr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozAnimateMotionDummyAttr as *mut _) } }}; -("onbegin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbegin as *mut _) } }}; -("onbeginEvent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onbeginEvent as *mut _) } }}; -("onend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onend as *mut _) } }}; -("onendEvent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onendEvent as *mut _) } }}; -("onrepeat") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrepeat as *mut _) } }}; -("onrepeatEvent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onrepeatEvent as *mut _) } }}; -("repeatCount") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_repeatCount as *mut _) } }}; -("repeatDur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_repeatDur as *mut _) } }}; -("repeatEvent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_repeatEvent as *mut _) } }}; -("restart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_restart as *mut _) } }}; -("to") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_to as *mut _) } }}; -("XML") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_XML as *mut _) } }}; -("abs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_abs_ as *mut _) } }}; -("accent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_accent_ as *mut _) } }}; -("accentunder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_accentunder_ as *mut _) } }}; -("actiontype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_actiontype_ as *mut _) } }}; -("alignmentscope") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alignmentscope_ as *mut _) } }}; -("altimg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altimg_ as *mut _) } }}; -("altimg-height") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altimg_height_ as *mut _) } }}; -("altimg-valign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altimg_valign_ as *mut _) } }}; -("altimg-width") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altimg_width_ as *mut _) } }}; -("annotation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_annotation_ as *mut _) } }}; -("annotation-xml") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_annotation_xml_ as *mut _) } }}; -("apply") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_apply_ as *mut _) } }}; -("approx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_approx_ as *mut _) } }}; -("arccos") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arccos_ as *mut _) } }}; -("arccosh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arccosh_ as *mut _) } }}; -("arccot") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arccot_ as *mut _) } }}; -("arccoth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arccoth_ as *mut _) } }}; -("arccsc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arccsc_ as *mut _) } }}; -("arccsch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arccsch_ as *mut _) } }}; -("arcsec") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arcsec_ as *mut _) } }}; -("arcsech") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arcsech_ as *mut _) } }}; -("arcsin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arcsin_ as *mut _) } }}; -("arcsinh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arcsinh_ as *mut _) } }}; -("arctan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arctan_ as *mut _) } }}; -("arctanh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arctanh_ as *mut _) } }}; -("arg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arg_ as *mut _) } }}; -("bevelled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bevelled_ as *mut _) } }}; -("bind") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bind_ as *mut _) } }}; -("bvar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_bvar_ as *mut _) } }}; -("card") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_card_ as *mut _) } }}; -("cartesianproduct") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cartesianproduct_ as *mut _) } }}; -("cbytes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cbytes_ as *mut _) } }}; -("cd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cd_ as *mut _) } }}; -("cdgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cdgroup_ as *mut _) } }}; -("cerror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cerror_ as *mut _) } }}; -("charalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_charalign_ as *mut _) } }}; -("ci") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ci_ as *mut _) } }}; -("closure") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_closure_ as *mut _) } }}; -("cn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cn_ as *mut _) } }}; -("codomain") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_codomain_ as *mut _) } }}; -("columnalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnalign_ as *mut _) } }}; -("columnalignment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnalignment_ as *mut _) } }}; -("columnlines") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnlines_ as *mut _) } }}; -("columnspacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnspacing_ as *mut _) } }}; -("columnspan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnspan_ as *mut _) } }}; -("columnwidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnwidth_ as *mut _) } }}; -("complexes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_complexes_ as *mut _) } }}; -("compose") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_compose_ as *mut _) } }}; -("condition") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_condition_ as *mut _) } }}; -("conjugate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_conjugate_ as *mut _) } }}; -("cos") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cos_ as *mut _) } }}; -("cosh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cosh_ as *mut _) } }}; -("cot") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cot_ as *mut _) } }}; -("coth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_coth_ as *mut _) } }}; -("crossout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_crossout_ as *mut _) } }}; -("csc") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_csc_ as *mut _) } }}; -("csch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_csch_ as *mut _) } }}; -("cs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cs_ as *mut _) } }}; -("csymbol") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_csymbol_ as *mut _) } }}; -("curl") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_curl_ as *mut _) } }}; -("decimalpoint") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_decimalpoint_ as *mut _) } }}; -("definitionURL") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_definitionURL_ as *mut _) } }}; -("degree") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_degree_ as *mut _) } }}; -("denomalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_denomalign_ as *mut _) } }}; -("depth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_depth_ as *mut _) } }}; -("determinant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_determinant_ as *mut _) } }}; -("diff") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_diff_ as *mut _) } }}; -("displaystyle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_displaystyle_ as *mut _) } }}; -("divergence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_divergence_ as *mut _) } }}; -("divide") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_divide_ as *mut _) } }}; -("domain") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_domain_ as *mut _) } }}; -("domainofapplication") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_domainofapplication_ as *mut _) } }}; -("edge") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_edge_ as *mut _) } }}; -("el") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_el as *mut _) } }}; -("emptyset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_emptyset_ as *mut _) } }}; -("eq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_eq_ as *mut _) } }}; -("equalcolumns") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_equalcolumns_ as *mut _) } }}; -("equalrows") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_equalrows_ as *mut _) } }}; -("equivalent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_equivalent_ as *mut _) } }}; -("eulergamma") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_eulergamma_ as *mut _) } }}; -("exists") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exists_ as *mut _) } }}; -("exp") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exp_ as *mut _) } }}; -("exponentiale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_exponentiale_ as *mut _) } }}; -("factorial") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_factorial_ as *mut _) } }}; -("factorof") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_factorof_ as *mut _) } }}; -("fence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fence_ as *mut _) } }}; -("fn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fn_ as *mut _) } }}; -("fontfamily") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fontfamily_ as *mut _) } }}; -("fontsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fontsize_ as *mut _) } }}; -("fontstyle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fontstyle_ as *mut _) } }}; -("fontweight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fontweight_ as *mut _) } }}; -("forall") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_forall_ as *mut _) } }}; -("framespacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_framespacing_ as *mut _) } }}; -("gcd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gcd_ as *mut _) } }}; -("geq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_geq_ as *mut _) } }}; -("groupalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_groupalign_ as *mut _) } }}; -("gt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gt_ as *mut _) } }}; -("ident") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ident_ as *mut _) } }}; -("imaginaryi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_imaginaryi_ as *mut _) } }}; -("imaginary") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_imaginary_ as *mut _) } }}; -("implies") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_implies_ as *mut _) } }}; -("indentalignfirst") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indentalignfirst_ as *mut _) } }}; -("indentalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indentalign_ as *mut _) } }}; -("indentalignlast") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indentalignlast_ as *mut _) } }}; -("indentshiftfirst") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indentshiftfirst_ as *mut _) } }}; -("indentshift") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indentshift_ as *mut _) } }}; -("indenttarget") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_indenttarget_ as *mut _) } }}; -("integers") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_integers_ as *mut _) } }}; -("intersect") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_intersect_ as *mut _) } }}; -("interval") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_interval_ as *mut _) } }}; -("int") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_int_ as *mut _) } }}; -("inverse") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_inverse_ as *mut _) } }}; -("lambda") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lambda_ as *mut _) } }}; -("laplacian") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_laplacian_ as *mut _) } }}; -("largeop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_largeop_ as *mut _) } }}; -("lcm") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lcm_ as *mut _) } }}; -("leq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_leq_ as *mut _) } }}; -("limit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_limit_ as *mut _) } }}; -("linebreak") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linebreak_ as *mut _) } }}; -("linebreakmultchar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linebreakmultchar_ as *mut _) } }}; -("linebreakstyle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linebreakstyle_ as *mut _) } }}; -("linethickness") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linethickness_ as *mut _) } }}; -("list") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_list_ as *mut _) } }}; -("ln") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ln_ as *mut _) } }}; -("location") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_location_ as *mut _) } }}; -("logbase") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_logbase_ as *mut _) } }}; -("log") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_log_ as *mut _) } }}; -("longdivstyle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_longdivstyle_ as *mut _) } }}; -("lowlimit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lowlimit_ as *mut _) } }}; -("lquote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lquote_ as *mut _) } }}; -("lspace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lspace_ as *mut _) } }}; -("lt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lt_ as *mut _) } }}; -("maction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maction_ as *mut _) } }}; -("maligngroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maligngroup_ as *mut _) } }}; -("malignmark") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_malignmark_ as *mut _) } }}; -("mathbackground") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mathbackground_ as *mut _) } }}; -("mathcolor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mathcolor_ as *mut _) } }}; -("mathsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mathsize_ as *mut _) } }}; -("mathvariant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mathvariant_ as *mut _) } }}; -("matrixrow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_matrixrow_ as *mut _) } }}; -("maxsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maxsize_ as *mut _) } }}; -("mean") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mean_ as *mut _) } }}; -("median") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_median_ as *mut _) } }}; -("menclose") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menclose_ as *mut _) } }}; -("merror") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_merror_ as *mut _) } }}; -("mfenced") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mfenced_ as *mut _) } }}; -("mfrac") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mfrac_ as *mut _) } }}; -("mglyph") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mglyph_ as *mut _) } }}; -("mi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mi_ as *mut _) } }}; -("minlabelspacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minlabelspacing_ as *mut _) } }}; -("minsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minsize_ as *mut _) } }}; -("minus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_minus_ as *mut _) } }}; -("mlabeledtr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mlabeledtr_ as *mut _) } }}; -("mlongdiv") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mlongdiv_ as *mut _) } }}; -("mmultiscripts") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mmultiscripts_ as *mut _) } }}; -("mn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mn_ as *mut _) } }}; -("momentabout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_momentabout_ as *mut _) } }}; -("moment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moment_ as *mut _) } }}; -("mo") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mo_ as *mut _) } }}; -("movablelimits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_movablelimits_ as *mut _) } }}; -("mover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mover_ as *mut _) } }}; -("mpadded") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mpadded_ as *mut _) } }}; -("mphantom") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mphantom_ as *mut _) } }}; -("mprescripts") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mprescripts_ as *mut _) } }}; -("mroot") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mroot_ as *mut _) } }}; -("mrow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mrow_ as *mut _) } }}; -("mscarries") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mscarries_ as *mut _) } }}; -("mscarry") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mscarry_ as *mut _) } }}; -("msgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msgroup_ as *mut _) } }}; -("msline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msline_ as *mut _) } }}; -("ms") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ms_ as *mut _) } }}; -("mspace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mspace_ as *mut _) } }}; -("msqrt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msqrt_ as *mut _) } }}; -("msrow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msrow_ as *mut _) } }}; -("mstack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mstack_ as *mut _) } }}; -("mstyle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mstyle_ as *mut _) } }}; -("msub") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msub_ as *mut _) } }}; -("msubsup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msubsup_ as *mut _) } }}; -("msup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_msup_ as *mut _) } }}; -("mtable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mtable_ as *mut _) } }}; -("mtd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mtd_ as *mut _) } }}; -("mtext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mtext_ as *mut _) } }}; -("mtr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mtr_ as *mut _) } }}; -("munder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_munder_ as *mut _) } }}; -("munderover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_munderover_ as *mut _) } }}; -("naturalnumbers") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_naturalnumbers_ as *mut _) } }}; -("neq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_neq_ as *mut _) } }}; -("notanumber") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_notanumber_ as *mut _) } }}; -("notation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_notation_ as *mut _) } }}; -("note") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_note_ as *mut _) } }}; -("notin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_notin_ as *mut _) } }}; -("notprsubset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_notprsubset_ as *mut _) } }}; -("notsubset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_notsubset_ as *mut _) } }}; -("numalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_numalign_ as *mut _) } }}; -("other") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_other as *mut _) } }}; -("outerproduct") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_outerproduct_ as *mut _) } }}; -("partialdiff") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_partialdiff_ as *mut _) } }}; -("piece") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_piece_ as *mut _) } }}; -("piecewise") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_piecewise_ as *mut _) } }}; -("pi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pi_ as *mut _) } }}; -("plus") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_plus_ as *mut _) } }}; -("power") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_power_ as *mut _) } }}; -("primes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_primes_ as *mut _) } }}; -("product") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_product_ as *mut _) } }}; -("prsubset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_prsubset_ as *mut _) } }}; -("quotient") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_quotient_ as *mut _) } }}; -("rationals") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rationals_ as *mut _) } }}; -("real") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_real_ as *mut _) } }}; -("reals") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reals_ as *mut _) } }}; -("reln") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_reln_ as *mut _) } }}; -("root") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_root_ as *mut _) } }}; -("rowalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rowalign_ as *mut _) } }}; -("rowlines") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rowlines_ as *mut _) } }}; -("rowspacing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rowspacing_ as *mut _) } }}; -("rquote") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rquote_ as *mut _) } }}; -("rspace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rspace_ as *mut _) } }}; -("scalarproduct") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scalarproduct_ as *mut _) } }}; -("schemaLocation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_schemaLocation_ as *mut _) } }}; -("scriptlevel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scriptlevel_ as *mut _) } }}; -("scriptminsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scriptminsize_ as *mut _) } }}; -("scriptsizemultiplier") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scriptsizemultiplier_ as *mut _) } }}; -("scriptsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scriptsize_ as *mut _) } }}; -("sdev") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sdev_ as *mut _) } }}; -("sech") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sech_ as *mut _) } }}; -("sec") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sec_ as *mut _) } }}; -("selection") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_selection_ as *mut _) } }}; -("selector") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_selector_ as *mut _) } }}; -("semantics") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_semantics_ as *mut _) } }}; -("separator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_separator_ as *mut _) } }}; -("separators") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_separators_ as *mut _) } }}; -("sep") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sep_ as *mut _) } }}; -("setdiff") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_setdiff_ as *mut _) } }}; -("share") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_share_ as *mut _) } }}; -("shift") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_shift_ as *mut _) } }}; -("side") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_side_ as *mut _) } }}; -("sinh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sinh_ as *mut _) } }}; -("sin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sin_ as *mut _) } }}; -("stackalign") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stackalign_ as *mut _) } }}; -("stretchy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stretchy_ as *mut _) } }}; -("subscriptshift") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_subscriptshift_ as *mut _) } }}; -("subset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_subset_ as *mut _) } }}; -("superscriptshift") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_superscriptshift_ as *mut _) } }}; -("symmetric") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_symmetric_ as *mut _) } }}; -("tanh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tanh_ as *mut _) } }}; -("tan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tan_ as *mut _) } }}; -("tendsto") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tendsto_ as *mut _) } }}; -("times") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_times_ as *mut _) } }}; -("transpose") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transpose_ as *mut _) } }}; -("union") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_union_ as *mut _) } }}; -("uplimit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_uplimit_ as *mut _) } }}; -("variance") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_variance_ as *mut _) } }}; -("vectorproduct") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vectorproduct_ as *mut _) } }}; -("vector") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_vector_ as *mut _) } }}; -("voffset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_voffset_ as *mut _) } }}; -("xref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xref_ as *mut _) } }}; -("math") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_math as *mut _) } }}; -("avg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_avg as *mut _) } }}; -("boolean-from-string") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_booleanFromString as *mut _) } }}; -("count-non-empty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_countNonEmpty as *mut _) } }}; -("days-from-date") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_daysFromDate as *mut _) } }}; -("init") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_init as *mut _) } }}; -("instance") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_instance as *mut _) } }}; -("months") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_months as *mut _) } }}; -("now") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_now as *mut _) } }}; -("seconds") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_seconds as *mut _) } }}; -("seconds-from-dateTime") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_secondsFromDateTime as *mut _) } }}; -("onMozSwipeGestureMayStart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozSwipeGestureMayStart as *mut _) } }}; -("onMozSwipeGestureStart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozSwipeGestureStart as *mut _) } }}; -("onMozSwipeGestureUpdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozSwipeGestureUpdate as *mut _) } }}; -("onMozSwipeGestureEnd") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozSwipeGestureEnd as *mut _) } }}; -("onMozSwipeGesture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozSwipeGesture as *mut _) } }}; -("onMozMagnifyGestureStart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozMagnifyGestureStart as *mut _) } }}; -("onMozMagnifyGestureUpdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozMagnifyGestureUpdate as *mut _) } }}; -("onMozMagnifyGesture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozMagnifyGesture as *mut _) } }}; -("onMozRotateGestureStart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozRotateGestureStart as *mut _) } }}; -("onMozRotateGestureUpdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozRotateGestureUpdate as *mut _) } }}; -("onMozRotateGesture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozRotateGesture as *mut _) } }}; -("onMozTapGesture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozTapGesture as *mut _) } }}; -("onMozPressTapGesture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozPressTapGesture as *mut _) } }}; -("onMozEdgeUIStarted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozEdgeUIStarted as *mut _) } }}; -("onMozEdgeUICanceled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozEdgeUICanceled as *mut _) } }}; -("onMozEdgeUICompleted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onMozEdgeUICompleted as *mut _) } }}; -("onpointerdown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerdown as *mut _) } }}; -("onpointermove") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointermove as *mut _) } }}; -("onpointerup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerup as *mut _) } }}; -("onpointercancel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointercancel as *mut _) } }}; -("onpointerover") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerover as *mut _) } }}; -("onpointerout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerout as *mut _) } }}; -("onpointerenter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerenter as *mut _) } }}; -("onpointerleave") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpointerleave as *mut _) } }}; -("ongotpointercapture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongotpointercapture as *mut _) } }}; -("onlostpointercapture") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onlostpointercapture as *mut _) } }}; -("ondevicemotion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicemotion as *mut _) } }}; -("ondeviceorientation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondeviceorientation as *mut _) } }}; -("onabsolutedeviceorientation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onabsolutedeviceorientation as *mut _) } }}; -("ondeviceproximity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondeviceproximity as *mut _) } }}; -("onmozorientationchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmozorientationchange as *mut _) } }}; -("onuserproximity") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onuserproximity as *mut _) } }}; -("ondevicelight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicelight as *mut _) } }}; -("ondevicechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondevicechange as *mut _) } }}; -("moz-extension") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_moz_extension as *mut _) } }}; -("") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_all_urlsPermission as *mut _) } }}; -("clipboardRead") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clipboardRead as *mut _) } }}; -("clipboardWrite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clipboardWrite as *mut _) } }}; -("debugger") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_debugger as *mut _) } }}; -("tabs") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tabs as *mut _) } }}; -("webRequestBlocking") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_webRequestBlocking as *mut _) } }}; -("http") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_http as *mut _) } }}; -("https") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_https as *mut _) } }}; -("proxy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_proxy as *mut _) } }}; -("#cdata-section") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cdataTagName as *mut _) } }}; -("#comment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_commentTagName as *mut _) } }}; -("#document") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_documentNodeName as *mut _) } }}; -("#document-fragment") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_documentFragmentNodeName as *mut _) } }}; -("#document-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_documentTypeNodeName as *mut _) } }}; -("#processing-instruction") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_processingInstructionTagName as *mut _) } }}; -("#text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textTagName as *mut _) } }}; -("PlaceholderFrame") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_placeholderFrame as *mut _) } }}; -("onloadend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloadend as *mut _) } }}; -("onloadstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloadstart as *mut _) } }}; -("onprogress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onprogress as *mut _) } }}; -("onsuspend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsuspend as *mut _) } }}; -("onemptied") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onemptied as *mut _) } }}; -("onstalled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstalled as *mut _) } }}; -("onplay") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onplay as *mut _) } }}; -("onpause") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onpause as *mut _) } }}; -("onloadedmetadata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloadedmetadata as *mut _) } }}; -("onloadeddata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onloadeddata as *mut _) } }}; -("onwaiting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwaiting as *mut _) } }}; -("onplaying") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onplaying as *mut _) } }}; -("oncanplay") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncanplay as *mut _) } }}; -("oncanplaythrough") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncanplaythrough as *mut _) } }}; -("onseeking") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onseeking as *mut _) } }}; -("onseeked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onseeked as *mut _) } }}; -("ontimeout") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontimeout as *mut _) } }}; -("ontimeupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ontimeupdate as *mut _) } }}; -("onended") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onended as *mut _) } }}; -("onratechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onratechange as *mut _) } }}; -("ondurationchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondurationchange as *mut _) } }}; -("onvolumechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onvolumechange as *mut _) } }}; -("onaddtrack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onaddtrack as *mut _) } }}; -("oncontrollerchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncontrollerchange as *mut _) } }}; -("oncuechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_oncuechange as *mut _) } }}; -("onenter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onenter as *mut _) } }}; -("onexit") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onexit as *mut _) } }}; -("onencrypted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onencrypted as *mut _) } }}; -("encrypted") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_encrypted as *mut _) } }}; -("onwaitingforkey") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwaitingforkey as *mut _) } }}; -("onkeystatuseschange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onkeystatuseschange as *mut _) } }}; -("onremovetrack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onremovetrack as *mut _) } }}; -("loadstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_loadstart as *mut _) } }}; -("suspend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_suspend as *mut _) } }}; -("emptied") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_emptied as *mut _) } }}; -("stalled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stalled as *mut _) } }}; -("play") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_play as *mut _) } }}; -("pause") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pause as *mut _) } }}; -("loadedmetadata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_loadedmetadata as *mut _) } }}; -("loadeddata") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_loadeddata as *mut _) } }}; -("waiting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_waiting as *mut _) } }}; -("playing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_playing as *mut _) } }}; -("seeking") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_seeking as *mut _) } }}; -("seeked") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_seeked as *mut _) } }}; -("timeupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_timeupdate as *mut _) } }}; -("ended") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ended as *mut _) } }}; -("canplay") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_canplay as *mut _) } }}; -("canplaythrough") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_canplaythrough as *mut _) } }}; -("ratechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ratechange as *mut _) } }}; -("durationchange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_durationchange as *mut _) } }}; -("volumechange") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_volumechange as *mut _) } }}; -("ondataavailable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ondataavailable as *mut _) } }}; -("onwarning") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onwarning as *mut _) } }}; -("onstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstart as *mut _) } }}; -("onstop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onstop as *mut _) } }}; -("onphoto") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onphoto as *mut _) } }}; -("onactivestatechanged") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onactivestatechanged as *mut _) } }}; -("ongamepadbuttondown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongamepadbuttondown as *mut _) } }}; -("ongamepadbuttonup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongamepadbuttonup as *mut _) } }}; -("ongamepadaxismove") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongamepadaxismove as *mut _) } }}; -("ongamepadconnected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongamepadconnected as *mut _) } }}; -("ongamepaddisconnected") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ongamepaddisconnected as *mut _) } }}; -("afterPseudoProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_afterPseudoProperty as *mut _) } }}; -("AnimationsProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animationsProperty as *mut _) } }}; -("AnimationsOfBeforeProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animationsOfBeforeProperty as *mut _) } }}; -("AnimationsOfAfterProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animationsOfAfterProperty as *mut _) } }}; -("AnimationEffectsProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animationEffectsProperty as *mut _) } }}; -("AnimationsEffectsForBeforeProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animationEffectsForBeforeProperty as *mut _) } }}; -("AnimationsEffectsForAfterProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animationEffectsForAfterProperty as *mut _) } }}; -("beforePseudoProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_beforePseudoProperty as *mut _) } }}; -("CSSPseudoElementBeforeProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cssPseudoElementBeforeProperty as *mut _) } }}; -("CSSPseudoElementAfterProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cssPseudoElementAfterProperty as *mut _) } }}; -("TransitionsProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transitionsProperty as *mut _) } }}; -("TransitionsOfBeforeProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transitionsOfBeforeProperty as *mut _) } }}; -("TransitionsOfAfterProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_transitionsOfAfterProperty as *mut _) } }}; -("QuoteNodeProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_genConInitializerProperty as *mut _) } }}; -("LabelMouseDownPtProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_labelMouseDownPtProperty as *mut _) } }}; -("lockedStyleStates") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lockedStyleStates as *mut _) } }}; -("apzCallbackTransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_apzCallbackTransform as *mut _) } }}; -("restylableAnonymousNode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_restylableAnonymousNode as *mut _) } }}; -("docLevelNativeAnonymousContent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_docLevelNativeAnonymousContent as *mut _) } }}; -("PaintRequestTime") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_paintRequestTime as *mut _) } }}; -("PseudoProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pseudoProperty as *mut _) } }}; -("ManualNACProperty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_manualNACProperty as *mut _) } }}; -("ja") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Japanese as *mut _) } }}; -("zh-CN") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Chinese as *mut _) } }}; -("zh-TW") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Taiwanese as *mut _) } }}; -("zh-HK") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_HongKongChinese as *mut _) } }}; -("x-unicode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Unicode as *mut _) } }}; -("ko") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ko as *mut _) } }}; -("zh-cn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zh_cn as *mut _) } }}; -("zh-hk") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zh_hk as *mut _) } }}; -("zh-tw") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zh_tw as *mut _) } }}; -("x-cyrillic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_cyrillic as *mut _) } }}; -("he") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_he as *mut _) } }}; -("ar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ar as *mut _) } }}; -("x-devanagari") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_devanagari as *mut _) } }}; -("x-tamil") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_tamil as *mut _) } }}; -("x-armn") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_armn as *mut _) } }}; -("x-beng") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_beng as *mut _) } }}; -("x-cans") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_cans as *mut _) } }}; -("x-ethi") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_ethi as *mut _) } }}; -("x-geor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_geor as *mut _) } }}; -("x-gujr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_gujr as *mut _) } }}; -("x-guru") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_guru as *mut _) } }}; -("x-khmr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_khmr as *mut _) } }}; -("x-knda") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_knda as *mut _) } }}; -("x-mlym") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_mlym as *mut _) } }}; -("x-orya") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_orya as *mut _) } }}; -("x-sinh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_sinh as *mut _) } }}; -("x-telu") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_telu as *mut _) } }}; -("x-tibt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_tibt as *mut _) } }}; -("az") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_az as *mut _) } }}; -("ba") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ba as *mut _) } }}; -("crh") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_crh as *mut _) } }}; -("ga") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ga as *mut _) } }}; -("nl") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nl as *mut _) } }}; -("x-math") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_x_math as *mut _) } }}; -("Typing") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_TypingTxnName as *mut _) } }}; -("IME") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_IMETxnName as *mut _) } }}; -("Deleting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DeleteTxnName as *mut _) } }}; -("serif") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_serif as *mut _) } }}; -("sans-serif") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sans_serif as *mut _) } }}; -("cursive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cursive as *mut _) } }}; -("fantasy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fantasy as *mut _) } }}; -("monospace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_monospace as *mut _) } }}; -("-moz-fixed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozfixed as *mut _) } }}; -("_remote_id") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_RemoteId as *mut _) } }}; -("remoteType") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_RemoteType as *mut _) } }}; -("_displayport") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DisplayPort as *mut _) } }}; -("_displayportmargins") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DisplayPortMargins as *mut _) } }}; -("_displayportbase") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_DisplayPortBase as *mut _) } }}; -("_asyncscrolllayercreationfailed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_AsyncScrollLayerCreationFailed as *mut _) } }}; -("forcemessagemanager") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_forcemessagemanager as *mut _) } }}; -("preloadedState") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preloadedState as *mut _) } }}; -("scrollbar-start-backward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_start_backward as *mut _) } }}; -("scrollbar-start-forward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_start_forward as *mut _) } }}; -("scrollbar-end-backward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_end_backward as *mut _) } }}; -("scrollbar-end-forward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_end_forward as *mut _) } }}; -("scrollbar-thumb-proportional") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_thumb_proportional as *mut _) } }}; -("overlay-scrollbars") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overlay_scrollbars as *mut _) } }}; -("windows-accent-color-in-titlebar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_accent_color_in_titlebar as *mut _) } }}; -("windows-default-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_default_theme as *mut _) } }}; -("mac-graphite-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mac_graphite_theme as *mut _) } }}; -("mac-yosemite-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mac_yosemite_theme as *mut _) } }}; -("windows-compositor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_compositor as *mut _) } }}; -("windows-glass") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_glass as *mut _) } }}; -("touch-enabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_touch_enabled as *mut _) } }}; -("menubar-drag") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menubar_drag as *mut _) } }}; -("swipe-animation-enabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_swipe_animation_enabled as *mut _) } }}; -("gtk-csd-available") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_available as *mut _) } }}; -("gtk-csd-minimize-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_minimize_button as *mut _) } }}; -("gtk-csd-maximize-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_maximize_button as *mut _) } }}; -("gtk-csd-close-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gtk_csd_close_button as *mut _) } }}; -("windows-classic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_classic as *mut _) } }}; -("windows-theme-aero") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_aero as *mut _) } }}; -("windows-theme-aero-lite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_aero_lite as *mut _) } }}; -("windows-theme-luna-blue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_luna_blue as *mut _) } }}; -("windows-theme-luna-olive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_luna_olive as *mut _) } }}; -("windows-theme-luna-silver") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_luna_silver as *mut _) } }}; -("windows-theme-royale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_royale as *mut _) } }}; -("windows-theme-zune") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_zune as *mut _) } }}; -("windows-theme-generic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_theme_generic as *mut _) } }}; -("aero") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aero as *mut _) } }}; -("aero-lite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aero_lite as *mut _) } }}; -("luna-blue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_luna_blue as *mut _) } }}; -("luna-olive") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_luna_olive as *mut _) } }}; -("luna-silver") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_luna_silver as *mut _) } }}; -("royale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_royale as *mut _) } }}; -("zune") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zune as *mut _) } }}; -("windows-win7") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_win7 as *mut _) } }}; -("windows-win8") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_win8 as *mut _) } }}; -("windows-win10") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_windows_win10 as *mut _) } }}; -("-moz-scrollbar-start-backward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_scrollbar_start_backward as *mut _) } }}; -("-moz-scrollbar-start-forward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_scrollbar_start_forward as *mut _) } }}; -("-moz-scrollbar-end-backward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_scrollbar_end_backward as *mut _) } }}; -("-moz-scrollbar-end-forward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_scrollbar_end_forward as *mut _) } }}; -("-moz-scrollbar-thumb-proportional") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_scrollbar_thumb_proportional as *mut _) } }}; -("-moz-overlay-scrollbars") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_overlay_scrollbars as *mut _) } }}; -("-moz-windows-accent-color-in-titlebar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_accent_color_in_titlebar as *mut _) } }}; -("-moz-windows-default-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_default_theme as *mut _) } }}; -("-moz-mac-graphite-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_mac_graphite_theme as *mut _) } }}; -("-moz-mac-yosemite-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_mac_yosemite_theme as *mut _) } }}; -("-moz-windows-compositor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_compositor as *mut _) } }}; -("-moz-windows-classic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_classic as *mut _) } }}; -("-moz-windows-glass") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_glass as *mut _) } }}; -("-moz-windows-theme") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_windows_theme as *mut _) } }}; -("-moz-os-version") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_os_version as *mut _) } }}; -("-moz-touch-enabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_touch_enabled as *mut _) } }}; -("-moz-menubar-drag") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_menubar_drag as *mut _) } }}; -("-moz-device-pixel-ratio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_device_pixel_ratio as *mut _) } }}; -("-moz-device-orientation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_device_orientation as *mut _) } }}; -("-moz-is-resource-document") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_is_resource_document as *mut _) } }}; -("-moz-swipe-animation-enabled") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_swipe_animation_enabled as *mut _) } }}; -("-moz-gtk-csd-available") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_available as *mut _) } }}; -("-moz-gtk-csd-minimize-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_minimize_button as *mut _) } }}; -("-moz-gtk-csd-maximize-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_maximize_button as *mut _) } }}; -("-moz-gtk-csd-close-button") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__moz_gtk_csd_close_button as *mut _) } }}; -("Back") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Back as *mut _) } }}; -("Forward") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Forward as *mut _) } }}; -("Reload") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Reload as *mut _) } }}; -("Stop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Stop as *mut _) } }}; -("Search") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Search as *mut _) } }}; -("Bookmarks") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Bookmarks as *mut _) } }}; -("Home") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Home as *mut _) } }}; -("Clear") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Clear as *mut _) } }}; -("VolumeUp") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_VolumeUp as *mut _) } }}; -("VolumeDown") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_VolumeDown as *mut _) } }}; -("NextTrack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_NextTrack as *mut _) } }}; -("PreviousTrack") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_PreviousTrack as *mut _) } }}; -("MediaStop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_MediaStop as *mut _) } }}; -("PlayPause") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_PlayPause as *mut _) } }}; -("Menu") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Menu as *mut _) } }}; -("New") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_New as *mut _) } }}; -("Open") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Open as *mut _) } }}; -("Close") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Close as *mut _) } }}; -("Save") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Save as *mut _) } }}; -("Find") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Find as *mut _) } }}; -("Help") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Help as *mut _) } }}; -("Print") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Print as *mut _) } }}; -("SendMail") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_SendMail as *mut _) } }}; -("ForwardMail") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ForwardMail as *mut _) } }}; -("ReplyToMail") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ReplyToMail as *mut _) } }}; -("mouseWheel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mouseWheel as *mut _) } }}; -("pixels") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pixels as *mut _) } }}; -("lines") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lines as *mut _) } }}; -("pages") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pages as *mut _) } }}; -("scrollbars") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbars as *mut _) } }}; -("apz") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_apz as *mut _) } }}; -("restore") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_restore as *mut _) } }}; -("alert") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alert as *mut _) } }}; -("alertdialog") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alertdialog as *mut _) } }}; -("application") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_application as *mut _) } }}; -("aria-colcount") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_colcount as *mut _) } }}; -("aria-colindex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_colindex as *mut _) } }}; -("aria-details") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_details as *mut _) } }}; -("aria-errormessage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_errormessage as *mut _) } }}; -("aria-grabbed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_grabbed as *mut _) } }}; -("aria-label") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_label as *mut _) } }}; -("aria-modal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_modal as *mut _) } }}; -("aria-orientation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_orientation as *mut _) } }}; -("aria-rowcount") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_rowcount as *mut _) } }}; -("aria-rowindex") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_rowindex as *mut _) } }}; -("aria-valuetext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_valuetext as *mut _) } }}; -("auto-generated") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_auto_generated as *mut _) } }}; -("banner") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_banner as *mut _) } }}; -("checkable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_checkable as *mut _) } }}; -("choices") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_choices as *mut _) } }}; -("columnheader") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_columnheader as *mut _) } }}; -("complementary") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_complementary as *mut _) } }}; -("container-atomic") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_containerAtomic as *mut _) } }}; -("container-busy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_containerBusy as *mut _) } }}; -("container-live") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_containerLive as *mut _) } }}; -("container-live-role") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_containerLiveRole as *mut _) } }}; -("container-relevant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_containerRelevant as *mut _) } }}; -("contentinfo") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_contentinfo as *mut _) } }}; -("cycles") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_cycles as *mut _) } }}; -("datatable") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_datatable as *mut _) } }}; -("event-from-input") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_eventFromInput as *mut _) } }}; -("feed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feed as *mut _) } }}; -("grammar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_grammar as *mut _) } }}; -("gridcell") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gridcell as *mut _) } }}; -("heading") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_heading as *mut _) } }}; -("hitregion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_hitregion as *mut _) } }}; -("inline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_inlinevalue as *mut _) } }}; -("invalid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_invalid as *mut _) } }}; -("item") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_item as *mut _) } }}; -("itemset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_itemset as *mut _) } }}; -("line-number") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lineNumber as *mut _) } }}; -("linkedpanel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_linkedPanel as *mut _) } }}; -("live") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_live as *mut _) } }}; -("menuitemcheckbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuitemcheckbox as *mut _) } }}; -("menuitemradio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_menuitemradio as *mut _) } }}; -("multiline") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_multiline as *mut _) } }}; -("navigation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_navigation as *mut _) } }}; -("polite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_polite as *mut _) } }}; -("posinset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_posinset as *mut _) } }}; -("presentation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_presentation as *mut _) } }}; -("progressbar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_progressbar as *mut _) } }}; -("region") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_region as *mut _) } }}; -("rowgroup") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rowgroup as *mut _) } }}; -("rowheader") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rowheader as *mut _) } }}; -("search") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_search as *mut _) } }}; -("searchbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_searchbox as *mut _) } }}; -("select1") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_select1 as *mut _) } }}; -("setsize") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_setsize as *mut _) } }}; -("spelling") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spelling as *mut _) } }}; -("spinbutton") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spinbutton as *mut _) } }}; -("status") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_status as *mut _) } }}; -("table-cell-index") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tableCellIndex as *mut _) } }}; -("tablist") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tablist as *mut _) } }}; -("text-indent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textIndent as *mut _) } }}; -("text-input-type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textInputType as *mut _) } }}; -("text-line-through-color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textLineThroughColor as *mut _) } }}; -("text-line-through-style") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textLineThroughStyle as *mut _) } }}; -("text-position") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textPosition as *mut _) } }}; -("text-underline-color") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textUnderlineColor as *mut _) } }}; -("text-underline-style") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textUnderlineStyle as *mut _) } }}; -("timer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_timer as *mut _) } }}; -("toolbarname") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbarname as *mut _) } }}; -("toolbarseparator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbarseparator as *mut _) } }}; -("toolbarspacer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbarspacer as *mut _) } }}; -("toolbarspring") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_toolbarspring as *mut _) } }}; -("treegrid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_treegrid as *mut _) } }}; -("undefined") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms__undefined as *mut _) } }}; -("xml-roles") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xmlroles as *mut _) } }}; -("close-fence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_close_fence as *mut _) } }}; -("denominator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_denominator as *mut _) } }}; -("numerator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_numerator as *mut _) } }}; -("open-fence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_open_fence as *mut _) } }}; -("overscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_overscript as *mut _) } }}; -("presubscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_presubscript as *mut _) } }}; -("presuperscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_presuperscript as *mut _) } }}; -("root-index") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_root_index as *mut _) } }}; -("subscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_subscript as *mut _) } }}; -("superscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_superscript as *mut _) } }}; -("underscript") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_underscript as *mut _) } }}; -("onaudiostart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onaudiostart as *mut _) } }}; -("onaudioend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onaudioend as *mut _) } }}; -("onsoundstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsoundstart as *mut _) } }}; -("onsoundend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsoundend as *mut _) } }}; -("onspeechstart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onspeechstart as *mut _) } }}; -("onspeechend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onspeechend as *mut _) } }}; -("onresult") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onresult as *mut _) } }}; -("onnomatch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onnomatch as *mut _) } }}; -("onresume") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onresume as *mut _) } }}; -("onmark") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmark as *mut _) } }}; -("onboundary") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onboundary as *mut _) } }}; -("usercontextid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_usercontextid as *mut _) } }}; -("http://www.w3.org/2000/xmlns/") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xmlns as *mut _) } }}; -("http://www.w3.org/XML/1998/namespace") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xml as *mut _) } }}; -("http://www.w3.org/1999/xhtml") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xhtml as *mut _) } }}; -("http://www.w3.org/1999/xlink") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xlink as *mut _) } }}; -("http://www.w3.org/1999/XSL/Transform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xslt as *mut _) } }}; -("http://www.mozilla.org/xbl") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xbl as *mut _) } }}; -("http://www.w3.org/1998/Math/MathML") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_mathml as *mut _) } }}; -("http://www.w3.org/1999/02/22-rdf-syntax-ns#") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_rdf as *mut _) } }}; -("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_xul as *mut _) } }}; -("http://www.w3.org/2000/svg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nsuri_svg as *mut _) } }}; -("onsourceopen") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsourceopen as *mut _) } }}; -("onsourceended") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsourceended as *mut _) } }}; -("onsourceclosed") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onsourceclosed as *mut _) } }}; -("onupdatestart") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onupdatestart as *mut _) } }}; -("onupdate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onupdate as *mut _) } }}; -("onupdateend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onupdateend as *mut _) } }}; -("onaddsourcebuffer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onaddsourcebuffer as *mut _) } }}; -("onremovesourcebuffer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onremovesourcebuffer as *mut _) } }}; -("about") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_about as *mut _) } }}; -("ID") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ID as *mut _) } }}; -("nodeID") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_nodeID as *mut _) } }}; -("aboutEach") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aboutEach as *mut _) } }}; -("resource") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resource as *mut _) } }}; -("RDF") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_RDF as *mut _) } }}; -("Description") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Description as *mut _) } }}; -("Bag") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Bag as *mut _) } }}; -("Seq") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Seq as *mut _) } }}; -("Alt") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_Alt as *mut _) } }}; -("parseType") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_parseType as *mut _) } }}; -("xlink") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink as *mut _) } }}; -("xml:space") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xml_space as *mut _) } }}; -("xml:lang") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xml_lang as *mut _) } }}; -("xml:base") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xml_base as *mut _) } }}; -("aria-grab") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_grab as *mut _) } }}; -("aria-channel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_channel as *mut _) } }}; -("aria-secret") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_secret as *mut _) } }}; -("aria-templateid") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_templateid as *mut _) } }}; -("aria-datatype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_aria_datatype as *mut _) } }}; -("local") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_local as *mut _) } }}; -("xchannelselector") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xchannelselector as *mut _) } }}; -("ychannelselector") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ychannelselector as *mut _) } }}; -("enable-background") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_enable_background as *mut _) } }}; -("calcmode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_calcmode as *mut _) } }}; -("specularexponent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_specularexponent as *mut _) } }}; -("specularconstant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_specularconstant as *mut _) } }}; -("gradienttransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gradienttransform as *mut _) } }}; -("gradientunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_gradientunits as *mut _) } }}; -("rendering-intent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rendering_intent as *mut _) } }}; -("stddeviation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stddeviation as *mut _) } }}; -("basefrequency") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_basefrequency as *mut _) } }}; -("baseprofile") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_baseprofile as *mut _) } }}; -("baseProfile") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_baseProfile as *mut _) } }}; -("edgemode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_edgemode as *mut _) } }}; -("repeatcount") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_repeatcount as *mut _) } }}; -("repeatdur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_repeatdur as *mut _) } }}; -("spreadmethod") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_spreadmethod as *mut _) } }}; -("diffuseconstant") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_diffuseconstant as *mut _) } }}; -("surfacescale") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_surfacescale as *mut _) } }}; -("lengthadjust") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lengthadjust as *mut _) } }}; -("origin") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_origin as *mut _) } }}; -("targetx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_targetx as *mut _) } }}; -("targety") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_targety as *mut _) } }}; -("pathlength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pathlength as *mut _) } }}; -("definitionurl") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_definitionurl as *mut _) } }}; -("limitingconeangle") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_limitingconeangle as *mut _) } }}; -("markerheight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_markerheight as *mut _) } }}; -("markerwidth") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_markerwidth as *mut _) } }}; -("maskunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maskunits as *mut _) } }}; -("markerunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_markerunits as *mut _) } }}; -("maskcontentunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_maskcontentunits as *mut _) } }}; -("tablevalues") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_tablevalues as *mut _) } }}; -("primitiveunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_primitiveunits as *mut _) } }}; -("zoomandpan") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_zoomandpan as *mut _) } }}; -("kernelmatrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kernelmatrix as *mut _) } }}; -("kerning") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kerning as *mut _) } }}; -("kernelunitlength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_kernelunitlength as *mut _) } }}; -("pointsatx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointsatx as *mut _) } }}; -("pointsaty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointsaty as *mut _) } }}; -("pointsatz") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_pointsatz as *mut _) } }}; -("xlink:href") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_href as *mut _) } }}; -("xlink:title") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_title as *mut _) } }}; -("xlink:role") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_role as *mut _) } }}; -("xlink:arcrole") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_arcrole as *mut _) } }}; -("arcrole") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_arcrole as *mut _) } }}; -("xmlns:xlink") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xmlns_xlink as *mut _) } }}; -("xlink:type") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_type as *mut _) } }}; -("xlink:show") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_show as *mut _) } }}; -("xlink:actuate") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_xlink_actuate as *mut _) } }}; -("color-rendering") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_color_rendering as *mut _) } }}; -("numoctaves") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_numoctaves as *mut _) } }}; -("onmousewheel") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousewheel as *mut _) } }}; -("clippathunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clippathunits as *mut _) } }}; -("glyph-orientation-vertical") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_glyph_orientation_vertical as *mut _) } }}; -("glyph-orientation-horizontal") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_glyph_orientation_horizontal as *mut _) } }}; -("glyphref") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_glyphref as *mut _) } }}; -("keypoints") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keypoints as *mut _) } }}; -("attributename") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attributename as *mut _) } }}; -("attributetype") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_attributetype as *mut _) } }}; -("startoffset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_startoffset as *mut _) } }}; -("keysplines") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keysplines as *mut _) } }}; -("preservealpha") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preservealpha as *mut _) } }}; -("preserveaspectratio") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preserveaspectratio as *mut _) } }}; -("alttext") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_alttext as *mut _) } }}; -("filterunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_filterunits as *mut _) } }}; -("keytimes") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_keytimes as *mut _) } }}; -("patterntransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patterntransform as *mut _) } }}; -("patternunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patternunits as *mut _) } }}; -("patterncontentunits") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_patterncontentunits as *mut _) } }}; -("stitchtiles") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_stitchtiles as *mut _) } }}; -("systemlanguage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_systemlanguage as *mut _) } }}; -("textlength") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textlength as *mut _) } }}; -("requiredfeatures") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_requiredfeatures as *mut _) } }}; -("requiredextensions") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_requiredextensions as *mut _) } }}; -("viewtarget") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewtarget as *mut _) } }}; -("viewbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_viewbox as *mut _) } }}; -("refx") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_refx as *mut _) } }}; -("refy") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_refy as *mut _) } }}; -("fefunca") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fefunca as *mut _) } }}; -("fefuncb") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fefuncb as *mut _) } }}; -("feblend") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feblend as *mut _) } }}; -("feflood") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feflood as *mut _) } }}; -("feturbulence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feturbulence as *mut _) } }}; -("femergenode") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_femergenode as *mut _) } }}; -("feimage") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feimage as *mut _) } }}; -("femerge") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_femerge as *mut _) } }}; -("fetile") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fetile as *mut _) } }}; -("fecomposite") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fecomposite as *mut _) } }}; -("altglyphdef") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altglyphdef as *mut _) } }}; -("altGlyphDef") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altGlyphDef as *mut _) } }}; -("fefuncg") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fefuncg as *mut _) } }}; -("fediffuselighting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fediffuselighting as *mut _) } }}; -("fespecularlighting") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fespecularlighting as *mut _) } }}; -("altglyph") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altglyph as *mut _) } }}; -("altGlyph") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altGlyph as *mut _) } }}; -("clippath") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_clippath as *mut _) } }}; -("textpath") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_textpath as *mut _) } }}; -("altglyphitem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altglyphitem as *mut _) } }}; -("altGlyphItem") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_altGlyphItem as *mut _) } }}; -("animatetransform") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animatetransform as *mut _) } }}; -("animatemotion") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animatemotion as *mut _) } }}; -("fedisplacementmap") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fedisplacementmap as *mut _) } }}; -("animatecolor") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_animatecolor as *mut _) } }}; -("fefuncr") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fefuncr as *mut _) } }}; -("fecomponenttransfer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fecomponenttransfer as *mut _) } }}; -("fegaussianblur") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fegaussianblur as *mut _) } }}; -("foreignobject") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_foreignobject as *mut _) } }}; -("feoffset") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feoffset as *mut _) } }}; -("fespotlight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fespotlight as *mut _) } }}; -("fepointlight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fepointlight as *mut _) } }}; -("fedistantlight") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fedistantlight as *mut _) } }}; -("lineargradient") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_lineargradient as *mut _) } }}; -("radialgradient") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_radialgradient as *mut _) } }}; -("fedropshadow") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fedropshadow as *mut _) } }}; -("fecolormatrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_fecolormatrix as *mut _) } }}; -("feconvolvematrix") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_feconvolvematrix as *mut _) } }}; -("femorphology") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_femorphology as *mut _) } }}; -(":after") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_after as *mut _) } }}; -(":before") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_before as *mut _) } }}; -(":backdrop") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_backdrop as *mut _) } }}; -(":cue") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_cue as *mut _) } }}; -(":first-letter") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_firstLetter as *mut _) } }}; -(":first-line") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_firstLine as *mut _) } }}; -(":-moz-selection") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozSelection as *mut _) } }}; -(":-moz-focus-inner") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozFocusInner as *mut _) } }}; -(":-moz-focus-outer") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozFocusOuter as *mut _) } }}; -(":-moz-list-bullet") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozListBullet as *mut _) } }}; -(":-moz-list-number") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozListNumber as *mut _) } }}; -(":-moz-math-anonymous") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozMathAnonymous as *mut _) } }}; -(":-moz-number-wrapper") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozNumberWrapper as *mut _) } }}; -(":-moz-number-text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozNumberText as *mut _) } }}; -(":-moz-number-spin-box") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozNumberSpinBox as *mut _) } }}; -(":-moz-number-spin-up") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozNumberSpinUp as *mut _) } }}; -(":-moz-number-spin-down") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozNumberSpinDown as *mut _) } }}; -(":-moz-progress-bar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozProgressBar as *mut _) } }}; -(":-moz-range-track") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozRangeTrack as *mut _) } }}; -(":-moz-range-progress") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozRangeProgress as *mut _) } }}; -(":-moz-range-thumb") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozRangeThumb as *mut _) } }}; -(":-moz-meter-bar") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozMeterBar as *mut _) } }}; -(":-moz-placeholder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozPlaceholder as *mut _) } }}; -(":placeholder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_placeholder as *mut _) } }}; -(":-moz-color-swatch") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSPseudoElements_mozColorSwatch as *mut _) } }}; -(":-moz-oof-placeholder") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_oofPlaceholder as *mut _) } }}; -(":-moz-hframeset-border") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_horizontalFramesetBorder as *mut _) } }}; -(":-moz-vframeset-border") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_verticalFramesetBorder as *mut _) } }}; -(":-moz-frameset-blank") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_framesetBlank as *mut _) } }}; -(":-moz-table-column-group") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_tableColGroup as *mut _) } }}; -(":-moz-table-column") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_tableCol as *mut _) } }}; -(":-moz-pagebreak") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_pageBreak as *mut _) } }}; -(":-moz-text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozText as *mut _) } }}; -(":-moz-first-letter-continuation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_firstLetterContinuation as *mut _) } }}; -(":-moz-block-inside-inline-wrapper") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozBlockInsideInlineWrapper as *mut _) } }}; -(":-moz-mathml-anonymous-block") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozMathMLAnonymousBlock as *mut _) } }}; -(":-moz-xul-anonymous-block") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozXULAnonymousBlock as *mut _) } }}; -(":-moz-line-frame") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozLineFrame as *mut _) } }}; -(":-moz-button-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_buttonContent as *mut _) } }}; -(":-moz-cell-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_cellContent as *mut _) } }}; -(":-moz-dropdown-list") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_dropDownList as *mut _) } }}; -(":-moz-fieldset-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_fieldsetContent as *mut _) } }}; -(":-moz-display-comboboxcontrol-frame") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozDisplayComboboxControlFrame as *mut _) } }}; -(":-moz-html-canvas-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_htmlCanvasContent as *mut _) } }}; -(":-moz-inline-table") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_inlineTable as *mut _) } }}; -(":-moz-table") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_table as *mut _) } }}; -(":-moz-table-cell") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_tableCell as *mut _) } }}; -(":-moz-table-wrapper") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_tableWrapper as *mut _) } }}; -(":-moz-table-row-group") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_tableRowGroup as *mut _) } }}; -(":-moz-table-row") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_tableRow as *mut _) } }}; -(":-moz-canvas") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_canvas as *mut _) } }}; -(":-moz-page") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_page as *mut _) } }}; -(":-moz-pagecontent") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_pageContent as *mut _) } }}; -(":-moz-page-sequence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_pageSequence as *mut _) } }}; -(":-moz-scrolled-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_scrolledContent as *mut _) } }}; -(":-moz-scrolled-canvas") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_scrolledCanvas as *mut _) } }}; -(":-moz-scrolled-page-sequence") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_scrolledPageSequence as *mut _) } }}; -(":-moz-column-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_columnContent as *mut _) } }}; -(":-moz-viewport") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_viewport as *mut _) } }}; -(":-moz-viewport-scroll") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_viewportScroll as *mut _) } }}; -(":-moz-anonymous-flex-item") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_anonymousFlexItem as *mut _) } }}; -(":-moz-anonymous-grid-item") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_anonymousGridItem as *mut _) } }}; -(":-moz-ruby") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_ruby as *mut _) } }}; -(":-moz-ruby-base") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_rubyBase as *mut _) } }}; -(":-moz-ruby-base-container") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_rubyBaseContainer as *mut _) } }}; -(":-moz-ruby-text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_rubyText as *mut _) } }}; -(":-moz-ruby-text-container") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_rubyTextContainer as *mut _) } }}; -(":-moz-tree-column") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeColumn as *mut _) } }}; -(":-moz-tree-row") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeRow as *mut _) } }}; -(":-moz-tree-separator") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeSeparator as *mut _) } }}; -(":-moz-tree-cell") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeCell as *mut _) } }}; -(":-moz-tree-indentation") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeIndentation as *mut _) } }}; -(":-moz-tree-line") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeLine as *mut _) } }}; -(":-moz-tree-twisty") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeTwisty as *mut _) } }}; -(":-moz-tree-image") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeImage as *mut _) } }}; -(":-moz-tree-cell-text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeCellText as *mut _) } }}; -(":-moz-tree-checkbox") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeCheckbox as *mut _) } }}; -(":-moz-tree-drop-feedback") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozTreeDropFeedback as *mut _) } }}; -(":-moz-svg-marker-anon-child") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozSVGMarkerAnonChild as *mut _) } }}; -(":-moz-svg-outer-svg-anon-child") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozSVGOuterSVGAnonChild as *mut _) } }}; -(":-moz-svg-foreign-content") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozSVGForeignContent as *mut _) } }}; -(":-moz-svg-text") => - {{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSAnonBoxes_mozSVGText as *mut _) } }}; -} diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs deleted file mode 100644 index d5c7443b5a3..00000000000 --- a/components/style/gecko/generated/bindings.rs +++ /dev/null @@ -1,3478 +0,0 @@ -/* automatically generated by rust-bindgen */ - -pub use nsstring::{nsACString, nsAString, nsString, nsStringRepr}; -use gecko_bindings::structs::nsStyleTransformMatrix; -use gecko_bindings::structs::nsTArray; -type nsACString_internal = nsACString; -type nsAString_internal = nsAString; -pub type ComputedStyleBorrowed<'a> = &'a ::properties::ComputedValues; -pub type ComputedStyleBorrowedOrNull<'a> = Option<&'a ::properties::ComputedValues>; -pub type ServoComputedDataBorrowed<'a> = &'a ServoComputedData; -pub type RawServoAnimationValueTableBorrowed<'a> = &'a (); -use gecko_bindings::structs::mozilla::css::GridTemplateAreasValue; -use gecko_bindings::structs::mozilla::css::ErrorReporter; -use gecko_bindings::structs::mozilla::css::ImageValue; -use gecko_bindings::structs::mozilla::css::URLValue; -use gecko_bindings::structs::mozilla::css::URLValueData; -use gecko_bindings::structs::mozilla::dom::CallerType; -use gecko_bindings::structs::mozilla::AnonymousCounterStyle; -use gecko_bindings::structs::mozilla::AtomArray; -use gecko_bindings::structs::mozilla::FontWeight; -use gecko_bindings::structs::mozilla::MallocSizeOf; -use gecko_bindings::structs::mozilla::OriginFlags; -use gecko_bindings::structs::mozilla::UniquePtr; -use gecko_bindings::structs::ServoRawOffsetArc; -use gecko_bindings::structs::nsIContent; -use gecko_bindings::structs::nsIDocument; -use gecko_bindings::structs::nsIDocument_DocumentTheme; -use gecko_bindings::structs::nsSimpleContentList; -use gecko_bindings::structs::MediumFeaturesChangedResult; -use gecko_bindings::structs::RawGeckoAnimationPropertySegment; -use gecko_bindings::structs::RawGeckoComputedTiming; -use gecko_bindings::structs::RawGeckoCSSPropertyIDList; -use gecko_bindings::structs::RawGeckoDocument; -use gecko_bindings::structs::RawGeckoElement; -use gecko_bindings::structs::Element; -use gecko_bindings::structs::RawGeckoKeyframeList; -use gecko_bindings::structs::RawGeckoPropertyValuePairList; -use gecko_bindings::structs::RawGeckoComputedKeyframeValuesList; -use gecko_bindings::structs::RawGeckoFontFaceRuleList; -use gecko_bindings::structs::RawGeckoNode; -use gecko_bindings::structs::RawServoAnimationValue; -use gecko_bindings::structs::RawServoFontFaceRule; -use gecko_bindings::structs::RawGeckoServoAnimationValueList; -use gecko_bindings::structs::RawServoMediaList; -use gecko_bindings::structs::RawServoStyleSheetContents; -use gecko_bindings::structs::RawServoDeclarationBlock; -use gecko_bindings::structs::RawServoStyleRule; -use gecko_bindings::structs::RawGeckoPresContext; -use gecko_bindings::structs::RawGeckoPresContextOwned; -use gecko_bindings::structs::RawGeckoStyleAnimationList; -use gecko_bindings::structs::RawGeckoStyleChildrenIterator; -use gecko_bindings::structs::RawGeckoServoStyleRuleList; -use gecko_bindings::structs::RawGeckoURLExtraData; -use gecko_bindings::structs::RawGeckoXBLBinding; -use gecko_bindings::structs::RawServoSelectorList; -use gecko_bindings::structs::RawServoSourceSizeList; -use gecko_bindings::structs::RefPtr; -use gecko_bindings::structs::RustString; -use gecko_bindings::structs::CSSPseudoElementType; -use gecko_bindings::structs::ServoTraversalFlags; -use gecko_bindings::structs::ComputedTimingFunction_BeforeFlag; -use gecko_bindings::structs::CounterStylePtr; -use gecko_bindings::structs::FontFamilyType; -use gecko_bindings::structs::FontSizePrefs; -use gecko_bindings::structs::GeckoFontMetrics; -use gecko_bindings::structs::IterationCompositeOperation; -use gecko_bindings::structs::Keyframe; -use gecko_bindings::structs::PropertyValuePair; -use gecko_bindings::structs::SeenPtrs; -use gecko_bindings::structs::ServoBundledURI; -use gecko_bindings::structs::ServoElementSnapshot; -use gecko_bindings::structs::ServoElementSnapshotTable; -use gecko_bindings::structs::ServoStyleSetSizes; -use gecko_bindings::structs::SheetParsingMode; -use gecko_bindings::structs::StyleBasicShapeType; -use gecko_bindings::structs::StyleShapeSource; -use gecko_bindings::structs::StyleTransition; -use gecko_bindings::structs::gfxFontFeatureValueSet; -use gecko_bindings::structs::nsCSSCounterDesc; -use gecko_bindings::structs::nsCSSFontDesc; -use gecko_bindings::structs::nsCSSKeyword; -use gecko_bindings::structs::nsCSSPropertyID; -use gecko_bindings::structs::nsCSSPropertyIDSet; -use gecko_bindings::structs::nsCSSShadowArray; -use gecko_bindings::structs::nsCSSUnit; -use gecko_bindings::structs::nsCSSValue; -use gecko_bindings::structs::nsCSSValueSharedList; -use gecko_bindings::structs::nsChangeHint; -use gecko_bindings::structs::nsCursorImage; -use gecko_bindings::structs::nsFont; -use gecko_bindings::structs::nsAtom; -use gecko_bindings::structs::nsIURI; -use gecko_bindings::structs::nsCompatibility; -use gecko_bindings::structs::nsRestyleHint; -use gecko_bindings::structs::nsStyleBackground; -unsafe impl Send for nsStyleBackground {} -unsafe impl Sync for nsStyleBackground {} -use gecko_bindings::structs::nsStyleBorder; -unsafe impl Send for nsStyleBorder {} -unsafe impl Sync for nsStyleBorder {} -use gecko_bindings::structs::nsStyleColor; -unsafe impl Send for nsStyleColor {} -unsafe impl Sync for nsStyleColor {} -use gecko_bindings::structs::nsStyleColumn; -unsafe impl Send for nsStyleColumn {} -unsafe impl Sync for nsStyleColumn {} -use gecko_bindings::structs::nsStyleContent; -unsafe impl Send for nsStyleContent {} -unsafe impl Sync for nsStyleContent {} -use gecko_bindings::structs::nsStyleContentData; -unsafe impl Send for nsStyleContentData {} -unsafe impl Sync for nsStyleContentData {} -use gecko_bindings::structs::nsStyleContentData_CounterFunction; -unsafe impl Send for nsStyleContentData_CounterFunction {} -unsafe impl Sync for nsStyleContentData_CounterFunction {} -use gecko_bindings::structs::nsStyleContentType; -unsafe impl Send for nsStyleContentType {} -unsafe impl Sync for nsStyleContentType {} -use gecko_bindings::structs::ComputedStyle; -use gecko_bindings::structs::nsStyleCoord; -unsafe impl Send for nsStyleCoord {} -unsafe impl Sync for nsStyleCoord {} -use gecko_bindings::structs::nsStyleCoord_Calc; -unsafe impl Send for nsStyleCoord_Calc {} -unsafe impl Sync for nsStyleCoord_Calc {} -use gecko_bindings::structs::nsStyleCoord_CalcValue; -unsafe impl Send for nsStyleCoord_CalcValue {} -unsafe impl Sync for nsStyleCoord_CalcValue {} -use gecko_bindings::structs::nsStyleDisplay; -unsafe impl Send for nsStyleDisplay {} -unsafe impl Sync for nsStyleDisplay {} -use gecko_bindings::structs::nsStyleEffects; -unsafe impl Send for nsStyleEffects {} -unsafe impl Sync for nsStyleEffects {} -use gecko_bindings::structs::nsStyleFilter; -unsafe impl Send for nsStyleFilter {} -unsafe impl Sync for nsStyleFilter {} -use gecko_bindings::structs::nsStyleFont; -unsafe impl Send for nsStyleFont {} -unsafe impl Sync for nsStyleFont {} -use gecko_bindings::structs::nsStyleGradient; -unsafe impl Send for nsStyleGradient {} -unsafe impl Sync for nsStyleGradient {} -use gecko_bindings::structs::nsStyleGradientStop; -unsafe impl Send for nsStyleGradientStop {} -unsafe impl Sync for nsStyleGradientStop {} -use gecko_bindings::structs::nsStyleGridTemplate; -unsafe impl Send for nsStyleGridTemplate {} -unsafe impl Sync for nsStyleGridTemplate {} -use gecko_bindings::structs::nsStyleImage; -unsafe impl Send for nsStyleImage {} -unsafe impl Sync for nsStyleImage {} -use gecko_bindings::structs::nsStyleImageLayers; -unsafe impl Send for nsStyleImageLayers {} -unsafe impl Sync for nsStyleImageLayers {} -use gecko_bindings::structs::nsStyleImageLayers_Layer; -unsafe impl Send for nsStyleImageLayers_Layer {} -unsafe impl Sync for nsStyleImageLayers_Layer {} -use gecko_bindings::structs::nsStyleImageLayers_LayerType; -unsafe impl Send for nsStyleImageLayers_LayerType {} -unsafe impl Sync for nsStyleImageLayers_LayerType {} -use gecko_bindings::structs::nsStyleImageRequest; -unsafe impl Send for nsStyleImageRequest {} -unsafe impl Sync for nsStyleImageRequest {} -use gecko_bindings::structs::nsStyleList; -unsafe impl Send for nsStyleList {} -unsafe impl Sync for nsStyleList {} -use gecko_bindings::structs::nsStyleMargin; -unsafe impl Send for nsStyleMargin {} -unsafe impl Sync for nsStyleMargin {} -use gecko_bindings::structs::nsStyleOutline; -unsafe impl Send for nsStyleOutline {} -unsafe impl Sync for nsStyleOutline {} -use gecko_bindings::structs::nsStylePadding; -unsafe impl Send for nsStylePadding {} -unsafe impl Sync for nsStylePadding {} -use gecko_bindings::structs::nsStylePosition; -unsafe impl Send for nsStylePosition {} -unsafe impl Sync for nsStylePosition {} -use gecko_bindings::structs::nsStyleQuoteValues; -unsafe impl Send for nsStyleQuoteValues {} -unsafe impl Sync for nsStyleQuoteValues {} -use gecko_bindings::structs::nsStyleSVG; -unsafe impl Send for nsStyleSVG {} -unsafe impl Sync for nsStyleSVG {} -use gecko_bindings::structs::nsStyleSVGOpacitySource; -unsafe impl Send for nsStyleSVGOpacitySource {} -unsafe impl Sync for nsStyleSVGOpacitySource {} -use gecko_bindings::structs::nsStyleSVGPaint; -unsafe impl Send for nsStyleSVGPaint {} -unsafe impl Sync for nsStyleSVGPaint {} -use gecko_bindings::structs::nsStyleSVGReset; -unsafe impl Send for nsStyleSVGReset {} -unsafe impl Sync for nsStyleSVGReset {} -use gecko_bindings::structs::nsStyleSides; -unsafe impl Send for nsStyleSides {} -unsafe impl Sync for nsStyleSides {} -use gecko_bindings::structs::nsStyleTable; -unsafe impl Send for nsStyleTable {} -unsafe impl Sync for nsStyleTable {} -use gecko_bindings::structs::nsStyleTableBorder; -unsafe impl Send for nsStyleTableBorder {} -unsafe impl Sync for nsStyleTableBorder {} -use gecko_bindings::structs::nsStyleText; -unsafe impl Send for nsStyleText {} -unsafe impl Sync for nsStyleText {} -use gecko_bindings::structs::nsStyleTextReset; -unsafe impl Send for nsStyleTextReset {} -unsafe impl Sync for nsStyleTextReset {} -use gecko_bindings::structs::nsStyleUIReset; -unsafe impl Send for nsStyleUIReset {} -unsafe impl Sync for nsStyleUIReset {} -use gecko_bindings::structs::nsStyleUnion; -unsafe impl Send for nsStyleUnion {} -unsafe impl Sync for nsStyleUnion {} -use gecko_bindings::structs::nsStyleUnit; -unsafe impl Send for nsStyleUnit {} -unsafe impl Sync for nsStyleUnit {} -use gecko_bindings::structs::nsStyleUserInterface; -unsafe impl Send for nsStyleUserInterface {} -unsafe impl Sync for nsStyleUserInterface {} -use gecko_bindings::structs::nsStyleVisibility; -unsafe impl Send for nsStyleVisibility {} -unsafe impl Sync for nsStyleVisibility {} -use gecko_bindings::structs::nsStyleXUL; -unsafe impl Send for nsStyleXUL {} -unsafe impl Sync for nsStyleXUL {} -use gecko_bindings::structs::nsTimingFunction; -use gecko_bindings::structs::nscolor; -use gecko_bindings::structs::nscoord; -use gecko_bindings::structs::nsresult; -use gecko_bindings::structs::Loader; -use gecko_bindings::structs::LoaderReusableStyleSheets; -use gecko_bindings::structs::SheetLoadData; -use gecko_bindings::structs::SheetLoadDataHolder; -use gecko_bindings::structs::ServoStyleSheet; -use gecko_bindings::structs::ServoComputedData; -use gecko_bindings::structs::ComputedStyleStrong; -use gecko_bindings::structs::EffectCompositor_CascadeLevel; -use gecko_bindings::structs::UpdateAnimationsTasks; -use gecko_bindings::structs::ParsingMode; -use gecko_bindings::structs::InheritTarget; -use gecko_bindings::structs::URLMatchingFunction; -use gecko_bindings::structs::StyleAnimation; -use gecko_bindings::structs::StyleRuleInclusion; -use gecko_bindings::structs::nsStyleTransformMatrix::MatrixTransformOperator; -unsafe impl Send for nsStyleTransformMatrix::MatrixTransformOperator {} -unsafe impl Sync for nsStyleTransformMatrix::MatrixTransformOperator {} -use gecko_bindings::structs::RawGeckoGfxMatrix4x4; -use gecko_bindings::structs::FontFamilyName; -use gecko_bindings::structs::mozilla::SharedFontList; -pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray; -pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; -pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet; -pub type RawServoStyleSetBorrowedOrNull<'a> = Option<&'a RawServoStyleSet>; -pub type RawServoStyleSetBorrowedMut<'a> = &'a mut RawServoStyleSet; -pub type RawServoStyleSetBorrowedMutOrNull<'a> = Option<&'a mut RawServoStyleSet>; -enum RawServoStyleSetVoid { } -pub struct RawServoStyleSet(RawServoStyleSetVoid); -pub type RawServoAuthorStylesOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoAuthorStylesOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; -pub type RawServoAuthorStylesBorrowed<'a> = &'a RawServoAuthorStyles; -pub type RawServoAuthorStylesBorrowedOrNull<'a> = Option<&'a RawServoAuthorStyles>; -pub type RawServoAuthorStylesBorrowedMut<'a> = &'a mut RawServoAuthorStyles; -pub type RawServoAuthorStylesBorrowedMutOrNull<'a> = Option<&'a mut RawServoAuthorStyles>; -enum RawServoAuthorStylesVoid { } -pub struct RawServoAuthorStyles(RawServoAuthorStylesVoid); -pub type RawServoSelectorListOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoSelectorListOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; -pub type RawServoSelectorListBorrowed<'a> = &'a RawServoSelectorList; -pub type RawServoSelectorListBorrowedOrNull<'a> = Option<&'a RawServoSelectorList>; -pub type RawServoSelectorListBorrowedMut<'a> = &'a mut RawServoSelectorList; -pub type RawServoSelectorListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSelectorList>; -pub type RawServoSourceSizeListOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoSourceSizeListOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; -pub type RawServoSourceSizeListBorrowed<'a> = &'a RawServoSourceSizeList; -pub type RawServoSourceSizeListBorrowedOrNull<'a> = Option<&'a RawServoSourceSizeList>; -pub type RawServoSourceSizeListBorrowedMut<'a> = &'a mut RawServoSourceSizeList; -pub type RawServoSourceSizeListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSourceSizeList>; -pub type ServoElementSnapshotOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type ServoElementSnapshotOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; -pub type ServoElementSnapshotBorrowed<'a> = &'a ServoElementSnapshot; -pub type ServoElementSnapshotBorrowedOrNull<'a> = Option<&'a ServoElementSnapshot>; -pub type ServoElementSnapshotBorrowedMut<'a> = &'a mut ServoElementSnapshot; -pub type ServoElementSnapshotBorrowedMutOrNull<'a> = Option<&'a mut ServoElementSnapshot>; -pub type RawServoAnimationValueMapOwned = ::gecko_bindings::sugar::ownership::Owned; -pub type RawServoAnimationValueMapOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; -pub type RawServoAnimationValueMapBorrowed<'a> = &'a RawServoAnimationValueMap; -pub type RawServoAnimationValueMapBorrowedOrNull<'a> = Option<&'a RawServoAnimationValueMap>; -pub type RawServoAnimationValueMapBorrowedMut<'a> = &'a mut RawServoAnimationValueMap; -pub type RawServoAnimationValueMapBorrowedMutOrNull<'a> = Option<&'a mut RawServoAnimationValueMap>; -enum RawServoAnimationValueMapVoid { } -pub struct RawServoAnimationValueMap(RawServoAnimationValueMapVoid); -pub type RawGeckoNodeBorrowed<'a> = &'a RawGeckoNode; -pub type RawGeckoNodeBorrowedOrNull<'a> = Option<&'a RawGeckoNode>; -pub type RawGeckoElementBorrowed<'a> = &'a RawGeckoElement; -pub type RawGeckoElementBorrowedOrNull<'a> = Option<&'a RawGeckoElement>; -pub type RawGeckoDocumentBorrowed<'a> = &'a RawGeckoDocument; -pub type RawGeckoDocumentBorrowedOrNull<'a> = Option<&'a RawGeckoDocument>; -pub type RawServoDeclarationBlockStrongBorrowed<'a> = &'a RawServoDeclarationBlockStrong; -pub type RawServoDeclarationBlockStrongBorrowedOrNull<'a> = Option<&'a RawServoDeclarationBlockStrong>; -pub type RawGeckoPresContextBorrowed<'a> = &'a RawGeckoPresContext; -pub type RawGeckoPresContextBorrowedOrNull<'a> = Option<&'a RawGeckoPresContext>; -pub type RawGeckoXBLBindingBorrowed<'a> = &'a RawGeckoXBLBinding; -pub type RawGeckoXBLBindingBorrowedOrNull<'a> = Option<&'a RawGeckoXBLBinding>; -pub type nsCSSPropertyIDSetBorrowed<'a> = &'a nsCSSPropertyIDSet; -pub type nsCSSPropertyIDSetBorrowedOrNull<'a> = Option<&'a nsCSSPropertyIDSet>; -pub type nsCSSPropertyIDSetBorrowedMut<'a> = &'a mut nsCSSPropertyIDSet; -pub type nsCSSPropertyIDSetBorrowedMutOrNull<'a> = Option<&'a mut nsCSSPropertyIDSet>; -pub type nsCSSValueBorrowed<'a> = &'a nsCSSValue; -pub type nsCSSValueBorrowedOrNull<'a> = Option<&'a nsCSSValue>; -pub type nsCSSValueBorrowedMut<'a> = &'a mut nsCSSValue; -pub type nsCSSValueBorrowedMutOrNull<'a> = Option<&'a mut nsCSSValue>; -pub type nsTimingFunctionBorrowed<'a> = &'a nsTimingFunction; -pub type nsTimingFunctionBorrowedOrNull<'a> = Option<&'a nsTimingFunction>; -pub type nsTimingFunctionBorrowedMut<'a> = &'a mut nsTimingFunction; -pub type nsTimingFunctionBorrowedMutOrNull<'a> = Option<&'a mut nsTimingFunction>; -pub type RawGeckoAnimationPropertySegmentBorrowed<'a> = &'a RawGeckoAnimationPropertySegment; -pub type RawGeckoAnimationPropertySegmentBorrowedOrNull<'a> = Option<&'a RawGeckoAnimationPropertySegment>; -pub type RawGeckoAnimationPropertySegmentBorrowedMut<'a> = &'a mut RawGeckoAnimationPropertySegment; -pub type RawGeckoAnimationPropertySegmentBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoAnimationPropertySegment>; -pub type RawGeckoComputedTimingBorrowed<'a> = &'a RawGeckoComputedTiming; -pub type RawGeckoComputedTimingBorrowedOrNull<'a> = Option<&'a RawGeckoComputedTiming>; -pub type RawGeckoComputedTimingBorrowedMut<'a> = &'a mut RawGeckoComputedTiming; -pub type RawGeckoComputedTimingBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoComputedTiming>; -pub type RawGeckoCSSPropertyIDListBorrowed<'a> = &'a RawGeckoCSSPropertyIDList; -pub type RawGeckoCSSPropertyIDListBorrowedOrNull<'a> = Option<&'a RawGeckoCSSPropertyIDList>; -pub type RawGeckoCSSPropertyIDListBorrowedMut<'a> = &'a mut RawGeckoCSSPropertyIDList; -pub type RawGeckoCSSPropertyIDListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoCSSPropertyIDList>; -pub type RawGeckoKeyframeListBorrowed<'a> = &'a RawGeckoKeyframeList; -pub type RawGeckoKeyframeListBorrowedOrNull<'a> = Option<&'a RawGeckoKeyframeList>; -pub type RawGeckoKeyframeListBorrowedMut<'a> = &'a mut RawGeckoKeyframeList; -pub type RawGeckoKeyframeListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoKeyframeList>; -pub type RawGeckoPropertyValuePairListBorrowed<'a> = &'a RawGeckoPropertyValuePairList; -pub type RawGeckoPropertyValuePairListBorrowedOrNull<'a> = Option<&'a RawGeckoPropertyValuePairList>; -pub type RawGeckoPropertyValuePairListBorrowedMut<'a> = &'a mut RawGeckoPropertyValuePairList; -pub type RawGeckoPropertyValuePairListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoPropertyValuePairList>; -pub type RawGeckoComputedKeyframeValuesListBorrowed<'a> = &'a RawGeckoComputedKeyframeValuesList; -pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> = Option<&'a RawGeckoComputedKeyframeValuesList>; -pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> = &'a mut RawGeckoComputedKeyframeValuesList; -pub type RawGeckoComputedKeyframeValuesListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoComputedKeyframeValuesList>; -pub type RawGeckoFontFaceRuleListBorrowed<'a> = &'a RawGeckoFontFaceRuleList; -pub type RawGeckoFontFaceRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoFontFaceRuleList>; -pub type RawGeckoFontFaceRuleListBorrowedMut<'a> = &'a mut RawGeckoFontFaceRuleList; -pub type RawGeckoFontFaceRuleListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoFontFaceRuleList>; -pub type RawGeckoServoStyleRuleListBorrowed<'a> = &'a RawGeckoServoStyleRuleList; -pub type RawGeckoServoStyleRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoServoStyleRuleList>; -pub type RawGeckoServoStyleRuleListBorrowedMut<'a> = &'a mut RawGeckoServoStyleRuleList; -pub type RawGeckoServoStyleRuleListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoServoStyleRuleList>; -pub type RawGeckoServoAnimationValueListBorrowed<'a> = &'a RawGeckoServoAnimationValueList; -pub type RawGeckoServoAnimationValueListBorrowedOrNull<'a> = Option<&'a RawGeckoServoAnimationValueList>; -pub type RawGeckoServoAnimationValueListBorrowedMut<'a> = &'a mut RawGeckoServoAnimationValueList; -pub type RawGeckoServoAnimationValueListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoServoAnimationValueList>; -pub type RawGeckoStyleAnimationListBorrowed<'a> = &'a RawGeckoStyleAnimationList; -pub type RawGeckoStyleAnimationListBorrowedOrNull<'a> = Option<&'a RawGeckoStyleAnimationList>; -pub type RawGeckoStyleAnimationListBorrowedMut<'a> = &'a mut RawGeckoStyleAnimationList; -pub type RawGeckoStyleAnimationListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoStyleAnimationList>; -pub type RawGeckoStyleChildrenIteratorBorrowed<'a> = &'a RawGeckoStyleChildrenIterator; -pub type RawGeckoStyleChildrenIteratorBorrowedOrNull<'a> = Option<&'a RawGeckoStyleChildrenIterator>; -pub type RawGeckoStyleChildrenIteratorBorrowedMut<'a> = &'a mut RawGeckoStyleChildrenIterator; -pub type RawGeckoStyleChildrenIteratorBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoStyleChildrenIterator>; -pub type ServoCssRulesStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type ServoCssRulesBorrowed<'a> = &'a ServoCssRules; -pub type ServoCssRulesBorrowedOrNull<'a> = Option<&'a ServoCssRules>; -enum ServoCssRulesVoid { } -pub struct ServoCssRules(ServoCssRulesVoid); -pub type RawServoStyleSheetContentsStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoStyleSheetContentsBorrowed<'a> = &'a RawServoStyleSheetContents; -pub type RawServoStyleSheetContentsBorrowedOrNull<'a> = Option<&'a RawServoStyleSheetContents>; -pub type RawServoDeclarationBlockStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoDeclarationBlockBorrowed<'a> = &'a RawServoDeclarationBlock; -pub type RawServoDeclarationBlockBorrowedOrNull<'a> = Option<&'a RawServoDeclarationBlock>; -pub type RawServoStyleRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoStyleRuleBorrowed<'a> = &'a RawServoStyleRule; -pub type RawServoStyleRuleBorrowedOrNull<'a> = Option<&'a RawServoStyleRule>; -pub type RawServoImportRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoImportRuleBorrowed<'a> = &'a RawServoImportRule; -pub type RawServoImportRuleBorrowedOrNull<'a> = Option<&'a RawServoImportRule>; -enum RawServoImportRuleVoid { } -pub struct RawServoImportRule(RawServoImportRuleVoid); -pub type RawServoAnimationValueStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoAnimationValueBorrowed<'a> = &'a RawServoAnimationValue; -pub type RawServoAnimationValueBorrowedOrNull<'a> = Option<&'a RawServoAnimationValue>; -pub type RawServoKeyframeStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoKeyframeBorrowed<'a> = &'a RawServoKeyframe; -pub type RawServoKeyframeBorrowedOrNull<'a> = Option<&'a RawServoKeyframe>; -enum RawServoKeyframeVoid { } -pub struct RawServoKeyframe(RawServoKeyframeVoid); -pub type RawServoKeyframesRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoKeyframesRuleBorrowed<'a> = &'a RawServoKeyframesRule; -pub type RawServoKeyframesRuleBorrowedOrNull<'a> = Option<&'a RawServoKeyframesRule>; -enum RawServoKeyframesRuleVoid { } -pub struct RawServoKeyframesRule(RawServoKeyframesRuleVoid); -pub type RawServoMediaListStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoMediaListBorrowed<'a> = &'a RawServoMediaList; -pub type RawServoMediaListBorrowedOrNull<'a> = Option<&'a RawServoMediaList>; -pub type RawServoMediaRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoMediaRuleBorrowed<'a> = &'a RawServoMediaRule; -pub type RawServoMediaRuleBorrowedOrNull<'a> = Option<&'a RawServoMediaRule>; -enum RawServoMediaRuleVoid { } -pub struct RawServoMediaRule(RawServoMediaRuleVoid); -pub type RawServoNamespaceRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoNamespaceRuleBorrowed<'a> = &'a RawServoNamespaceRule; -pub type RawServoNamespaceRuleBorrowedOrNull<'a> = Option<&'a RawServoNamespaceRule>; -enum RawServoNamespaceRuleVoid { } -pub struct RawServoNamespaceRule(RawServoNamespaceRuleVoid); -pub type RawServoPageRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoPageRuleBorrowed<'a> = &'a RawServoPageRule; -pub type RawServoPageRuleBorrowedOrNull<'a> = Option<&'a RawServoPageRule>; -enum RawServoPageRuleVoid { } -pub struct RawServoPageRule(RawServoPageRuleVoid); -pub type RawServoSupportsRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoSupportsRuleBorrowed<'a> = &'a RawServoSupportsRule; -pub type RawServoSupportsRuleBorrowedOrNull<'a> = Option<&'a RawServoSupportsRule>; -enum RawServoSupportsRuleVoid { } -pub struct RawServoSupportsRule(RawServoSupportsRuleVoid); -pub type RawServoDocumentRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoDocumentRuleBorrowed<'a> = &'a RawServoDocumentRule; -pub type RawServoDocumentRuleBorrowedOrNull<'a> = Option<&'a RawServoDocumentRule>; -enum RawServoDocumentRuleVoid { } -pub struct RawServoDocumentRule(RawServoDocumentRuleVoid); -pub type RawServoFontFeatureValuesRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoFontFeatureValuesRuleBorrowed<'a> = &'a RawServoFontFeatureValuesRule; -pub type RawServoFontFeatureValuesRuleBorrowedOrNull<'a> = Option<&'a RawServoFontFeatureValuesRule>; -enum RawServoFontFeatureValuesRuleVoid { } -pub struct RawServoFontFeatureValuesRule(RawServoFontFeatureValuesRuleVoid); -pub type RawServoRuleNodeStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoRuleNodeBorrowed<'a> = &'a RawServoRuleNode; -pub type RawServoRuleNodeBorrowedOrNull<'a> = Option<&'a RawServoRuleNode>; -enum RawServoRuleNodeVoid { } -pub struct RawServoRuleNode(RawServoRuleNodeVoid); -pub type RawServoFontFaceRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoFontFaceRuleBorrowed<'a> = &'a RawServoFontFaceRule; -pub type RawServoFontFaceRuleBorrowedOrNull<'a> = Option<&'a RawServoFontFaceRule>; -pub type RawServoCounterStyleRuleStrong = ::gecko_bindings::sugar::ownership::Strong; -pub type RawServoCounterStyleRuleBorrowed<'a> = &'a RawServoCounterStyleRule; -pub type RawServoCounterStyleRuleBorrowedOrNull<'a> = Option<&'a RawServoCounterStyleRule>; -enum RawServoCounterStyleRuleVoid { } -pub struct RawServoCounterStyleRule(RawServoCounterStyleRuleVoid); - -extern "C" { - pub fn Gecko_EnsureTArrayCapacity( - aArray: *mut ::std::os::raw::c_void, - aCapacity: usize, - aElementSize: usize, - ); -} -extern "C" { - pub fn Gecko_ClearPODTArray( - aArray: *mut ::std::os::raw::c_void, - aElementSize: usize, - aElementAlign: usize, - ); -} -extern "C" { - pub fn Servo_CssRules_AddRef(ptr: ServoCssRulesBorrowed); -} -extern "C" { - pub fn Servo_CssRules_Release(ptr: ServoCssRulesBorrowed); -} -extern "C" { - pub fn Servo_StyleSheetContents_AddRef(ptr: RawServoStyleSheetContentsBorrowed); -} -extern "C" { - pub fn Servo_StyleSheetContents_Release(ptr: RawServoStyleSheetContentsBorrowed); -} -extern "C" { - pub fn Servo_DeclarationBlock_AddRef(ptr: RawServoDeclarationBlockBorrowed); -} -extern "C" { - pub fn Servo_DeclarationBlock_Release(ptr: RawServoDeclarationBlockBorrowed); -} -extern "C" { - pub fn Servo_StyleRule_AddRef(ptr: RawServoStyleRuleBorrowed); -} -extern "C" { - pub fn Servo_StyleRule_Release(ptr: RawServoStyleRuleBorrowed); -} -extern "C" { - pub fn Servo_ImportRule_AddRef(ptr: RawServoImportRuleBorrowed); -} -extern "C" { - pub fn Servo_ImportRule_Release(ptr: RawServoImportRuleBorrowed); -} -extern "C" { - pub fn Servo_AnimationValue_AddRef(ptr: RawServoAnimationValueBorrowed); -} -extern "C" { - pub fn Servo_AnimationValue_Release(ptr: RawServoAnimationValueBorrowed); -} -extern "C" { - pub fn Servo_Keyframe_AddRef(ptr: RawServoKeyframeBorrowed); -} -extern "C" { - pub fn Servo_Keyframe_Release(ptr: RawServoKeyframeBorrowed); -} -extern "C" { - pub fn Servo_KeyframesRule_AddRef(ptr: RawServoKeyframesRuleBorrowed); -} -extern "C" { - pub fn Servo_KeyframesRule_Release(ptr: RawServoKeyframesRuleBorrowed); -} -extern "C" { - pub fn Servo_MediaList_AddRef(ptr: RawServoMediaListBorrowed); -} -extern "C" { - pub fn Servo_MediaList_Release(ptr: RawServoMediaListBorrowed); -} -extern "C" { - pub fn Servo_MediaRule_AddRef(ptr: RawServoMediaRuleBorrowed); -} -extern "C" { - pub fn Servo_MediaRule_Release(ptr: RawServoMediaRuleBorrowed); -} -extern "C" { - pub fn Servo_NamespaceRule_AddRef(ptr: RawServoNamespaceRuleBorrowed); -} -extern "C" { - pub fn Servo_NamespaceRule_Release(ptr: RawServoNamespaceRuleBorrowed); -} -extern "C" { - pub fn Servo_PageRule_AddRef(ptr: RawServoPageRuleBorrowed); -} -extern "C" { - pub fn Servo_PageRule_Release(ptr: RawServoPageRuleBorrowed); -} -extern "C" { - pub fn Servo_SupportsRule_AddRef(ptr: RawServoSupportsRuleBorrowed); -} -extern "C" { - pub fn Servo_SupportsRule_Release(ptr: RawServoSupportsRuleBorrowed); -} -extern "C" { - pub fn Servo_DocumentRule_AddRef(ptr: RawServoDocumentRuleBorrowed); -} -extern "C" { - pub fn Servo_DocumentRule_Release(ptr: RawServoDocumentRuleBorrowed); -} -extern "C" { - pub fn Servo_FontFeatureValuesRule_AddRef(ptr: RawServoFontFeatureValuesRuleBorrowed); -} -extern "C" { - pub fn Servo_FontFeatureValuesRule_Release(ptr: RawServoFontFeatureValuesRuleBorrowed); -} -extern "C" { - pub fn Servo_RuleNode_AddRef(ptr: RawServoRuleNodeBorrowed); -} -extern "C" { - pub fn Servo_RuleNode_Release(ptr: RawServoRuleNodeBorrowed); -} -extern "C" { - pub fn Servo_FontFaceRule_AddRef(ptr: RawServoFontFaceRuleBorrowed); -} -extern "C" { - pub fn Servo_FontFaceRule_Release(ptr: RawServoFontFaceRuleBorrowed); -} -extern "C" { - pub fn Servo_CounterStyleRule_AddRef(ptr: RawServoCounterStyleRuleBorrowed); -} -extern "C" { - pub fn Servo_CounterStyleRule_Release(ptr: RawServoCounterStyleRuleBorrowed); -} -extern "C" { - pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned); -} -extern "C" { - pub fn Servo_AuthorStyles_Drop(ptr: RawServoAuthorStylesOwned); -} -extern "C" { - pub fn Servo_SelectorList_Drop(ptr: RawServoSelectorListOwned); -} -extern "C" { - pub fn Servo_SourceSizeList_Drop(ptr: RawServoSourceSizeListOwned); -} -extern "C" { - pub fn Gecko_IsSignificantChild( - node: RawGeckoNodeBorrowed, - whitespace_is_significant: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_GetLastChild(node: RawGeckoNodeBorrowed) -> RawGeckoNodeBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetFlattenedTreeParentNode( - node: RawGeckoNodeBorrowed, - ) -> RawGeckoNodeBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetBeforeOrAfterPseudo( - element: RawGeckoElementBorrowed, - is_before: bool, - ) -> RawGeckoElementBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetAnonymousContentForElement( - element: RawGeckoElementBorrowed, - ) -> *mut nsTArray<*mut nsIContent>; -} -extern "C" { - pub fn Gecko_DestroyAnonymousContentList(anon_content: *mut nsTArray<*mut nsIContent>); -} -extern "C" { - pub fn Gecko_ComputedStyle_Init( - context: *mut ComputedStyle, - parent_context: ComputedStyleBorrowedOrNull, - pres_context: RawGeckoPresContextBorrowed, - values: ServoComputedDataBorrowed, - pseudo_type: CSSPseudoElementType, - pseudo_tag: *mut nsAtom, - ); -} -extern "C" { - pub fn Gecko_ComputedStyle_Destroy(context: *mut ComputedStyle); -} -extern "C" { - pub fn Gecko_ConstructStyleChildrenIterator( - aElement: RawGeckoElementBorrowed, - aIterator: RawGeckoStyleChildrenIteratorBorrowedMut, - ); -} -extern "C" { - pub fn Gecko_DestroyStyleChildrenIterator(aIterator: RawGeckoStyleChildrenIteratorBorrowedMut); -} -extern "C" { - pub fn Gecko_GetNextStyleChild( - it: RawGeckoStyleChildrenIteratorBorrowedMut, - ) -> RawGeckoNodeBorrowedOrNull; -} -extern "C" { - pub fn Gecko_AddRefSheetLoadDataHolderArbitraryThread(aPtr: *mut SheetLoadDataHolder); -} -extern "C" { - pub fn Gecko_ReleaseSheetLoadDataHolderArbitraryThread(aPtr: *mut SheetLoadDataHolder); -} -extern "C" { - pub fn Gecko_StyleSheet_FinishAsyncParse( - data: *mut SheetLoadDataHolder, - sheet_contents: RawServoStyleSheetContentsStrong, - ); -} -extern "C" { - pub fn Gecko_LoadStyleSheet( - loader: *mut Loader, - parent: *mut ServoStyleSheet, - parent_load_data: *mut SheetLoadData, - reusable_sheets: *mut LoaderReusableStyleSheets, - url: ServoBundledURI, - media_list: RawServoMediaListStrong, - ) -> *mut ServoStyleSheet; -} -extern "C" { - pub fn Gecko_LoadStyleSheetAsync( - parent_data: *mut SheetLoadDataHolder, - url: ServoBundledURI, - media_list: RawServoMediaListStrong, - import_rule: RawServoImportRuleStrong, - ); -} -extern "C" { - pub fn Gecko_ElementState(element: RawGeckoElementBorrowed) -> u64; -} -extern "C" { - pub fn Gecko_IsRootElement(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_MatchLang( - element: RawGeckoElementBorrowed, - override_lang: *mut nsAtom, - has_override_lang: bool, - value: *const u16, - ) -> bool; -} -extern "C" { - pub fn Gecko_GetXMLLangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_GetDocumentLWTheme(aDocument: *const nsIDocument) -> nsIDocument_DocumentTheme; -} -extern "C" { - pub fn Gecko_IsTableBorderNonzero(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_IsBrowserFrame(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_AtomAttrValue( - element: RawGeckoElementBorrowed, - attribute: *mut nsAtom, - ) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_HasAttr( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - ) -> bool; -} -extern "C" { - pub fn Gecko_AttrEquals( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignoreCase: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_AttrDashEquals( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_AttrIncludes( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_AttrHasSubstring( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_AttrHasPrefix( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_AttrHasSuffix( - element: RawGeckoElementBorrowed, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_ClassOrClassList( - element: RawGeckoElementBorrowed, - class_: *mut *mut nsAtom, - classList: *mut *mut *mut nsAtom, - ) -> u32; -} -extern "C" { - pub fn Gecko_HasClass( - element: RawGeckoElementBorrowed, - class_: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAtomAttrValue( - element: *const ServoElementSnapshot, - attribute: *mut nsAtom, - ) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_SnapshotLangValue(element: *const ServoElementSnapshot) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_SnapshotHasAttr( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAttrEquals( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignoreCase: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAttrDashEquals( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAttrIncludes( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAttrHasSubstring( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAttrHasPrefix( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotAttrHasSuffix( - element: *const ServoElementSnapshot, - ns: *mut nsAtom, - name: *mut nsAtom, - str: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_SnapshotClassOrClassList( - element: *const ServoElementSnapshot, - class_: *mut *mut nsAtom, - classList: *mut *mut *mut nsAtom, - ) -> u32; -} -extern "C" { - pub fn Gecko_SnapshotHasClass( - element: *const ServoElementSnapshot, - class_: *mut nsAtom, - ignore_case: bool, - ) -> bool; -} -extern "C" { - pub fn Gecko_GetStyleAttrDeclarationBlock( - element: RawGeckoElementBorrowed, - ) -> RawServoDeclarationBlockStrongBorrowedOrNull; -} -extern "C" { - pub fn Gecko_UnsetDirtyStyleAttr(element: RawGeckoElementBorrowed); -} -extern "C" { - pub fn Gecko_GetHTMLPresentationAttrDeclarationBlock( - element: RawGeckoElementBorrowed, - ) -> RawServoDeclarationBlockStrongBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetExtraContentStyleDeclarations( - element: RawGeckoElementBorrowed, - ) -> RawServoDeclarationBlockStrongBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetUnvisitedLinkAttrDeclarationBlock( - element: RawGeckoElementBorrowed, - ) -> RawServoDeclarationBlockStrongBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetVisitedLinkAttrDeclarationBlock( - element: RawGeckoElementBorrowed, - ) -> RawServoDeclarationBlockStrongBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetActiveLinkAttrDeclarationBlock( - element: RawGeckoElementBorrowed, - ) -> RawServoDeclarationBlockStrongBorrowedOrNull; -} -extern "C" { - pub fn Gecko_IsPrivateBrowsingEnabled(aDoc: *const nsIDocument) -> bool; -} -extern "C" { - pub fn Gecko_GetAnimationRule( - aElementOrPseudo: RawGeckoElementBorrowed, - aCascadeLevel: EffectCompositor_CascadeLevel, - aAnimationValues: RawServoAnimationValueMapBorrowedMut, - ) -> bool; -} -extern "C" { - pub fn Gecko_StyleAnimationsEquals( - arg1: RawGeckoStyleAnimationListBorrowed, - arg2: RawGeckoStyleAnimationListBorrowed, - ) -> bool; -} -extern "C" { - pub fn Gecko_CopyAnimationNames( - aDest: RawGeckoStyleAnimationListBorrowedMut, - aSrc: RawGeckoStyleAnimationListBorrowed, - ); -} -extern "C" { - pub fn Gecko_SetAnimationName(aStyleAnimation: *mut StyleAnimation, aAtom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_UpdateAnimations( - aElementOrPseudo: RawGeckoElementBorrowed, - aOldComputedValues: ComputedStyleBorrowedOrNull, - aComputedValues: ComputedStyleBorrowedOrNull, - aTasks: UpdateAnimationsTasks, - ); -} -extern "C" { - pub fn Gecko_ElementHasAnimations(aElementOrPseudo: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_ElementHasCSSAnimations(aElementOrPseudo: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_ElementHasCSSTransitions(aElementOrPseudo: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_ElementTransitions_Length(aElementOrPseudo: RawGeckoElementBorrowed) -> usize; -} -extern "C" { - pub fn Gecko_ElementTransitions_PropertyAt( - aElementOrPseudo: RawGeckoElementBorrowed, - aIndex: usize, - ) -> nsCSSPropertyID; -} -extern "C" { - pub fn Gecko_ElementTransitions_EndValueAt( - aElementOrPseudo: RawGeckoElementBorrowed, - aIndex: usize, - ) -> RawServoAnimationValueBorrowedOrNull; -} -extern "C" { - pub fn Gecko_GetProgressFromComputedTiming( - aComputedTiming: RawGeckoComputedTimingBorrowed, - ) -> f64; -} -extern "C" { - pub fn Gecko_GetPositionInSegment( - aSegment: RawGeckoAnimationPropertySegmentBorrowed, - aProgress: f64, - aBeforeFlag: ComputedTimingFunction_BeforeFlag, - ) -> f64; -} -extern "C" { - pub fn Gecko_AnimationGetBaseStyle( - aBaseStyles: RawServoAnimationValueTableBorrowed, - aProperty: nsCSSPropertyID, - ) -> RawServoAnimationValueBorrowedOrNull; -} -extern "C" { - pub fn Gecko_StyleTransition_SetUnsupportedProperty( - aTransition: *mut StyleTransition, - aAtom: *mut nsAtom, - ); -} -extern "C" { - pub fn Gecko_Atomize(aString: *const ::std::os::raw::c_char, aLength: u32) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_Atomize16(aString: *const nsAString) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_AddRefAtom(aAtom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_ReleaseAtom(aAtom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont); -} -extern "C" { - pub fn Gecko_nsTArray_FontFamilyName_AppendNamed( - aNames: *mut nsTArray, - aName: *mut nsAtom, - aQuoted: bool, - ); -} -extern "C" { - pub fn Gecko_nsTArray_FontFamilyName_AppendGeneric( - aNames: *mut nsTArray, - aType: FontFamilyType, - ); -} -extern "C" { - pub fn Gecko_SharedFontList_Create() -> *mut SharedFontList; -} -extern "C" { - pub fn Gecko_SharedFontList_SizeOfIncludingThis(fontlist: *mut SharedFontList) -> usize; -} -extern "C" { - pub fn Gecko_SharedFontList_SizeOfIncludingThisIfUnshared( - fontlist: *mut SharedFontList, - ) -> usize; -} -extern "C" { - pub fn Gecko_AddRefSharedFontListArbitraryThread(aPtr: *mut SharedFontList); -} -extern "C" { - pub fn Gecko_ReleaseSharedFontListArbitraryThread(aPtr: *mut SharedFontList); -} -extern "C" { - pub fn Gecko_nsFont_InitSystem( - dst: *mut nsFont, - font_id: i32, - font: *const nsStyleFont, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_nsFont_Destroy(dst: *mut nsFont); -} -extern "C" { - pub fn Gecko_ConstructFontFeatureValueSet() -> *mut gfxFontFeatureValueSet; -} -extern "C" { - pub fn Gecko_AppendFeatureValueHashEntry( - value_set: *mut gfxFontFeatureValueSet, - family: *mut nsAtom, - alternate: u32, - name: *mut nsAtom, - ) -> *mut nsTArray<::std::os::raw::c_uint>; -} -extern "C" { - pub fn Gecko_nsFont_SetFontFeatureValuesLookup( - font: *mut nsFont, - pres_context: *const RawGeckoPresContext, - ); -} -extern "C" { - pub fn Gecko_nsFont_ResetFontFeatureValuesLookup(font: *mut nsFont); -} -extern "C" { - pub fn Gecko_ClearAlternateValues(font: *mut nsFont, length: usize); -} -extern "C" { - pub fn Gecko_AppendAlternateValues(font: *mut nsFont, alternate_name: u32, atom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_CopyAlternateValuesFrom(dest: *mut nsFont, src: *const nsFont); -} -extern "C" { - pub fn Gecko_SetImageOrientation( - aVisibility: *mut nsStyleVisibility, - aOrientation: u8, - aFlip: bool, - ); -} -extern "C" { - pub fn Gecko_SetImageOrientationAsFromImage(aVisibility: *mut nsStyleVisibility); -} -extern "C" { - pub fn Gecko_CopyImageOrientationFrom( - aDst: *mut nsStyleVisibility, - aSrc: *const nsStyleVisibility, - ); -} -extern "C" { - pub fn Gecko_SetCounterStyleToName( - ptr: *mut CounterStylePtr, - name: *mut nsAtom, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_SetCounterStyleToSymbols( - ptr: *mut CounterStylePtr, - symbols_type: u8, - symbols: *const *const nsACString, - symbols_count: u32, - ); -} -extern "C" { - pub fn Gecko_SetCounterStyleToString(ptr: *mut CounterStylePtr, symbol: *const nsACString); -} -extern "C" { - pub fn Gecko_CopyCounterStyle(dst: *mut CounterStylePtr, src: *const CounterStylePtr); -} -extern "C" { - pub fn Gecko_CounterStyle_GetName(ptr: *const CounterStylePtr) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_CounterStyle_GetAnonymous( - ptr: *const CounterStylePtr, - ) -> *const AnonymousCounterStyle; -} -extern "C" { - pub fn Gecko_SetNullImageValue(image: *mut nsStyleImage); -} -extern "C" { - pub fn Gecko_SetGradientImageValue(image: *mut nsStyleImage, gradient: *mut nsStyleGradient); -} -extern "C" { - pub fn Gecko_AddRefImageValueArbitraryThread(aPtr: *mut ImageValue); -} -extern "C" { - pub fn Gecko_ReleaseImageValueArbitraryThread(aPtr: *mut ImageValue); -} -extern "C" { - pub fn Gecko_ImageValue_Create(aURI: ServoBundledURI) -> *mut ImageValue; -} -extern "C" { - pub fn Gecko_ImageValue_SizeOfIncludingThis(aImageValue: *mut ImageValue) -> usize; -} -extern "C" { - pub fn Gecko_SetLayerImageImageValue(image: *mut nsStyleImage, aImageValue: *mut ImageValue); -} -extern "C" { - pub fn Gecko_SetImageElement(image: *mut nsStyleImage, atom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_CopyImageValueFrom(image: *mut nsStyleImage, other: *const nsStyleImage); -} -extern "C" { - pub fn Gecko_InitializeImageCropRect(image: *mut nsStyleImage); -} -extern "C" { - pub fn Gecko_CreateGradient( - shape: u8, - size: u8, - repeating: bool, - legacy_syntax: bool, - moz_legacy_syntax: bool, - stops: u32, - ) -> *mut nsStyleGradient; -} -extern "C" { - pub fn Gecko_GetURLValue(image: *const nsStyleImage) -> *const URLValueData; -} -extern "C" { - pub fn Gecko_GetImageElement(image: *const nsStyleImage) -> *mut nsAtom; -} -extern "C" { - pub fn Gecko_GetGradientImageValue(image: *const nsStyleImage) -> *const nsStyleGradient; -} -extern "C" { - pub fn Gecko_SetListStyleImageNone(style_struct: *mut nsStyleList); -} -extern "C" { - pub fn Gecko_SetListStyleImageImageValue( - style_struct: *mut nsStyleList, - aImageValue: *mut ImageValue, - ); -} -extern "C" { - pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList, src: *const nsStyleList); -} -extern "C" { - pub fn Gecko_SetCursorArrayLength(ui: *mut nsStyleUserInterface, len: usize); -} -extern "C" { - pub fn Gecko_SetCursorImageValue(aCursor: *mut nsCursorImage, aImageValue: *mut ImageValue); -} -extern "C" { - pub fn Gecko_CopyCursorArrayFrom( - dest: *mut nsStyleUserInterface, - src: *const nsStyleUserInterface, - ); -} -extern "C" { - pub fn Gecko_SetContentDataImageValue( - aList: *mut nsStyleContentData, - aImageValue: *mut ImageValue, - ); -} -extern "C" { - pub fn Gecko_SetCounterFunction( - content_data: *mut nsStyleContentData, - type_: nsStyleContentType, - ) -> *mut nsStyleContentData_CounterFunction; -} -extern "C" { - pub fn Gecko_SetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32); -} -extern "C" { - pub fn Gecko_UnsetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32); -} -extern "C" { - pub fn Gecko_NoteDirtyElement(element: RawGeckoElementBorrowed); -} -extern "C" { - pub fn Gecko_NoteDirtySubtreeForInvalidation(element: RawGeckoElementBorrowed); -} -extern "C" { - pub fn Gecko_NoteAnimationOnlyDirtyElement(element: RawGeckoElementBorrowed); -} -extern "C" { - pub fn Gecko_AnimationNameMayBeReferencedFromStyle( - pres_context: RawGeckoPresContextBorrowed, - name: *mut nsAtom, - ) -> bool; -} -extern "C" { - pub fn Gecko_GetImplementedPseudo(element: RawGeckoElementBorrowed) -> CSSPseudoElementType; -} -extern "C" { - pub fn Gecko_CalcStyleDifference( - old_style: ComputedStyleBorrowed, - new_style: ComputedStyleBorrowed, - any_style_struct_changed: *mut bool, - reset_only_changed: *mut bool, - ) -> u32; -} -extern "C" { - pub fn Gecko_GetElementSnapshot( - table: *const ServoElementSnapshotTable, - element: RawGeckoElementBorrowed, - ) -> *const ServoElementSnapshot; -} -extern "C" { - pub fn Gecko_HaveSeenPtr(table: *mut SeenPtrs, ptr: *const ::std::os::raw::c_void) -> bool; -} -extern "C" { - pub fn Gecko_ResizeTArrayForStrings(array: *mut nsTArray, length: u32); -} -extern "C" { - pub fn Gecko_SetStyleGridTemplate( - grid_template: *mut UniquePtr, - value: *mut nsStyleGridTemplate, - ); -} -extern "C" { - pub fn Gecko_CreateStyleGridTemplate( - track_sizes: u32, - name_size: u32, - ) -> *mut nsStyleGridTemplate; -} -extern "C" { - pub fn Gecko_CopyStyleGridTemplateValues( - grid_template: *mut UniquePtr, - other: *const nsStyleGridTemplate, - ); -} -extern "C" { - pub fn Gecko_NewGridTemplateAreasValue( - areas: u32, - templates: u32, - columns: u32, - ) -> *mut GridTemplateAreasValue; -} -extern "C" { - pub fn Gecko_AddRefGridTemplateAreasValueArbitraryThread(aPtr: *mut GridTemplateAreasValue); -} -extern "C" { - pub fn Gecko_ReleaseGridTemplateAreasValueArbitraryThread(aPtr: *mut GridTemplateAreasValue); -} -extern "C" { - pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent, how_many: u32); -} -extern "C" { - pub fn Gecko_ClearAndResizeCounterIncrements(content: *mut nsStyleContent, how_many: u32); -} -extern "C" { - pub fn Gecko_ClearAndResizeCounterResets(content: *mut nsStyleContent, how_many: u32); -} -extern "C" { - pub fn Gecko_CopyStyleContentsFrom(content: *mut nsStyleContent, other: *const nsStyleContent); -} -extern "C" { - pub fn Gecko_CopyCounterResetsFrom(content: *mut nsStyleContent, other: *const nsStyleContent); -} -extern "C" { - pub fn Gecko_CopyCounterIncrementsFrom( - content: *mut nsStyleContent, - other: *const nsStyleContent, - ); -} -extern "C" { - pub fn Gecko_EnsureImageLayersLength( - layers: *mut nsStyleImageLayers, - len: usize, - layer_type: nsStyleImageLayers_LayerType, - ); -} -extern "C" { - pub fn Gecko_EnsureStyleAnimationArrayLength(array: *mut ::std::os::raw::c_void, len: usize); -} -extern "C" { - pub fn Gecko_EnsureStyleTransitionArrayLength(array: *mut ::std::os::raw::c_void, len: usize); -} -extern "C" { - pub fn Gecko_ClearWillChange(display: *mut nsStyleDisplay, length: usize); -} -extern "C" { - pub fn Gecko_AppendWillChange(display: *mut nsStyleDisplay, atom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_CopyWillChangeFrom(dest: *mut nsStyleDisplay, src: *mut nsStyleDisplay); -} -extern "C" { - pub fn Gecko_GetOrCreateKeyframeAtStart( - keyframes: RawGeckoKeyframeListBorrowedMut, - offset: f32, - timingFunction: *const nsTimingFunction, - ) -> *mut Keyframe; -} -extern "C" { - pub fn Gecko_GetOrCreateInitialKeyframe( - keyframes: RawGeckoKeyframeListBorrowedMut, - timingFunction: *const nsTimingFunction, - ) -> *mut Keyframe; -} -extern "C" { - pub fn Gecko_GetOrCreateFinalKeyframe( - keyframes: RawGeckoKeyframeListBorrowedMut, - timingFunction: *const nsTimingFunction, - ) -> *mut Keyframe; -} -extern "C" { - pub fn Gecko_AppendPropertyValuePair( - aProperties: RawGeckoPropertyValuePairListBorrowedMut, - aProperty: nsCSSPropertyID, - ) -> *mut PropertyValuePair; -} -extern "C" { - pub fn Gecko_ResetStyleCoord(unit: *mut nsStyleUnit, value: *mut nsStyleUnion); -} -extern "C" { - pub fn Gecko_SetStyleCoordCalcValue( - unit: *mut nsStyleUnit, - value: *mut nsStyleUnion, - calc: nsStyleCoord_CalcValue, - ); -} -extern "C" { - pub fn Gecko_CopyShapeSourceFrom(dst: *mut StyleShapeSource, src: *const StyleShapeSource); -} -extern "C" { - pub fn Gecko_DestroyShapeSource(shape: *mut StyleShapeSource); -} -extern "C" { - pub fn Gecko_NewBasicShape(shape: *mut StyleShapeSource, type_: StyleBasicShapeType); -} -extern "C" { - pub fn Gecko_NewShapeImage(shape: *mut StyleShapeSource); -} -extern "C" { - pub fn Gecko_StyleShapeSource_SetURLValue(shape: *mut StyleShapeSource, uri: *mut URLValue); -} -extern "C" { - pub fn Gecko_ResetFilters(effects: *mut nsStyleEffects, new_len: usize); -} -extern "C" { - pub fn Gecko_CopyFiltersFrom(aSrc: *mut nsStyleEffects, aDest: *mut nsStyleEffects); -} -extern "C" { - pub fn Gecko_nsStyleFilter_SetURLValue(effects: *mut nsStyleFilter, uri: *mut URLValue); -} -extern "C" { - pub fn Gecko_nsStyleSVGPaint_CopyFrom(dest: *mut nsStyleSVGPaint, src: *const nsStyleSVGPaint); -} -extern "C" { - pub fn Gecko_nsStyleSVGPaint_SetURLValue(paint: *mut nsStyleSVGPaint, uri: *mut URLValue); -} -extern "C" { - pub fn Gecko_nsStyleSVGPaint_Reset(paint: *mut nsStyleSVGPaint); -} -extern "C" { - pub fn Gecko_nsStyleSVG_SetDashArrayLength(svg: *mut nsStyleSVG, len: u32); -} -extern "C" { - pub fn Gecko_nsStyleSVG_CopyDashArray(dst: *mut nsStyleSVG, src: *const nsStyleSVG); -} -extern "C" { - pub fn Gecko_nsStyleSVG_SetContextPropertiesLength(svg: *mut nsStyleSVG, len: u32); -} -extern "C" { - pub fn Gecko_nsStyleSVG_CopyContextProperties(dst: *mut nsStyleSVG, src: *const nsStyleSVG); -} -extern "C" { - pub fn Gecko_NewURLValue(uri: ServoBundledURI) -> *mut URLValue; -} -extern "C" { - pub fn Gecko_URLValue_SizeOfIncludingThis(url: *mut URLValue) -> usize; -} -extern "C" { - pub fn Gecko_AddRefCSSURLValueArbitraryThread(aPtr: *mut URLValue); -} -extern "C" { - pub fn Gecko_ReleaseCSSURLValueArbitraryThread(aPtr: *mut URLValue); -} -extern "C" { - pub fn Gecko_AddRefURLExtraDataArbitraryThread(aPtr: *mut RawGeckoURLExtraData); -} -extern "C" { - pub fn Gecko_ReleaseURLExtraDataArbitraryThread(aPtr: *mut RawGeckoURLExtraData); -} -extern "C" { - pub fn Gecko_FillAllImageLayers(layers: *mut nsStyleImageLayers, max_len: u32); -} -extern "C" { - pub fn Gecko_AddRefCalcArbitraryThread(aPtr: *mut nsStyleCoord_Calc); -} -extern "C" { - pub fn Gecko_ReleaseCalcArbitraryThread(aPtr: *mut nsStyleCoord_Calc); -} -extern "C" { - pub fn Gecko_NewCSSShadowArray(len: u32) -> *mut nsCSSShadowArray; -} -extern "C" { - pub fn Gecko_AddRefCSSShadowArrayArbitraryThread(aPtr: *mut nsCSSShadowArray); -} -extern "C" { - pub fn Gecko_ReleaseCSSShadowArrayArbitraryThread(aPtr: *mut nsCSSShadowArray); -} -extern "C" { - pub fn Gecko_NewStyleQuoteValues(len: u32) -> *mut nsStyleQuoteValues; -} -extern "C" { - pub fn Gecko_AddRefQuoteValuesArbitraryThread(aPtr: *mut nsStyleQuoteValues); -} -extern "C" { - pub fn Gecko_ReleaseQuoteValuesArbitraryThread(aPtr: *mut nsStyleQuoteValues); -} -extern "C" { - pub fn Gecko_NewCSSValueSharedList(len: u32) -> *mut nsCSSValueSharedList; -} -extern "C" { - pub fn Gecko_NewNoneTransform() -> *mut nsCSSValueSharedList; -} -extern "C" { - pub fn Gecko_CSSValue_GetArrayItem( - css_value: nsCSSValueBorrowedMut, - index: i32, - ) -> nsCSSValueBorrowedMut; -} -extern "C" { - pub fn Gecko_CSSValue_GetArrayItemConst( - css_value: nsCSSValueBorrowed, - index: i32, - ) -> nsCSSValueBorrowed; -} -extern "C" { - pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed) -> nsCSSKeyword; -} -extern "C" { - pub fn Gecko_CSSValue_GetNumber(css_value: nsCSSValueBorrowed) -> f32; -} -extern "C" { - pub fn Gecko_CSSValue_GetPercentage(css_value: nsCSSValueBorrowed) -> f32; -} -extern "C" { - pub fn Gecko_CSSValue_GetCalc(aCSSValue: nsCSSValueBorrowed) -> nsStyleCoord_CalcValue; -} -extern "C" { - pub fn Gecko_CSSValue_SetNumber(css_value: nsCSSValueBorrowedMut, number: f32); -} -extern "C" { - pub fn Gecko_CSSValue_SetKeyword(css_value: nsCSSValueBorrowedMut, keyword: nsCSSKeyword); -} -extern "C" { - pub fn Gecko_CSSValue_SetPercentage(css_value: nsCSSValueBorrowedMut, percent: f32); -} -extern "C" { - pub fn Gecko_CSSValue_SetPixelLength(aCSSValue: nsCSSValueBorrowedMut, aLen: f32); -} -extern "C" { - pub fn Gecko_CSSValue_SetCalc(css_value: nsCSSValueBorrowedMut, calc: nsStyleCoord_CalcValue); -} -extern "C" { - pub fn Gecko_CSSValue_SetFontWeight(css_value: nsCSSValueBorrowedMut, weight: f32); -} -extern "C" { - pub fn Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut, len: i32); -} -extern "C" { - pub fn Gecko_CSSValue_SetString( - css_value: nsCSSValueBorrowedMut, - string: *const u8, - len: u32, - unit: nsCSSUnit, - ); -} -extern "C" { - pub fn Gecko_CSSValue_SetStringFromAtom( - css_value: nsCSSValueBorrowedMut, - atom: *mut nsAtom, - unit: nsCSSUnit, - ); -} -extern "C" { - pub fn Gecko_CSSValue_SetAtomIdent(css_value: nsCSSValueBorrowedMut, atom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut, len: i32); -} -extern "C" { - pub fn Gecko_CSSValue_SetURL(css_value: nsCSSValueBorrowedMut, uri: *mut URLValue); -} -extern "C" { - pub fn Gecko_CSSValue_SetInt(css_value: nsCSSValueBorrowedMut, integer: i32, unit: nsCSSUnit); -} -extern "C" { - pub fn Gecko_CSSValue_SetFloat(css_value: nsCSSValueBorrowedMut, value: f32, unit: nsCSSUnit); -} -extern "C" { - pub fn Gecko_CSSValue_SetPair( - css_value: nsCSSValueBorrowedMut, - xvalue: nsCSSValueBorrowed, - yvalue: nsCSSValueBorrowed, - ); -} -extern "C" { - pub fn Gecko_CSSValue_SetList(css_value: nsCSSValueBorrowedMut, len: u32); -} -extern "C" { - pub fn Gecko_CSSValue_SetPairList(css_value: nsCSSValueBorrowedMut, len: u32); -} -extern "C" { - pub fn Gecko_CSSValue_InitSharedList(css_value: nsCSSValueBorrowedMut, len: u32); -} -extern "C" { - pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut); -} -extern "C" { - pub fn Gecko_AddRefCSSValueSharedListArbitraryThread(aPtr: *mut nsCSSValueSharedList); -} -extern "C" { - pub fn Gecko_ReleaseCSSValueSharedListArbitraryThread(aPtr: *mut nsCSSValueSharedList); -} -extern "C" { - pub fn Gecko_FontWeight_ToFloat(aWeight: FontWeight) -> f32; -} -extern "C" { - pub fn Gecko_FontWeight_SetFloat(aWeight: *mut FontWeight, aFloatValue: f32); -} -extern "C" { - pub fn Gecko_nsStyleFont_SetLang(font: *mut nsStyleFont, atom: *mut nsAtom); -} -extern "C" { - pub fn Gecko_nsStyleFont_CopyLangFrom(aFont: *mut nsStyleFont, aSource: *const nsStyleFont); -} -extern "C" { - pub fn Gecko_nsStyleFont_FixupNoneGeneric( - font: *mut nsStyleFont, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_nsStyleFont_PrefillDefaultForGeneric( - font: *mut nsStyleFont, - pres_context: RawGeckoPresContextBorrowed, - generic_id: u8, - ); -} -extern "C" { - pub fn Gecko_nsStyleFont_FixupMinFontSize( - font: *mut nsStyleFont, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_GetBaseSize(lang: *mut nsAtom) -> FontSizePrefs; -} -extern "C" { - pub fn Gecko_GetBindingParent( - aElement: RawGeckoElementBorrowed, - ) -> RawGeckoElementBorrowedOrNull; -} -extern "C" { - pub fn Gecko_XBLBinding_GetRawServoStyles( - aXBLBinding: RawGeckoXBLBindingBorrowed, - ) -> RawServoAuthorStylesBorrowedOrNull; -} -extern "C" { - pub fn Gecko_XBLBinding_InheritsStyle(aXBLBinding: RawGeckoXBLBindingBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_GetFontMetrics( - pres_context: RawGeckoPresContextBorrowed, - is_vertical: bool, - font: *const nsStyleFont, - font_size: nscoord, - use_user_font_set: bool, - ) -> GeckoFontMetrics; -} -extern "C" { - pub fn Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed) -> i32; -} -extern "C" { - pub fn Gecko_StyleSheet_Clone( - aSheet: *const ServoStyleSheet, - aNewParentSheet: *const ServoStyleSheet, - ) -> *mut ServoStyleSheet; -} -extern "C" { - pub fn Gecko_StyleSheet_AddRef(aSheet: *const ServoStyleSheet); -} -extern "C" { - pub fn Gecko_StyleSheet_Release(aSheet: *const ServoStyleSheet); -} -extern "C" { - pub fn Gecko_LookupCSSKeyword(string: *const u8, len: u32) -> nsCSSKeyword; -} -extern "C" { - pub fn Gecko_CSSKeywordString( - keyword: nsCSSKeyword, - len: *mut u32, - ) -> *const ::std::os::raw::c_char; -} -extern "C" { - pub fn Gecko_IsDocumentBody(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Gecko_GetLookAndFeelSystemColor( - color_id: i32, - pres_context: RawGeckoPresContextBorrowed, - ) -> nscolor; -} -extern "C" { - pub fn Gecko_AddPropertyToSet(arg1: nsCSSPropertyIDSetBorrowedMut, arg2: nsCSSPropertyID); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleFont( - ptr: *mut nsStyleFont, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleFont(ptr: *mut nsStyleFont, other: *const nsStyleFont); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleFont(ptr: *mut nsStyleFont); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleColor( - ptr: *mut nsStyleColor, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleColor(ptr: *mut nsStyleColor, other: *const nsStyleColor); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleColor(ptr: *mut nsStyleColor); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleList( - ptr: *mut nsStyleList, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleList(ptr: *mut nsStyleList, other: *const nsStyleList); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleList(ptr: *mut nsStyleList); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleText( - ptr: *mut nsStyleText, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleText(ptr: *mut nsStyleText, other: *const nsStyleText); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleText(ptr: *mut nsStyleText); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleVisibility( - ptr: *mut nsStyleVisibility, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleVisibility( - ptr: *mut nsStyleVisibility, - other: *const nsStyleVisibility, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleVisibility(ptr: *mut nsStyleVisibility); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleUserInterface( - ptr: *mut nsStyleUserInterface, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleUserInterface( - ptr: *mut nsStyleUserInterface, - other: *const nsStyleUserInterface, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleUserInterface(ptr: *mut nsStyleUserInterface); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleTableBorder( - ptr: *mut nsStyleTableBorder, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleTableBorder( - ptr: *mut nsStyleTableBorder, - other: *const nsStyleTableBorder, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleTableBorder(ptr: *mut nsStyleTableBorder); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleSVG( - ptr: *mut nsStyleSVG, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleSVG(ptr: *mut nsStyleSVG, other: *const nsStyleSVG); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleSVG(ptr: *mut nsStyleSVG); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleBackground( - ptr: *mut nsStyleBackground, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleBackground( - ptr: *mut nsStyleBackground, - other: *const nsStyleBackground, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleBackground(ptr: *mut nsStyleBackground); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStylePosition( - ptr: *mut nsStylePosition, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStylePosition( - ptr: *mut nsStylePosition, - other: *const nsStylePosition, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStylePosition(ptr: *mut nsStylePosition); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleTextReset( - ptr: *mut nsStyleTextReset, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleTextReset( - ptr: *mut nsStyleTextReset, - other: *const nsStyleTextReset, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleTextReset(ptr: *mut nsStyleTextReset); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleDisplay( - ptr: *mut nsStyleDisplay, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleDisplay( - ptr: *mut nsStyleDisplay, - other: *const nsStyleDisplay, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleDisplay(ptr: *mut nsStyleDisplay); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleContent( - ptr: *mut nsStyleContent, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleContent( - ptr: *mut nsStyleContent, - other: *const nsStyleContent, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleContent(ptr: *mut nsStyleContent); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleUIReset( - ptr: *mut nsStyleUIReset, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleUIReset( - ptr: *mut nsStyleUIReset, - other: *const nsStyleUIReset, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleUIReset(ptr: *mut nsStyleUIReset); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleTable( - ptr: *mut nsStyleTable, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleTable(ptr: *mut nsStyleTable, other: *const nsStyleTable); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleTable(ptr: *mut nsStyleTable); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleMargin( - ptr: *mut nsStyleMargin, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleMargin(ptr: *mut nsStyleMargin, other: *const nsStyleMargin); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleMargin(ptr: *mut nsStyleMargin); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStylePadding( - ptr: *mut nsStylePadding, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStylePadding( - ptr: *mut nsStylePadding, - other: *const nsStylePadding, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStylePadding(ptr: *mut nsStylePadding); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleBorder( - ptr: *mut nsStyleBorder, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleBorder(ptr: *mut nsStyleBorder, other: *const nsStyleBorder); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleBorder(ptr: *mut nsStyleBorder); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleOutline( - ptr: *mut nsStyleOutline, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleOutline( - ptr: *mut nsStyleOutline, - other: *const nsStyleOutline, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleOutline(ptr: *mut nsStyleOutline); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleXUL( - ptr: *mut nsStyleXUL, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleXUL(ptr: *mut nsStyleXUL, other: *const nsStyleXUL); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleXUL(ptr: *mut nsStyleXUL); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleSVGReset( - ptr: *mut nsStyleSVGReset, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleSVGReset( - ptr: *mut nsStyleSVGReset, - other: *const nsStyleSVGReset, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleSVGReset(ptr: *mut nsStyleSVGReset); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleColumn( - ptr: *mut nsStyleColumn, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleColumn(ptr: *mut nsStyleColumn, other: *const nsStyleColumn); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleColumn(ptr: *mut nsStyleColumn); -} -extern "C" { - pub fn Gecko_Construct_Default_nsStyleEffects( - ptr: *mut nsStyleEffects, - pres_context: RawGeckoPresContextBorrowed, - ); -} -extern "C" { - pub fn Gecko_CopyConstruct_nsStyleEffects( - ptr: *mut nsStyleEffects, - other: *const nsStyleEffects, - ); -} -extern "C" { - pub fn Gecko_Destroy_nsStyleEffects(ptr: *mut nsStyleEffects); -} -extern "C" { - pub fn Gecko_RegisterProfilerThread(name: *const ::std::os::raw::c_char); -} -extern "C" { - pub fn Gecko_UnregisterProfilerThread(); -} -extern "C" { - pub fn Gecko_DocumentRule_UseForPresentation( - arg1: RawGeckoPresContextBorrowed, - aPattern: *const nsACString, - aURLMatchingFunction: URLMatchingFunction, - ) -> bool; -} -extern "C" { - pub fn Gecko_SetJemallocThreadLocalArena(enabled: bool); -} -extern "C" { - pub fn Gecko_AddBufferToCrashReport(addr: *const ::std::os::raw::c_void, len: usize); -} -extern "C" { - pub fn Gecko_AnnotateCrashReport( - key_str: *const ::std::os::raw::c_char, - value_str: *const ::std::os::raw::c_char, - ); -} -extern "C" { - pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed); -} -extern "C" { - pub fn Servo_Element_SizeOfExcludingThisAndCVs( - malloc_size_of: MallocSizeOf, - malloc_enclosing_size_of: MallocSizeOf, - seen_ptrs: *mut SeenPtrs, - node: RawGeckoElementBorrowed, - ) -> usize; -} -extern "C" { - pub fn Servo_Element_HasPrimaryComputedValues(node: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Servo_Element_GetPrimaryComputedValues( - node: RawGeckoElementBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_Element_HasPseudoComputedValues( - node: RawGeckoElementBorrowed, - index: usize, - ) -> bool; -} -extern "C" { - pub fn Servo_Element_GetPseudoComputedValues( - node: RawGeckoElementBorrowed, - index: usize, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_Element_IsDisplayNone(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Servo_Element_IsDisplayContents(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Servo_Element_IsPrimaryStyleReusedViaRuleNode(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Servo_InvalidateStyleForDocStateChanges( - root: RawGeckoElementBorrowed, - doc_styles: RawServoStyleSetBorrowed, - non_document_styles: *const nsTArray, - aStatesChanged: u64, - ); -} -extern "C" { - pub fn Servo_StyleSheet_FromUTF8Bytes( - loader: *mut Loader, - gecko_stylesheet: *mut ServoStyleSheet, - load_data: *mut SheetLoadData, - bytes: *const nsACString, - parsing_mode: SheetParsingMode, - extra_data: *mut RawGeckoURLExtraData, - line_number_offset: u32, - quirks_mode: nsCompatibility, - reusable_sheets: *mut LoaderReusableStyleSheets, - ) -> RawServoStyleSheetContentsStrong; -} -extern "C" { - pub fn Servo_StyleSheet_FromUTF8BytesAsync( - load_data: *mut SheetLoadDataHolder, - extra_data: *mut RawGeckoURLExtraData, - bytes: *const nsACString, - parsing_mode: SheetParsingMode, - line_number_offset: u32, - quirks_mode: nsCompatibility, - ); -} -extern "C" { - pub fn Servo_StyleSheet_Empty( - parsing_mode: SheetParsingMode, - ) -> RawServoStyleSheetContentsStrong; -} -extern "C" { - pub fn Servo_StyleSheet_HasRules(sheet: RawServoStyleSheetContentsBorrowed) -> bool; -} -extern "C" { - pub fn Servo_StyleSheet_GetRules( - sheet: RawServoStyleSheetContentsBorrowed, - ) -> ServoCssRulesStrong; -} -extern "C" { - pub fn Servo_StyleSheet_Clone( - sheet: RawServoStyleSheetContentsBorrowed, - reference_sheet: *const ServoStyleSheet, - ) -> RawServoStyleSheetContentsStrong; -} -extern "C" { - pub fn Servo_StyleSheet_SizeOfIncludingThis( - malloc_size_of: MallocSizeOf, - malloc_enclosing_size_of: MallocSizeOf, - sheet: RawServoStyleSheetContentsBorrowed, - ) -> usize; -} -extern "C" { - pub fn Servo_StyleSheet_GetSourceMapURL( - sheet: RawServoStyleSheetContentsBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_StyleSheet_GetSourceURL( - sheet: RawServoStyleSheetContentsBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_StyleSheet_GetOrigin(sheet: RawServoStyleSheetContentsBorrowed) -> u8; -} -extern "C" { - pub fn Servo_StyleSet_Init(pres_context: RawGeckoPresContextOwned) -> *mut RawServoStyleSet; -} -extern "C" { - pub fn Servo_StyleSet_RebuildCachedData(set: RawServoStyleSetBorrowed); -} -extern "C" { - pub fn Servo_StyleSet_MediumFeaturesChanged( - document_set: RawServoStyleSetBorrowed, - non_document_sets: *mut nsTArray, - may_affect_default_style: bool, - ) -> MediumFeaturesChangedResult; -} -extern "C" { - pub fn Servo_StyleSet_CompatModeChanged(raw_data: RawServoStyleSetBorrowed); -} -extern "C" { - pub fn Servo_StyleSet_AppendStyleSheet( - set: RawServoStyleSetBorrowed, - gecko_sheet: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_StyleSet_PrependStyleSheet( - set: RawServoStyleSetBorrowed, - gecko_sheet: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_StyleSet_RemoveStyleSheet( - set: RawServoStyleSetBorrowed, - gecko_sheet: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_StyleSet_InsertStyleSheetBefore( - set: RawServoStyleSetBorrowed, - gecko_sheet: *const ServoStyleSheet, - before: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_StyleSet_FlushStyleSheets( - set: RawServoStyleSetBorrowed, - doc_elem: RawGeckoElementBorrowedOrNull, - snapshots: *const ServoElementSnapshotTable, - ); -} -extern "C" { - pub fn Servo_StyleSet_SetAuthorStyleDisabled( - set: RawServoStyleSetBorrowed, - author_style_disabled: bool, - ); -} -extern "C" { - pub fn Servo_StyleSet_NoteStyleSheetsChanged( - set: RawServoStyleSetBorrowed, - changed_origins: OriginFlags, - ); -} -extern "C" { - pub fn Servo_StyleSet_GetKeyframesForName( - set: RawServoStyleSetBorrowed, - name: *mut nsAtom, - timing_function: nsTimingFunctionBorrowed, - keyframe_list: RawGeckoKeyframeListBorrowedMut, - ) -> bool; -} -extern "C" { - pub fn Servo_StyleSet_GetFontFaceRules( - set: RawServoStyleSetBorrowed, - list: RawGeckoFontFaceRuleListBorrowedMut, - ); -} -extern "C" { - pub fn Servo_StyleSet_GetCounterStyleRule( - set: RawServoStyleSetBorrowed, - name: *mut nsAtom, - ) -> *const RawServoCounterStyleRule; -} -extern "C" { - pub fn Servo_StyleSet_BuildFontFeatureValueSet( - set: RawServoStyleSetBorrowed, - ) -> *mut gfxFontFeatureValueSet; -} -extern "C" { - pub fn Servo_StyleSet_ResolveForDeclarations( - set: RawServoStyleSetBorrowed, - parent_style: ComputedStyleBorrowedOrNull, - declarations: RawServoDeclarationBlockBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_SelectorList_Parse(selector_list: *const nsACString) -> *mut RawServoSelectorList; -} -extern "C" { - pub fn Servo_SourceSizeList_Parse(value: *const nsACString) -> *mut RawServoSourceSizeList; -} -extern "C" { - pub fn Servo_SourceSizeList_Evaluate( - set: RawServoStyleSetBorrowed, - arg1: RawServoSourceSizeListBorrowedOrNull, - ) -> i32; -} -extern "C" { - pub fn Servo_SelectorList_Matches( - arg1: RawGeckoElementBorrowed, - arg2: RawServoSelectorListBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_SelectorList_Closest( - arg1: RawGeckoElementBorrowed, - arg2: RawServoSelectorListBorrowed, - ) -> *const RawGeckoElement; -} -extern "C" { - pub fn Servo_SelectorList_QueryFirst( - arg1: RawGeckoNodeBorrowed, - arg2: RawServoSelectorListBorrowed, - may_use_invalidation: bool, - ) -> *const RawGeckoElement; -} -extern "C" { - pub fn Servo_SelectorList_QueryAll( - arg1: RawGeckoNodeBorrowed, - arg2: RawServoSelectorListBorrowed, - content_list: *mut nsSimpleContentList, - may_use_invalidation: bool, - ); -} -extern "C" { - pub fn Servo_StyleSet_AddSizeOfExcludingThis( - malloc_size_of: MallocSizeOf, - malloc_enclosing_size_of: MallocSizeOf, - sizes: *mut ServoStyleSetSizes, - set: RawServoStyleSetBorrowed, - ); -} -extern "C" { - pub fn Servo_UACache_AddSizeOf( - malloc_size_of: MallocSizeOf, - malloc_enclosing_size_of: MallocSizeOf, - sizes: *mut ServoStyleSetSizes, - ); -} -extern "C" { - pub fn Servo_AuthorStyles_Create() -> *mut RawServoAuthorStyles; -} -extern "C" { - pub fn Servo_AuthorStyles_AppendStyleSheet( - self_: RawServoAuthorStylesBorrowedMut, - gecko_sheet: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_AuthorStyles_RemoveStyleSheet( - self_: RawServoAuthorStylesBorrowedMut, - gecko_sheet: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_AuthorStyles_InsertStyleSheetBefore( - self_: RawServoAuthorStylesBorrowedMut, - gecko_sheet: *const ServoStyleSheet, - before: *const ServoStyleSheet, - ); -} -extern "C" { - pub fn Servo_AuthorStyles_ForceDirty(self_: RawServoAuthorStylesBorrowedMut); -} -extern "C" { - pub fn Servo_AuthorStyles_Flush( - self_: RawServoAuthorStylesBorrowedMut, - document_styles: RawServoStyleSetBorrowed, - ); -} -extern "C" { - pub fn Servo_AuthorStyles_SizeOfIncludingThis( - malloc_size_of: MallocSizeOf, - malloc_enclosing_size_of: MallocSizeOf, - self_: RawServoAuthorStylesBorrowed, - ) -> usize; -} -extern "C" { - pub fn Servo_ComputedStyle_AddRef(ctx: ComputedStyleBorrowed); -} -extern "C" { - pub fn Servo_ComputedStyle_Release(ctx: ComputedStyleBorrowed); -} -extern "C" { - pub fn Servo_StyleSet_MightHaveAttributeDependency( - set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - local_name: *mut nsAtom, - ) -> bool; -} -extern "C" { - pub fn Servo_StyleSet_HasStateDependency( - set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - state: u64, - ) -> bool; -} -extern "C" { - pub fn Servo_StyleSet_HasDocumentStateDependency( - set: RawServoStyleSetBorrowed, - state: u64, - ) -> bool; -} -extern "C" { - pub fn Servo_CssRules_ListTypes( - rules: ServoCssRulesBorrowed, - result: nsTArrayBorrowed_uintptr_t, - ); -} -extern "C" { - pub fn Servo_CssRules_InsertRule( - rules: ServoCssRulesBorrowed, - sheet: RawServoStyleSheetContentsBorrowed, - rule: *const nsACString, - index: u32, - nested: bool, - loader: *mut Loader, - gecko_stylesheet: *mut ServoStyleSheet, - rule_type: *mut u16, - ) -> nsresult; -} -extern "C" { - pub fn Servo_CssRules_DeleteRule(rules: ServoCssRulesBorrowed, index: u32) -> nsresult; -} -extern "C" { - pub fn Servo_CssRules_GetStyleRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoStyleRuleStrong; -} -extern "C" { - pub fn Servo_StyleRule_Debug(rule: RawServoStyleRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_CssRules_GetImportRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoImportRuleStrong; -} -extern "C" { - pub fn Servo_ImportRule_Debug(rule: RawServoImportRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_ImportRule_GetCssText(rule: RawServoImportRuleBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_Keyframe_Debug(rule: RawServoKeyframeBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_Keyframe_GetCssText(rule: RawServoKeyframeBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_CssRules_GetKeyframesRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoKeyframesRuleStrong; -} -extern "C" { - pub fn Servo_KeyframesRule_Debug(rule: RawServoKeyframesRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_KeyframesRule_GetCssText( - rule: RawServoKeyframesRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_CssRules_GetMediaRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoMediaRuleStrong; -} -extern "C" { - pub fn Servo_MediaRule_Debug(rule: RawServoMediaRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_MediaRule_GetCssText(rule: RawServoMediaRuleBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_MediaRule_GetRules(rule: RawServoMediaRuleBorrowed) -> ServoCssRulesStrong; -} -extern "C" { - pub fn Servo_CssRules_GetNamespaceRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoNamespaceRuleStrong; -} -extern "C" { - pub fn Servo_NamespaceRule_Debug(rule: RawServoNamespaceRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_NamespaceRule_GetCssText( - rule: RawServoNamespaceRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_CssRules_GetPageRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoPageRuleStrong; -} -extern "C" { - pub fn Servo_PageRule_Debug(rule: RawServoPageRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_PageRule_GetCssText(rule: RawServoPageRuleBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_CssRules_GetSupportsRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoSupportsRuleStrong; -} -extern "C" { - pub fn Servo_SupportsRule_Debug(rule: RawServoSupportsRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_SupportsRule_GetCssText( - rule: RawServoSupportsRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_SupportsRule_GetRules(rule: RawServoSupportsRuleBorrowed) -> ServoCssRulesStrong; -} -extern "C" { - pub fn Servo_CssRules_GetDocumentRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoDocumentRuleStrong; -} -extern "C" { - pub fn Servo_DocumentRule_Debug(rule: RawServoDocumentRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_DocumentRule_GetCssText( - rule: RawServoDocumentRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_DocumentRule_GetRules(rule: RawServoDocumentRuleBorrowed) -> ServoCssRulesStrong; -} -extern "C" { - pub fn Servo_CssRules_GetFontFeatureValuesRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoFontFeatureValuesRuleStrong; -} -extern "C" { - pub fn Servo_FontFeatureValuesRule_Debug( - rule: RawServoFontFeatureValuesRuleBorrowed, - result: *mut nsACString, - ); -} -extern "C" { - pub fn Servo_FontFeatureValuesRule_GetCssText( - rule: RawServoFontFeatureValuesRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_CssRules_GetFontFaceRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoFontFaceRuleStrong; -} -extern "C" { - pub fn Servo_FontFaceRule_Debug(rule: RawServoFontFaceRuleBorrowed, result: *mut nsACString); -} -extern "C" { - pub fn Servo_FontFaceRule_GetCssText( - rule: RawServoFontFaceRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_CssRules_GetCounterStyleRuleAt( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoCounterStyleRuleStrong; -} -extern "C" { - pub fn Servo_CounterStyleRule_Debug( - rule: RawServoCounterStyleRuleBorrowed, - result: *mut nsACString, - ); -} -extern "C" { - pub fn Servo_CounterStyleRule_GetCssText( - rule: RawServoCounterStyleRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_StyleRule_GetStyle( - rule: RawServoStyleRuleBorrowed, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_StyleRule_SetStyle( - rule: RawServoStyleRuleBorrowed, - declarations: RawServoDeclarationBlockBorrowed, - ); -} -extern "C" { - pub fn Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_StyleRule_GetSelectorTextAtIndex( - rule: RawServoStyleRuleBorrowed, - index: u32, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_StyleRule_GetSpecificityAtIndex( - rule: RawServoStyleRuleBorrowed, - index: u32, - specificity: *mut u64, - ); -} -extern "C" { - pub fn Servo_StyleRule_GetSelectorCount(rule: RawServoStyleRuleBorrowed, count: *mut u32); -} -extern "C" { - pub fn Servo_StyleRule_SelectorMatchesElement( - arg1: RawServoStyleRuleBorrowed, - arg2: RawGeckoElementBorrowed, - index: u32, - pseudo_type: CSSPseudoElementType, - ) -> bool; -} -extern "C" { - pub fn Servo_StyleRule_SetSelectorText( - sheet: RawServoStyleSheetContentsBorrowed, - rule: RawServoStyleRuleBorrowed, - text: *const nsAString, - ) -> bool; -} -extern "C" { - pub fn Servo_ImportRule_GetHref(rule: RawServoImportRuleBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_ImportRule_GetSheet(rule: RawServoImportRuleBorrowed) -> *const ServoStyleSheet; -} -extern "C" { - pub fn Servo_ImportRule_SetSheet(rule: RawServoImportRuleBorrowed, sheet: *mut ServoStyleSheet); -} -extern "C" { - pub fn Servo_Keyframe_GetKeyText(keyframe: RawServoKeyframeBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_Keyframe_SetKeyText( - keyframe: RawServoKeyframeBorrowed, - text: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_Keyframe_GetStyle( - keyframe: RawServoKeyframeBorrowed, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_Keyframe_SetStyle( - keyframe: RawServoKeyframeBorrowed, - declarations: RawServoDeclarationBlockBorrowed, - ); -} -extern "C" { - pub fn Servo_KeyframesRule_GetName(rule: RawServoKeyframesRuleBorrowed) -> *mut nsAtom; -} -extern "C" { - pub fn Servo_KeyframesRule_SetName(rule: RawServoKeyframesRuleBorrowed, name: *mut nsAtom); -} -extern "C" { - pub fn Servo_KeyframesRule_GetCount(rule: RawServoKeyframesRuleBorrowed) -> u32; -} -extern "C" { - pub fn Servo_KeyframesRule_GetKeyframeAt( - rule: RawServoKeyframesRuleBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> RawServoKeyframeStrong; -} -extern "C" { - pub fn Servo_KeyframesRule_FindRule( - rule: RawServoKeyframesRuleBorrowed, - key: *const nsACString, - ) -> u32; -} -extern "C" { - pub fn Servo_KeyframesRule_AppendRule( - rule: RawServoKeyframesRuleBorrowed, - sheet: RawServoStyleSheetContentsBorrowed, - css: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_KeyframesRule_DeleteRule(rule: RawServoKeyframesRuleBorrowed, index: u32); -} -extern "C" { - pub fn Servo_MediaRule_GetMedia(rule: RawServoMediaRuleBorrowed) -> RawServoMediaListStrong; -} -extern "C" { - pub fn Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom; -} -extern "C" { - pub fn Servo_NamespaceRule_GetURI(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom; -} -extern "C" { - pub fn Servo_PageRule_GetStyle( - rule: RawServoPageRuleBorrowed, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_PageRule_SetStyle( - rule: RawServoPageRuleBorrowed, - declarations: RawServoDeclarationBlockBorrowed, - ); -} -extern "C" { - pub fn Servo_SupportsRule_GetConditionText( - rule: RawServoSupportsRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_DocumentRule_GetConditionText( - rule: RawServoDocumentRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_FontFeatureValuesRule_GetFontFamily( - rule: RawServoFontFeatureValuesRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_FontFeatureValuesRule_GetValueText( - rule: RawServoFontFeatureValuesRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_FontFaceRule_CreateEmpty() -> RawServoFontFaceRuleStrong; -} -extern "C" { - pub fn Servo_FontFaceRule_Clone( - rule: RawServoFontFaceRuleBorrowed, - ) -> RawServoFontFaceRuleStrong; -} -extern "C" { - pub fn Servo_FontFaceRule_GetSourceLocation( - rule: RawServoFontFaceRuleBorrowed, - line: *mut u32, - column: *mut u32, - ); -} -extern "C" { - pub fn Servo_FontFaceRule_Length(rule: RawServoFontFaceRuleBorrowed) -> u32; -} -extern "C" { - pub fn Servo_FontFaceRule_IndexGetter( - rule: RawServoFontFaceRuleBorrowed, - index: u32, - ) -> nsCSSFontDesc; -} -extern "C" { - pub fn Servo_FontFaceRule_GetDeclCssText( - rule: RawServoFontFaceRuleBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_FontFaceRule_GetDescriptor( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - result: nsCSSValueBorrowedMut, - ); -} -extern "C" { - pub fn Servo_FontFaceRule_GetDescriptorCssText( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_FontFaceRule_SetDescriptor( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - value: *const nsACString, - data: *mut RawGeckoURLExtraData, - ) -> bool; -} -extern "C" { - pub fn Servo_FontFaceRule_ResetDescriptor( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - ); -} -extern "C" { - pub fn Servo_CounterStyleRule_GetName(rule: RawServoCounterStyleRuleBorrowed) -> *mut nsAtom; -} -extern "C" { - pub fn Servo_CounterStyleRule_SetName( - rule: RawServoCounterStyleRuleBorrowed, - name: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_CounterStyleRule_GetGeneration(rule: RawServoCounterStyleRuleBorrowed) -> u32; -} -extern "C" { - pub fn Servo_CounterStyleRule_GetSystem(rule: RawServoCounterStyleRuleBorrowed) -> u8; -} -extern "C" { - pub fn Servo_CounterStyleRule_GetExtended( - rule: RawServoCounterStyleRuleBorrowed, - ) -> *mut nsAtom; -} -extern "C" { - pub fn Servo_CounterStyleRule_GetFixedFirstValue(rule: RawServoCounterStyleRuleBorrowed) - -> i32; -} -extern "C" { - pub fn Servo_CounterStyleRule_GetFallback( - rule: RawServoCounterStyleRuleBorrowed, - ) -> *mut nsAtom; -} -extern "C" { - pub fn Servo_CounterStyleRule_GetDescriptor( - rule: RawServoCounterStyleRuleBorrowed, - desc: nsCSSCounterDesc, - result: nsCSSValueBorrowedMut, - ); -} -extern "C" { - pub fn Servo_CounterStyleRule_GetDescriptorCssText( - rule: RawServoCounterStyleRuleBorrowed, - desc: nsCSSCounterDesc, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_CounterStyleRule_SetDescriptor( - rule: RawServoCounterStyleRuleBorrowed, - desc: nsCSSCounterDesc, - value: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_ParseProperty( - property: nsCSSPropertyID, - value: *const nsACString, - data: *mut RawGeckoURLExtraData, - parsing_mode: ParsingMode, - quirks_mode: nsCompatibility, - loader: *mut Loader, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_ParseEasing( - easing: *const nsAString, - data: *mut RawGeckoURLExtraData, - output: nsTimingFunctionBorrowedMut, - ) -> bool; -} -extern "C" { - pub fn Servo_GetComputedKeyframeValues( - keyframes: RawGeckoKeyframeListBorrowed, - element: RawGeckoElementBorrowed, - style: ComputedStyleBorrowed, - set: RawServoStyleSetBorrowed, - result: RawGeckoComputedKeyframeValuesListBorrowedMut, - ); -} -extern "C" { - pub fn Servo_ComputedValues_ExtractAnimationValue( - computed_values: ComputedStyleBorrowed, - property: nsCSSPropertyID, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_ComputedValues_SpecifiesAnimationsOrTransitions( - computed_values: ComputedStyleBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_Property_IsAnimatable(property: nsCSSPropertyID) -> bool; -} -extern "C" { - pub fn Servo_Property_IsTransitionable(property: nsCSSPropertyID) -> bool; -} -extern "C" { - pub fn Servo_Property_IsDiscreteAnimatable(property: nsCSSPropertyID) -> bool; -} -extern "C" { - pub fn Servo_GetProperties_Overriding_Animation( - arg1: RawGeckoElementBorrowed, - arg2: RawGeckoCSSPropertyIDListBorrowed, - arg3: nsCSSPropertyIDSetBorrowedMut, - ); -} -extern "C" { - pub fn Servo_MatrixTransform_Operate( - matrix_operator: MatrixTransformOperator, - from: *const RawGeckoGfxMatrix4x4, - to: *const RawGeckoGfxMatrix4x4, - progress: f64, - result: *mut RawGeckoGfxMatrix4x4, - ); -} -extern "C" { - pub fn Servo_GetAnimationValues( - declarations: RawServoDeclarationBlockBorrowed, - element: RawGeckoElementBorrowed, - style: ComputedStyleBorrowed, - style_set: RawServoStyleSetBorrowed, - animation_values: RawGeckoServoAnimationValueListBorrowedMut, - ); -} -extern "C" { - pub fn Servo_AnimationValues_Interpolate( - from: RawServoAnimationValueBorrowed, - to: RawServoAnimationValueBorrowed, - progress: f64, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_AnimationValues_IsInterpolable( - from: RawServoAnimationValueBorrowed, - to: RawServoAnimationValueBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_AnimationValues_Add( - a: RawServoAnimationValueBorrowed, - b: RawServoAnimationValueBorrowed, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_AnimationValues_Accumulate( - a: RawServoAnimationValueBorrowed, - b: RawServoAnimationValueBorrowed, - count: u64, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_AnimationValues_GetZeroValue( - value_to_match: RawServoAnimationValueBorrowed, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_AnimationValues_ComputeDistance( - from: RawServoAnimationValueBorrowed, - to: RawServoAnimationValueBorrowed, - ) -> f64; -} -extern "C" { - pub fn Servo_AnimationValue_Serialize( - value: RawServoAnimationValueBorrowed, - property: nsCSSPropertyID, - buffer: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_Shorthand_AnimationValues_Serialize( - shorthand_property: nsCSSPropertyID, - values: RawGeckoServoAnimationValueListBorrowed, - buffer: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_AnimationValue_GetOpacity(value: RawServoAnimationValueBorrowed) -> f32; -} -extern "C" { - pub fn Servo_AnimationValue_Opacity(arg1: f32) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_AnimationValue_GetTransform( - value: RawServoAnimationValueBorrowed, - list: *mut RefPtr, - ); -} -extern "C" { - pub fn Servo_AnimationValue_Transform( - list: *const nsCSSValueSharedList, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_AnimationValue_DeepEqual( - arg1: RawServoAnimationValueBorrowed, - arg2: RawServoAnimationValueBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_AnimationValue_Uncompute( - value: RawServoAnimationValueBorrowed, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_AnimationValue_Compute( - element: RawGeckoElementBorrowed, - declarations: RawServoDeclarationBlockBorrowed, - style: ComputedStyleBorrowed, - raw_data: RawServoStyleSetBorrowed, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_ParseStyleAttribute( - data: *const nsACString, - extra_data: *mut RawGeckoURLExtraData, - quirks_mode: nsCompatibility, - loader: *mut Loader, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_DeclarationBlock_CreateEmpty() -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_DeclarationBlock_Clone( - declarations: RawServoDeclarationBlockBorrowed, - ) -> RawServoDeclarationBlockStrong; -} -extern "C" { - pub fn Servo_DeclarationBlock_Equals( - a: RawServoDeclarationBlockBorrowed, - b: RawServoDeclarationBlockBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_GetCssText( - declarations: RawServoDeclarationBlockBorrowed, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SerializeOneValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - buffer: *mut nsAString, - computed_values: ComputedStyleBorrowedOrNull, - custom_properties: RawServoDeclarationBlockBorrowedOrNull, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_Count(declarations: RawServoDeclarationBlockBorrowed) -> u32; -} -extern "C" { - pub fn Servo_DeclarationBlock_GetNthProperty( - declarations: RawServoDeclarationBlockBorrowed, - index: u32, - result: *mut nsAString, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_GetPropertyValue( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, - value: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_GetPropertyValueById( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_GetPropertyIsImportant( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_SetProperty( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, - value: *const nsACString, - is_important: bool, - data: *mut RawGeckoURLExtraData, - parsing_mode: ParsingMode, - quirks_mode: nsCompatibility, - loader: *mut Loader, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_SetPropertyById( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: *const nsACString, - is_important: bool, - data: *mut RawGeckoURLExtraData, - parsing_mode: ParsingMode, - quirks_mode: nsCompatibility, - loader: *mut Loader, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_RemoveProperty( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_RemovePropertyById( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_HasCSSWideKeyword( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - ) -> bool; -} -extern "C" { - pub fn Servo_AnimationCompose( - animation_values: RawServoAnimationValueMapBorrowedMut, - base_values: RawServoAnimationValueTableBorrowed, - property: nsCSSPropertyID, - animation_segment: RawGeckoAnimationPropertySegmentBorrowed, - last_segment: RawGeckoAnimationPropertySegmentBorrowed, - computed_timing: RawGeckoComputedTimingBorrowed, - iter_composite: IterationCompositeOperation, - ); -} -extern "C" { - pub fn Servo_ComposeAnimationSegment( - animation_segment: RawGeckoAnimationPropertySegmentBorrowed, - underlying_value: RawServoAnimationValueBorrowedOrNull, - last_value: RawServoAnimationValueBorrowedOrNull, - iter_composite: IterationCompositeOperation, - progress: f64, - current_iteration: u64, - ) -> RawServoAnimationValueStrong; -} -extern "C" { - pub fn Servo_DeclarationBlock_PropertyIsSet( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - ) -> bool; -} -extern "C" { - pub fn Servo_DeclarationBlock_SetIdentStringValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: *mut nsAtom, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetKeywordValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: i32, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetIntValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: i32, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetPixelValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetLengthValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, - unit: nsCSSUnit, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetNumberValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetPercentValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetAutoValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetCurrentColor( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetColorValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: nscolor, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetFontFamily( - declarations: RawServoDeclarationBlockBorrowed, - value: *const nsAString, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetTextDecorationColorOverride( - declarations: RawServoDeclarationBlockBorrowed, - ); -} -extern "C" { - pub fn Servo_DeclarationBlock_SetBackgroundImage( - declarations: RawServoDeclarationBlockBorrowed, - value: *const nsAString, - extra_data: *mut RawGeckoURLExtraData, - ); -} -extern "C" { - pub fn Servo_MediaList_Create() -> RawServoMediaListStrong; -} -extern "C" { - pub fn Servo_MediaList_DeepClone(list: RawServoMediaListBorrowed) -> RawServoMediaListStrong; -} -extern "C" { - pub fn Servo_MediaList_Matches( - list: RawServoMediaListBorrowed, - set: RawServoStyleSetBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_MediaList_GetText(list: RawServoMediaListBorrowed, result: *mut nsAString); -} -extern "C" { - pub fn Servo_MediaList_SetText( - list: RawServoMediaListBorrowed, - text: *const nsACString, - aCallerType: CallerType, - ); -} -extern "C" { - pub fn Servo_MediaList_GetLength(list: RawServoMediaListBorrowed) -> u32; -} -extern "C" { - pub fn Servo_MediaList_GetMediumAt( - list: RawServoMediaListBorrowed, - index: u32, - result: *mut nsAString, - ) -> bool; -} -extern "C" { - pub fn Servo_MediaList_AppendMedium( - list: RawServoMediaListBorrowed, - new_medium: *const nsACString, - ); -} -extern "C" { - pub fn Servo_MediaList_DeleteMedium( - list: RawServoMediaListBorrowed, - old_medium: *const nsACString, - ) -> bool; -} -extern "C" { - pub fn Servo_CSSSupports2(name: *const nsACString, value: *const nsACString) -> bool; -} -extern "C" { - pub fn Servo_CSSSupports(cond: *const nsACString) -> bool; -} -extern "C" { - pub fn Servo_ComputedValues_GetForAnonymousBox( - parent_style_or_null: ComputedStyleBorrowedOrNull, - pseudo_tag: *mut nsAtom, - set: RawServoStyleSetBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_ComputedValues_Inherit( - set: RawServoStyleSetBorrowed, - pseudo_tag: *mut nsAtom, - parent_style: ComputedStyleBorrowedOrNull, - target: InheritTarget, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_ComputedValues_GetStyleBits(values: ComputedStyleBorrowed) -> u64; -} -extern "C" { - pub fn Servo_ComputedValues_EqualCustomProperties( - first: ServoComputedDataBorrowed, - second: ServoComputedDataBorrowed, - ) -> bool; -} -extern "C" { - pub fn Servo_ComputedValues_GetStyleRuleList( - values: ComputedStyleBorrowed, - rules: RawGeckoServoStyleRuleListBorrowedMut, - ); -} -extern "C" { - pub fn Servo_Initialize(dummy_url_data: *mut RawGeckoURLExtraData); -} -extern "C" { - pub fn Servo_InitializeCooperativeThread(); -} -extern "C" { - pub fn Servo_Shutdown(); -} -extern "C" { - pub fn Servo_NoteExplicitHints( - element: RawGeckoElementBorrowed, - restyle_hint: nsRestyleHint, - change_hint: nsChangeHint, - ); -} -extern "C" { - pub fn Servo_TakeChangeHint(element: RawGeckoElementBorrowed, was_restyled: *mut bool) -> u32; -} -extern "C" { - pub fn Servo_ResolveStyle( - element: RawGeckoElementBorrowed, - set: RawServoStyleSetBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_ResolvePseudoStyle( - element: RawGeckoElementBorrowed, - pseudo_type: CSSPseudoElementType, - is_probe: bool, - inherited_style: ComputedStyleBorrowedOrNull, - set: RawServoStyleSetBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_ComputedValues_ResolveXULTreePseudoStyle( - element: RawGeckoElementBorrowed, - pseudo_tag: *mut nsAtom, - inherited_style: ComputedStyleBorrowed, - input_word: *const AtomArray, - set: RawServoStyleSetBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_SetExplicitStyle( - element: RawGeckoElementBorrowed, - primary_style: ComputedStyleBorrowed, - ); -} -extern "C" { - pub fn Servo_HasAuthorSpecifiedRules( - style: ComputedStyleBorrowed, - element: RawGeckoElementBorrowed, - pseudo_type: CSSPseudoElementType, - rule_type_mask: u32, - author_colors_allowed: bool, - ) -> bool; -} -extern "C" { - pub fn Servo_ResolveStyleLazily( - element: RawGeckoElementBorrowed, - pseudo_type: CSSPseudoElementType, - rule_inclusion: StyleRuleInclusion, - snapshots: *const ServoElementSnapshotTable, - set: RawServoStyleSetBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_ReparentStyle( - style_to_reparent: ComputedStyleBorrowed, - parent_style: ComputedStyleBorrowed, - parent_style_ignoring_first_line: ComputedStyleBorrowed, - layout_parent_style: ComputedStyleBorrowed, - element: RawGeckoElementBorrowedOrNull, - set: RawServoStyleSetBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_TraverseSubtree( - root: RawGeckoElementBorrowed, - set: RawServoStyleSetBorrowed, - snapshots: *const ServoElementSnapshotTable, - flags: ServoTraversalFlags, - ) -> bool; -} -extern "C" { - pub fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed); -} -extern "C" { - pub fn Servo_IsWorkerThread() -> bool; -} -extern "C" { - pub fn Servo_MaybeGCRuleTree(set: RawServoStyleSetBorrowed); -} -extern "C" { - pub fn Servo_StyleSet_GetBaseComputedValuesForElement( - set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - existing_style: ComputedStyleBorrowed, - snapshots: *const ServoElementSnapshotTable, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_StyleSet_GetComputedValuesByAddingAnimation( - set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - existing_style: ComputedStyleBorrowed, - snapshots: *const ServoElementSnapshotTable, - animation: RawServoAnimationValueBorrowed, - ) -> ComputedStyleStrong; -} -extern "C" { - pub fn Servo_SerializeFontValueForCanvas( - declarations: RawServoDeclarationBlockBorrowed, - buffer: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_GetCustomPropertyValue( - computed_values: ComputedStyleBorrowed, - name: *const nsAString, - value: *mut nsAString, - ) -> bool; -} -extern "C" { - pub fn Servo_GetCustomPropertiesCount(computed_values: ComputedStyleBorrowed) -> u32; -} -extern "C" { - pub fn Servo_GetCustomPropertyNameAt( - arg1: ComputedStyleBorrowed, - index: u32, - name: *mut nsAString, - ) -> bool; -} -extern "C" { - pub fn Servo_ProcessInvalidations( - set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - snapshots: *const ServoElementSnapshotTable, - ); -} -extern "C" { - pub fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed) -> bool; -} -extern "C" { - pub fn Servo_GetArcStringData(arg1: *const RustString, chars: *mut *const u8, len: *mut u32); -} -extern "C" { - pub fn Servo_ReleaseArcStringData(string: *const ServoRawOffsetArc); -} -extern "C" { - pub fn Servo_CloneArcStringData( - string: *const ServoRawOffsetArc, - ) -> ServoRawOffsetArc; -} -extern "C" { - pub fn Servo_IsValidCSSColor(value: *const nsAString) -> bool; -} -extern "C" { - pub fn Servo_ComputeColor( - set: RawServoStyleSetBorrowedOrNull, - current_color: nscolor, - value: *const nsAString, - result_color: *mut nscolor, - was_current_color: *mut bool, - loader: *mut Loader, - ) -> bool; -} -extern "C" { - pub fn Servo_IntersectionObserverRootMargin_Parse( - value: *const nsAString, - result: *mut nsStyleSides, - ) -> bool; -} -extern "C" { - pub fn Servo_IntersectionObserverRootMargin_ToString( - rect: *const nsStyleSides, - result: *mut nsAString, - ); -} -extern "C" { - pub fn Servo_ParseTransformIntoMatrix( - value: *const nsAString, - contains_3d_transform: *mut bool, - result: *mut RawGeckoGfxMatrix4x4, - ) -> bool; -} -extern "C" { - pub fn Servo_ParseFontShorthandForMatching( - value: *const nsAString, - data: *mut RawGeckoURLExtraData, - family: *mut RefPtr, - style: nsCSSValueBorrowedMut, - stretch: nsCSSValueBorrowedMut, - weight: nsCSSValueBorrowedMut, - ) -> bool; -} -extern "C" { - pub fn Servo_Property_IsShorthand(name: *const nsACString, found: *mut bool) -> bool; -} -extern "C" { - pub fn Servo_Property_IsInherited(name: *const nsACString) -> bool; -} -extern "C" { - pub fn Servo_PseudoClass_GetStates(name: *const nsACString) -> u64; -} -extern "C" { - pub fn Gecko_CreateCSSErrorReporter( - sheet: *mut ServoStyleSheet, - loader: *mut Loader, - uri: *mut nsIURI, - ) -> *mut ErrorReporter; -} -extern "C" { - pub fn Gecko_DestroyCSSErrorReporter(reporter: *mut ErrorReporter); -} -extern "C" { - pub fn Gecko_ReportUnexpectedCSSError( - reporter: *mut ErrorReporter, - message: *const ::std::os::raw::c_char, - param: *const ::std::os::raw::c_char, - paramLen: u32, - prefix: *const ::std::os::raw::c_char, - prefixParam: *const ::std::os::raw::c_char, - prefixParamLen: u32, - suffix: *const ::std::os::raw::c_char, - source: *const ::std::os::raw::c_char, - sourceLen: u32, - lineNumber: u32, - colNumber: u32, - ); -} -extern "C" { - pub fn Gecko_ContentList_AppendAll( - aContentList: *mut nsSimpleContentList, - aElements: *mut *const RawGeckoElement, - aLength: usize, - ); -} -extern "C" { - pub fn Gecko_GetElementsWithId( - aDocument: *const nsIDocument, - aId: *mut nsAtom, - ) -> *const nsTArray<*mut Element>; -} -extern "C" { - pub fn Gecko_GetBoolPrefValue(pref_name: *const ::std::os::raw::c_char) -> bool; -} -extern "C" { - pub fn Gecko_IsInServoTraversal() -> bool; -} -extern "C" { - pub fn Gecko_IsMainThread() -> bool; -} diff --git a/components/style/gecko/generated/pseudo_element_definition.rs b/components/style/gecko/generated/pseudo_element_definition.rs deleted file mode 100644 index dcda57bd4a3..00000000000 --- a/components/style/gecko/generated/pseudo_element_definition.rs +++ /dev/null @@ -1,1741 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -/// Gecko's pseudo-element definition. -#[derive(Clone, Debug, Eq, Hash, PartialEq)] -pub enum PseudoElement { - /// :after - After, - /// :before - Before, - /// :backdrop - Backdrop, - /// :cue - Cue, - /// :first-letter - FirstLetter, - /// :first-line - FirstLine, - /// :-moz-selection - MozSelection, - /// :-moz-focus-inner - MozFocusInner, - /// :-moz-focus-outer - MozFocusOuter, - /// :-moz-list-bullet - MozListBullet, - /// :-moz-list-number - MozListNumber, - /// :-moz-math-anonymous - MozMathAnonymous, - /// :-moz-number-wrapper - MozNumberWrapper, - /// :-moz-number-text - MozNumberText, - /// :-moz-number-spin-box - MozNumberSpinBox, - /// :-moz-number-spin-up - MozNumberSpinUp, - /// :-moz-number-spin-down - MozNumberSpinDown, - /// :-moz-progress-bar - MozProgressBar, - /// :-moz-range-track - MozRangeTrack, - /// :-moz-range-progress - MozRangeProgress, - /// :-moz-range-thumb - MozRangeThumb, - /// :-moz-meter-bar - MozMeterBar, - /// :-moz-placeholder - MozPlaceholder, - /// :placeholder - Placeholder, - /// :-moz-color-swatch - MozColorSwatch, - /// :-moz-oof-placeholder - OofPlaceholder, - /// :-moz-hframeset-border - HorizontalFramesetBorder, - /// :-moz-vframeset-border - VerticalFramesetBorder, - /// :-moz-frameset-blank - FramesetBlank, - /// :-moz-table-column-group - TableColGroup, - /// :-moz-table-column - TableCol, - /// :-moz-pagebreak - PageBreak, - /// :-moz-text - MozText, - /// :-moz-first-letter-continuation - FirstLetterContinuation, - /// :-moz-block-inside-inline-wrapper - MozBlockInsideInlineWrapper, - /// :-moz-mathml-anonymous-block - MozMathMLAnonymousBlock, - /// :-moz-xul-anonymous-block - MozXULAnonymousBlock, - /// :-moz-line-frame - MozLineFrame, - /// :-moz-button-content - ButtonContent, - /// :-moz-cell-content - CellContent, - /// :-moz-dropdown-list - DropDownList, - /// :-moz-fieldset-content - FieldsetContent, - /// :-moz-display-comboboxcontrol-frame - MozDisplayComboboxControlFrame, - /// :-moz-html-canvas-content - HtmlCanvasContent, - /// :-moz-inline-table - InlineTable, - /// :-moz-table - Table, - /// :-moz-table-cell - TableCell, - /// :-moz-table-wrapper - TableWrapper, - /// :-moz-table-row-group - TableRowGroup, - /// :-moz-table-row - TableRow, - /// :-moz-canvas - Canvas, - /// :-moz-page - Page, - /// :-moz-pagecontent - PageContent, - /// :-moz-page-sequence - PageSequence, - /// :-moz-scrolled-content - ScrolledContent, - /// :-moz-scrolled-canvas - ScrolledCanvas, - /// :-moz-scrolled-page-sequence - ScrolledPageSequence, - /// :-moz-column-content - ColumnContent, - /// :-moz-viewport - Viewport, - /// :-moz-viewport-scroll - ViewportScroll, - /// :-moz-anonymous-flex-item - AnonymousFlexItem, - /// :-moz-anonymous-grid-item - AnonymousGridItem, - /// :-moz-ruby - Ruby, - /// :-moz-ruby-base - RubyBase, - /// :-moz-ruby-base-container - RubyBaseContainer, - /// :-moz-ruby-text - RubyText, - /// :-moz-ruby-text-container - RubyTextContainer, - /// :-moz-tree-column - MozTreeColumn(Box<[Atom]>), - /// :-moz-tree-row - MozTreeRow(Box<[Atom]>), - /// :-moz-tree-separator - MozTreeSeparator(Box<[Atom]>), - /// :-moz-tree-cell - MozTreeCell(Box<[Atom]>), - /// :-moz-tree-indentation - MozTreeIndentation(Box<[Atom]>), - /// :-moz-tree-line - MozTreeLine(Box<[Atom]>), - /// :-moz-tree-twisty - MozTreeTwisty(Box<[Atom]>), - /// :-moz-tree-image - MozTreeImage(Box<[Atom]>), - /// :-moz-tree-cell-text - MozTreeCellText(Box<[Atom]>), - /// :-moz-tree-checkbox - MozTreeCheckbox(Box<[Atom]>), - /// :-moz-tree-drop-feedback - MozTreeDropFeedback(Box<[Atom]>), - /// :-moz-svg-marker-anon-child - MozSVGMarkerAnonChild, - /// :-moz-svg-outer-svg-anon-child - MozSVGOuterSVGAnonChild, - /// :-moz-svg-foreign-content - MozSVGForeignContent, - /// :-moz-svg-text - MozSVGText, -} - -/// Important: If you change this, you should also update Gecko's -/// nsCSSPseudoElements::IsEagerlyCascadedInServo. - - - - -/// The number of eager pseudo-elements. -pub const EAGER_PSEUDO_COUNT: usize = 4; - -/// The number of non-functional pseudo-elements. -pub const SIMPLE_PSEUDO_COUNT: usize = 71; - -/// The number of tree pseudo-elements. -pub const TREE_PSEUDO_COUNT: usize = 11; - -/// The number of all pseudo-elements. -pub const PSEUDO_COUNT: usize = 82; - -/// The list of eager pseudos. -pub const EAGER_PSEUDOS: [PseudoElement; EAGER_PSEUDO_COUNT] = [ - PseudoElement::Before, - PseudoElement::After, - PseudoElement::FirstLine, - PseudoElement::FirstLetter, -]; - - - -impl PseudoElement { - /// Get the pseudo-element as an atom. - #[inline] - pub fn atom(&self) -> Atom { - match *self { - PseudoElement::After => atom!(":after"), - PseudoElement::Before => atom!(":before"), - PseudoElement::Backdrop => atom!(":backdrop"), - PseudoElement::Cue => atom!(":cue"), - PseudoElement::FirstLetter => atom!(":first-letter"), - PseudoElement::FirstLine => atom!(":first-line"), - PseudoElement::MozSelection => atom!(":-moz-selection"), - PseudoElement::MozFocusInner => atom!(":-moz-focus-inner"), - PseudoElement::MozFocusOuter => atom!(":-moz-focus-outer"), - PseudoElement::MozListBullet => atom!(":-moz-list-bullet"), - PseudoElement::MozListNumber => atom!(":-moz-list-number"), - PseudoElement::MozMathAnonymous => atom!(":-moz-math-anonymous"), - PseudoElement::MozNumberWrapper => atom!(":-moz-number-wrapper"), - PseudoElement::MozNumberText => atom!(":-moz-number-text"), - PseudoElement::MozNumberSpinBox => atom!(":-moz-number-spin-box"), - PseudoElement::MozNumberSpinUp => atom!(":-moz-number-spin-up"), - PseudoElement::MozNumberSpinDown => atom!(":-moz-number-spin-down"), - PseudoElement::MozProgressBar => atom!(":-moz-progress-bar"), - PseudoElement::MozRangeTrack => atom!(":-moz-range-track"), - PseudoElement::MozRangeProgress => atom!(":-moz-range-progress"), - PseudoElement::MozRangeThumb => atom!(":-moz-range-thumb"), - PseudoElement::MozMeterBar => atom!(":-moz-meter-bar"), - PseudoElement::MozPlaceholder => atom!(":-moz-placeholder"), - PseudoElement::Placeholder => atom!(":placeholder"), - PseudoElement::MozColorSwatch => atom!(":-moz-color-swatch"), - PseudoElement::OofPlaceholder => atom!(":-moz-oof-placeholder"), - PseudoElement::HorizontalFramesetBorder => atom!(":-moz-hframeset-border"), - PseudoElement::VerticalFramesetBorder => atom!(":-moz-vframeset-border"), - PseudoElement::FramesetBlank => atom!(":-moz-frameset-blank"), - PseudoElement::TableColGroup => atom!(":-moz-table-column-group"), - PseudoElement::TableCol => atom!(":-moz-table-column"), - PseudoElement::PageBreak => atom!(":-moz-pagebreak"), - PseudoElement::MozText => atom!(":-moz-text"), - PseudoElement::FirstLetterContinuation => atom!(":-moz-first-letter-continuation"), - PseudoElement::MozBlockInsideInlineWrapper => atom!(":-moz-block-inside-inline-wrapper"), - PseudoElement::MozMathMLAnonymousBlock => atom!(":-moz-mathml-anonymous-block"), - PseudoElement::MozXULAnonymousBlock => atom!(":-moz-xul-anonymous-block"), - PseudoElement::MozLineFrame => atom!(":-moz-line-frame"), - PseudoElement::ButtonContent => atom!(":-moz-button-content"), - PseudoElement::CellContent => atom!(":-moz-cell-content"), - PseudoElement::DropDownList => atom!(":-moz-dropdown-list"), - PseudoElement::FieldsetContent => atom!(":-moz-fieldset-content"), - PseudoElement::MozDisplayComboboxControlFrame => atom!(":-moz-display-comboboxcontrol-frame"), - PseudoElement::HtmlCanvasContent => atom!(":-moz-html-canvas-content"), - PseudoElement::InlineTable => atom!(":-moz-inline-table"), - PseudoElement::Table => atom!(":-moz-table"), - PseudoElement::TableCell => atom!(":-moz-table-cell"), - PseudoElement::TableWrapper => atom!(":-moz-table-wrapper"), - PseudoElement::TableRowGroup => atom!(":-moz-table-row-group"), - PseudoElement::TableRow => atom!(":-moz-table-row"), - PseudoElement::Canvas => atom!(":-moz-canvas"), - PseudoElement::Page => atom!(":-moz-page"), - PseudoElement::PageContent => atom!(":-moz-pagecontent"), - PseudoElement::PageSequence => atom!(":-moz-page-sequence"), - PseudoElement::ScrolledContent => atom!(":-moz-scrolled-content"), - PseudoElement::ScrolledCanvas => atom!(":-moz-scrolled-canvas"), - PseudoElement::ScrolledPageSequence => atom!(":-moz-scrolled-page-sequence"), - PseudoElement::ColumnContent => atom!(":-moz-column-content"), - PseudoElement::Viewport => atom!(":-moz-viewport"), - PseudoElement::ViewportScroll => atom!(":-moz-viewport-scroll"), - PseudoElement::AnonymousFlexItem => atom!(":-moz-anonymous-flex-item"), - PseudoElement::AnonymousGridItem => atom!(":-moz-anonymous-grid-item"), - PseudoElement::Ruby => atom!(":-moz-ruby"), - PseudoElement::RubyBase => atom!(":-moz-ruby-base"), - PseudoElement::RubyBaseContainer => atom!(":-moz-ruby-base-container"), - PseudoElement::RubyText => atom!(":-moz-ruby-text"), - PseudoElement::RubyTextContainer => atom!(":-moz-ruby-text-container"), - PseudoElement::MozTreeColumn(..) => atom!(":-moz-tree-column"), - PseudoElement::MozTreeRow(..) => atom!(":-moz-tree-row"), - PseudoElement::MozTreeSeparator(..) => atom!(":-moz-tree-separator"), - PseudoElement::MozTreeCell(..) => atom!(":-moz-tree-cell"), - PseudoElement::MozTreeIndentation(..) => atom!(":-moz-tree-indentation"), - PseudoElement::MozTreeLine(..) => atom!(":-moz-tree-line"), - PseudoElement::MozTreeTwisty(..) => atom!(":-moz-tree-twisty"), - PseudoElement::MozTreeImage(..) => atom!(":-moz-tree-image"), - PseudoElement::MozTreeCellText(..) => atom!(":-moz-tree-cell-text"), - PseudoElement::MozTreeCheckbox(..) => atom!(":-moz-tree-checkbox"), - PseudoElement::MozTreeDropFeedback(..) => atom!(":-moz-tree-drop-feedback"), - PseudoElement::MozSVGMarkerAnonChild => atom!(":-moz-svg-marker-anon-child"), - PseudoElement::MozSVGOuterSVGAnonChild => atom!(":-moz-svg-outer-svg-anon-child"), - PseudoElement::MozSVGForeignContent => atom!(":-moz-svg-foreign-content"), - PseudoElement::MozSVGText => atom!(":-moz-svg-text"), - } - } - - /// Returns an index of the pseudo-element. - #[inline] - pub fn index(&self) -> usize { - match *self { - PseudoElement::After => 0, - PseudoElement::Before => 1, - PseudoElement::Backdrop => 2, - PseudoElement::Cue => 3, - PseudoElement::FirstLetter => 4, - PseudoElement::FirstLine => 5, - PseudoElement::MozSelection => 6, - PseudoElement::MozFocusInner => 7, - PseudoElement::MozFocusOuter => 8, - PseudoElement::MozListBullet => 9, - PseudoElement::MozListNumber => 10, - PseudoElement::MozMathAnonymous => 11, - PseudoElement::MozNumberWrapper => 12, - PseudoElement::MozNumberText => 13, - PseudoElement::MozNumberSpinBox => 14, - PseudoElement::MozNumberSpinUp => 15, - PseudoElement::MozNumberSpinDown => 16, - PseudoElement::MozProgressBar => 17, - PseudoElement::MozRangeTrack => 18, - PseudoElement::MozRangeProgress => 19, - PseudoElement::MozRangeThumb => 20, - PseudoElement::MozMeterBar => 21, - PseudoElement::MozPlaceholder => 22, - PseudoElement::Placeholder => 23, - PseudoElement::MozColorSwatch => 24, - PseudoElement::OofPlaceholder => 25, - PseudoElement::HorizontalFramesetBorder => 26, - PseudoElement::VerticalFramesetBorder => 27, - PseudoElement::FramesetBlank => 28, - PseudoElement::TableColGroup => 29, - PseudoElement::TableCol => 30, - PseudoElement::PageBreak => 31, - PseudoElement::MozText => 32, - PseudoElement::FirstLetterContinuation => 33, - PseudoElement::MozBlockInsideInlineWrapper => 34, - PseudoElement::MozMathMLAnonymousBlock => 35, - PseudoElement::MozXULAnonymousBlock => 36, - PseudoElement::MozLineFrame => 37, - PseudoElement::ButtonContent => 38, - PseudoElement::CellContent => 39, - PseudoElement::DropDownList => 40, - PseudoElement::FieldsetContent => 41, - PseudoElement::MozDisplayComboboxControlFrame => 42, - PseudoElement::HtmlCanvasContent => 43, - PseudoElement::InlineTable => 44, - PseudoElement::Table => 45, - PseudoElement::TableCell => 46, - PseudoElement::TableWrapper => 47, - PseudoElement::TableRowGroup => 48, - PseudoElement::TableRow => 49, - PseudoElement::Canvas => 50, - PseudoElement::Page => 51, - PseudoElement::PageContent => 52, - PseudoElement::PageSequence => 53, - PseudoElement::ScrolledContent => 54, - PseudoElement::ScrolledCanvas => 55, - PseudoElement::ScrolledPageSequence => 56, - PseudoElement::ColumnContent => 57, - PseudoElement::Viewport => 58, - PseudoElement::ViewportScroll => 59, - PseudoElement::AnonymousFlexItem => 60, - PseudoElement::AnonymousGridItem => 61, - PseudoElement::Ruby => 62, - PseudoElement::RubyBase => 63, - PseudoElement::RubyBaseContainer => 64, - PseudoElement::RubyText => 65, - PseudoElement::RubyTextContainer => 66, - PseudoElement::MozTreeColumn(..) => 67, - PseudoElement::MozTreeRow(..) => 68, - PseudoElement::MozTreeSeparator(..) => 69, - PseudoElement::MozTreeCell(..) => 70, - PseudoElement::MozTreeIndentation(..) => 71, - PseudoElement::MozTreeLine(..) => 72, - PseudoElement::MozTreeTwisty(..) => 73, - PseudoElement::MozTreeImage(..) => 74, - PseudoElement::MozTreeCellText(..) => 75, - PseudoElement::MozTreeCheckbox(..) => 76, - PseudoElement::MozTreeDropFeedback(..) => 77, - PseudoElement::MozSVGMarkerAnonChild => 78, - PseudoElement::MozSVGOuterSVGAnonChild => 79, - PseudoElement::MozSVGForeignContent => 80, - PseudoElement::MozSVGText => 81, - } - } - - /// Returns an array of `None` values. - /// - /// FIXME(emilio): Integer generics can't come soon enough. - pub fn pseudo_none_array() -> [Option; PSEUDO_COUNT] { - [ - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None, - None - ] - } - - /// Whether this pseudo-element is an anonymous box. - #[inline] - pub fn is_anon_box(&self) -> bool { - match *self { - PseudoElement::OofPlaceholder => true, - PseudoElement::HorizontalFramesetBorder => true, - PseudoElement::VerticalFramesetBorder => true, - PseudoElement::FramesetBlank => true, - PseudoElement::TableColGroup => true, - PseudoElement::TableCol => true, - PseudoElement::PageBreak => true, - PseudoElement::MozText => true, - PseudoElement::FirstLetterContinuation => true, - PseudoElement::MozBlockInsideInlineWrapper => true, - PseudoElement::MozMathMLAnonymousBlock => true, - PseudoElement::MozXULAnonymousBlock => true, - PseudoElement::MozLineFrame => true, - PseudoElement::ButtonContent => true, - PseudoElement::CellContent => true, - PseudoElement::DropDownList => true, - PseudoElement::FieldsetContent => true, - PseudoElement::MozDisplayComboboxControlFrame => true, - PseudoElement::HtmlCanvasContent => true, - PseudoElement::InlineTable => true, - PseudoElement::Table => true, - PseudoElement::TableCell => true, - PseudoElement::TableWrapper => true, - PseudoElement::TableRowGroup => true, - PseudoElement::TableRow => true, - PseudoElement::Canvas => true, - PseudoElement::Page => true, - PseudoElement::PageContent => true, - PseudoElement::PageSequence => true, - PseudoElement::ScrolledContent => true, - PseudoElement::ScrolledCanvas => true, - PseudoElement::ScrolledPageSequence => true, - PseudoElement::ColumnContent => true, - PseudoElement::Viewport => true, - PseudoElement::ViewportScroll => true, - PseudoElement::AnonymousFlexItem => true, - PseudoElement::AnonymousGridItem => true, - PseudoElement::Ruby => true, - PseudoElement::RubyBase => true, - PseudoElement::RubyBaseContainer => true, - PseudoElement::RubyText => true, - PseudoElement::RubyTextContainer => true, - PseudoElement::MozTreeColumn(..) => true, - PseudoElement::MozTreeRow(..) => true, - PseudoElement::MozTreeSeparator(..) => true, - PseudoElement::MozTreeCell(..) => true, - PseudoElement::MozTreeIndentation(..) => true, - PseudoElement::MozTreeLine(..) => true, - PseudoElement::MozTreeTwisty(..) => true, - PseudoElement::MozTreeImage(..) => true, - PseudoElement::MozTreeCellText(..) => true, - PseudoElement::MozTreeCheckbox(..) => true, - PseudoElement::MozTreeDropFeedback(..) => true, - PseudoElement::MozSVGMarkerAnonChild => true, - PseudoElement::MozSVGOuterSVGAnonChild => true, - PseudoElement::MozSVGForeignContent => true, - PseudoElement::MozSVGText => true, - _ => false, - } - } - - /// Whether this pseudo-element is eagerly-cascaded. - #[inline] - pub fn is_eager(&self) -> bool { - matches!(*self, - PseudoElement::Before | PseudoElement::After | PseudoElement::FirstLine | PseudoElement::FirstLetter) - } - - /// Whether this pseudo-element is tree pseudo-element. - #[inline] - pub fn is_tree_pseudo_element(&self) -> bool { - match *self { - PseudoElement::MozTreeColumn(..) => true, - PseudoElement::MozTreeRow(..) => true, - PseudoElement::MozTreeSeparator(..) => true, - PseudoElement::MozTreeCell(..) => true, - PseudoElement::MozTreeIndentation(..) => true, - PseudoElement::MozTreeLine(..) => true, - PseudoElement::MozTreeTwisty(..) => true, - PseudoElement::MozTreeImage(..) => true, - PseudoElement::MozTreeCellText(..) => true, - PseudoElement::MozTreeCheckbox(..) => true, - PseudoElement::MozTreeDropFeedback(..) => true, - _ => false, - } - } - - /// Gets the flags associated to this pseudo-element, or 0 if it's an - /// anonymous box. - pub fn flags(&self) -> u32 { - match *self { - PseudoElement::After => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_after, - PseudoElement::Before => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_before, - PseudoElement::Backdrop => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_backdrop, - PseudoElement::Cue => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_cue, - PseudoElement::FirstLetter => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_firstLetter, - PseudoElement::FirstLine => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_firstLine, - PseudoElement::MozSelection => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozSelection, - PseudoElement::MozFocusInner => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozFocusInner, - PseudoElement::MozFocusOuter => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozFocusOuter, - PseudoElement::MozListBullet => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozListBullet, - PseudoElement::MozListNumber => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozListNumber, - PseudoElement::MozMathAnonymous => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozMathAnonymous, - PseudoElement::MozNumberWrapper => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberWrapper, - PseudoElement::MozNumberText => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberText, - PseudoElement::MozNumberSpinBox => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberSpinBox, - PseudoElement::MozNumberSpinUp => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberSpinUp, - PseudoElement::MozNumberSpinDown => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberSpinDown, - PseudoElement::MozProgressBar => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozProgressBar, - PseudoElement::MozRangeTrack => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozRangeTrack, - PseudoElement::MozRangeProgress => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozRangeProgress, - PseudoElement::MozRangeThumb => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozRangeThumb, - PseudoElement::MozMeterBar => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozMeterBar, - PseudoElement::MozPlaceholder => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozPlaceholder, - PseudoElement::Placeholder => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_placeholder, - PseudoElement::MozColorSwatch => - structs::SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozColorSwatch, - PseudoElement::OofPlaceholder => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::HorizontalFramesetBorder => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::VerticalFramesetBorder => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::FramesetBlank => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::TableColGroup => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::TableCol => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::PageBreak => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozText => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::FirstLetterContinuation => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozBlockInsideInlineWrapper => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozMathMLAnonymousBlock => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozXULAnonymousBlock => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozLineFrame => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::ButtonContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::CellContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::DropDownList => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::FieldsetContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozDisplayComboboxControlFrame => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::HtmlCanvasContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::InlineTable => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::Table => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::TableCell => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::TableWrapper => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::TableRowGroup => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::TableRow => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::Canvas => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::Page => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::PageContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::PageSequence => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::ScrolledContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::ScrolledCanvas => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::ScrolledPageSequence => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::ColumnContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::Viewport => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::ViewportScroll => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::AnonymousFlexItem => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::AnonymousGridItem => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::Ruby => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::RubyBase => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::RubyBaseContainer => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::RubyText => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::RubyTextContainer => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozTreeColumn(..) => - 0, - PseudoElement::MozTreeRow(..) => - 0, - PseudoElement::MozTreeSeparator(..) => - 0, - PseudoElement::MozTreeCell(..) => - 0, - PseudoElement::MozTreeIndentation(..) => - 0, - PseudoElement::MozTreeLine(..) => - 0, - PseudoElement::MozTreeTwisty(..) => - 0, - PseudoElement::MozTreeImage(..) => - 0, - PseudoElement::MozTreeCellText(..) => - 0, - PseudoElement::MozTreeCheckbox(..) => - 0, - PseudoElement::MozTreeDropFeedback(..) => - 0, - PseudoElement::MozSVGMarkerAnonChild => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozSVGOuterSVGAnonChild => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozSVGForeignContent => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - PseudoElement::MozSVGText => - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, - } - } - - /// Construct a pseudo-element from a `CSSPseudoElementType`. - #[inline] - pub fn from_pseudo_type(type_: CSSPseudoElementType) -> Option { - match type_ { - CSSPseudoElementType::after => { - Some(PseudoElement::After) - }, - CSSPseudoElementType::before => { - Some(PseudoElement::Before) - }, - CSSPseudoElementType::backdrop => { - Some(PseudoElement::Backdrop) - }, - CSSPseudoElementType::cue => { - Some(PseudoElement::Cue) - }, - CSSPseudoElementType::firstLetter => { - Some(PseudoElement::FirstLetter) - }, - CSSPseudoElementType::firstLine => { - Some(PseudoElement::FirstLine) - }, - CSSPseudoElementType::mozSelection => { - Some(PseudoElement::MozSelection) - }, - CSSPseudoElementType::mozFocusInner => { - Some(PseudoElement::MozFocusInner) - }, - CSSPseudoElementType::mozFocusOuter => { - Some(PseudoElement::MozFocusOuter) - }, - CSSPseudoElementType::mozListBullet => { - Some(PseudoElement::MozListBullet) - }, - CSSPseudoElementType::mozListNumber => { - Some(PseudoElement::MozListNumber) - }, - CSSPseudoElementType::mozMathAnonymous => { - Some(PseudoElement::MozMathAnonymous) - }, - CSSPseudoElementType::mozNumberWrapper => { - Some(PseudoElement::MozNumberWrapper) - }, - CSSPseudoElementType::mozNumberText => { - Some(PseudoElement::MozNumberText) - }, - CSSPseudoElementType::mozNumberSpinBox => { - Some(PseudoElement::MozNumberSpinBox) - }, - CSSPseudoElementType::mozNumberSpinUp => { - Some(PseudoElement::MozNumberSpinUp) - }, - CSSPseudoElementType::mozNumberSpinDown => { - Some(PseudoElement::MozNumberSpinDown) - }, - CSSPseudoElementType::mozProgressBar => { - Some(PseudoElement::MozProgressBar) - }, - CSSPseudoElementType::mozRangeTrack => { - Some(PseudoElement::MozRangeTrack) - }, - CSSPseudoElementType::mozRangeProgress => { - Some(PseudoElement::MozRangeProgress) - }, - CSSPseudoElementType::mozRangeThumb => { - Some(PseudoElement::MozRangeThumb) - }, - CSSPseudoElementType::mozMeterBar => { - Some(PseudoElement::MozMeterBar) - }, - CSSPseudoElementType::mozPlaceholder => { - Some(PseudoElement::MozPlaceholder) - }, - CSSPseudoElementType::placeholder => { - Some(PseudoElement::Placeholder) - }, - CSSPseudoElementType::mozColorSwatch => { - Some(PseudoElement::MozColorSwatch) - }, - _ => None, - } - } - - /// Construct a `CSSPseudoElementType` from a pseudo-element - #[inline] - pub fn pseudo_type(&self) -> CSSPseudoElementType { - use gecko_bindings::structs::CSSPseudoElementType_InheritingAnonBox; - - match *self { - PseudoElement::After => CSSPseudoElementType::after, - PseudoElement::Before => CSSPseudoElementType::before, - PseudoElement::Backdrop => CSSPseudoElementType::backdrop, - PseudoElement::Cue => CSSPseudoElementType::cue, - PseudoElement::FirstLetter => CSSPseudoElementType::firstLetter, - PseudoElement::FirstLine => CSSPseudoElementType::firstLine, - PseudoElement::MozSelection => CSSPseudoElementType::mozSelection, - PseudoElement::MozFocusInner => CSSPseudoElementType::mozFocusInner, - PseudoElement::MozFocusOuter => CSSPseudoElementType::mozFocusOuter, - PseudoElement::MozListBullet => CSSPseudoElementType::mozListBullet, - PseudoElement::MozListNumber => CSSPseudoElementType::mozListNumber, - PseudoElement::MozMathAnonymous => CSSPseudoElementType::mozMathAnonymous, - PseudoElement::MozNumberWrapper => CSSPseudoElementType::mozNumberWrapper, - PseudoElement::MozNumberText => CSSPseudoElementType::mozNumberText, - PseudoElement::MozNumberSpinBox => CSSPseudoElementType::mozNumberSpinBox, - PseudoElement::MozNumberSpinUp => CSSPseudoElementType::mozNumberSpinUp, - PseudoElement::MozNumberSpinDown => CSSPseudoElementType::mozNumberSpinDown, - PseudoElement::MozProgressBar => CSSPseudoElementType::mozProgressBar, - PseudoElement::MozRangeTrack => CSSPseudoElementType::mozRangeTrack, - PseudoElement::MozRangeProgress => CSSPseudoElementType::mozRangeProgress, - PseudoElement::MozRangeThumb => CSSPseudoElementType::mozRangeThumb, - PseudoElement::MozMeterBar => CSSPseudoElementType::mozMeterBar, - PseudoElement::MozPlaceholder => CSSPseudoElementType::mozPlaceholder, - PseudoElement::Placeholder => CSSPseudoElementType::placeholder, - PseudoElement::MozColorSwatch => CSSPseudoElementType::mozColorSwatch, - PseudoElement::OofPlaceholder => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::HorizontalFramesetBorder => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::VerticalFramesetBorder => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::FramesetBlank => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::TableColGroup => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::TableCol => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::PageBreak => CSSPseudoElementType::NonInheritingAnonBox, - PseudoElement::MozText => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::FirstLetterContinuation => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozBlockInsideInlineWrapper => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozMathMLAnonymousBlock => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozXULAnonymousBlock => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozLineFrame => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::ButtonContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::CellContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::DropDownList => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::FieldsetContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozDisplayComboboxControlFrame => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::HtmlCanvasContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::InlineTable => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::Table => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::TableCell => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::TableWrapper => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::TableRowGroup => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::TableRow => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::Canvas => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::Page => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::PageContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::PageSequence => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::ScrolledContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::ScrolledCanvas => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::ScrolledPageSequence => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::ColumnContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::Viewport => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::ViewportScroll => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::AnonymousFlexItem => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::AnonymousGridItem => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::Ruby => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::RubyBase => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::RubyBaseContainer => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::RubyText => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::RubyTextContainer => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeColumn(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeRow(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeSeparator(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeCell(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeIndentation(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeLine(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeTwisty(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeImage(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeCellText(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeCheckbox(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozTreeDropFeedback(..) => CSSPseudoElementType::XULTree, - PseudoElement::MozSVGMarkerAnonChild => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozSVGOuterSVGAnonChild => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozSVGForeignContent => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozSVGText => CSSPseudoElementType_InheritingAnonBox, - } - } - - /// Get a PseudoInfo for a pseudo - pub fn pseudo_info(&self) -> (*mut structs::nsAtom, CSSPseudoElementType) { - (self.atom().as_ptr(), self.pseudo_type()) - } - - /// Get the argument list of a tree pseudo-element. - #[inline] - pub fn tree_pseudo_args(&self) -> Option<&[Atom]> { - match *self { - PseudoElement::MozTreeColumn(ref args) => Some(args), - PseudoElement::MozTreeRow(ref args) => Some(args), - PseudoElement::MozTreeSeparator(ref args) => Some(args), - PseudoElement::MozTreeCell(ref args) => Some(args), - PseudoElement::MozTreeIndentation(ref args) => Some(args), - PseudoElement::MozTreeLine(ref args) => Some(args), - PseudoElement::MozTreeTwisty(ref args) => Some(args), - PseudoElement::MozTreeImage(ref args) => Some(args), - PseudoElement::MozTreeCellText(ref args) => Some(args), - PseudoElement::MozTreeCheckbox(ref args) => Some(args), - PseudoElement::MozTreeDropFeedback(ref args) => Some(args), - _ => None, - } - } - - /// Construct a pseudo-element from an `Atom`. - #[inline] - pub fn from_atom(atom: &Atom) -> Option { - if atom == &atom!(":after") { - return Some(PseudoElement::After); - } - if atom == &atom!(":before") { - return Some(PseudoElement::Before); - } - if atom == &atom!(":backdrop") { - return Some(PseudoElement::Backdrop); - } - if atom == &atom!(":cue") { - return Some(PseudoElement::Cue); - } - if atom == &atom!(":first-letter") { - return Some(PseudoElement::FirstLetter); - } - if atom == &atom!(":first-line") { - return Some(PseudoElement::FirstLine); - } - if atom == &atom!(":-moz-selection") { - return Some(PseudoElement::MozSelection); - } - if atom == &atom!(":-moz-focus-inner") { - return Some(PseudoElement::MozFocusInner); - } - if atom == &atom!(":-moz-focus-outer") { - return Some(PseudoElement::MozFocusOuter); - } - if atom == &atom!(":-moz-list-bullet") { - return Some(PseudoElement::MozListBullet); - } - if atom == &atom!(":-moz-list-number") { - return Some(PseudoElement::MozListNumber); - } - if atom == &atom!(":-moz-math-anonymous") { - return Some(PseudoElement::MozMathAnonymous); - } - if atom == &atom!(":-moz-number-wrapper") { - return Some(PseudoElement::MozNumberWrapper); - } - if atom == &atom!(":-moz-number-text") { - return Some(PseudoElement::MozNumberText); - } - if atom == &atom!(":-moz-number-spin-box") { - return Some(PseudoElement::MozNumberSpinBox); - } - if atom == &atom!(":-moz-number-spin-up") { - return Some(PseudoElement::MozNumberSpinUp); - } - if atom == &atom!(":-moz-number-spin-down") { - return Some(PseudoElement::MozNumberSpinDown); - } - if atom == &atom!(":-moz-progress-bar") { - return Some(PseudoElement::MozProgressBar); - } - if atom == &atom!(":-moz-range-track") { - return Some(PseudoElement::MozRangeTrack); - } - if atom == &atom!(":-moz-range-progress") { - return Some(PseudoElement::MozRangeProgress); - } - if atom == &atom!(":-moz-range-thumb") { - return Some(PseudoElement::MozRangeThumb); - } - if atom == &atom!(":-moz-meter-bar") { - return Some(PseudoElement::MozMeterBar); - } - if atom == &atom!(":-moz-placeholder") { - return Some(PseudoElement::MozPlaceholder); - } - if atom == &atom!(":placeholder") { - return Some(PseudoElement::Placeholder); - } - if atom == &atom!(":-moz-color-swatch") { - return Some(PseudoElement::MozColorSwatch); - } - if atom == &atom!(":-moz-oof-placeholder") { - return Some(PseudoElement::OofPlaceholder); - } - if atom == &atom!(":-moz-hframeset-border") { - return Some(PseudoElement::HorizontalFramesetBorder); - } - if atom == &atom!(":-moz-vframeset-border") { - return Some(PseudoElement::VerticalFramesetBorder); - } - if atom == &atom!(":-moz-frameset-blank") { - return Some(PseudoElement::FramesetBlank); - } - if atom == &atom!(":-moz-table-column-group") { - return Some(PseudoElement::TableColGroup); - } - if atom == &atom!(":-moz-table-column") { - return Some(PseudoElement::TableCol); - } - if atom == &atom!(":-moz-pagebreak") { - return Some(PseudoElement::PageBreak); - } - if atom == &atom!(":-moz-text") { - return Some(PseudoElement::MozText); - } - if atom == &atom!(":-moz-first-letter-continuation") { - return Some(PseudoElement::FirstLetterContinuation); - } - if atom == &atom!(":-moz-block-inside-inline-wrapper") { - return Some(PseudoElement::MozBlockInsideInlineWrapper); - } - if atom == &atom!(":-moz-mathml-anonymous-block") { - return Some(PseudoElement::MozMathMLAnonymousBlock); - } - if atom == &atom!(":-moz-xul-anonymous-block") { - return Some(PseudoElement::MozXULAnonymousBlock); - } - if atom == &atom!(":-moz-line-frame") { - return Some(PseudoElement::MozLineFrame); - } - if atom == &atom!(":-moz-button-content") { - return Some(PseudoElement::ButtonContent); - } - if atom == &atom!(":-moz-cell-content") { - return Some(PseudoElement::CellContent); - } - if atom == &atom!(":-moz-dropdown-list") { - return Some(PseudoElement::DropDownList); - } - if atom == &atom!(":-moz-fieldset-content") { - return Some(PseudoElement::FieldsetContent); - } - if atom == &atom!(":-moz-display-comboboxcontrol-frame") { - return Some(PseudoElement::MozDisplayComboboxControlFrame); - } - if atom == &atom!(":-moz-html-canvas-content") { - return Some(PseudoElement::HtmlCanvasContent); - } - if atom == &atom!(":-moz-inline-table") { - return Some(PseudoElement::InlineTable); - } - if atom == &atom!(":-moz-table") { - return Some(PseudoElement::Table); - } - if atom == &atom!(":-moz-table-cell") { - return Some(PseudoElement::TableCell); - } - if atom == &atom!(":-moz-table-wrapper") { - return Some(PseudoElement::TableWrapper); - } - if atom == &atom!(":-moz-table-row-group") { - return Some(PseudoElement::TableRowGroup); - } - if atom == &atom!(":-moz-table-row") { - return Some(PseudoElement::TableRow); - } - if atom == &atom!(":-moz-canvas") { - return Some(PseudoElement::Canvas); - } - if atom == &atom!(":-moz-page") { - return Some(PseudoElement::Page); - } - if atom == &atom!(":-moz-pagecontent") { - return Some(PseudoElement::PageContent); - } - if atom == &atom!(":-moz-page-sequence") { - return Some(PseudoElement::PageSequence); - } - if atom == &atom!(":-moz-scrolled-content") { - return Some(PseudoElement::ScrolledContent); - } - if atom == &atom!(":-moz-scrolled-canvas") { - return Some(PseudoElement::ScrolledCanvas); - } - if atom == &atom!(":-moz-scrolled-page-sequence") { - return Some(PseudoElement::ScrolledPageSequence); - } - if atom == &atom!(":-moz-column-content") { - return Some(PseudoElement::ColumnContent); - } - if atom == &atom!(":-moz-viewport") { - return Some(PseudoElement::Viewport); - } - if atom == &atom!(":-moz-viewport-scroll") { - return Some(PseudoElement::ViewportScroll); - } - if atom == &atom!(":-moz-anonymous-flex-item") { - return Some(PseudoElement::AnonymousFlexItem); - } - if atom == &atom!(":-moz-anonymous-grid-item") { - return Some(PseudoElement::AnonymousGridItem); - } - if atom == &atom!(":-moz-ruby") { - return Some(PseudoElement::Ruby); - } - if atom == &atom!(":-moz-ruby-base") { - return Some(PseudoElement::RubyBase); - } - if atom == &atom!(":-moz-ruby-base-container") { - return Some(PseudoElement::RubyBaseContainer); - } - if atom == &atom!(":-moz-ruby-text") { - return Some(PseudoElement::RubyText); - } - if atom == &atom!(":-moz-ruby-text-container") { - return Some(PseudoElement::RubyTextContainer); - } - // We cannot generate PseudoElement::MozTreeColumn(..) from just an atom. - // We cannot generate PseudoElement::MozTreeRow(..) from just an atom. - // We cannot generate PseudoElement::MozTreeSeparator(..) from just an atom. - // We cannot generate PseudoElement::MozTreeCell(..) from just an atom. - // We cannot generate PseudoElement::MozTreeIndentation(..) from just an atom. - // We cannot generate PseudoElement::MozTreeLine(..) from just an atom. - // We cannot generate PseudoElement::MozTreeTwisty(..) from just an atom. - // We cannot generate PseudoElement::MozTreeImage(..) from just an atom. - // We cannot generate PseudoElement::MozTreeCellText(..) from just an atom. - // We cannot generate PseudoElement::MozTreeCheckbox(..) from just an atom. - // We cannot generate PseudoElement::MozTreeDropFeedback(..) from just an atom. - if atom == &atom!(":-moz-svg-marker-anon-child") { - return Some(PseudoElement::MozSVGMarkerAnonChild); - } - if atom == &atom!(":-moz-svg-outer-svg-anon-child") { - return Some(PseudoElement::MozSVGOuterSVGAnonChild); - } - if atom == &atom!(":-moz-svg-foreign-content") { - return Some(PseudoElement::MozSVGForeignContent); - } - if atom == &atom!(":-moz-svg-text") { - return Some(PseudoElement::MozSVGText); - } - None - } - - /// Construct a pseudo-element from an anonymous box `Atom`. - #[inline] - pub fn from_anon_box_atom(atom: &Atom) -> Option { - if atom == &atom!(":-moz-oof-placeholder") { - return Some(PseudoElement::OofPlaceholder); - } - if atom == &atom!(":-moz-hframeset-border") { - return Some(PseudoElement::HorizontalFramesetBorder); - } - if atom == &atom!(":-moz-vframeset-border") { - return Some(PseudoElement::VerticalFramesetBorder); - } - if atom == &atom!(":-moz-frameset-blank") { - return Some(PseudoElement::FramesetBlank); - } - if atom == &atom!(":-moz-table-column-group") { - return Some(PseudoElement::TableColGroup); - } - if atom == &atom!(":-moz-table-column") { - return Some(PseudoElement::TableCol); - } - if atom == &atom!(":-moz-pagebreak") { - return Some(PseudoElement::PageBreak); - } - if atom == &atom!(":-moz-text") { - return Some(PseudoElement::MozText); - } - if atom == &atom!(":-moz-first-letter-continuation") { - return Some(PseudoElement::FirstLetterContinuation); - } - if atom == &atom!(":-moz-block-inside-inline-wrapper") { - return Some(PseudoElement::MozBlockInsideInlineWrapper); - } - if atom == &atom!(":-moz-mathml-anonymous-block") { - return Some(PseudoElement::MozMathMLAnonymousBlock); - } - if atom == &atom!(":-moz-xul-anonymous-block") { - return Some(PseudoElement::MozXULAnonymousBlock); - } - if atom == &atom!(":-moz-line-frame") { - return Some(PseudoElement::MozLineFrame); - } - if atom == &atom!(":-moz-button-content") { - return Some(PseudoElement::ButtonContent); - } - if atom == &atom!(":-moz-cell-content") { - return Some(PseudoElement::CellContent); - } - if atom == &atom!(":-moz-dropdown-list") { - return Some(PseudoElement::DropDownList); - } - if atom == &atom!(":-moz-fieldset-content") { - return Some(PseudoElement::FieldsetContent); - } - if atom == &atom!(":-moz-display-comboboxcontrol-frame") { - return Some(PseudoElement::MozDisplayComboboxControlFrame); - } - if atom == &atom!(":-moz-html-canvas-content") { - return Some(PseudoElement::HtmlCanvasContent); - } - if atom == &atom!(":-moz-inline-table") { - return Some(PseudoElement::InlineTable); - } - if atom == &atom!(":-moz-table") { - return Some(PseudoElement::Table); - } - if atom == &atom!(":-moz-table-cell") { - return Some(PseudoElement::TableCell); - } - if atom == &atom!(":-moz-table-wrapper") { - return Some(PseudoElement::TableWrapper); - } - if atom == &atom!(":-moz-table-row-group") { - return Some(PseudoElement::TableRowGroup); - } - if atom == &atom!(":-moz-table-row") { - return Some(PseudoElement::TableRow); - } - if atom == &atom!(":-moz-canvas") { - return Some(PseudoElement::Canvas); - } - if atom == &atom!(":-moz-page") { - return Some(PseudoElement::Page); - } - if atom == &atom!(":-moz-pagecontent") { - return Some(PseudoElement::PageContent); - } - if atom == &atom!(":-moz-page-sequence") { - return Some(PseudoElement::PageSequence); - } - if atom == &atom!(":-moz-scrolled-content") { - return Some(PseudoElement::ScrolledContent); - } - if atom == &atom!(":-moz-scrolled-canvas") { - return Some(PseudoElement::ScrolledCanvas); - } - if atom == &atom!(":-moz-scrolled-page-sequence") { - return Some(PseudoElement::ScrolledPageSequence); - } - if atom == &atom!(":-moz-column-content") { - return Some(PseudoElement::ColumnContent); - } - if atom == &atom!(":-moz-viewport") { - return Some(PseudoElement::Viewport); - } - if atom == &atom!(":-moz-viewport-scroll") { - return Some(PseudoElement::ViewportScroll); - } - if atom == &atom!(":-moz-anonymous-flex-item") { - return Some(PseudoElement::AnonymousFlexItem); - } - if atom == &atom!(":-moz-anonymous-grid-item") { - return Some(PseudoElement::AnonymousGridItem); - } - if atom == &atom!(":-moz-ruby") { - return Some(PseudoElement::Ruby); - } - if atom == &atom!(":-moz-ruby-base") { - return Some(PseudoElement::RubyBase); - } - if atom == &atom!(":-moz-ruby-base-container") { - return Some(PseudoElement::RubyBaseContainer); - } - if atom == &atom!(":-moz-ruby-text") { - return Some(PseudoElement::RubyText); - } - if atom == &atom!(":-moz-ruby-text-container") { - return Some(PseudoElement::RubyTextContainer); - } - // We cannot generate PseudoElement::MozTreeColumn(..) from just an atom. - // We cannot generate PseudoElement::MozTreeRow(..) from just an atom. - // We cannot generate PseudoElement::MozTreeSeparator(..) from just an atom. - // We cannot generate PseudoElement::MozTreeCell(..) from just an atom. - // We cannot generate PseudoElement::MozTreeIndentation(..) from just an atom. - // We cannot generate PseudoElement::MozTreeLine(..) from just an atom. - // We cannot generate PseudoElement::MozTreeTwisty(..) from just an atom. - // We cannot generate PseudoElement::MozTreeImage(..) from just an atom. - // We cannot generate PseudoElement::MozTreeCellText(..) from just an atom. - // We cannot generate PseudoElement::MozTreeCheckbox(..) from just an atom. - // We cannot generate PseudoElement::MozTreeDropFeedback(..) from just an atom. - if atom == &atom!(":-moz-svg-marker-anon-child") { - return Some(PseudoElement::MozSVGMarkerAnonChild); - } - if atom == &atom!(":-moz-svg-outer-svg-anon-child") { - return Some(PseudoElement::MozSVGOuterSVGAnonChild); - } - if atom == &atom!(":-moz-svg-foreign-content") { - return Some(PseudoElement::MozSVGForeignContent); - } - if atom == &atom!(":-moz-svg-text") { - return Some(PseudoElement::MozSVGText); - } - None - } - - /// Construct a tree pseudo-element from atom and args. - #[inline] - pub fn from_tree_pseudo_atom(atom: &Atom, args: Box<[Atom]>) -> Option { - if atom == &atom!(":-moz-tree-column") { - return Some(PseudoElement::MozTreeColumn(args)); - } - if atom == &atom!(":-moz-tree-row") { - return Some(PseudoElement::MozTreeRow(args)); - } - if atom == &atom!(":-moz-tree-separator") { - return Some(PseudoElement::MozTreeSeparator(args)); - } - if atom == &atom!(":-moz-tree-cell") { - return Some(PseudoElement::MozTreeCell(args)); - } - if atom == &atom!(":-moz-tree-indentation") { - return Some(PseudoElement::MozTreeIndentation(args)); - } - if atom == &atom!(":-moz-tree-line") { - return Some(PseudoElement::MozTreeLine(args)); - } - if atom == &atom!(":-moz-tree-twisty") { - return Some(PseudoElement::MozTreeTwisty(args)); - } - if atom == &atom!(":-moz-tree-image") { - return Some(PseudoElement::MozTreeImage(args)); - } - if atom == &atom!(":-moz-tree-cell-text") { - return Some(PseudoElement::MozTreeCellText(args)); - } - if atom == &atom!(":-moz-tree-checkbox") { - return Some(PseudoElement::MozTreeCheckbox(args)); - } - if atom == &atom!(":-moz-tree-drop-feedback") { - return Some(PseudoElement::MozTreeDropFeedback(args)); - } - None - } - - /// Constructs an atom from a string of text, and whether we're in a - /// user-agent stylesheet. - /// - /// If we're not in a user-agent stylesheet, we will never parse anonymous - /// box pseudo-elements. - /// - /// Returns `None` if the pseudo-element is not recognised. - #[inline] - pub fn from_slice(name: &str) -> Option { - // We don't need to support tree pseudos because functional - // pseudo-elements needs arguments, and thus should be created - // via other methods. - match_ignore_ascii_case! { name, - "after" => { - return Some(PseudoElement::After) - } - "before" => { - return Some(PseudoElement::Before) - } - "backdrop" => { - return Some(PseudoElement::Backdrop) - } - "cue" => { - return Some(PseudoElement::Cue) - } - "first-letter" => { - return Some(PseudoElement::FirstLetter) - } - "first-line" => { - return Some(PseudoElement::FirstLine) - } - "-moz-selection" => { - return Some(PseudoElement::MozSelection) - } - "-moz-focus-inner" => { - return Some(PseudoElement::MozFocusInner) - } - "-moz-focus-outer" => { - return Some(PseudoElement::MozFocusOuter) - } - "-moz-list-bullet" => { - return Some(PseudoElement::MozListBullet) - } - "-moz-list-number" => { - return Some(PseudoElement::MozListNumber) - } - "-moz-math-anonymous" => { - return Some(PseudoElement::MozMathAnonymous) - } - "-moz-number-wrapper" => { - return Some(PseudoElement::MozNumberWrapper) - } - "-moz-number-text" => { - return Some(PseudoElement::MozNumberText) - } - "-moz-number-spin-box" => { - return Some(PseudoElement::MozNumberSpinBox) - } - "-moz-number-spin-up" => { - return Some(PseudoElement::MozNumberSpinUp) - } - "-moz-number-spin-down" => { - return Some(PseudoElement::MozNumberSpinDown) - } - "-moz-progress-bar" => { - return Some(PseudoElement::MozProgressBar) - } - "-moz-range-track" => { - return Some(PseudoElement::MozRangeTrack) - } - "-moz-range-progress" => { - return Some(PseudoElement::MozRangeProgress) - } - "-moz-range-thumb" => { - return Some(PseudoElement::MozRangeThumb) - } - "-moz-meter-bar" => { - return Some(PseudoElement::MozMeterBar) - } - "-moz-placeholder" => { - return Some(PseudoElement::MozPlaceholder) - } - "placeholder" => { - return Some(PseudoElement::Placeholder) - } - "-moz-color-swatch" => { - return Some(PseudoElement::MozColorSwatch) - } - "-moz-oof-placeholder" => { - return Some(PseudoElement::OofPlaceholder) - } - "-moz-hframeset-border" => { - return Some(PseudoElement::HorizontalFramesetBorder) - } - "-moz-vframeset-border" => { - return Some(PseudoElement::VerticalFramesetBorder) - } - "-moz-frameset-blank" => { - return Some(PseudoElement::FramesetBlank) - } - "-moz-table-column-group" => { - return Some(PseudoElement::TableColGroup) - } - "-moz-table-column" => { - return Some(PseudoElement::TableCol) - } - "-moz-pagebreak" => { - return Some(PseudoElement::PageBreak) - } - "-moz-text" => { - return Some(PseudoElement::MozText) - } - "-moz-first-letter-continuation" => { - return Some(PseudoElement::FirstLetterContinuation) - } - "-moz-block-inside-inline-wrapper" => { - return Some(PseudoElement::MozBlockInsideInlineWrapper) - } - "-moz-mathml-anonymous-block" => { - return Some(PseudoElement::MozMathMLAnonymousBlock) - } - "-moz-xul-anonymous-block" => { - return Some(PseudoElement::MozXULAnonymousBlock) - } - "-moz-line-frame" => { - return Some(PseudoElement::MozLineFrame) - } - "-moz-button-content" => { - return Some(PseudoElement::ButtonContent) - } - "-moz-cell-content" => { - return Some(PseudoElement::CellContent) - } - "-moz-dropdown-list" => { - return Some(PseudoElement::DropDownList) - } - "-moz-fieldset-content" => { - return Some(PseudoElement::FieldsetContent) - } - "-moz-display-comboboxcontrol-frame" => { - return Some(PseudoElement::MozDisplayComboboxControlFrame) - } - "-moz-html-canvas-content" => { - return Some(PseudoElement::HtmlCanvasContent) - } - "-moz-inline-table" => { - return Some(PseudoElement::InlineTable) - } - "-moz-table" => { - return Some(PseudoElement::Table) - } - "-moz-table-cell" => { - return Some(PseudoElement::TableCell) - } - "-moz-table-wrapper" => { - return Some(PseudoElement::TableWrapper) - } - "-moz-table-row-group" => { - return Some(PseudoElement::TableRowGroup) - } - "-moz-table-row" => { - return Some(PseudoElement::TableRow) - } - "-moz-canvas" => { - return Some(PseudoElement::Canvas) - } - "-moz-page" => { - return Some(PseudoElement::Page) - } - "-moz-pagecontent" => { - return Some(PseudoElement::PageContent) - } - "-moz-page-sequence" => { - return Some(PseudoElement::PageSequence) - } - "-moz-scrolled-content" => { - return Some(PseudoElement::ScrolledContent) - } - "-moz-scrolled-canvas" => { - return Some(PseudoElement::ScrolledCanvas) - } - "-moz-scrolled-page-sequence" => { - return Some(PseudoElement::ScrolledPageSequence) - } - "-moz-column-content" => { - return Some(PseudoElement::ColumnContent) - } - "-moz-viewport" => { - return Some(PseudoElement::Viewport) - } - "-moz-viewport-scroll" => { - return Some(PseudoElement::ViewportScroll) - } - "-moz-anonymous-flex-item" => { - return Some(PseudoElement::AnonymousFlexItem) - } - "-moz-anonymous-grid-item" => { - return Some(PseudoElement::AnonymousGridItem) - } - "-moz-ruby" => { - return Some(PseudoElement::Ruby) - } - "-moz-ruby-base" => { - return Some(PseudoElement::RubyBase) - } - "-moz-ruby-base-container" => { - return Some(PseudoElement::RubyBaseContainer) - } - "-moz-ruby-text" => { - return Some(PseudoElement::RubyText) - } - "-moz-ruby-text-container" => { - return Some(PseudoElement::RubyTextContainer) - } - "-moz-svg-marker-anon-child" => { - return Some(PseudoElement::MozSVGMarkerAnonChild) - } - "-moz-svg-outer-svg-anon-child" => { - return Some(PseudoElement::MozSVGOuterSVGAnonChild) - } - "-moz-svg-foreign-content" => { - return Some(PseudoElement::MozSVGForeignContent) - } - "-moz-svg-text" => { - return Some(PseudoElement::MozSVGText) - } - _ => { - // FIXME: -moz-tree check should probably be - // ascii-case-insensitive. - if name.starts_with("-moz-tree-") { - return PseudoElement::tree_pseudo_element(name, Box::new([])) - } - } - } - - None - } - - /// Constructs a tree pseudo-element from the given name and arguments. - /// "name" must start with "-moz-tree-". - /// - /// Returns `None` if the pseudo-element is not recognized. - #[inline] - pub fn tree_pseudo_element(name: &str, args: Box<[Atom]>) -> Option { - debug_assert!(name.starts_with("-moz-tree-")); - let tree_part = &name[10..]; - if tree_part.eq_ignore_ascii_case("column") { - return Some(PseudoElement::MozTreeColumn(args)); - } - if tree_part.eq_ignore_ascii_case("row") { - return Some(PseudoElement::MozTreeRow(args)); - } - if tree_part.eq_ignore_ascii_case("separator") { - return Some(PseudoElement::MozTreeSeparator(args)); - } - if tree_part.eq_ignore_ascii_case("cell") { - return Some(PseudoElement::MozTreeCell(args)); - } - if tree_part.eq_ignore_ascii_case("indentation") { - return Some(PseudoElement::MozTreeIndentation(args)); - } - if tree_part.eq_ignore_ascii_case("line") { - return Some(PseudoElement::MozTreeLine(args)); - } - if tree_part.eq_ignore_ascii_case("twisty") { - return Some(PseudoElement::MozTreeTwisty(args)); - } - if tree_part.eq_ignore_ascii_case("image") { - return Some(PseudoElement::MozTreeImage(args)); - } - if tree_part.eq_ignore_ascii_case("cell-text") { - return Some(PseudoElement::MozTreeCellText(args)); - } - if tree_part.eq_ignore_ascii_case("checkbox") { - return Some(PseudoElement::MozTreeCheckbox(args)); - } - if tree_part.eq_ignore_ascii_case("drop-feedback") { - return Some(PseudoElement::MozTreeDropFeedback(args)); - } - None - } -} - -impl ToCss for PseudoElement { - fn to_css(&self, dest: &mut W) -> fmt::Result where W: fmt::Write { - dest.write_char(':')?; - match *self { - PseudoElement::After => dest.write_str(":after")?, - PseudoElement::Before => dest.write_str(":before")?, - PseudoElement::Backdrop => dest.write_str(":backdrop")?, - PseudoElement::Cue => dest.write_str(":cue")?, - PseudoElement::FirstLetter => dest.write_str(":first-letter")?, - PseudoElement::FirstLine => dest.write_str(":first-line")?, - PseudoElement::MozSelection => dest.write_str(":-moz-selection")?, - PseudoElement::MozFocusInner => dest.write_str(":-moz-focus-inner")?, - PseudoElement::MozFocusOuter => dest.write_str(":-moz-focus-outer")?, - PseudoElement::MozListBullet => dest.write_str(":-moz-list-bullet")?, - PseudoElement::MozListNumber => dest.write_str(":-moz-list-number")?, - PseudoElement::MozMathAnonymous => dest.write_str(":-moz-math-anonymous")?, - PseudoElement::MozNumberWrapper => dest.write_str(":-moz-number-wrapper")?, - PseudoElement::MozNumberText => dest.write_str(":-moz-number-text")?, - PseudoElement::MozNumberSpinBox => dest.write_str(":-moz-number-spin-box")?, - PseudoElement::MozNumberSpinUp => dest.write_str(":-moz-number-spin-up")?, - PseudoElement::MozNumberSpinDown => dest.write_str(":-moz-number-spin-down")?, - PseudoElement::MozProgressBar => dest.write_str(":-moz-progress-bar")?, - PseudoElement::MozRangeTrack => dest.write_str(":-moz-range-track")?, - PseudoElement::MozRangeProgress => dest.write_str(":-moz-range-progress")?, - PseudoElement::MozRangeThumb => dest.write_str(":-moz-range-thumb")?, - PseudoElement::MozMeterBar => dest.write_str(":-moz-meter-bar")?, - PseudoElement::MozPlaceholder => dest.write_str(":-moz-placeholder")?, - PseudoElement::Placeholder => dest.write_str(":placeholder")?, - PseudoElement::MozColorSwatch => dest.write_str(":-moz-color-swatch")?, - PseudoElement::OofPlaceholder => dest.write_str(":-moz-oof-placeholder")?, - PseudoElement::HorizontalFramesetBorder => dest.write_str(":-moz-hframeset-border")?, - PseudoElement::VerticalFramesetBorder => dest.write_str(":-moz-vframeset-border")?, - PseudoElement::FramesetBlank => dest.write_str(":-moz-frameset-blank")?, - PseudoElement::TableColGroup => dest.write_str(":-moz-table-column-group")?, - PseudoElement::TableCol => dest.write_str(":-moz-table-column")?, - PseudoElement::PageBreak => dest.write_str(":-moz-pagebreak")?, - PseudoElement::MozText => dest.write_str(":-moz-text")?, - PseudoElement::FirstLetterContinuation => dest.write_str(":-moz-first-letter-continuation")?, - PseudoElement::MozBlockInsideInlineWrapper => dest.write_str(":-moz-block-inside-inline-wrapper")?, - PseudoElement::MozMathMLAnonymousBlock => dest.write_str(":-moz-mathml-anonymous-block")?, - PseudoElement::MozXULAnonymousBlock => dest.write_str(":-moz-xul-anonymous-block")?, - PseudoElement::MozLineFrame => dest.write_str(":-moz-line-frame")?, - PseudoElement::ButtonContent => dest.write_str(":-moz-button-content")?, - PseudoElement::CellContent => dest.write_str(":-moz-cell-content")?, - PseudoElement::DropDownList => dest.write_str(":-moz-dropdown-list")?, - PseudoElement::FieldsetContent => dest.write_str(":-moz-fieldset-content")?, - PseudoElement::MozDisplayComboboxControlFrame => dest.write_str(":-moz-display-comboboxcontrol-frame")?, - PseudoElement::HtmlCanvasContent => dest.write_str(":-moz-html-canvas-content")?, - PseudoElement::InlineTable => dest.write_str(":-moz-inline-table")?, - PseudoElement::Table => dest.write_str(":-moz-table")?, - PseudoElement::TableCell => dest.write_str(":-moz-table-cell")?, - PseudoElement::TableWrapper => dest.write_str(":-moz-table-wrapper")?, - PseudoElement::TableRowGroup => dest.write_str(":-moz-table-row-group")?, - PseudoElement::TableRow => dest.write_str(":-moz-table-row")?, - PseudoElement::Canvas => dest.write_str(":-moz-canvas")?, - PseudoElement::Page => dest.write_str(":-moz-page")?, - PseudoElement::PageContent => dest.write_str(":-moz-pagecontent")?, - PseudoElement::PageSequence => dest.write_str(":-moz-page-sequence")?, - PseudoElement::ScrolledContent => dest.write_str(":-moz-scrolled-content")?, - PseudoElement::ScrolledCanvas => dest.write_str(":-moz-scrolled-canvas")?, - PseudoElement::ScrolledPageSequence => dest.write_str(":-moz-scrolled-page-sequence")?, - PseudoElement::ColumnContent => dest.write_str(":-moz-column-content")?, - PseudoElement::Viewport => dest.write_str(":-moz-viewport")?, - PseudoElement::ViewportScroll => dest.write_str(":-moz-viewport-scroll")?, - PseudoElement::AnonymousFlexItem => dest.write_str(":-moz-anonymous-flex-item")?, - PseudoElement::AnonymousGridItem => dest.write_str(":-moz-anonymous-grid-item")?, - PseudoElement::Ruby => dest.write_str(":-moz-ruby")?, - PseudoElement::RubyBase => dest.write_str(":-moz-ruby-base")?, - PseudoElement::RubyBaseContainer => dest.write_str(":-moz-ruby-base-container")?, - PseudoElement::RubyText => dest.write_str(":-moz-ruby-text")?, - PseudoElement::RubyTextContainer => dest.write_str(":-moz-ruby-text-container")?, - PseudoElement::MozTreeColumn(..) => dest.write_str(":-moz-tree-column")?, - PseudoElement::MozTreeRow(..) => dest.write_str(":-moz-tree-row")?, - PseudoElement::MozTreeSeparator(..) => dest.write_str(":-moz-tree-separator")?, - PseudoElement::MozTreeCell(..) => dest.write_str(":-moz-tree-cell")?, - PseudoElement::MozTreeIndentation(..) => dest.write_str(":-moz-tree-indentation")?, - PseudoElement::MozTreeLine(..) => dest.write_str(":-moz-tree-line")?, - PseudoElement::MozTreeTwisty(..) => dest.write_str(":-moz-tree-twisty")?, - PseudoElement::MozTreeImage(..) => dest.write_str(":-moz-tree-image")?, - PseudoElement::MozTreeCellText(..) => dest.write_str(":-moz-tree-cell-text")?, - PseudoElement::MozTreeCheckbox(..) => dest.write_str(":-moz-tree-checkbox")?, - PseudoElement::MozTreeDropFeedback(..) => dest.write_str(":-moz-tree-drop-feedback")?, - PseudoElement::MozSVGMarkerAnonChild => dest.write_str(":-moz-svg-marker-anon-child")?, - PseudoElement::MozSVGOuterSVGAnonChild => dest.write_str(":-moz-svg-outer-svg-anon-child")?, - PseudoElement::MozSVGForeignContent => dest.write_str(":-moz-svg-foreign-content")?, - PseudoElement::MozSVGText => dest.write_str(":-moz-svg-text")?, - } - if let Some(args) = self.tree_pseudo_args() { - if !args.is_empty() { - dest.write_char('(')?; - let mut iter = args.iter(); - if let Some(first) = iter.next() { - serialize_atom_identifier(&first, dest)?; - for item in iter { - dest.write_str(", ")?; - serialize_atom_identifier(item, dest)?; - } - } - dest.write_char(')')?; - } - } - Ok(()) - } -} diff --git a/components/style/gecko/generated/structs.rs b/components/style/gecko/generated/structs.rs deleted file mode 100644 index f88b116b646..00000000000 --- a/components/style/gecko/generated/structs.rs +++ /dev/null @@ -1,48065 +0,0 @@ -/* automatically generated by rust-bindgen */ - -pub use self::root::*; -pub use self::root::mozilla::*; -pub use self::root::mozilla::css::*; -pub use self::root::mozilla::dom::*; -use atomic_refcell::AtomicRefCell; -use data::ElementData; -pub type ServoUnsafeCell = ::std::cell::UnsafeCell; -pub type ServoCell = ::std::cell::Cell; -pub type ServoNodeData = AtomicRefCell; -pub type ServoWritingMode = ::logical_geometry::WritingMode; -pub type ServoCustomPropertiesMap = Option<::servo_arc::Arc<::custom_properties::CustomPropertiesMap>>; -pub type ServoRuleNode = Option<::rule_tree::StrongRuleNode>; -pub type ServoVisitedStyle = Option<::servo_arc::RawOffsetArc<::properties::ComputedValues>>; -pub type ServoComputedValueFlags = ::properties::computed_value_flags::ComputedValueFlags; -pub type ServoRawOffsetArc = ::servo_arc::RawOffsetArc; -pub type ComputedStyleStrong = ::gecko_bindings::sugar::ownership::Strong<::properties::ComputedValues>; - -#[allow(non_snake_case, non_camel_case_types, non_upper_case_globals)] -pub mod root { - #[repr(C)] - #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] - pub struct __BindgenBitfieldUnit - where - Storage: AsRef<[u8]> + AsMut<[u8]>, - { - storage: Storage, - align: [Align; 0], - } - - impl __BindgenBitfieldUnit - where - Storage: AsRef<[u8]> + AsMut<[u8]>, - { - #[inline] - pub fn new(storage: Storage) -> Self { - Self { storage, align: [] } - } - - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - - let bit_index = index % 8; - let mask = 1 << bit_index; - - byte & mask == mask - } - - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - - let bit_index = index % 8; - let mask = 1 << bit_index; - - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - - let mut val = 0; - - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - val |= 1 << i; - } - } - - val - } - - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - self.set_bit(i + bit_offset, val_bit_is_set); - } - } - } - #[repr(C)] - pub struct __BindgenUnionField(::std::marker::PhantomData); - impl __BindgenUnionField { - #[inline] - pub fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } - } - impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } - } - impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - Self::new() - } - } - impl ::std::marker::Copy for __BindgenUnionField {} - impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } - } - impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} - } - impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } - } - impl ::std::cmp::Eq for __BindgenUnionField {} - #[allow(unused_imports)] - use self::super::root; - pub const NS_FONT_STYLE_NORMAL: u32 = 0; - pub const NS_FONT_STYLE_ITALIC: u32 = 1; - pub const NS_FONT_STYLE_OBLIQUE: u32 = 2; - pub const NS_FONT_WEIGHT_NORMAL: u32 = 400; - pub const NS_FONT_WEIGHT_BOLD: u32 = 700; - pub const NS_FONT_WEIGHT_THIN: u32 = 100; - pub const NS_FONT_STRETCH_ULTRA_CONDENSED: u32 = 50; - pub const NS_FONT_STRETCH_EXTRA_CONDENSED: u32 = 62; - pub const NS_FONT_STRETCH_CONDENSED: u32 = 75; - pub const NS_FONT_STRETCH_SEMI_CONDENSED: u32 = 87; - pub const NS_FONT_STRETCH_NORMAL: u32 = 100; - pub const NS_FONT_STRETCH_SEMI_EXPANDED: u32 = 112; - pub const NS_FONT_STRETCH_EXPANDED: u32 = 125; - pub const NS_FONT_STRETCH_EXTRA_EXPANDED: u32 = 150; - pub const NS_FONT_STRETCH_ULTRA_EXPANDED: u32 = 200; - pub const NS_FONT_SMOOTHING_AUTO: u32 = 0; - pub const NS_FONT_SMOOTHING_GRAYSCALE: u32 = 1; - pub const NS_FONT_KERNING_AUTO: u32 = 0; - pub const NS_FONT_KERNING_NONE: u32 = 1; - pub const NS_FONT_KERNING_NORMAL: u32 = 2; - pub const NS_FONT_SYNTHESIS_WEIGHT: u32 = 1; - pub const NS_FONT_SYNTHESIS_STYLE: u32 = 2; - pub const NS_FONT_DISPLAY_AUTO: u32 = 0; - pub const NS_FONT_DISPLAY_BLOCK: u32 = 1; - pub const NS_FONT_DISPLAY_SWAP: u32 = 2; - pub const NS_FONT_DISPLAY_FALLBACK: u32 = 3; - pub const NS_FONT_DISPLAY_OPTIONAL: u32 = 4; - pub const NS_FONT_OPTICAL_SIZING_AUTO: u32 = 0; - pub const NS_FONT_OPTICAL_SIZING_NONE: u32 = 1; - pub const NS_FONT_VARIANT_ALTERNATES_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_ALTERNATES_HISTORICAL: u32 = 1; - pub const NS_FONT_VARIANT_ALTERNATES_STYLISTIC: u32 = 2; - pub const NS_FONT_VARIANT_ALTERNATES_STYLESET: u32 = 4; - pub const NS_FONT_VARIANT_ALTERNATES_CHARACTER_VARIANT: u32 = 8; - pub const NS_FONT_VARIANT_ALTERNATES_SWASH: u32 = 16; - pub const NS_FONT_VARIANT_ALTERNATES_ORNAMENTS: u32 = 32; - pub const NS_FONT_VARIANT_ALTERNATES_ANNOTATION: u32 = 64; - pub const NS_FONT_VARIANT_ALTERNATES_COUNT: u32 = 7; - pub const NS_FONT_VARIANT_ALTERNATES_ENUMERATED_MASK: u32 = 1; - pub const NS_FONT_VARIANT_ALTERNATES_FUNCTIONAL_MASK: u32 = 126; - pub const NS_FONT_VARIANT_CAPS_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_CAPS_SMALLCAPS: u32 = 1; - pub const NS_FONT_VARIANT_CAPS_ALLSMALL: u32 = 2; - pub const NS_FONT_VARIANT_CAPS_PETITECAPS: u32 = 3; - pub const NS_FONT_VARIANT_CAPS_ALLPETITE: u32 = 4; - pub const NS_FONT_VARIANT_CAPS_TITLING: u32 = 5; - pub const NS_FONT_VARIANT_CAPS_UNICASE: u32 = 6; - pub const NS_FONT_VARIANT_EAST_ASIAN_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_EAST_ASIAN_JIS78: u32 = 1; - pub const NS_FONT_VARIANT_EAST_ASIAN_JIS83: u32 = 2; - pub const NS_FONT_VARIANT_EAST_ASIAN_JIS90: u32 = 4; - pub const NS_FONT_VARIANT_EAST_ASIAN_JIS04: u32 = 8; - pub const NS_FONT_VARIANT_EAST_ASIAN_SIMPLIFIED: u32 = 16; - pub const NS_FONT_VARIANT_EAST_ASIAN_TRADITIONAL: u32 = 32; - pub const NS_FONT_VARIANT_EAST_ASIAN_FULL_WIDTH: u32 = 64; - pub const NS_FONT_VARIANT_EAST_ASIAN_PROP_WIDTH: u32 = 128; - pub const NS_FONT_VARIANT_EAST_ASIAN_RUBY: u32 = 256; - pub const NS_FONT_VARIANT_EAST_ASIAN_COUNT: u32 = 9; - pub const NS_FONT_VARIANT_EAST_ASIAN_VARIANT_MASK: u32 = 63; - pub const NS_FONT_VARIANT_EAST_ASIAN_WIDTH_MASK: u32 = 192; - pub const NS_FONT_VARIANT_LIGATURES_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_LIGATURES_NONE: u32 = 1; - pub const NS_FONT_VARIANT_LIGATURES_COMMON: u32 = 2; - pub const NS_FONT_VARIANT_LIGATURES_NO_COMMON: u32 = 4; - pub const NS_FONT_VARIANT_LIGATURES_DISCRETIONARY: u32 = 8; - pub const NS_FONT_VARIANT_LIGATURES_NO_DISCRETIONARY: u32 = 16; - pub const NS_FONT_VARIANT_LIGATURES_HISTORICAL: u32 = 32; - pub const NS_FONT_VARIANT_LIGATURES_NO_HISTORICAL: u32 = 64; - pub const NS_FONT_VARIANT_LIGATURES_CONTEXTUAL: u32 = 128; - pub const NS_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL: u32 = 256; - pub const NS_FONT_VARIANT_LIGATURES_COUNT: u32 = 9; - pub const NS_FONT_VARIANT_LIGATURES_COMMON_MASK: u32 = 6; - pub const NS_FONT_VARIANT_LIGATURES_DISCRETIONARY_MASK: u32 = 24; - pub const NS_FONT_VARIANT_LIGATURES_HISTORICAL_MASK: u32 = 96; - pub const NS_FONT_VARIANT_LIGATURES_CONTEXTUAL_MASK: u32 = 384; - pub const NS_FONT_VARIANT_NUMERIC_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_NUMERIC_LINING: u32 = 1; - pub const NS_FONT_VARIANT_NUMERIC_OLDSTYLE: u32 = 2; - pub const NS_FONT_VARIANT_NUMERIC_PROPORTIONAL: u32 = 4; - pub const NS_FONT_VARIANT_NUMERIC_TABULAR: u32 = 8; - pub const NS_FONT_VARIANT_NUMERIC_DIAGONAL_FRACTIONS: u32 = 16; - pub const NS_FONT_VARIANT_NUMERIC_STACKED_FRACTIONS: u32 = 32; - pub const NS_FONT_VARIANT_NUMERIC_SLASHZERO: u32 = 64; - pub const NS_FONT_VARIANT_NUMERIC_ORDINAL: u32 = 128; - pub const NS_FONT_VARIANT_NUMERIC_COUNT: u32 = 8; - pub const NS_FONT_VARIANT_NUMERIC_FIGURE_MASK: u32 = 3; - pub const NS_FONT_VARIANT_NUMERIC_SPACING_MASK: u32 = 12; - pub const NS_FONT_VARIANT_NUMERIC_FRACTION_MASK: u32 = 48; - pub const NS_FONT_VARIANT_POSITION_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_POSITION_SUPER: u32 = 1; - pub const NS_FONT_VARIANT_POSITION_SUB: u32 = 2; - pub const NS_FONT_VARIANT_WIDTH_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_WIDTH_FULL: u32 = 1; - pub const NS_FONT_VARIANT_WIDTH_HALF: u32 = 2; - pub const NS_FONT_VARIANT_WIDTH_THIRD: u32 = 3; - pub const NS_FONT_VARIANT_WIDTH_QUARTER: u32 = 4; - pub const NS_FONT_SUBSCRIPT_OFFSET_RATIO: f64 = 0.2; - pub const NS_FONT_SUPERSCRIPT_OFFSET_RATIO: f64 = 0.34; - pub const NS_FONT_SUB_SUPER_SIZE_RATIO_SMALL: f64 = 0.82; - pub const NS_FONT_SUB_SUPER_SIZE_RATIO_LARGE: f64 = 0.667; - pub const NS_FONT_SUB_SUPER_SMALL_SIZE: f64 = 20.; - pub const NS_FONT_SUB_SUPER_LARGE_SIZE: f64 = 45.; - pub const NS_FONT_VARIANT_NORMAL: u32 = 0; - pub const NS_FONT_VARIANT_SMALL_CAPS: u32 = 1; - pub const NS_STYLE_COLOR_INHERIT_FROM_BODY: u32 = 2; - pub const NS_STYLE_WILL_CHANGE_STACKING_CONTEXT: u32 = 1; - pub const NS_STYLE_WILL_CHANGE_TRANSFORM: u32 = 2; - pub const NS_STYLE_WILL_CHANGE_SCROLL: u32 = 4; - pub const NS_STYLE_WILL_CHANGE_OPACITY: u32 = 8; - pub const NS_STYLE_WILL_CHANGE_FIXPOS_CB: u32 = 16; - pub const NS_STYLE_WILL_CHANGE_ABSPOS_CB: u32 = 32; - pub const NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE: u32 = 0; - pub const NS_STYLE_ANIMATION_PLAY_STATE_RUNNING: u32 = 0; - pub const NS_STYLE_ANIMATION_PLAY_STATE_PAUSED: u32 = 1; - pub const NS_STYLE_IMAGELAYER_ATTACHMENT_SCROLL: u32 = 0; - pub const NS_STYLE_IMAGELAYER_ATTACHMENT_FIXED: u32 = 1; - pub const NS_STYLE_IMAGELAYER_ATTACHMENT_LOCAL: u32 = 2; - pub const NS_STYLE_IMAGELAYER_CLIP_MOZ_ALMOST_PADDING: u32 = 127; - pub const NS_STYLE_IMAGELAYER_POSITION_CENTER: u32 = 1; - pub const NS_STYLE_IMAGELAYER_POSITION_TOP: u32 = 2; - pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: u32 = 4; - pub const NS_STYLE_IMAGELAYER_POSITION_LEFT: u32 = 8; - pub const NS_STYLE_IMAGELAYER_POSITION_RIGHT: u32 = 16; - pub const NS_STYLE_IMAGELAYER_SIZE_CONTAIN: u32 = 0; - pub const NS_STYLE_IMAGELAYER_SIZE_COVER: u32 = 1; - pub const NS_STYLE_MASK_MODE_ALPHA: u32 = 0; - pub const NS_STYLE_MASK_MODE_LUMINANCE: u32 = 1; - pub const NS_STYLE_MASK_MODE_MATCH_SOURCE: u32 = 2; - pub const NS_STYLE_BG_INLINE_POLICY_EACH_BOX: u32 = 0; - pub const NS_STYLE_BG_INLINE_POLICY_CONTINUOUS: u32 = 1; - pub const NS_STYLE_BG_INLINE_POLICY_BOUNDING_BOX: u32 = 2; - pub const NS_STYLE_BORDER_COLLAPSE: u32 = 0; - pub const NS_STYLE_BORDER_SEPARATE: u32 = 1; - pub const NS_STYLE_BORDER_WIDTH_THIN: u32 = 0; - pub const NS_STYLE_BORDER_WIDTH_MEDIUM: u32 = 1; - pub const NS_STYLE_BORDER_WIDTH_THICK: u32 = 2; - pub const NS_STYLE_BORDER_STYLE_NONE: u32 = 0; - pub const NS_STYLE_BORDER_STYLE_GROOVE: u32 = 1; - pub const NS_STYLE_BORDER_STYLE_RIDGE: u32 = 2; - pub const NS_STYLE_BORDER_STYLE_DOTTED: u32 = 3; - pub const NS_STYLE_BORDER_STYLE_DASHED: u32 = 4; - pub const NS_STYLE_BORDER_STYLE_SOLID: u32 = 5; - pub const NS_STYLE_BORDER_STYLE_DOUBLE: u32 = 6; - pub const NS_STYLE_BORDER_STYLE_INSET: u32 = 7; - pub const NS_STYLE_BORDER_STYLE_OUTSET: u32 = 8; - pub const NS_STYLE_BORDER_STYLE_HIDDEN: u32 = 9; - pub const NS_STYLE_BORDER_STYLE_AUTO: u32 = 10; - pub const NS_STYLE_BORDER_IMAGE_SLICE_NOFILL: u32 = 0; - pub const NS_STYLE_BORDER_IMAGE_SLICE_FILL: u32 = 1; - pub const NS_STYLE_CURSOR_AUTO: u32 = 1; - pub const NS_STYLE_CURSOR_CROSSHAIR: u32 = 2; - pub const NS_STYLE_CURSOR_DEFAULT: u32 = 3; - pub const NS_STYLE_CURSOR_POINTER: u32 = 4; - pub const NS_STYLE_CURSOR_MOVE: u32 = 5; - pub const NS_STYLE_CURSOR_E_RESIZE: u32 = 6; - pub const NS_STYLE_CURSOR_NE_RESIZE: u32 = 7; - pub const NS_STYLE_CURSOR_NW_RESIZE: u32 = 8; - pub const NS_STYLE_CURSOR_N_RESIZE: u32 = 9; - pub const NS_STYLE_CURSOR_SE_RESIZE: u32 = 10; - pub const NS_STYLE_CURSOR_SW_RESIZE: u32 = 11; - pub const NS_STYLE_CURSOR_S_RESIZE: u32 = 12; - pub const NS_STYLE_CURSOR_W_RESIZE: u32 = 13; - pub const NS_STYLE_CURSOR_TEXT: u32 = 14; - pub const NS_STYLE_CURSOR_WAIT: u32 = 15; - pub const NS_STYLE_CURSOR_HELP: u32 = 16; - pub const NS_STYLE_CURSOR_COPY: u32 = 17; - pub const NS_STYLE_CURSOR_ALIAS: u32 = 18; - pub const NS_STYLE_CURSOR_CONTEXT_MENU: u32 = 19; - pub const NS_STYLE_CURSOR_CELL: u32 = 20; - pub const NS_STYLE_CURSOR_GRAB: u32 = 21; - pub const NS_STYLE_CURSOR_GRABBING: u32 = 22; - pub const NS_STYLE_CURSOR_SPINNING: u32 = 23; - pub const NS_STYLE_CURSOR_ZOOM_IN: u32 = 24; - pub const NS_STYLE_CURSOR_ZOOM_OUT: u32 = 25; - pub const NS_STYLE_CURSOR_NOT_ALLOWED: u32 = 26; - pub const NS_STYLE_CURSOR_COL_RESIZE: u32 = 27; - pub const NS_STYLE_CURSOR_ROW_RESIZE: u32 = 28; - pub const NS_STYLE_CURSOR_NO_DROP: u32 = 29; - pub const NS_STYLE_CURSOR_VERTICAL_TEXT: u32 = 30; - pub const NS_STYLE_CURSOR_ALL_SCROLL: u32 = 31; - pub const NS_STYLE_CURSOR_NESW_RESIZE: u32 = 32; - pub const NS_STYLE_CURSOR_NWSE_RESIZE: u32 = 33; - pub const NS_STYLE_CURSOR_NS_RESIZE: u32 = 34; - pub const NS_STYLE_CURSOR_EW_RESIZE: u32 = 35; - pub const NS_STYLE_CURSOR_NONE: u32 = 36; - pub const NS_STYLE_DIRECTION_LTR: u32 = 0; - pub const NS_STYLE_DIRECTION_RTL: u32 = 1; - pub const NS_STYLE_WRITING_MODE_HORIZONTAL_TB: u32 = 0; - pub const NS_STYLE_WRITING_MODE_VERTICAL_RL: u32 = 1; - pub const NS_STYLE_WRITING_MODE_VERTICAL_LR: u32 = 3; - pub const NS_STYLE_WRITING_MODE_SIDEWAYS_MASK: u32 = 4; - pub const NS_STYLE_WRITING_MODE_SIDEWAYS_RL: u32 = 5; - pub const NS_STYLE_WRITING_MODE_SIDEWAYS_LR: u32 = 7; - pub const NS_STYLE_CONTAIN_NONE: u32 = 0; - pub const NS_STYLE_CONTAIN_STRICT: u32 = 1; - pub const NS_STYLE_CONTAIN_LAYOUT: u32 = 2; - pub const NS_STYLE_CONTAIN_STYLE: u32 = 4; - pub const NS_STYLE_CONTAIN_PAINT: u32 = 8; - pub const NS_STYLE_CONTAIN_ALL_BITS: u32 = 14; - pub const NS_STYLE_ALIGN_AUTO: u32 = 0; - pub const NS_STYLE_ALIGN_NORMAL: u32 = 1; - pub const NS_STYLE_ALIGN_START: u32 = 2; - pub const NS_STYLE_ALIGN_END: u32 = 3; - pub const NS_STYLE_ALIGN_FLEX_START: u32 = 4; - pub const NS_STYLE_ALIGN_FLEX_END: u32 = 5; - pub const NS_STYLE_ALIGN_CENTER: u32 = 6; - pub const NS_STYLE_ALIGN_LEFT: u32 = 7; - pub const NS_STYLE_ALIGN_RIGHT: u32 = 8; - pub const NS_STYLE_ALIGN_BASELINE: u32 = 9; - pub const NS_STYLE_ALIGN_LAST_BASELINE: u32 = 10; - pub const NS_STYLE_ALIGN_STRETCH: u32 = 11; - pub const NS_STYLE_ALIGN_SELF_START: u32 = 12; - pub const NS_STYLE_ALIGN_SELF_END: u32 = 13; - pub const NS_STYLE_ALIGN_SPACE_BETWEEN: u32 = 14; - pub const NS_STYLE_ALIGN_SPACE_AROUND: u32 = 15; - pub const NS_STYLE_ALIGN_SPACE_EVENLY: u32 = 16; - pub const NS_STYLE_ALIGN_LEGACY: u32 = 32; - pub const NS_STYLE_ALIGN_SAFE: u32 = 64; - pub const NS_STYLE_ALIGN_UNSAFE: u32 = 128; - pub const NS_STYLE_ALIGN_FLAG_BITS: u32 = 224; - pub const NS_STYLE_ALIGN_ALL_BITS: u32 = 255; - pub const NS_STYLE_ALIGN_ALL_SHIFT: u32 = 8; - pub const NS_STYLE_JUSTIFY_AUTO: u32 = 0; - pub const NS_STYLE_JUSTIFY_NORMAL: u32 = 1; - pub const NS_STYLE_JUSTIFY_START: u32 = 2; - pub const NS_STYLE_JUSTIFY_END: u32 = 3; - pub const NS_STYLE_JUSTIFY_FLEX_START: u32 = 4; - pub const NS_STYLE_JUSTIFY_FLEX_END: u32 = 5; - pub const NS_STYLE_JUSTIFY_CENTER: u32 = 6; - pub const NS_STYLE_JUSTIFY_LEFT: u32 = 7; - pub const NS_STYLE_JUSTIFY_RIGHT: u32 = 8; - pub const NS_STYLE_JUSTIFY_BASELINE: u32 = 9; - pub const NS_STYLE_JUSTIFY_LAST_BASELINE: u32 = 10; - pub const NS_STYLE_JUSTIFY_STRETCH: u32 = 11; - pub const NS_STYLE_JUSTIFY_SELF_START: u32 = 12; - pub const NS_STYLE_JUSTIFY_SELF_END: u32 = 13; - pub const NS_STYLE_JUSTIFY_SPACE_BETWEEN: u32 = 14; - pub const NS_STYLE_JUSTIFY_SPACE_AROUND: u32 = 15; - pub const NS_STYLE_JUSTIFY_SPACE_EVENLY: u32 = 16; - pub const NS_STYLE_JUSTIFY_LEGACY: u32 = 32; - pub const NS_STYLE_JUSTIFY_SAFE: u32 = 64; - pub const NS_STYLE_JUSTIFY_UNSAFE: u32 = 128; - pub const NS_STYLE_JUSTIFY_FLAG_BITS: u32 = 224; - pub const NS_STYLE_JUSTIFY_ALL_BITS: u32 = 255; - pub const NS_STYLE_JUSTIFY_ALL_SHIFT: u32 = 8; - pub const NS_STYLE_FLEX_DIRECTION_ROW: u32 = 0; - pub const NS_STYLE_FLEX_DIRECTION_ROW_REVERSE: u32 = 1; - pub const NS_STYLE_FLEX_DIRECTION_COLUMN: u32 = 2; - pub const NS_STYLE_FLEX_DIRECTION_COLUMN_REVERSE: u32 = 3; - pub const NS_STYLE_FLEX_WRAP_NOWRAP: u32 = 0; - pub const NS_STYLE_FLEX_WRAP_WRAP: u32 = 1; - pub const NS_STYLE_FLEX_WRAP_WRAP_REVERSE: u32 = 2; - pub const NS_STYLE_ORDER_INITIAL: u32 = 0; - pub const NS_STYLE_JUSTIFY_CONTENT_FLEX_START: u32 = 4; - pub const NS_STYLE_JUSTIFY_CONTENT_FLEX_END: u32 = 5; - pub const NS_STYLE_JUSTIFY_CONTENT_CENTER: u32 = 6; - pub const NS_STYLE_JUSTIFY_CONTENT_SPACE_BETWEEN: u32 = 14; - pub const NS_STYLE_JUSTIFY_CONTENT_SPACE_AROUND: u32 = 15; - pub const NS_STYLE_FILTER_NONE: u32 = 0; - pub const NS_STYLE_FILTER_URL: u32 = 1; - pub const NS_STYLE_FILTER_BLUR: u32 = 2; - pub const NS_STYLE_FILTER_BRIGHTNESS: u32 = 3; - pub const NS_STYLE_FILTER_CONTRAST: u32 = 4; - pub const NS_STYLE_FILTER_GRAYSCALE: u32 = 5; - pub const NS_STYLE_FILTER_INVERT: u32 = 6; - pub const NS_STYLE_FILTER_OPACITY: u32 = 7; - pub const NS_STYLE_FILTER_SATURATE: u32 = 8; - pub const NS_STYLE_FILTER_SEPIA: u32 = 9; - pub const NS_STYLE_FILTER_HUE_ROTATE: u32 = 10; - pub const NS_STYLE_FILTER_DROP_SHADOW: u32 = 11; - pub const NS_STYLE_FONT_STYLE_NORMAL: u32 = 0; - pub const NS_STYLE_FONT_STYLE_ITALIC: u32 = 1; - pub const NS_STYLE_FONT_STYLE_OBLIQUE: u32 = 2; - pub const NS_STYLE_FONT_WEIGHT_BOLDER: i32 = -1; - pub const NS_STYLE_FONT_WEIGHT_LIGHTER: i32 = -2; - pub const NS_STYLE_FONT_SIZE_XXSMALL: u32 = 0; - pub const NS_STYLE_FONT_SIZE_XSMALL: u32 = 1; - pub const NS_STYLE_FONT_SIZE_SMALL: u32 = 2; - pub const NS_STYLE_FONT_SIZE_MEDIUM: u32 = 3; - pub const NS_STYLE_FONT_SIZE_LARGE: u32 = 4; - pub const NS_STYLE_FONT_SIZE_XLARGE: u32 = 5; - pub const NS_STYLE_FONT_SIZE_XXLARGE: u32 = 6; - pub const NS_STYLE_FONT_SIZE_XXXLARGE: u32 = 7; - pub const NS_STYLE_FONT_SIZE_LARGER: u32 = 8; - pub const NS_STYLE_FONT_SIZE_SMALLER: u32 = 9; - pub const NS_STYLE_FONT_SIZE_NO_KEYWORD: u32 = 10; - pub const NS_STYLE_FONT_STRETCH_ULTRA_CONDENSED: u32 = 50; - pub const NS_STYLE_FONT_STRETCH_EXTRA_CONDENSED: u32 = 62; - pub const NS_STYLE_FONT_STRETCH_CONDENSED: u32 = 75; - pub const NS_STYLE_FONT_STRETCH_SEMI_CONDENSED: u32 = 87; - pub const NS_STYLE_FONT_STRETCH_NORMAL: u32 = 100; - pub const NS_STYLE_FONT_STRETCH_SEMI_EXPANDED: u32 = 112; - pub const NS_STYLE_FONT_STRETCH_EXPANDED: u32 = 125; - pub const NS_STYLE_FONT_STRETCH_EXTRA_EXPANDED: u32 = 150; - pub const NS_STYLE_FONT_STRETCH_ULTRA_EXPANDED: u32 = 200; - pub const NS_STYLE_FONT_CAPTION: u32 = 1; - pub const NS_STYLE_FONT_ICON: u32 = 2; - pub const NS_STYLE_FONT_MENU: u32 = 3; - pub const NS_STYLE_FONT_MESSAGE_BOX: u32 = 4; - pub const NS_STYLE_FONT_SMALL_CAPTION: u32 = 5; - pub const NS_STYLE_FONT_STATUS_BAR: u32 = 6; - pub const NS_STYLE_FONT_WINDOW: u32 = 7; - pub const NS_STYLE_FONT_DOCUMENT: u32 = 8; - pub const NS_STYLE_FONT_WORKSPACE: u32 = 9; - pub const NS_STYLE_FONT_DESKTOP: u32 = 10; - pub const NS_STYLE_FONT_INFO: u32 = 11; - pub const NS_STYLE_FONT_DIALOG: u32 = 12; - pub const NS_STYLE_FONT_BUTTON: u32 = 13; - pub const NS_STYLE_FONT_PULL_DOWN_MENU: u32 = 14; - pub const NS_STYLE_FONT_LIST: u32 = 15; - pub const NS_STYLE_FONT_FIELD: u32 = 16; - pub const NS_STYLE_GRID_AUTO_FLOW_ROW: u32 = 1; - pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: u32 = 2; - pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: u32 = 4; - pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: u32 = 0; - pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: u32 = 0; - pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: u32 = 1; - pub const NS_MATHML_DEFAULT_SCRIPT_SIZE_MULTIPLIER: f64 = 0.71; - pub const NS_MATHML_DEFAULT_SCRIPT_MIN_SIZE_PT: u32 = 8; - pub const NS_MATHML_MATHVARIANT_NONE: u32 = 0; - pub const NS_MATHML_MATHVARIANT_NORMAL: u32 = 1; - pub const NS_MATHML_MATHVARIANT_BOLD: u32 = 2; - pub const NS_MATHML_MATHVARIANT_ITALIC: u32 = 3; - pub const NS_MATHML_MATHVARIANT_BOLD_ITALIC: u32 = 4; - pub const NS_MATHML_MATHVARIANT_SCRIPT: u32 = 5; - pub const NS_MATHML_MATHVARIANT_BOLD_SCRIPT: u32 = 6; - pub const NS_MATHML_MATHVARIANT_FRAKTUR: u32 = 7; - pub const NS_MATHML_MATHVARIANT_DOUBLE_STRUCK: u32 = 8; - pub const NS_MATHML_MATHVARIANT_BOLD_FRAKTUR: u32 = 9; - pub const NS_MATHML_MATHVARIANT_SANS_SERIF: u32 = 10; - pub const NS_MATHML_MATHVARIANT_BOLD_SANS_SERIF: u32 = 11; - pub const NS_MATHML_MATHVARIANT_SANS_SERIF_ITALIC: u32 = 12; - pub const NS_MATHML_MATHVARIANT_SANS_SERIF_BOLD_ITALIC: u32 = 13; - pub const NS_MATHML_MATHVARIANT_MONOSPACE: u32 = 14; - pub const NS_MATHML_MATHVARIANT_INITIAL: u32 = 15; - pub const NS_MATHML_MATHVARIANT_TAILED: u32 = 16; - pub const NS_MATHML_MATHVARIANT_LOOPED: u32 = 17; - pub const NS_MATHML_MATHVARIANT_STRETCHED: u32 = 18; - pub const NS_MATHML_DISPLAYSTYLE_INLINE: u32 = 0; - pub const NS_MATHML_DISPLAYSTYLE_BLOCK: u32 = 1; - pub const NS_STYLE_WIDTH_MAX_CONTENT: u32 = 0; - pub const NS_STYLE_WIDTH_MIN_CONTENT: u32 = 1; - pub const NS_STYLE_WIDTH_FIT_CONTENT: u32 = 2; - pub const NS_STYLE_WIDTH_AVAILABLE: u32 = 3; - pub const NS_STYLE_FLEX_BASIS_CONTENT: u32 = 4; - pub const NS_STYLE_POSITION_STATIC: u32 = 0; - pub const NS_STYLE_POSITION_RELATIVE: u32 = 1; - pub const NS_STYLE_POSITION_ABSOLUTE: u32 = 2; - pub const NS_STYLE_POSITION_FIXED: u32 = 3; - pub const NS_STYLE_POSITION_STICKY: u32 = 4; - pub const NS_STYLE_CLIP_AUTO: u32 = 0; - pub const NS_STYLE_CLIP_RECT: u32 = 1; - pub const NS_STYLE_CLIP_TYPE_MASK: u32 = 15; - pub const NS_STYLE_CLIP_LEFT_AUTO: u32 = 16; - pub const NS_STYLE_CLIP_TOP_AUTO: u32 = 32; - pub const NS_STYLE_CLIP_RIGHT_AUTO: u32 = 64; - pub const NS_STYLE_CLIP_BOTTOM_AUTO: u32 = 128; - pub const NS_STYLE_FRAME_YES: u32 = 0; - pub const NS_STYLE_FRAME_NO: u32 = 1; - pub const NS_STYLE_FRAME_0: u32 = 2; - pub const NS_STYLE_FRAME_1: u32 = 3; - pub const NS_STYLE_FRAME_ON: u32 = 4; - pub const NS_STYLE_FRAME_OFF: u32 = 5; - pub const NS_STYLE_FRAME_AUTO: u32 = 6; - pub const NS_STYLE_FRAME_SCROLL: u32 = 7; - pub const NS_STYLE_FRAME_NOSCROLL: u32 = 8; - pub const NS_STYLE_OVERFLOW_VISIBLE: u32 = 0; - pub const NS_STYLE_OVERFLOW_HIDDEN: u32 = 1; - pub const NS_STYLE_OVERFLOW_SCROLL: u32 = 2; - pub const NS_STYLE_OVERFLOW_AUTO: u32 = 3; - pub const NS_STYLE_OVERFLOW_CLIP: u32 = 4; - pub const NS_STYLE_OVERFLOW_SCROLLBARS_HORIZONTAL: u32 = 5; - pub const NS_STYLE_OVERFLOW_SCROLLBARS_VERTICAL: u32 = 6; - pub const NS_STYLE_OVERFLOW_CLIP_BOX_PADDING_BOX: u32 = 0; - pub const NS_STYLE_OVERFLOW_CLIP_BOX_CONTENT_BOX: u32 = 1; - pub const NS_STYLE_LIST_STYLE_CUSTOM: i32 = -1; - pub const NS_STYLE_LIST_STYLE_NONE: u32 = 0; - pub const NS_STYLE_LIST_STYLE_DECIMAL: u32 = 1; - pub const NS_STYLE_LIST_STYLE_DISC: u32 = 2; - pub const NS_STYLE_LIST_STYLE_CIRCLE: u32 = 3; - pub const NS_STYLE_LIST_STYLE_SQUARE: u32 = 4; - pub const NS_STYLE_LIST_STYLE_DISCLOSURE_CLOSED: u32 = 5; - pub const NS_STYLE_LIST_STYLE_DISCLOSURE_OPEN: u32 = 6; - pub const NS_STYLE_LIST_STYLE_HEBREW: u32 = 7; - pub const NS_STYLE_LIST_STYLE_JAPANESE_INFORMAL: u32 = 8; - pub const NS_STYLE_LIST_STYLE_JAPANESE_FORMAL: u32 = 9; - pub const NS_STYLE_LIST_STYLE_KOREAN_HANGUL_FORMAL: u32 = 10; - pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_INFORMAL: u32 = 11; - pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_FORMAL: u32 = 12; - pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_INFORMAL: u32 = 13; - pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_FORMAL: u32 = 14; - pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_INFORMAL: u32 = 15; - pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_FORMAL: u32 = 16; - pub const NS_STYLE_LIST_STYLE_ETHIOPIC_NUMERIC: u32 = 17; - pub const NS_STYLE_LIST_STYLE_LOWER_ROMAN: u32 = 100; - pub const NS_STYLE_LIST_STYLE_UPPER_ROMAN: u32 = 101; - pub const NS_STYLE_LIST_STYLE_LOWER_ALPHA: u32 = 102; - pub const NS_STYLE_LIST_STYLE_UPPER_ALPHA: u32 = 103; - pub const NS_STYLE_LIST_STYLE_POSITION_INSIDE: u32 = 0; - pub const NS_STYLE_LIST_STYLE_POSITION_OUTSIDE: u32 = 1; - pub const NS_STYLE_MARGIN_SIZE_AUTO: u32 = 0; - pub const NS_STYLE_POINTER_EVENTS_NONE: u32 = 0; - pub const NS_STYLE_POINTER_EVENTS_VISIBLEPAINTED: u32 = 1; - pub const NS_STYLE_POINTER_EVENTS_VISIBLEFILL: u32 = 2; - pub const NS_STYLE_POINTER_EVENTS_VISIBLESTROKE: u32 = 3; - pub const NS_STYLE_POINTER_EVENTS_VISIBLE: u32 = 4; - pub const NS_STYLE_POINTER_EVENTS_PAINTED: u32 = 5; - pub const NS_STYLE_POINTER_EVENTS_FILL: u32 = 6; - pub const NS_STYLE_POINTER_EVENTS_STROKE: u32 = 7; - pub const NS_STYLE_POINTER_EVENTS_ALL: u32 = 8; - pub const NS_STYLE_POINTER_EVENTS_AUTO: u32 = 9; - pub const NS_STYLE_IMAGE_ORIENTATION_FLIP: u32 = 0; - pub const NS_STYLE_IMAGE_ORIENTATION_FROM_IMAGE: u32 = 1; - pub const NS_STYLE_ISOLATION_AUTO: u32 = 0; - pub const NS_STYLE_ISOLATION_ISOLATE: u32 = 1; - pub const NS_STYLE_OBJECT_FIT_FILL: u32 = 0; - pub const NS_STYLE_OBJECT_FIT_CONTAIN: u32 = 1; - pub const NS_STYLE_OBJECT_FIT_COVER: u32 = 2; - pub const NS_STYLE_OBJECT_FIT_NONE: u32 = 3; - pub const NS_STYLE_OBJECT_FIT_SCALE_DOWN: u32 = 4; - pub const NS_STYLE_RESIZE_NONE: u32 = 0; - pub const NS_STYLE_RESIZE_BOTH: u32 = 1; - pub const NS_STYLE_RESIZE_HORIZONTAL: u32 = 2; - pub const NS_STYLE_RESIZE_VERTICAL: u32 = 3; - pub const NS_STYLE_TEXT_ALIGN_START: u32 = 0; - pub const NS_STYLE_TEXT_ALIGN_LEFT: u32 = 1; - pub const NS_STYLE_TEXT_ALIGN_RIGHT: u32 = 2; - pub const NS_STYLE_TEXT_ALIGN_CENTER: u32 = 3; - pub const NS_STYLE_TEXT_ALIGN_JUSTIFY: u32 = 4; - pub const NS_STYLE_TEXT_ALIGN_CHAR: u32 = 5; - pub const NS_STYLE_TEXT_ALIGN_END: u32 = 6; - pub const NS_STYLE_TEXT_ALIGN_AUTO: u32 = 7; - pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER: u32 = 8; - pub const NS_STYLE_TEXT_ALIGN_MOZ_RIGHT: u32 = 9; - pub const NS_STYLE_TEXT_ALIGN_MOZ_LEFT: u32 = 10; - pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER_OR_INHERIT: u32 = 11; - pub const NS_STYLE_TEXT_ALIGN_UNSAFE: u32 = 12; - pub const NS_STYLE_TEXT_ALIGN_MATCH_PARENT: u32 = 13; - pub const NS_STYLE_TEXT_DECORATION_LINE_NONE: u32 = 0; - pub const NS_STYLE_TEXT_DECORATION_LINE_UNDERLINE: u32 = 1; - pub const NS_STYLE_TEXT_DECORATION_LINE_OVERLINE: u32 = 2; - pub const NS_STYLE_TEXT_DECORATION_LINE_LINE_THROUGH: u32 = 4; - pub const NS_STYLE_TEXT_DECORATION_LINE_BLINK: u32 = 8; - pub const NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL: u32 = 16; - pub const NS_STYLE_TEXT_DECORATION_LINE_LINES_MASK: u32 = 7; - pub const NS_STYLE_TEXT_DECORATION_STYLE_NONE: u32 = 0; - pub const NS_STYLE_TEXT_DECORATION_STYLE_DOTTED: u32 = 1; - pub const NS_STYLE_TEXT_DECORATION_STYLE_DASHED: u32 = 2; - pub const NS_STYLE_TEXT_DECORATION_STYLE_SOLID: u32 = 3; - pub const NS_STYLE_TEXT_DECORATION_STYLE_DOUBLE: u32 = 4; - pub const NS_STYLE_TEXT_DECORATION_STYLE_WAVY: u32 = 5; - pub const NS_STYLE_TEXT_DECORATION_STYLE_MAX: u32 = 5; - pub const NS_STYLE_TEXT_OVERFLOW_CLIP: u32 = 0; - pub const NS_STYLE_TEXT_OVERFLOW_ELLIPSIS: u32 = 1; - pub const NS_STYLE_TEXT_OVERFLOW_STRING: u32 = 2; - pub const NS_STYLE_TEXT_TRANSFORM_NONE: u32 = 0; - pub const NS_STYLE_TEXT_TRANSFORM_CAPITALIZE: u32 = 1; - pub const NS_STYLE_TEXT_TRANSFORM_LOWERCASE: u32 = 2; - pub const NS_STYLE_TEXT_TRANSFORM_UPPERCASE: u32 = 3; - pub const NS_STYLE_TEXT_TRANSFORM_FULL_WIDTH: u32 = 4; - pub const NS_STYLE_TOUCH_ACTION_NONE: u32 = 1; - pub const NS_STYLE_TOUCH_ACTION_AUTO: u32 = 2; - pub const NS_STYLE_TOUCH_ACTION_PAN_X: u32 = 4; - pub const NS_STYLE_TOUCH_ACTION_PAN_Y: u32 = 8; - pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: u32 = 16; - pub const NS_STYLE_TOP_LAYER_NONE: u32 = 0; - pub const NS_STYLE_TOP_LAYER_TOP: u32 = 1; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: u32 = 0; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_LINEAR: u32 = 1; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN: u32 = 2; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_OUT: u32 = 3; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT: u32 = 4; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_START: u32 = 5; - pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_END: u32 = 6; - pub const NS_STYLE_VERTICAL_ALIGN_BASELINE: u32 = 14; - pub const NS_STYLE_VERTICAL_ALIGN_SUB: u32 = 15; - pub const NS_STYLE_VERTICAL_ALIGN_SUPER: u32 = 16; - pub const NS_STYLE_VERTICAL_ALIGN_TOP: u32 = 17; - pub const NS_STYLE_VERTICAL_ALIGN_TEXT_TOP: u32 = 18; - pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE: u32 = 19; - pub const NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM: u32 = 20; - pub const NS_STYLE_VERTICAL_ALIGN_BOTTOM: u32 = 21; - pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE_WITH_BASELINE: u32 = 22; - pub const NS_STYLE_VISIBILITY_HIDDEN: u32 = 0; - pub const NS_STYLE_VISIBILITY_VISIBLE: u32 = 1; - pub const NS_STYLE_VISIBILITY_COLLAPSE: u32 = 2; - pub const NS_STYLE_TABSIZE_INITIAL: u32 = 8; - pub const NS_STYLE_WORDBREAK_NORMAL: u32 = 0; - pub const NS_STYLE_WORDBREAK_BREAK_ALL: u32 = 1; - pub const NS_STYLE_WORDBREAK_KEEP_ALL: u32 = 2; - pub const NS_STYLE_OVERFLOWWRAP_NORMAL: u32 = 0; - pub const NS_STYLE_OVERFLOWWRAP_BREAK_WORD: u32 = 1; - pub const NS_STYLE_RUBY_ALIGN_START: u32 = 0; - pub const NS_STYLE_RUBY_ALIGN_CENTER: u32 = 1; - pub const NS_STYLE_RUBY_ALIGN_SPACE_BETWEEN: u32 = 2; - pub const NS_STYLE_RUBY_ALIGN_SPACE_AROUND: u32 = 3; - pub const NS_STYLE_RUBY_POSITION_OVER: u32 = 0; - pub const NS_STYLE_RUBY_POSITION_UNDER: u32 = 1; - pub const NS_STYLE_RUBY_POSITION_INTER_CHARACTER: u32 = 2; - pub const NS_STYLE_TEXT_SIZE_ADJUST_NONE: u32 = 0; - pub const NS_STYLE_TEXT_SIZE_ADJUST_AUTO: u32 = 1; - pub const NS_STYLE_TEXT_ORIENTATION_MIXED: u32 = 0; - pub const NS_STYLE_TEXT_ORIENTATION_UPRIGHT: u32 = 1; - pub const NS_STYLE_TEXT_ORIENTATION_SIDEWAYS: u32 = 2; - pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_NONE: u32 = 0; - pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_ALL: u32 = 1; - pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_2: u32 = 2; - pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_3: u32 = 3; - pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_4: u32 = 4; - pub const NS_STYLE_LINE_HEIGHT_BLOCK_HEIGHT: u32 = 0; - pub const NS_STYLE_UNICODE_BIDI_NORMAL: u32 = 0; - pub const NS_STYLE_UNICODE_BIDI_EMBED: u32 = 1; - pub const NS_STYLE_UNICODE_BIDI_ISOLATE: u32 = 2; - pub const NS_STYLE_UNICODE_BIDI_BIDI_OVERRIDE: u32 = 4; - pub const NS_STYLE_UNICODE_BIDI_ISOLATE_OVERRIDE: u32 = 6; - pub const NS_STYLE_UNICODE_BIDI_PLAINTEXT: u32 = 8; - pub const NS_STYLE_TABLE_LAYOUT_AUTO: u32 = 0; - pub const NS_STYLE_TABLE_LAYOUT_FIXED: u32 = 1; - pub const NS_STYLE_TABLE_EMPTY_CELLS_HIDE: u32 = 0; - pub const NS_STYLE_TABLE_EMPTY_CELLS_SHOW: u32 = 1; - pub const NS_STYLE_CAPTION_SIDE_TOP: u32 = 0; - pub const NS_STYLE_CAPTION_SIDE_RIGHT: u32 = 1; - pub const NS_STYLE_CAPTION_SIDE_BOTTOM: u32 = 2; - pub const NS_STYLE_CAPTION_SIDE_LEFT: u32 = 3; - pub const NS_STYLE_CAPTION_SIDE_TOP_OUTSIDE: u32 = 4; - pub const NS_STYLE_CAPTION_SIDE_BOTTOM_OUTSIDE: u32 = 5; - pub const NS_STYLE_CELL_SCOPE_ROW: u32 = 0; - pub const NS_STYLE_CELL_SCOPE_COL: u32 = 1; - pub const NS_STYLE_CELL_SCOPE_ROWGROUP: u32 = 2; - pub const NS_STYLE_CELL_SCOPE_COLGROUP: u32 = 3; - pub const NS_STYLE_PAGE_MARKS_NONE: u32 = 0; - pub const NS_STYLE_PAGE_MARKS_CROP: u32 = 1; - pub const NS_STYLE_PAGE_MARKS_REGISTER: u32 = 2; - pub const NS_STYLE_PAGE_SIZE_AUTO: u32 = 0; - pub const NS_STYLE_PAGE_SIZE_PORTRAIT: u32 = 1; - pub const NS_STYLE_PAGE_SIZE_LANDSCAPE: u32 = 2; - pub const NS_STYLE_PAGE_BREAK_AUTO: u32 = 0; - pub const NS_STYLE_PAGE_BREAK_ALWAYS: u32 = 1; - pub const NS_STYLE_PAGE_BREAK_AVOID: u32 = 2; - pub const NS_STYLE_PAGE_BREAK_LEFT: u32 = 3; - pub const NS_STYLE_PAGE_BREAK_RIGHT: u32 = 4; - pub const NS_STYLE_COLUMN_COUNT_AUTO: u32 = 0; - pub const NS_STYLE_COLUMN_COUNT_UNLIMITED: i32 = -1; - pub const NS_STYLE_COLUMN_FILL_AUTO: u32 = 0; - pub const NS_STYLE_COLUMN_FILL_BALANCE: u32 = 1; - pub const NS_STYLE_COLUMN_SPAN_NONE: u32 = 0; - pub const NS_STYLE_COLUMN_SPAN_ALL: u32 = 1; - pub const NS_STYLE_IME_MODE_AUTO: u32 = 0; - pub const NS_STYLE_IME_MODE_NORMAL: u32 = 1; - pub const NS_STYLE_IME_MODE_ACTIVE: u32 = 2; - pub const NS_STYLE_IME_MODE_DISABLED: u32 = 3; - pub const NS_STYLE_IME_MODE_INACTIVE: u32 = 4; - pub const NS_STYLE_GRADIENT_SHAPE_LINEAR: u32 = 0; - pub const NS_STYLE_GRADIENT_SHAPE_ELLIPTICAL: u32 = 1; - pub const NS_STYLE_GRADIENT_SHAPE_CIRCULAR: u32 = 2; - pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_SIDE: u32 = 0; - pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_CORNER: u32 = 1; - pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_SIDE: u32 = 2; - pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_CORNER: u32 = 3; - pub const NS_STYLE_GRADIENT_SIZE_EXPLICIT_SIZE: u32 = 4; - pub const NS_STYLE_CONTEXT_PROPERTY_FILL: u32 = 1; - pub const NS_STYLE_CONTEXT_PROPERTY_STROKE: u32 = 2; - pub const NS_STYLE_CONTEXT_PROPERTY_FILL_OPACITY: u32 = 4; - pub const NS_STYLE_CONTEXT_PROPERTY_STROKE_OPACITY: u32 = 8; - pub const NS_STYLE_WINDOW_SHADOW_NONE: u32 = 0; - pub const NS_STYLE_WINDOW_SHADOW_DEFAULT: u32 = 1; - pub const NS_STYLE_WINDOW_SHADOW_MENU: u32 = 2; - pub const NS_STYLE_WINDOW_SHADOW_TOOLTIP: u32 = 3; - pub const NS_STYLE_WINDOW_SHADOW_SHEET: u32 = 4; - pub const NS_STYLE_DOMINANT_BASELINE_AUTO: u32 = 0; - pub const NS_STYLE_DOMINANT_BASELINE_USE_SCRIPT: u32 = 1; - pub const NS_STYLE_DOMINANT_BASELINE_NO_CHANGE: u32 = 2; - pub const NS_STYLE_DOMINANT_BASELINE_RESET_SIZE: u32 = 3; - pub const NS_STYLE_DOMINANT_BASELINE_IDEOGRAPHIC: u32 = 4; - pub const NS_STYLE_DOMINANT_BASELINE_ALPHABETIC: u32 = 5; - pub const NS_STYLE_DOMINANT_BASELINE_HANGING: u32 = 6; - pub const NS_STYLE_DOMINANT_BASELINE_MATHEMATICAL: u32 = 7; - pub const NS_STYLE_DOMINANT_BASELINE_CENTRAL: u32 = 8; - pub const NS_STYLE_DOMINANT_BASELINE_MIDDLE: u32 = 9; - pub const NS_STYLE_DOMINANT_BASELINE_TEXT_AFTER_EDGE: u32 = 10; - pub const NS_STYLE_DOMINANT_BASELINE_TEXT_BEFORE_EDGE: u32 = 11; - pub const NS_STYLE_IMAGE_RENDERING_AUTO: u32 = 0; - pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZESPEED: u32 = 1; - pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZEQUALITY: u32 = 2; - pub const NS_STYLE_IMAGE_RENDERING_CRISPEDGES: u32 = 3; - pub const NS_STYLE_MASK_TYPE_LUMINANCE: u32 = 0; - pub const NS_STYLE_MASK_TYPE_ALPHA: u32 = 1; - pub const NS_STYLE_PAINT_ORDER_NORMAL: u32 = 0; - pub const NS_STYLE_PAINT_ORDER_FILL: u32 = 1; - pub const NS_STYLE_PAINT_ORDER_STROKE: u32 = 2; - pub const NS_STYLE_PAINT_ORDER_MARKERS: u32 = 3; - pub const NS_STYLE_PAINT_ORDER_LAST_VALUE: u32 = 3; - pub const NS_STYLE_PAINT_ORDER_BITWIDTH: u32 = 2; - pub const NS_STYLE_SHAPE_RENDERING_AUTO: u32 = 0; - pub const NS_STYLE_SHAPE_RENDERING_OPTIMIZESPEED: u32 = 1; - pub const NS_STYLE_SHAPE_RENDERING_CRISPEDGES: u32 = 2; - pub const NS_STYLE_SHAPE_RENDERING_GEOMETRICPRECISION: u32 = 3; - pub const NS_STYLE_STROKE_LINECAP_BUTT: u32 = 0; - pub const NS_STYLE_STROKE_LINECAP_ROUND: u32 = 1; - pub const NS_STYLE_STROKE_LINECAP_SQUARE: u32 = 2; - pub const NS_STYLE_STROKE_LINEJOIN_MITER: u32 = 0; - pub const NS_STYLE_STROKE_LINEJOIN_ROUND: u32 = 1; - pub const NS_STYLE_STROKE_LINEJOIN_BEVEL: u32 = 2; - pub const NS_STYLE_STROKE_PROP_CONTEXT_VALUE: u32 = 0; - pub const NS_STYLE_TEXT_ANCHOR_START: u32 = 0; - pub const NS_STYLE_TEXT_ANCHOR_MIDDLE: u32 = 1; - pub const NS_STYLE_TEXT_ANCHOR_END: u32 = 2; - pub const NS_STYLE_TEXT_EMPHASIS_POSITION_OVER: u32 = 1; - pub const NS_STYLE_TEXT_EMPHASIS_POSITION_UNDER: u32 = 2; - pub const NS_STYLE_TEXT_EMPHASIS_POSITION_LEFT: u32 = 4; - pub const NS_STYLE_TEXT_EMPHASIS_POSITION_RIGHT: u32 = 8; - pub const NS_STYLE_TEXT_EMPHASIS_POSITION_DEFAULT: u32 = 9; - pub const NS_STYLE_TEXT_EMPHASIS_POSITION_DEFAULT_ZH: u32 = 10; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_NONE: u32 = 0; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILL_MASK: u32 = 8; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILLED: u32 = 0; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_OPEN: u32 = 8; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SHAPE_MASK: u32 = 7; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOT: u32 = 1; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_CIRCLE: u32 = 2; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOUBLE_CIRCLE: u32 = 3; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_TRIANGLE: u32 = 4; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SESAME: u32 = 5; - pub const NS_STYLE_TEXT_EMPHASIS_STYLE_STRING: u32 = 255; - pub const NS_STYLE_TEXT_RENDERING_AUTO: u32 = 0; - pub const NS_STYLE_TEXT_RENDERING_OPTIMIZESPEED: u32 = 1; - pub const NS_STYLE_TEXT_RENDERING_OPTIMIZELEGIBILITY: u32 = 2; - pub const NS_STYLE_TEXT_RENDERING_GEOMETRICPRECISION: u32 = 3; - pub const NS_STYLE_COLOR_ADJUST_ECONOMY: u32 = 0; - pub const NS_STYLE_COLOR_ADJUST_EXACT: u32 = 1; - pub const NS_STYLE_COLOR_INTERPOLATION_AUTO: u32 = 0; - pub const NS_STYLE_COLOR_INTERPOLATION_SRGB: u32 = 1; - pub const NS_STYLE_COLOR_INTERPOLATION_LINEARRGB: u32 = 2; - pub const NS_STYLE_VECTOR_EFFECT_NONE: u32 = 0; - pub const NS_STYLE_VECTOR_EFFECT_NON_SCALING_STROKE: u32 = 1; - pub const NS_STYLE_BACKFACE_VISIBILITY_VISIBLE: u32 = 1; - pub const NS_STYLE_BACKFACE_VISIBILITY_HIDDEN: u32 = 0; - pub const NS_STYLE_TRANSFORM_STYLE_FLAT: u32 = 0; - pub const NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D: u32 = 1; - pub const NS_STYLE_CONTEXT_FILL_OPACITY: u32 = 0; - pub const NS_STYLE_CONTEXT_STROKE_OPACITY: u32 = 1; - pub const NS_STYLE_BLEND_NORMAL: u32 = 0; - pub const NS_STYLE_BLEND_MULTIPLY: u32 = 1; - pub const NS_STYLE_BLEND_SCREEN: u32 = 2; - pub const NS_STYLE_BLEND_OVERLAY: u32 = 3; - pub const NS_STYLE_BLEND_DARKEN: u32 = 4; - pub const NS_STYLE_BLEND_LIGHTEN: u32 = 5; - pub const NS_STYLE_BLEND_COLOR_DODGE: u32 = 6; - pub const NS_STYLE_BLEND_COLOR_BURN: u32 = 7; - pub const NS_STYLE_BLEND_HARD_LIGHT: u32 = 8; - pub const NS_STYLE_BLEND_SOFT_LIGHT: u32 = 9; - pub const NS_STYLE_BLEND_DIFFERENCE: u32 = 10; - pub const NS_STYLE_BLEND_EXCLUSION: u32 = 11; - pub const NS_STYLE_BLEND_HUE: u32 = 12; - pub const NS_STYLE_BLEND_SATURATION: u32 = 13; - pub const NS_STYLE_BLEND_COLOR: u32 = 14; - pub const NS_STYLE_BLEND_LUMINOSITY: u32 = 15; - pub const NS_STYLE_MASK_COMPOSITE_ADD: u32 = 0; - pub const NS_STYLE_MASK_COMPOSITE_SUBTRACT: u32 = 1; - pub const NS_STYLE_MASK_COMPOSITE_INTERSECT: u32 = 2; - pub const NS_STYLE_MASK_COMPOSITE_EXCLUDE: u32 = 3; - pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_HIDDEN: u32 = 0; - pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_VISIBLE: u32 = 1; - pub const NS_STYLE_COUNTER_SYSTEM_CYCLIC: u32 = 0; - pub const NS_STYLE_COUNTER_SYSTEM_NUMERIC: u32 = 1; - pub const NS_STYLE_COUNTER_SYSTEM_ALPHABETIC: u32 = 2; - pub const NS_STYLE_COUNTER_SYSTEM_SYMBOLIC: u32 = 3; - pub const NS_STYLE_COUNTER_SYSTEM_ADDITIVE: u32 = 4; - pub const NS_STYLE_COUNTER_SYSTEM_FIXED: u32 = 5; - pub const NS_STYLE_COUNTER_SYSTEM_EXTENDS: u32 = 6; - pub const NS_STYLE_COUNTER_RANGE_INFINITE: u32 = 0; - pub const NS_STYLE_COUNTER_SPEAKAS_BULLETS: u32 = 0; - pub const NS_STYLE_COUNTER_SPEAKAS_NUMBERS: u32 = 1; - pub const NS_STYLE_COUNTER_SPEAKAS_WORDS: u32 = 2; - pub const NS_STYLE_COUNTER_SPEAKAS_SPELL_OUT: u32 = 3; - pub const NS_STYLE_COUNTER_SPEAKAS_OTHER: u32 = 255; - pub const NS_STYLE_SCROLL_BEHAVIOR_AUTO: u32 = 0; - pub const NS_STYLE_SCROLL_BEHAVIOR_SMOOTH: u32 = 1; - pub const NS_STYLE_SCROLL_SNAP_TYPE_NONE: u32 = 0; - pub const NS_STYLE_SCROLL_SNAP_TYPE_MANDATORY: u32 = 1; - pub const NS_STYLE_SCROLL_SNAP_TYPE_PROXIMITY: u32 = 2; - pub const kNameSpaceID_Unknown: i32 = -1; - pub const kNameSpaceID_XMLNS: u32 = 1; - pub const kNameSpaceID_XML: u32 = 2; - pub const kNameSpaceID_XHTML: u32 = 3; - pub const kNameSpaceID_XLink: u32 = 4; - pub const kNameSpaceID_XSLT: u32 = 5; - pub const kNameSpaceID_XBL: u32 = 6; - pub const kNameSpaceID_MathML: u32 = 7; - pub const kNameSpaceID_RDF: u32 = 8; - pub const kNameSpaceID_XUL: u32 = 9; - pub const kNameSpaceID_SVG: u32 = 10; - pub const kNameSpaceID_disabled_MathML: u32 = 11; - pub const kNameSpaceID_disabled_SVG: u32 = 12; - pub const kNameSpaceID_LastBuiltin: u32 = 12; - pub const CSS_PSEUDO_ELEMENT_IS_CSS2: u32 = 1; - pub const CSS_PSEUDO_ELEMENT_CONTAINS_ELEMENTS: u32 = 2; - pub const CSS_PSEUDO_ELEMENT_SUPPORTS_STYLE_ATTRIBUTE: u32 = 4; - pub const CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE: u32 = 8; - pub const CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS: u32 = 16; - pub const CSS_PSEUDO_ELEMENT_ENABLED_IN_CHROME: u32 = 32; - pub const CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME: u32 = 48; - pub const CSS_PSEUDO_ELEMENT_IS_JS_CREATED_NAC: u32 = 64; - pub const CSS_PSEUDO_ELEMENT_IS_FLEX_OR_GRID_ITEM: u32 = 128; - pub const kNameSpaceID_Wildcard: i32 = -2147483648; - pub const NS_AUTHOR_SPECIFIED_BACKGROUND: u32 = 1; - pub const NS_AUTHOR_SPECIFIED_BORDER: u32 = 2; - pub const NS_AUTHOR_SPECIFIED_PADDING: u32 = 4; - pub const NS_STYLE_INHERIT_MASK: u32 = 8388607; - pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: u32 = 16777216; - pub const NS_STYLE_HAS_PSEUDO_ELEMENT_DATA: u32 = 33554432; - pub const NS_STYLE_RELEVANT_LINK_VISITED: u32 = 67108864; - pub const NS_STYLE_IS_STYLE_IF_VISITED: u32 = 134217728; - pub const NS_STYLE_CHILD_USES_GRANDANCESTOR_STYLE: u32 = 268435456; - pub const NS_STYLE_IS_SHARED: u32 = 536870912; - pub const NS_STYLE_IS_GOING_AWAY: u32 = 1073741824; - pub const NS_STYLE_SUPPRESS_LINEBREAK: u32 = 2147483648; - pub const NS_STYLE_IN_DISPLAY_NONE_SUBTREE: u64 = 4294967296; - pub const NS_STYLE_INELIGIBLE_FOR_SHARING: u64 = 8589934592; - pub const NS_STYLE_HAS_CHILD_THAT_USES_RESET_STYLE: u64 = 17179869184; - pub const NS_STYLE_IS_TEXT_COMBINED: u64 = 34359738368; - pub const NS_STYLE_CONTEXT_IS_GECKO: u64 = 68719476736; - pub const NS_STYLE_CONTEXT_TYPE_SHIFT: u32 = 37; - pub mod std { - #[allow(unused_imports)] - use self::super::super::root; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nothrow_t { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nothrow_t() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(nothrow_t)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(nothrow_t)) - ); - } - impl Clone for nothrow_t { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct pair<_T1, _T2> { - pub first: _T1, - pub second: _T2, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T1>>, - pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<_T2>>, - } - pub type pair_first_type<_T1> = _T1; - pub type pair_second_type<_T2> = _T2; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct input_iterator_tag { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_input_iterator_tag() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(input_iterator_tag)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(input_iterator_tag)) - ); - } - impl Clone for input_iterator_tag { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct iterator { - pub _address: u8, - } - pub type iterator_iterator_category<_Category> = _Category; - pub type iterator_value_type<_Tp> = _Tp; - pub type iterator_difference_type<_Distance> = _Distance; - pub type iterator_pointer<_Pointer> = _Pointer; - pub type iterator_reference<_Reference> = _Reference; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct atomic { - pub _address: u8, - } - pub type _Base_bitset__WordT = ::std::os::raw::c_ulong; - pub type bitset__Base = u8; - pub type bitset__WordT = ::std::os::raw::c_ulong; - #[repr(C)] - #[derive(Debug)] - pub struct bitset_reference { - pub _M_wp: *mut root::std::bitset__WordT, - pub _M_bpos: usize, - } - } - pub mod mozilla { - #[allow(unused_imports)] - use self::super::super::root; - pub mod detail { - #[allow(unused_imports)] - use self::super::super::super::root; - pub const StringDataFlags_TERMINATED: root::mozilla::detail::StringDataFlags = 1; - pub const StringDataFlags_VOIDED: root::mozilla::detail::StringDataFlags = 2; - pub const StringDataFlags_REFCOUNTED: root::mozilla::detail::StringDataFlags = 4; - pub const StringDataFlags_OWNED: root::mozilla::detail::StringDataFlags = 8; - pub const StringDataFlags_INLINE: root::mozilla::detail::StringDataFlags = 16; - pub const StringDataFlags_LITERAL: root::mozilla::detail::StringDataFlags = 32; - pub type StringDataFlags = u16; - pub const StringClassFlags_INLINE: root::mozilla::detail::StringClassFlags = 1; - pub const StringClassFlags_NULL_TERMINATED: root::mozilla::detail::StringClassFlags = 2; - pub type StringClassFlags = u16; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTStringRepr { - pub mData: *mut root::mozilla::detail::nsTStringRepr_char_type, - pub mLength: root::mozilla::detail::nsTStringRepr_size_type, - pub mDataFlags: root::mozilla::detail::nsTStringRepr_DataFlags, - pub mClassFlags: root::mozilla::detail::nsTStringRepr_ClassFlags, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsTStringRepr_fallible_t = root::mozilla::fallible_t; - pub type nsTStringRepr_char_type = T; - pub type nsTStringRepr_self_type = root::mozilla::detail::nsTStringRepr; - pub type nsTStringRepr_base_string_type = - root::mozilla::detail::nsTStringRepr_self_type; - pub type nsTStringRepr_substring_type = root::nsTSubstring; - pub type nsTStringRepr_substring_tuple_type = root::nsTSubstringTuple; - pub type nsTStringRepr_literalstring_type = root::nsTLiteralString; - pub type nsTStringRepr_const_iterator = - root::nsReadingIterator>; - pub type nsTStringRepr_iterator = - root::nsWritingIterator>; - pub type nsTStringRepr_comparator_type = root::nsTStringComparator; - pub type nsTStringRepr_char_iterator = - *mut root::mozilla::detail::nsTStringRepr_char_type; - pub type nsTStringRepr_const_char_iterator = - *const root::mozilla::detail::nsTStringRepr_char_type; - pub type nsTStringRepr_index_type = u32; - pub type nsTStringRepr_size_type = u32; - pub use self :: super :: super :: super :: root :: mozilla :: detail :: StringDataFlags as nsTStringRepr_DataFlags; - pub use self :: super :: super :: super :: root :: mozilla :: detail :: StringClassFlags as nsTStringRepr_ClassFlags; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTStringRepr_raw_type { - pub _address: u8, - } - pub type nsTStringRepr_raw_type_type = *mut U; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct VariantTag { - pub _address: u8, - } - pub type VariantTag_Type = u8; - /// LinkedList supports refcounted elements using this adapter class. Clients - /// using LinkedList> will get a data structure that holds a strong - /// reference to T as long as T is in the list. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct LinkedListElementTraits { - pub _address: u8, - } - pub type LinkedListElementTraits_RawType = *mut T; - pub type LinkedListElementTraits_ConstRawType = *mut T; - pub type LinkedListElementTraits_ClientType = *mut T; - pub type LinkedListElementTraits_ConstClientType = *mut T; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct FreePolicy { - pub _address: u8, - } - #[repr(C)] - #[derive(Debug)] - pub struct MutexImpl { - pub platformData_: [*mut ::std::os::raw::c_void; 5usize], - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct MutexImpl_PlatformData { - _unused: [u8; 0], - } - impl Clone for MutexImpl_PlatformData { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_MutexImpl() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(MutexImpl)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(MutexImpl)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).platformData_ as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(MutexImpl), - "::", - stringify!(platformData_) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct WeakReference { - pub _address: u8, - } - #[repr(C)] - #[derive(Debug)] - pub struct ConditionVariableImpl { - pub platformData_: [*mut ::std::os::raw::c_void; 6usize], - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ConditionVariableImpl_PlatformData { - _unused: [u8; 0], - } - impl Clone for ConditionVariableImpl_PlatformData { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_ConditionVariableImpl() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(ConditionVariableImpl)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ConditionVariableImpl)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).platformData_ as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ConditionVariableImpl), - "::", - stringify!(platformData_) - ) - ); - } - } - pub type fallible_t = root::std::nothrow_t; - pub type IntegralConstant_ValueType = T; - pub type IntegralConstant_Type = u8; - /// Convenient aliases. - pub type TrueType = u8; - pub type FalseType = u8; - pub type Conditional_Type = A; - /// This class is designed to cause crashes when various kinds of memory - /// corruption are observed. For instance, let's say we have a class C where we - /// suspect out-of-bounds writes to some members. We can insert a member of type - /// Poison near the members we suspect are being corrupted by out-of-bounds - /// writes. Or perhaps we have a class K we suspect is subject to use-after-free - /// violations, in which case it doesn't particularly matter where in the class - /// we add the member of type Poison. - /// - /// In either case, we then insert calls to Check() throughout the code. Doing - /// so enables us to narrow down the location where the corruption is occurring. - /// A pleasant side-effect of these additional Check() calls is that crash - /// signatures may become more regular, as crashes will ideally occur - /// consolidated at the point of a Check(), rather than scattered about at - /// various uses of the corrupted memory. - #[repr(C)] - #[derive(Debug)] - pub struct CorruptionCanary { - pub mValue: usize, - } - pub const CorruptionCanary_kCanarySet: usize = 252382987; - #[test] - fn bindgen_test_layout_CorruptionCanary() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(CorruptionCanary)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CorruptionCanary)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CorruptionCanary), - "::", - stringify!(mValue) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Maybe { - pub _address: u8, - } - pub type Maybe_ValueType = T; - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum SheetType { - Agent = 0, - User = 1, - PresHint = 2, - Doc = 3, - StyleAttr = 4, - Override = 5, - Animation = 6, - Transition = 7, - Count = 8, - Unknown = 255, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct StaticRefPtr { - pub mRawPtr: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - /// This struct represents a combined color from a numeric color and - /// the current foreground color (currentcolor keyword). - /// Conceptually, the formula is "color * (1 - p) + currentcolor * p" - /// where p is mForegroundRatio. See mozilla::LinearBlendColors for - /// the actual algorithm. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct StyleComplexColor { - pub mColor: root::nscolor, - pub mForegroundRatio: u8, - pub mIsAuto: bool, - } - #[test] - fn bindgen_test_layout_StyleComplexColor() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(StyleComplexColor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(StyleComplexColor)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mColor as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StyleComplexColor), - "::", - stringify!(mColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mForegroundRatio as *const _ - as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(StyleComplexColor), - "::", - stringify!(mForegroundRatio) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsAuto as *const _ as usize - }, - 5usize, - concat!( - "Offset of field: ", - stringify!(StyleComplexColor), - "::", - stringify!(mIsAuto) - ) - ); - } - impl Clone for StyleComplexColor { - fn clone(&self) -> Self { - *self - } - } - /// A default deletion policy using plain old operator delete. - /// - /// Note that this type can be specialized, but authors should beware of the risk - /// that the specialization may at some point cease to match (either because it - /// gets moved to a different compilation unit or the signature changes). If the - /// non-specialized (|delete|-based) version compiles for that type but does the - /// wrong thing, bad things could happen. - /// - /// This is a non-issue for types which are always incomplete (i.e. opaque handle - /// types), since |delete|-ing such a type will always trigger a compilation - /// error. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct DefaultDelete { - pub _address: u8, - } - pub mod gfx { - #[allow(unused_imports)] - use self::super::super::super::root; - pub type Float = f32; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct IntPointTyped { - pub _address: u8, - } - pub type IntPointTyped_ToInt = u32; - pub type IntPointTyped_Coord = u8; - pub type IntPointTyped_Super = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct SizeTyped { - pub _address: u8, - } - pub type SizeTyped_Super = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FontVariation { - pub mTag: u32, - pub mValue: f32, - } - #[test] - fn bindgen_test_layout_FontVariation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(FontVariation)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(FontVariation)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mTag as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(FontVariation), - "::", - stringify!(mTag) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(FontVariation), - "::", - stringify!(mValue) - ) - ); - } - impl Clone for FontVariation { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct ScaleFactor { - pub _address: u8, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct UserData { - pub _bindgen_opaque_blob: [u64; 2usize], - } - pub type UserData_destroyFunc = u64; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct UserData_Entry { - pub _bindgen_opaque_blob: [u64; 3usize], - } - #[test] - fn bindgen_test_layout_UserData_Entry() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(UserData_Entry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(UserData_Entry)) - ); - } - impl Clone for UserData_Entry { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_UserData() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(UserData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(UserData)) - ); - } - impl Clone for UserData { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct SourceSurface__bindgen_vtable(::std::os::raw::c_void); - /// This is the base class for source surfaces. These objects are surfaces - /// which may be used as a source in a SurfacePattern or a DrawSurface call. - /// They cannot be drawn to directly. - /// - /// Although SourceSurface has thread-safe refcount, some SourceSurface cannot - /// be used on random threads at the same time. Only DataSourceSurface can be - /// used on random threads now. This will be fixed in the future. Eventually - /// all SourceSurface should be thread-safe. - #[repr(C)] - #[derive(Debug)] - pub struct SourceSurface { - pub vtable_: *const SourceSurface__bindgen_vtable, - pub _base: u64, - pub mUserData: root::mozilla::gfx::UserData, - } - #[test] - fn bindgen_test_layout_SourceSurface() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(SourceSurface)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(SourceSurface)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mUserData as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(SourceSurface), - "::", - stringify!(mUserData) - ) - ); - } - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum Side { - eSideTop = 0, - eSideRight = 1, - eSideBottom = 2, - eSideLeft = 3, - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum HalfCorner { - eCornerTopLeftX = 0, - eCornerTopLeftY = 1, - eCornerTopRightX = 2, - eCornerTopRightY = 3, - eCornerBottomRightX = 4, - eCornerBottomRightY = 5, - eCornerBottomLeftX = 6, - eCornerBottomLeftY = 7, - } - pub type MallocSizeOf = - ::std::option::Option usize>; - #[repr(C)] - #[derive(Debug)] - pub struct ThreadSafeAutoRefCnt { - pub mValue: u64, - } - pub const ThreadSafeAutoRefCnt_isThreadSafe: bool = true; - #[test] - fn bindgen_test_layout_ThreadSafeAutoRefCnt() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(ThreadSafeAutoRefCnt)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ThreadSafeAutoRefCnt)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ThreadSafeAutoRefCnt), - "::", - stringify!(mValue) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct ReverseIterator { - pub mCurrent: IteratorT, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type Array_iterator = *mut T; - pub type Array_const_iterator = *mut T; - pub type Array_reverse_iterator = root::mozilla::ReverseIterator; - pub type Array_const_reverse_iterator = root::mozilla::ReverseIterator; - /// # mozilla::Variant - /// - /// A variant / tagged union / heterogenous disjoint union / sum-type template - /// class. Similar in concept to (but not derived from) `boost::variant`. - /// - /// Sometimes, you may wish to use a C union with non-POD types. However, this is - /// forbidden in C++ because it is not clear which type in the union should have - /// its constructor and destructor run on creation and deletion - /// respectively. This is the problem that `mozilla::Variant` solves. - /// - /// ## Usage - /// - /// A `mozilla::Variant` instance is constructed (via move or copy) from one of - /// its variant types (ignoring const and references). It does *not* support - /// construction from subclasses of variant types or types that coerce to one of - /// the variant types. - /// - /// Variant v1('a'); - /// Variant, B, C> v2(MakeUnique()); - /// Variant v3(VariantType, 0); // disambiguation needed - /// Variant v4(VariantIndex<1>, 0); // 2nd int - /// - /// Because specifying the full type of a Variant value is often verbose, - /// there are two easier ways to construct values: - /// - /// A. AsVariant() can be used to construct a Variant value using type inference - /// in contexts such as expressions or when returning values from functions. - /// Because AsVariant() must copy or move the value into a temporary and this - /// cannot necessarily be elided by the compiler, it's mostly appropriate only - /// for use with primitive or very small types. - /// - /// Variant Foo() { return AsVariant('x'); } - /// // ... - /// Variant v1 = Foo(); // v1 holds char('x'). - /// - /// B. Brace-construction with VariantType or VariantIndex; this also allows - /// in-place construction with any number of arguments. - /// - /// struct AB { AB(int, int){...} }; - /// static Variant foo() - /// { - /// return {VariantIndex<0>{}, 1, 2}; - /// } - /// // ... - /// Variant v0 = Foo(); // v0 holds AB(1,2). - /// - /// All access to the contained value goes through type-safe accessors. - /// Either the stored type, or the type index may be provided. - /// - /// void - /// Foo(Variant v) - /// { - /// if (v.is()) { - /// A& ref = v.as(); - /// ... - /// } else (v.is<1>()) { // Instead of v.is. - /// ... - /// } else { - /// ... - /// } - /// } - /// - /// In some situation, a Variant may be constructed from templated types, in - /// which case it is possible that the same type could be given multiple times by - /// an external developer. Or seemingly-different types could be aliases. - /// In this case, repeated types can only be accessed through their index, to - /// prevent ambiguous access by type. - /// - /// // Bad! - /// template - /// struct ResultOrError - /// { - /// Variant m; - /// ResultOrError() : m(int(0)) {} // Error '0' by default - /// ResultOrError(const T& r) : m(r) {} - /// bool IsResult() const { return m.is(); } - /// bool IsError() const { return m.is(); } - /// }; - /// // Now instantiante with the result being an int too: - /// ResultOrError myResult(123); // Fail! - /// // In Variant, which 'int' are we refering to, from inside - /// // ResultOrError functions? - /// - /// // Good! - /// template - /// struct ResultOrError - /// { - /// Variant m; - /// ResultOrError() : m(VariantIndex<1>{}, 0) {} // Error '0' by default - /// ResultOrError(const T& r) : m(VariantIndex<0>{}, r) {} - /// bool IsResult() const { return m.is<0>(); } // 0 -> T - /// bool IsError() const { return m.is<1>(); } // 1 -> int - /// }; - /// // Now instantiante with the result being an int too: - /// ResultOrError myResult(123); // It now works! - /// - /// Attempting to use the contained value as type `T1` when the `Variant` - /// instance contains a value of type `T2` causes an assertion failure. - /// - /// A a; - /// Variant v(a); - /// v.as(); // <--- Assertion failure! - /// - /// Trying to use a `Variant` instance as some type `U` that is not a - /// member of the set of `Ts...` is a compiler error. - /// - /// A a; - /// Variant v(a); - /// v.as(); // <--- Compiler error! - /// - /// Additionally, you can turn a `Variant` that `is` into a `T` by moving it - /// out of the containing `Variant` instance with the `extract` method: - /// - /// Variant, B, C> v(MakeUnique()); - /// auto ptr = v.extract>(); - /// - /// Finally, you can exhaustively match on the contained variant and branch into - /// different code paths depending on which type is contained. This is preferred - /// to manually checking every variant type T with is() because it provides - /// compile-time checking that you handled every type, rather than runtime - /// assertion failures. - /// - /// // Bad! - /// char* foo(Variant& v) { - /// if (v.is()) { - /// return ...; - /// } else if (v.is()) { - /// return ...; - /// } else { - /// return doSomething(v.as()); // Forgot about case D! - /// } - /// } - /// - /// // Good! - /// struct FooMatcher - /// { - /// // The return type of all matchers must be identical. - /// char* match(A& a) { ... } - /// char* match(B& b) { ... } - /// char* match(C& c) { ... } - /// char* match(D& d) { ... } // Compile-time error to forget D! - /// } - /// char* foo(Variant& v) { - /// return v.match(FooMatcher()); - /// } - /// - /// ## Examples - /// - /// A tree is either an empty leaf, or a node with a value and two children: - /// - /// struct Leaf { }; - /// - /// template - /// struct Node - /// { - /// T value; - /// Tree* left; - /// Tree* right; - /// }; - /// - /// template - /// using Tree = Variant>; - /// - /// A copy-on-write string is either a non-owning reference to some existing - /// string, or an owning reference to our copy: - /// - /// class CopyOnWriteString - /// { - /// Variant> string; - /// - /// ... - /// }; - /// - /// Because Variant must be aligned suitable to hold any value stored within it, - /// and because |alignas| requirements don't affect platform ABI with respect to - /// how parameters are laid out in memory, Variant can't be used as the type of a - /// function parameter. Pass Variant to functions by pointer or reference - /// instead. - #[repr(C)] - #[derive(Debug)] - pub struct Variant { - pub rawData: *mut ::std::os::raw::c_uchar, - pub tag: root::mozilla::Variant_Tag, - } - pub type Variant_Tag = root::mozilla::detail::VariantTag; - pub type Variant_Impl = u8; - pub mod layers { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct LayerManager { - _unused: [u8; 0], - } - impl Clone for LayerManager { - fn clone(&self) -> Self { - *self - } - } - } - pub mod dom { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AllOwningUnionBase { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_AllOwningUnionBase() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(AllOwningUnionBase)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(AllOwningUnionBase)) - ); - } - impl Clone for AllOwningUnionBase { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct GlobalObject { - pub mGlobalJSObject: [u64; 3usize], - pub mCx: *mut root::JSContext, - pub mGlobalObject: *mut root::nsISupports, - } - #[test] - fn bindgen_test_layout_GlobalObject() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(GlobalObject)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GlobalObject)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mGlobalJSObject as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GlobalObject), - "::", - stringify!(mGlobalJSObject) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mCx as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(GlobalObject), - "::", - stringify!(mCx) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mGlobalObject as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(GlobalObject), - "::", - stringify!(mGlobalObject) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Sequence { - pub _address: u8, - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum CallerType { - System = 0, - NonSystem = 1, - } - #[repr(C)] - pub struct URLParams { - pub mParams: root::nsTArray, - } - #[repr(C)] - pub struct URLParams_ForEachIterator__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug, Copy)] - pub struct URLParams_ForEachIterator { - pub vtable_: *const URLParams_ForEachIterator__bindgen_vtable, - } - #[test] - fn bindgen_test_layout_URLParams_ForEachIterator() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(URLParams_ForEachIterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(URLParams_ForEachIterator)) - ); - } - impl Clone for URLParams_ForEachIterator { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct URLParams_Param { - pub mKey: ::nsstring::nsStringRepr, - pub mValue: ::nsstring::nsStringRepr, - } - #[test] - fn bindgen_test_layout_URLParams_Param() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(URLParams_Param)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(URLParams_Param)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKey as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(URLParams_Param), - "::", - stringify!(mKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(URLParams_Param), - "::", - stringify!(mValue) - ) - ); - } - #[test] - fn bindgen_test_layout_URLParams() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(URLParams)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(URLParams)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mParams as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(URLParams), - "::", - stringify!(mParams) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DocGroup { - _unused: [u8; 0], - } - impl Clone for DocGroup { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TabGroup { - _unused: [u8; 0], - } - impl Clone for TabGroup { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Nullable { - pub _address: u8, - } - pub mod prototypes { - #[allow(unused_imports)] - use self::super::super::super::super::root; - } - pub mod constructors { - #[allow(unused_imports)] - use self::super::super::super::super::root; - } - pub mod namedpropertiesobjects { - #[allow(unused_imports)] - use self::super::super::super::super::root; - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Promise { - _unused: [u8; 0], - } - impl Clone for Promise { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ClientSource { - _unused: [u8; 0], - } - impl Clone for ClientSource { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ImageTracker { - _unused: [u8; 0], - } - impl Clone for ImageTracker { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct SRIMetadata { - pub mHashes: root::nsTArray, - pub mIntegrityString: ::nsstring::nsStringRepr, - pub mAlgorithm: root::nsCString, - pub mAlgorithmType: i8, - pub mEmpty: bool, - } - pub const SRIMetadata_MAX_ALTERNATE_HASHES: u32 = 256; - pub const SRIMetadata_UNKNOWN_ALGORITHM: i8 = -1; - #[test] - fn bindgen_test_layout_SRIMetadata() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(SRIMetadata)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(SRIMetadata)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mHashes as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(SRIMetadata), - "::", - stringify!(mHashes) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIntegrityString as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(SRIMetadata), - "::", - stringify!(mIntegrityString) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAlgorithm as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(SRIMetadata), - "::", - stringify!(mAlgorithm) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAlgorithmType as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(SRIMetadata), - "::", - stringify!(mAlgorithmType) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEmpty as *const _ as usize }, - 41usize, - concat!( - "Offset of field: ", - stringify!(SRIMetadata), - "::", - stringify!(mEmpty) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct CSSImportRule { - _unused: [u8; 0], - } - impl Clone for CSSImportRule { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct NodeInfo { - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mDocument: *mut root::nsIDocument, - pub mInner: root::mozilla::dom::NodeInfo_NodeInfoInner, - pub mOwnerManager: root::RefPtr, - pub mQualifiedName: ::nsstring::nsStringRepr, - pub mNodeName: ::nsstring::nsStringRepr, - pub mLocalName: ::nsstring::nsStringRepr, - } - pub type NodeInfo_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct NodeInfo_cycleCollection { - pub _base: root::nsCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_NodeInfo_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(NodeInfo_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(NodeInfo_cycleCollection)) - ); - } - impl Clone for NodeInfo_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct NodeInfo_NodeInfoInner { - pub mName: *const root::nsAtom, - pub mPrefix: *mut root::nsAtom, - pub mNamespaceID: i32, - pub mNodeType: u16, - pub mNameString: *const root::nsAString, - pub mExtraName: *mut root::nsAtom, - pub mHash: [u32; 2usize], - } - #[test] - fn bindgen_test_layout_NodeInfo_NodeInfoInner() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(NodeInfo_NodeInfoInner)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(NodeInfo_NodeInfoInner)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mName as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrefix as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mPrefix) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNamespaceID as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mNamespaceID) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNodeType as *const _ - as usize - }, - 20usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mNodeType) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNameString as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mNameString) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mExtraName as *const _ - as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mExtraName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHash as *const _ - as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo_NodeInfoInner), - "::", - stringify!(mHash) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom8NodeInfo21_cycleCollectorGlobalE"] - pub static mut NodeInfo__cycleCollectorGlobal: - root::mozilla::dom::NodeInfo_cycleCollection; - } - #[test] - fn bindgen_test_layout_NodeInfo() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(NodeInfo)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(NodeInfo)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mInner as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mInner) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOwnerManager as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mOwnerManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mQualifiedName as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mQualifiedName) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNodeName as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mNodeName) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLocalName as *const _ as usize }, - 104usize, - concat!( - "Offset of field: ", - stringify!(NodeInfo), - "::", - stringify!(mLocalName) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct EventTarget { - pub _base: root::nsIDOMEventTarget, - pub _base_1: root::nsWrapperCache, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct EventTarget_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_EventTarget() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(EventTarget)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(EventTarget)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct BoxQuadOptions { - _unused: [u8; 0], - } - impl Clone for BoxQuadOptions { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ConvertCoordinateOptions { - _unused: [u8; 0], - } - impl Clone for ConvertCoordinateOptions { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMPoint { - _unused: [u8; 0], - } - impl Clone for DOMPoint { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMQuad { - _unused: [u8; 0], - } - impl Clone for DOMQuad { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TextOrElementOrDocument { - _unused: [u8; 0], - } - impl Clone for TextOrElementOrDocument { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMPointInit { - _unused: [u8; 0], - } - impl Clone for DOMPointInit { - fn clone(&self) -> Self { - *self - } - } - pub const VisibilityState_Hidden: root::mozilla::dom::VisibilityState = 0; - pub const VisibilityState_Visible: root::mozilla::dom::VisibilityState = 1; - pub const VisibilityState_EndGuard_: root::mozilla::dom::VisibilityState = 2; - pub type VisibilityState = u8; - pub const FlashClassification_Unclassified: root::mozilla::dom::FlashClassification = 0; - pub const FlashClassification_Unknown: root::mozilla::dom::FlashClassification = 1; - pub const FlashClassification_Allowed: root::mozilla::dom::FlashClassification = 2; - pub const FlashClassification_Denied: root::mozilla::dom::FlashClassification = 3; - pub const FlashClassification_EndGuard_: root::mozilla::dom::FlashClassification = 4; - pub type FlashClassification = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct IPCClientInfo { - _unused: [u8; 0], - } - impl Clone for IPCClientInfo { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct DispatcherTrait__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DispatcherTrait { - pub vtable_: *const DispatcherTrait__bindgen_vtable, - } - #[test] - fn bindgen_test_layout_DispatcherTrait() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(DispatcherTrait)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DispatcherTrait)) - ); - } - impl Clone for DispatcherTrait { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct IPCServiceWorkerDescriptor { - _unused: [u8; 0], - } - impl Clone for IPCServiceWorkerDescriptor { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AudioContext { - _unused: [u8; 0], - } - impl Clone for AudioContext { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Navigator { - _unused: [u8; 0], - } - impl Clone for Navigator { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Performance { - _unused: [u8; 0], - } - impl Clone for Performance { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TimeoutManager { - _unused: [u8; 0], - } - impl Clone for TimeoutManager { - fn clone(&self) -> Self { - *self - } - } - pub const LargeAllocStatus_NONE: root::mozilla::dom::LargeAllocStatus = 0; - pub const LargeAllocStatus_SUCCESS: root::mozilla::dom::LargeAllocStatus = 1; - pub const LargeAllocStatus_NON_GET: root::mozilla::dom::LargeAllocStatus = 2; - pub const LargeAllocStatus_NON_E10S: root::mozilla::dom::LargeAllocStatus = 3; - pub const LargeAllocStatus_NOT_ONLY_TOPLEVEL_IN_TABGROUP: - root::mozilla::dom::LargeAllocStatus = 4; - pub const LargeAllocStatus_NON_WIN32: root::mozilla::dom::LargeAllocStatus = 5; - pub type LargeAllocStatus = u8; - /// Struct that stores info on an attribute. The name and value must either both - /// be null or both be non-null. - /// - /// Note that, just as the pointers returned by GetAttrNameAt, the pointers that - /// this struct hold are only valid until the element or its attributes are - /// mutated (directly or via script). - #[repr(C)] - #[derive(Debug, Copy)] - pub struct BorrowedAttrInfo { - pub mName: *const root::nsAttrName, - pub mValue: *const root::nsAttrValue, - } - #[test] - fn bindgen_test_layout_BorrowedAttrInfo() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(BorrowedAttrInfo)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(BorrowedAttrInfo)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mName as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(BorrowedAttrInfo), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(BorrowedAttrInfo), - "::", - stringify!(mValue) - ) - ); - } - impl Clone for BorrowedAttrInfo { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FontFaceSet { - _unused: [u8; 0], - } - impl Clone for FontFaceSet { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct StyleSheetList { - _unused: [u8; 0], - } - impl Clone for StyleSheetList { - fn clone(&self) -> Self { - *self - } - } - /// A class meant to be shared by ShadowRoot and Document, that holds a list of - /// stylesheets. - /// - /// TODO(emilio, bug 1418159): In the future this should hold most of the - /// relevant style state, this should allow us to fix bug 548397. - #[repr(C)] - pub struct DocumentOrShadowRoot { - pub mStyleSheets: root::nsTArray>, - pub mDOMStyleSheets: root::RefPtr, - pub mIdentifierMap: [u64; 4usize], - pub mAsNode: *mut root::nsINode, - pub mKind: root::mozilla::dom::DocumentOrShadowRoot_Kind, - } - pub const DocumentOrShadowRoot_Kind_Document: - root::mozilla::dom::DocumentOrShadowRoot_Kind = 0; - pub const DocumentOrShadowRoot_Kind_ShadowRoot: - root::mozilla::dom::DocumentOrShadowRoot_Kind = 1; - pub type DocumentOrShadowRoot_Kind = i32; - pub const DocumentOrShadowRoot_ElementsFromPointFlags_IGNORE_ROOT_SCROLL_FRAME: - root::mozilla::dom::DocumentOrShadowRoot_ElementsFromPointFlags = 1; - pub const DocumentOrShadowRoot_ElementsFromPointFlags_FLUSH_LAYOUT: - root::mozilla::dom::DocumentOrShadowRoot_ElementsFromPointFlags = 2; - pub const DocumentOrShadowRoot_ElementsFromPointFlags_IS_ELEMENT_FROM_POINT: - root::mozilla::dom::DocumentOrShadowRoot_ElementsFromPointFlags = 4; - pub type DocumentOrShadowRoot_ElementsFromPointFlags = u32; - #[test] - fn bindgen_test_layout_DocumentOrShadowRoot() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(DocumentOrShadowRoot)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DocumentOrShadowRoot)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStyleSheets as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(DocumentOrShadowRoot), - "::", - stringify!(mStyleSheets) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDOMStyleSheets as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(DocumentOrShadowRoot), - "::", - stringify!(mDOMStyleSheets) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIdentifierMap as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(DocumentOrShadowRoot), - "::", - stringify!(mIdentifierMap) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAsNode as *const _ - as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(DocumentOrShadowRoot), - "::", - stringify!(mAsNode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKind as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(DocumentOrShadowRoot), - "::", - stringify!(mKind) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AboutCapabilities { - _unused: [u8; 0], - } - impl Clone for AboutCapabilities { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AnonymousContent { - _unused: [u8; 0], - } - impl Clone for AnonymousContent { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct BoxObject { - _unused: [u8; 0], - } - impl Clone for BoxObject { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DocumentTimeline { - _unused: [u8; 0], - } - impl Clone for DocumentTimeline { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMImplementation { - _unused: [u8; 0], - } - impl Clone for DOMImplementation { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FullscreenRequest { - _unused: [u8; 0], - } - impl Clone for FullscreenRequest { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct HTMLImageElement { - _unused: [u8; 0], - } - impl Clone for HTMLImageElement { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Link { - _unused: [u8; 0], - } - impl Clone for Link { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct MediaQueryList { - _unused: [u8; 0], - } - impl Clone for MediaQueryList { - fn clone(&self) -> Self { - *self - } - } - pub type OrientationType = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ScriptLoader { - _unused: [u8; 0], - } - impl Clone for ScriptLoader { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct XPathEvaluator { - _unused: [u8; 0], - } - impl Clone for XPathEvaluator { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct OwningNodeOrString { - pub mType: root::mozilla::dom::OwningNodeOrString_Type, - pub mValue: root::mozilla::dom::OwningNodeOrString_Value, - } - pub const OwningNodeOrString_Type_eUninitialized: - root::mozilla::dom::OwningNodeOrString_Type = 0; - pub const OwningNodeOrString_Type_eNode: root::mozilla::dom::OwningNodeOrString_Type = - 1; - pub const OwningNodeOrString_Type_eString: root::mozilla::dom::OwningNodeOrString_Type = - 2; - pub type OwningNodeOrString_Type = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct OwningNodeOrString_Value { - pub _bindgen_opaque_blob: [u64; 2usize], - } - #[test] - fn bindgen_test_layout_OwningNodeOrString_Value() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(OwningNodeOrString_Value)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(OwningNodeOrString_Value)) - ); - } - impl Clone for OwningNodeOrString_Value { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_OwningNodeOrString() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(OwningNodeOrString)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(OwningNodeOrString)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mType as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(OwningNodeOrString), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(OwningNodeOrString), - "::", - stringify!(mValue) - ) - ); - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum FillMode { - None = 0, - Forwards = 1, - Backwards = 2, - Both = 3, - Auto = 4, - EndGuard_ = 5, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum PlaybackDirection { - Normal = 0, - Reverse = 1, - Alternate = 2, - Alternate_reverse = 3, - EndGuard_ = 4, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct XBLChildrenElement { - _unused: [u8; 0], - } - impl Clone for XBLChildrenElement { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct CustomElementData { - _unused: [u8; 0], - } - impl Clone for CustomElementData { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct FragmentOrElement { - pub _base: root::nsIContent, - /// Array containing all attributes and children for this element - pub mAttrsAndChildren: root::nsAttrAndChildArray, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FragmentOrElement_cycleCollection { - pub _base: root::nsIContent_cycleCollection, - } - #[test] - fn bindgen_test_layout_FragmentOrElement_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(FragmentOrElement_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(FragmentOrElement_cycleCollection) - ) - ); - } - impl Clone for FragmentOrElement_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - /// There are a set of DOM- and scripting-specific instance variables - /// that may only be instantiated when a content object is accessed - /// through the DOM. Rather than burn actual slots in the content - /// objects for each of these instance variables, we put them off - /// in a side structure that's only allocated when the content is - /// accessed through the DOM. - #[repr(C)] - pub struct FragmentOrElement_nsExtendedDOMSlots { - pub _base: root::nsIContent_nsExtendedContentSlots, - /// SMIL Overridde style rules (for SMIL animation of CSS properties) - /// @see Element::GetSMILOverrideStyle - pub mSMILOverrideStyle: root::RefPtr, - /// Holds any SMIL override style declaration for this element. - pub mSMILOverrideStyleDeclaration: root::RefPtr, - /// The controllers of the XUL Element. - pub mControllers: root::nsCOMPtr, - /// An object implementing the .labels property for this element. - pub mLabelsList: root::RefPtr, - /// ShadowRoot bound to the element. - pub mShadowRoot: root::RefPtr, - /// XBL binding installed on the element. - pub mXBLBinding: root::RefPtr, - /// Web components custom element data. - pub mCustomElementData: root::RefPtr, - /// For XUL to hold either frameloader or opener. - pub mFrameLoaderOrOpener: root::nsCOMPtr, - } - #[test] - fn bindgen_test_layout_FragmentOrElement_nsExtendedDOMSlots() { - assert_eq!( - ::std::mem::size_of::(), - 104usize, - concat!( - "Size of: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(FragmentOrElement_nsExtendedDOMSlots) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mSMILOverrideStyle as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mSMILOverrideStyle) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mSMILOverrideStyleDeclaration as *const _ - as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mSMILOverrideStyleDeclaration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mControllers as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mControllers) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLabelsList - as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mLabelsList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mShadowRoot - as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mShadowRoot) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mXBLBinding - as *const _ as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mXBLBinding) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mCustomElementData as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mCustomElementData) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mFrameLoaderOrOpener as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsExtendedDOMSlots), - "::", - stringify!(mFrameLoaderOrOpener) - ) - ); - } - #[repr(C)] - pub struct FragmentOrElement_nsDOMSlots { - pub _base: root::nsIContent_nsContentSlots, - /// The .style attribute (an interface that forwards to the actual - /// style rules) - /// @see nsGenericHTMLElement::GetStyle - pub mStyle: root::nsCOMPtr, - /// The .dataset attribute. - /// @see nsGenericHTMLElement::GetDataset - pub mDataset: *mut root::nsDOMStringMap, - /// @see Element::Attributes - pub mAttributeMap: root::RefPtr, - /// An object implementing the .children property for this element. - pub mChildrenList: root::RefPtr, - /// An object implementing the .classList property for this element. - pub mClassList: root::RefPtr, - } - #[test] - fn bindgen_test_layout_FragmentOrElement_nsDOMSlots() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(FragmentOrElement_nsDOMSlots)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(FragmentOrElement_nsDOMSlots)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStyle as *const _ - as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsDOMSlots), - "::", - stringify!(mStyle) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDataset - as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsDOMSlots), - "::", - stringify!(mDataset) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAttributeMap - as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsDOMSlots), - "::", - stringify!(mAttributeMap) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChildrenList - as *const _ as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsDOMSlots), - "::", - stringify!(mChildrenList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mClassList - as *const _ as usize - }, - 112usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement_nsDOMSlots), - "::", - stringify!(mClassList) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom17FragmentOrElement21_cycleCollectorGlobalE"] - pub static mut FragmentOrElement__cycleCollectorGlobal: - root::mozilla::dom::FragmentOrElement_cycleCollection; - } - #[test] - fn bindgen_test_layout_FragmentOrElement() { - assert_eq!( - ::std::mem::size_of::(), - 104usize, - concat!("Size of: ", stringify!(FragmentOrElement)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(FragmentOrElement)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAttrsAndChildren as *const _ - as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(FragmentOrElement), - "::", - stringify!(mAttrsAndChildren) - ) - ); - } - #[repr(C)] - pub struct Attr { - pub _base: root::nsIAttribute, - pub _base_1: root::nsIDOMNode, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mValue: ::nsstring::nsStringRepr, - } - pub type Attr_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Attr_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_Attr_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(Attr_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Attr_cycleCollection)) - ); - } - impl Clone for Attr_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom4Attr21_cycleCollectorGlobalE"] - pub static mut Attr__cycleCollectorGlobal: root::mozilla::dom::Attr_cycleCollection; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom4Attr12sInitializedE"] - pub static mut Attr_sInitialized: bool; - } - #[test] - fn bindgen_test_layout_Attr() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(Attr)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Attr)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FrameRequestCallback { - pub _bindgen_opaque_blob: [u64; 6usize], - } - #[test] - fn bindgen_test_layout_FrameRequestCallback() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(FrameRequestCallback)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(FrameRequestCallback)) - ); - } - impl Clone for FrameRequestCallback { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct DOMRectReadOnly { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mParent: root::nsCOMPtr, - } - pub type DOMRectReadOnly_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMRectReadOnly_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_DOMRectReadOnly_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(DOMRectReadOnly_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DOMRectReadOnly_cycleCollection)) - ); - } - impl Clone for DOMRectReadOnly_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom15DOMRectReadOnly21_cycleCollectorGlobalE"] - pub static mut DOMRectReadOnly__cycleCollectorGlobal: - root::mozilla::dom::DOMRectReadOnly_cycleCollection; - } - #[test] - fn bindgen_test_layout_DOMRectReadOnly() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(DOMRectReadOnly)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DOMRectReadOnly)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct DOMRect { - pub _base: root::mozilla::dom::DOMRectReadOnly, - pub mX: f64, - pub mY: f64, - pub mWidth: f64, - pub mHeight: f64, - } - #[test] - fn bindgen_test_layout_DOMRect() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(DOMRect)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DOMRect)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mX as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(DOMRect), - "::", - stringify!(mX) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mY as *const _ as usize }, - 56usize, - concat!( - "Offset of field: ", - stringify!(DOMRect), - "::", - stringify!(mY) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mWidth as *const _ as usize }, - 64usize, - concat!( - "Offset of field: ", - stringify!(DOMRect), - "::", - stringify!(mWidth) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mHeight as *const _ as usize }, - 72usize, - concat!( - "Offset of field: ", - stringify!(DOMRect), - "::", - stringify!(mHeight) - ) - ); - } - pub const ShadowRootMode_Open: root::mozilla::dom::ShadowRootMode = 0; - pub const ShadowRootMode_Closed: root::mozilla::dom::ShadowRootMode = 1; - pub const ShadowRootMode_EndGuard_: root::mozilla::dom::ShadowRootMode = 2; - pub type ShadowRootMode = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct IntersectionCallback { - pub _bindgen_opaque_blob: [u64; 6usize], - } - #[test] - fn bindgen_test_layout_IntersectionCallback() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(IntersectionCallback)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(IntersectionCallback)) - ); - } - impl Clone for IntersectionCallback { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct DOMIntersectionObserverEntry { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mOwner: root::nsCOMPtr, - pub mTime: root::DOMHighResTimeStamp, - pub mRootBounds: root::RefPtr, - pub mBoundingClientRect: root::RefPtr, - pub mIntersectionRect: root::RefPtr, - pub mIsIntersecting: bool, - pub mTarget: root::RefPtr, - pub mIntersectionRatio: f64, - } - pub type DOMIntersectionObserverEntry_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMIntersectionObserverEntry_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_DOMIntersectionObserverEntry_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(DOMIntersectionObserverEntry_cycleCollection) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(DOMIntersectionObserverEntry_cycleCollection) - ) - ); - } - impl Clone for DOMIntersectionObserverEntry_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla3dom28DOMIntersectionObserverEntry21_cycleCollectorGlobalE" ] pub static mut DOMIntersectionObserverEntry__cycleCollectorGlobal : root :: mozilla :: dom :: DOMIntersectionObserverEntry_cycleCollection ; - } - #[test] - fn bindgen_test_layout_DOMIntersectionObserverEntry() { - assert_eq!( - ::std::mem::size_of::(), - 104usize, - concat!("Size of: ", stringify!(DOMIntersectionObserverEntry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DOMIntersectionObserverEntry)) - ); - } - #[repr(C)] - pub struct DOMIntersectionObserver { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mOwner: root::nsCOMPtr, - pub mDocument: root::RefPtr, - pub mCallback: root::RefPtr, - pub mRoot: root::RefPtr, - pub mRootMargin: root::nsStyleSides, - pub mThresholds: root::nsTArray, - pub mObservationTargets: root::nsTArray<*mut root::mozilla::dom::Element>, - pub mQueuedEntries: - root::nsTArray>, - pub mConnected: bool, - } - pub type DOMIntersectionObserver_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMIntersectionObserver_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_DOMIntersectionObserver_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(DOMIntersectionObserver_cycleCollection) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(DOMIntersectionObserver_cycleCollection) - ) - ); - } - impl Clone for DOMIntersectionObserver_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct DOMIntersectionObserver_COMTypeInfo { - pub _address: u8, - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla3dom23DOMIntersectionObserver21_cycleCollectorGlobalE" ] pub static mut DOMIntersectionObserver__cycleCollectorGlobal : root :: mozilla :: dom :: DOMIntersectionObserver_cycleCollection ; - } - #[test] - fn bindgen_test_layout_DOMIntersectionObserver() { - assert_eq!( - ::std::mem::size_of::(), - 144usize, - concat!("Size of: ", stringify!(DOMIntersectionObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DOMIntersectionObserver)) - ); - } - #[repr(C)] - pub struct Element { - pub _base: root::mozilla::dom::FragmentOrElement, - pub mState: root::mozilla::EventStates, - pub mServoData: ::gecko_bindings::structs::ServoCell<*mut ::gecko_bindings::structs::ServoNodeData>, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Element_COMTypeInfo { - pub _address: u8, - } - /// StyleStateLocks is used to specify which event states should be locked, - /// and whether they should be locked to on or off. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Element_StyleStateLocks { - pub mLocks: root::mozilla::EventStates, - pub mValues: root::mozilla::EventStates, - } - #[test] - fn bindgen_test_layout_Element_StyleStateLocks() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(Element_StyleStateLocks)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Element_StyleStateLocks)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLocks as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Element_StyleStateLocks), - "::", - stringify!(mLocks) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValues as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(Element_StyleStateLocks), - "::", - stringify!(mValues) - ) - ); - } - impl Clone for Element_StyleStateLocks { - fn clone(&self) -> Self { - *self - } - } - pub const Element_ATTR_MISSING: root::mozilla::dom::Element__bindgen_ty_1 = -1; - pub const Element_ATTR_VALUE_NO_MATCH: root::mozilla::dom::Element__bindgen_ty_1 = -2; - pub type Element__bindgen_ty_1 = i32; - /// Check whether this Element's given attribute has one of a given list of - /// values. If there is a match, we return the index in the list of the first - /// matching value. If there was no attribute at all, then we return - /// ATTR_MISSING. If there was an attribute but it didn't match, we return - /// ATTR_VALUE_NO_MATCH. A non-negative result always indicates a match. - /// - /// @param aNameSpaceID The namespace ID of the attribute. Must not - /// be kNameSpaceID_Unknown. - /// @param aName The name atom of the attribute. Must not be null. - /// @param aValues a nullptr-terminated array of pointers to atom values to test - /// against. - /// @param aCaseSensitive Whether to do a case-sensitive compare on the values. - /// @return ATTR_MISSING, ATTR_VALUE_NO_MATCH or the non-negative index - /// indicating the first value of aValues that matched - pub type Element_AttrValuesArray = *const *const root::nsStaticAtom; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Element_MappedAttributeEntry { - pub attribute: *mut *mut root::nsStaticAtom, - } - #[test] - fn bindgen_test_layout_Element_MappedAttributeEntry() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(Element_MappedAttributeEntry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Element_MappedAttributeEntry)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).attribute - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Element_MappedAttributeEntry), - "::", - stringify!(attribute) - ) - ); - } - impl Clone for Element_MappedAttributeEntry { - fn clone(&self) -> Self { - *self - } - } - /// Define a general matching function that can be passed to - /// GetElementsByMatching(). Each Element being considered is - /// passed in. - pub type Element_nsElementMatchFunc = ::std::option::Option< - unsafe extern "C" fn(aElement: *mut root::mozilla::dom::Element) -> bool, - >; - pub const Element_kAllServoDescendantBits: u32 = 12648448; - pub const Element_kFireMutationEvent: bool = true; - pub const Element_kDontFireMutationEvent: bool = false; - pub const Element_kNotifyDocumentObservers: bool = true; - pub const Element_kDontNotifyDocumentObservers: bool = false; - pub const Element_kCallAfterSetAttr: bool = true; - pub const Element_kDontCallAfterSetAttr: bool = false; - #[test] - fn bindgen_test_layout_Element() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(Element)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Element)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mState as *const _ as usize }, - 104usize, - concat!( - "Offset of field: ", - stringify!(Element), - "::", - stringify!(mState) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mServoData as *const _ as usize }, - 112usize, - concat!( - "Offset of field: ", - stringify!(Element), - "::", - stringify!(mServoData) - ) - ); - } - #[repr(C)] - pub struct HTMLSlotElement { - pub _base: root::nsGenericHTMLElement, - pub mAssignedNodes: root::nsTArray>, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct HTMLSlotElement_cycleCollection { - pub _base: root::mozilla::dom::FragmentOrElement_cycleCollection, - } - #[test] - fn bindgen_test_layout_HTMLSlotElement_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(HTMLSlotElement_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(HTMLSlotElement_cycleCollection)) - ); - } - impl Clone for HTMLSlotElement_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom15HTMLSlotElement21_cycleCollectorGlobalE"] - pub static mut HTMLSlotElement__cycleCollectorGlobal: - root::mozilla::dom::HTMLSlotElement_cycleCollection; - } - #[test] - fn bindgen_test_layout_HTMLSlotElement() { - assert_eq!( - ::std::mem::size_of::(), - 136usize, - concat!("Size of: ", stringify!(HTMLSlotElement)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(HTMLSlotElement)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAssignedNodes as *const _ - as usize - }, - 128usize, - concat!( - "Offset of field: ", - stringify!(HTMLSlotElement), - "::", - stringify!(mAssignedNodes) - ) - ); - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum CompositeOperation { - Replace = 0, - Add = 1, - Accumulate = 2, - EndGuard_ = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum IterationCompositeOperation { - Replace = 0, - Accumulate = 1, - EndGuard_ = 2, - } - #[repr(C)] - pub struct DocumentFragment { - pub _base: root::mozilla::dom::FragmentOrElement, - pub _base_1: root::nsIDOMDocumentFragment, - pub mHost: root::RefPtr, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DocumentFragment_cycleCollection { - pub _base: root::mozilla::dom::FragmentOrElement_cycleCollection, - } - #[test] - fn bindgen_test_layout_DocumentFragment_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(DocumentFragment_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(DocumentFragment_cycleCollection) - ) - ); - } - impl Clone for DocumentFragment_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom16DocumentFragment21_cycleCollectorGlobalE"] - pub static mut DocumentFragment__cycleCollectorGlobal: - root::mozilla::dom::DocumentFragment_cycleCollection; - } - #[test] - fn bindgen_test_layout_DocumentFragment() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(DocumentFragment)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DocumentFragment)) - ); - } - #[repr(C)] - pub struct ShadowRoot { - pub _base: root::mozilla::dom::DocumentFragment, - pub _base_1: root::mozilla::dom::DocumentOrShadowRoot, - pub _base_2: root::nsStubMutationObserver, - pub mMode: root::mozilla::dom::ShadowRootMode, - pub mServoStyles: root::mozilla::UniquePtr, - pub mStyleRuleMap: root::mozilla::UniquePtr, - pub mSlotMap: [u64; 4usize], - pub mIsComposedDocParticipant: bool, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ShadowRoot_cycleCollection { - pub _base: root::mozilla::dom::DocumentFragment_cycleCollection, - } - #[test] - fn bindgen_test_layout_ShadowRoot_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(ShadowRoot_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ShadowRoot_cycleCollection)) - ); - } - impl Clone for ShadowRoot_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - /// Represents the insertion point in a slot for a given node. - #[repr(C)] - #[derive(Debug)] - pub struct ShadowRoot_SlotAssignment { - pub mSlot: *mut root::mozilla::dom::HTMLSlotElement, - pub mIndex: [u32; 2usize], - } - #[test] - fn bindgen_test_layout_ShadowRoot_SlotAssignment() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(ShadowRoot_SlotAssignment)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ShadowRoot_SlotAssignment)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSlot as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ShadowRoot_SlotAssignment), - "::", - stringify!(mSlot) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIndex as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ShadowRoot_SlotAssignment), - "::", - stringify!(mIndex) - ) - ); - } - pub type ShadowRoot_SlotArray = u8; - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom10ShadowRoot21_cycleCollectorGlobalE"] - pub static mut ShadowRoot__cycleCollectorGlobal: - root::mozilla::dom::ShadowRoot_cycleCollection; - } - #[test] - fn bindgen_test_layout_ShadowRoot() { - assert_eq!( - ::std::mem::size_of::(), - 256usize, - concat!("Size of: ", stringify!(ShadowRoot)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ShadowRoot)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ExplicitChildIterator { - pub mParent: *const root::nsIContent, - pub mParentAsSlot: *const root::mozilla::dom::HTMLSlotElement, - pub mChild: *mut root::nsIContent, - pub mDefaultChild: *mut root::nsIContent, - pub mIsFirst: bool, - pub mIndexInInserted: u32, - } - #[test] - fn bindgen_test_layout_ExplicitChildIterator() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(ExplicitChildIterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ExplicitChildIterator)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mParent as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ExplicitChildIterator), - "::", - stringify!(mParent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mParentAsSlot as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ExplicitChildIterator), - "::", - stringify!(mParentAsSlot) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChild as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ExplicitChildIterator), - "::", - stringify!(mChild) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultChild as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ExplicitChildIterator), - "::", - stringify!(mDefaultChild) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsFirst as *const _ - as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(ExplicitChildIterator), - "::", - stringify!(mIsFirst) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIndexInInserted - as *const _ as usize - }, - 36usize, - concat!( - "Offset of field: ", - stringify!(ExplicitChildIterator), - "::", - stringify!(mIndexInInserted) - ) - ); - } - impl Clone for ExplicitChildIterator { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct FlattenedChildIterator { - pub _base: root::mozilla::dom::ExplicitChildIterator, - pub mOriginalContent: *const root::nsIContent, - pub mXBLInvolved: [u8; 2usize], - } - #[test] - fn bindgen_test_layout_FlattenedChildIterator() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(FlattenedChildIterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(FlattenedChildIterator)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOriginalContent - as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(FlattenedChildIterator), - "::", - stringify!(mOriginalContent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mXBLInvolved as *const _ - as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(FlattenedChildIterator), - "::", - stringify!(mXBLInvolved) - ) - ); - } - /// AllChildrenIterator traverses the children of an element including before / - /// after content and optionally XBL children. The iterator can be initialized - /// to start at the end by providing false for aStartAtBeginning in order to - /// start iterating in reverse from the last child. - /// - /// Note: it assumes that no mutation of the DOM or frame tree takes place during - /// iteration, and will break horribly if that is not true. - #[repr(C)] - #[derive(Debug)] - pub struct AllChildrenIterator { - pub _base: root::mozilla::dom::FlattenedChildIterator, - pub mAnonKids: root::nsTArray<*mut root::nsIContent>, - pub mAnonKidsIdx: u32, - pub mFlags: u32, - pub mPhase: root::mozilla::dom::AllChildrenIterator_IteratorPhase, - } - pub const AllChildrenIterator_IteratorPhase_eAtBegin: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 0; - pub const AllChildrenIterator_IteratorPhase_eAtBeforeKid: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 1; - pub const AllChildrenIterator_IteratorPhase_eAtExplicitKids: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 2; - pub const AllChildrenIterator_IteratorPhase_eAtAnonKids: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 3; - pub const AllChildrenIterator_IteratorPhase_eAtAfterKid: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 4; - pub const AllChildrenIterator_IteratorPhase_eAtEnd: - root::mozilla::dom::AllChildrenIterator_IteratorPhase = 5; - pub type AllChildrenIterator_IteratorPhase = u32; - #[test] - fn bindgen_test_layout_AllChildrenIterator() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(AllChildrenIterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(AllChildrenIterator)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAnonKids as *const _ - as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(AllChildrenIterator), - "::", - stringify!(mAnonKids) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAnonKidsIdx as *const _ - as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(AllChildrenIterator), - "::", - stringify!(mAnonKidsIdx) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFlags as *const _ as usize - }, - 68usize, - concat!( - "Offset of field: ", - stringify!(AllChildrenIterator), - "::", - stringify!(mFlags) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPhase as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(AllChildrenIterator), - "::", - stringify!(mPhase) - ) - ); - } - /// StyleChildrenIterator traverses the children of the element from the - /// perspective of the style system, particularly the children we need to - /// traverse during restyle. - /// - /// At present, this is identical to AllChildrenIterator with - /// (eAllChildren | eSkipDocumentLevelNativeAnonymousContent). We used to have - /// detect and skip any native anonymous children that are used to implement some - /// special magic in here that went away, but we keep the separate class so - /// we can reintroduce special magic back if needed. - /// - /// Note: it assumes that no mutation of the DOM or frame tree takes place during - /// iteration, and will break horribly if that is not true. - /// - /// We require this to be memmovable since Rust code can create and move - /// StyleChildrenIterators. - #[repr(C)] - #[derive(Debug)] - pub struct StyleChildrenIterator { - pub _base: root::mozilla::dom::AllChildrenIterator, - } - #[test] - fn bindgen_test_layout_StyleChildrenIterator() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(StyleChildrenIterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleChildrenIterator)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct MediaList { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mStyleSheet: *mut root::mozilla::StyleSheet, - } - pub type MediaList_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct MediaList_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_MediaList_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(MediaList_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(MediaList_cycleCollection)) - ); - } - impl Clone for MediaList_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3dom9MediaList21_cycleCollectorGlobalE"] - pub static mut MediaList__cycleCollectorGlobal: - root::mozilla::dom::MediaList_cycleCollection; - } - #[test] - fn bindgen_test_layout_MediaList() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(MediaList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(MediaList)) - ); - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct NotNull { - pub mBasePtr: T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub const FontFamilyType_eFamily_generic_first: root::mozilla::FontFamilyType = - FontFamilyType::eFamily_serif; - pub const FontFamilyType_eFamily_generic_last: root::mozilla::FontFamilyType = - FontFamilyType::eFamily_fantasy; - pub const FontFamilyType_eFamily_generic_count: root::mozilla::FontFamilyType = - FontFamilyType::eFamily_monospace; - #[repr(u32)] - /// 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 - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - 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, - eFamily_moz_emoji = 10, - } - /// 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: root::mozilla::FontFamilyType, - pub mName: ::nsstring::nsStringRepr, - } - #[test] - fn bindgen_test_layout_FontFamilyName() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(FontFamilyName)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(FontFamilyName)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(FontFamilyName), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mName as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(FontFamilyName), - "::", - stringify!(mName) - ) - ); - } - /// A refcounted array of FontFamilyNames. We use this to store the specified - /// value (in Servo) and the computed value (in both Gecko and Servo) of the - /// font-family property. - #[repr(C)] - pub struct SharedFontList { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mNames: root::nsTArray, - } - pub type SharedFontList_HasThreadSafeRefCnt = root::mozilla::TrueType; - extern "C" { - #[link_name = "\u{1}_ZN7mozilla14SharedFontList6sEmptyE"] - pub static mut SharedFontList_sEmpty: - root::mozilla::StaticRefPtr; - } - #[test] - fn bindgen_test_layout_SharedFontList() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(SharedFontList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(SharedFontList)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(SharedFontList), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNames as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(SharedFontList), - "::", - stringify!(mNames) - ) - ); - } - #[test] - fn __bindgen_test_layout_StaticRefPtr_open0_SharedFontList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::StaticRefPtr) - ) - ); - assert_eq ! ( :: std :: mem :: align_of :: < root :: mozilla :: StaticRefPtr < root :: mozilla :: SharedFontList > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: mozilla :: StaticRefPtr < root :: mozilla :: SharedFontList > ) ) ); - } - /// 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: root::mozilla::NotNull>, - pub mDefaultFontType: root::mozilla::FontFamilyType, - } - #[test] - fn bindgen_test_layout_FontFamilyList() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(FontFamilyList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(FontFamilyList)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontlist as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(FontFamilyList), - "::", - stringify!(mFontlist) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultFontType as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(FontFamilyList), - "::", - stringify!(mDefaultFontType) - ) - ); - } - pub type EnumeratedArray_ArrayType = u8; - pub type EnumeratedArray_iterator = root::mozilla::EnumeratedArray_ArrayType; - pub type EnumeratedArray_const_iterator = root::mozilla::EnumeratedArray_ArrayType; - pub type EnumeratedArray_reverse_iterator = root::mozilla::EnumeratedArray_ArrayType; - pub type EnumeratedArray_const_reverse_iterator = root::mozilla::EnumeratedArray_ArrayType; - /// A type that will in future encode a value as fixed point. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FontFixedPointValue { - pub mEncoded: i16, - } - #[test] - fn bindgen_test_layout_FontFixedPointValue() { - assert_eq!( - ::std::mem::size_of::(), - 2usize, - concat!("Size of: ", stringify!(FontFixedPointValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(FontFixedPointValue)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEncoded as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(FontFixedPointValue), - "::", - stringify!(mEncoded) - ) - ); - } - impl Clone for FontFixedPointValue { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FontWeight { - pub _base: root::mozilla::FontFixedPointValue, - } - #[test] - fn bindgen_test_layout_FontWeight() { - assert_eq!( - ::std::mem::size_of::(), - 2usize, - concat!("Size of: ", stringify!(FontWeight)) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(FontWeight)) - ); - } - impl Clone for FontWeight { - fn clone(&self) -> Self { - *self - } - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBasicShapeType { - Polygon = 0, - Circle = 1, - Ellipse = 2, - Inset = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBoxAlign { - Stretch = 0, - Start = 1, - Center = 2, - Baseline = 3, - End = 4, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBoxDecorationBreak { - Slice = 0, - Clone = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBoxDirection { - Normal = 0, - Reverse = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBoxOrient { - Horizontal = 0, - Vertical = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBoxPack { - Start = 0, - Center = 1, - End = 2, - Justify = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBoxSizing { - Content = 0, - Border = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleClear { - None = 0, - Left = 1, - Right = 2, - InlineStart = 3, - InlineEnd = 4, - Both = 5, - Line = 8, - Max = 13, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleGeometryBox { - ContentBox = 0, - PaddingBox = 1, - BorderBox = 2, - MarginBox = 3, - FillBox = 4, - StrokeBox = 5, - ViewBox = 6, - NoClip = 7, - Text = 8, - NoBox = 9, - MozAlmostPadding = 127, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleFillRule { - Nonzero = 0, - Evenodd = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleFloat { - None = 0, - Left = 1, - Right = 2, - InlineStart = 3, - InlineEnd = 4, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleFloatEdge { - ContentBox = 0, - MarginBox = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleHyphens { - None = 0, - Manual = 1, - Auto = 2, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleShapeRadius { - ClosestSide = 0, - FarthestSide = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleShapeSourceType { - None = 0, - URL = 1, - Image = 2, - Shape = 3, - Box = 4, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleStackSizing { - Ignore = 0, - StretchToFit = 1, - IgnoreHorizontal = 2, - IgnoreVertical = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleTextJustify { - None = 0, - Auto = 1, - InterWord = 2, - InterCharacter = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleUserFocus { - None = 0, - Ignore = 1, - Normal = 2, - SelectAll = 3, - SelectBefore = 4, - SelectAfter = 5, - SelectSame = 6, - SelectMenu = 7, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleUserSelect { - None = 0, - Text = 1, - Element = 2, - Elements = 3, - All = 4, - Toggle = 5, - TriState = 6, - Auto = 7, - MozAll = 8, - MozText = 9, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleUserInput { - None = 0, - Auto = 1, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleUserModify { - ReadOnly = 0, - ReadWrite = 1, - WriteOnly = 2, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleWindowDragging { - Default = 0, - Drag = 1, - NoDrag = 2, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleOrient { - Inline = 0, - Block = 1, - Horizontal = 2, - Vertical = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleImageLayerRepeat { - NoRepeat = 0, - RepeatX = 1, - RepeatY = 2, - Repeat = 3, - Space = 4, - Round = 5, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleBorderImageRepeat { - Stretch = 0, - Repeat = 1, - Round = 2, - Space = 3, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleDisplay { - None = 0, - Block = 1, - FlowRoot = 2, - Inline = 3, - InlineBlock = 4, - ListItem = 5, - Table = 6, - InlineTable = 7, - TableRowGroup = 8, - TableColumn = 9, - TableColumnGroup = 10, - TableHeaderGroup = 11, - TableFooterGroup = 12, - TableRow = 13, - TableCell = 14, - TableCaption = 15, - Flex = 16, - InlineFlex = 17, - Grid = 18, - InlineGrid = 19, - Ruby = 20, - RubyBase = 21, - RubyBaseContainer = 22, - RubyText = 23, - RubyTextContainer = 24, - Contents = 25, - WebkitBox = 26, - WebkitInlineBox = 27, - MozBox = 28, - MozInlineBox = 29, - MozGrid = 30, - MozInlineGrid = 31, - MozGridGroup = 32, - MozGridLine = 33, - MozStack = 34, - MozInlineStack = 35, - MozDeck = 36, - MozGroupbox = 37, - MozPopup = 38, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleGridTrackBreadth { - MaxContent = 1, - MinContent = 2, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleWhiteSpace { - Normal = 0, - Pre = 1, - Nowrap = 2, - PreWrap = 3, - PreLine = 4, - PreSpace = 5, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleOverscrollBehavior { - Auto = 0, - Contain = 1, - None = 2, - } - /// The default of not using CORS to validate cross-origin loads. - pub const CORSMode_CORS_NONE: root::mozilla::CORSMode = 0; - /// Validate cross-site loads using CORS, but do not send any credentials - /// (cookies, HTTP auth logins, etc) along with the request. - pub const CORSMode_CORS_ANONYMOUS: root::mozilla::CORSMode = 1; - /// Validate cross-site loads using CORS, and send credentials such as cookies - /// and HTTP auth logins along with the request. - pub const CORSMode_CORS_USE_CREDENTIALS: root::mozilla::CORSMode = 2; - pub type CORSMode = u8; - pub const ServoTraversalFlags_Empty: root::mozilla::ServoTraversalFlags = 0; - pub const ServoTraversalFlags_AnimationOnly: root::mozilla::ServoTraversalFlags = 1; - pub const ServoTraversalFlags_ForCSSRuleChanges: root::mozilla::ServoTraversalFlags = 2; - pub const ServoTraversalFlags_Forgetful: root::mozilla::ServoTraversalFlags = 8; - pub const ServoTraversalFlags_ClearDirtyBits: root::mozilla::ServoTraversalFlags = 32; - pub const ServoTraversalFlags_ClearAnimationOnlyDirtyDescendants: - root::mozilla::ServoTraversalFlags = 64; - pub const ServoTraversalFlags_ParallelTraversal: root::mozilla::ServoTraversalFlags = 128; - pub const ServoTraversalFlags_FlushThrottledAnimations: root::mozilla::ServoTraversalFlags = - 256; - pub type ServoTraversalFlags = u32; - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum StyleRuleInclusion { - All = 0, - DefaultOnly = 1, - } - pub const UpdateAnimationsTasks_CSSAnimations: root::mozilla::UpdateAnimationsTasks = 1; - pub const UpdateAnimationsTasks_CSSTransitions: root::mozilla::UpdateAnimationsTasks = 2; - pub const UpdateAnimationsTasks_EffectProperties: root::mozilla::UpdateAnimationsTasks = 4; - pub const UpdateAnimationsTasks_CascadeResults: root::mozilla::UpdateAnimationsTasks = 8; - pub const UpdateAnimationsTasks_DisplayChangedFromNone: - root::mozilla::UpdateAnimationsTasks = 16; - pub type UpdateAnimationsTasks = u8; - pub const ParsingMode_Default: root::mozilla::ParsingMode = 0; - pub const ParsingMode_AllowUnitlessLength: root::mozilla::ParsingMode = 1; - pub const ParsingMode_AllowAllNumericValues: root::mozilla::ParsingMode = 2; - pub type ParsingMode = u8; - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum InheritTarget { - Text = 0, - FirstLetterContinuation = 1, - PlaceholderFrame = 2, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ServoStyleSetSizes { - pub mRuleTree: usize, - pub mPrecomputedPseudos: usize, - pub mElementAndPseudosMaps: usize, - pub mInvalidationMap: usize, - pub mRevalidationSelectors: usize, - pub mOther: usize, - } - #[test] - fn bindgen_test_layout_ServoStyleSetSizes() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(ServoStyleSetSizes)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleSetSizes)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRuleTree as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSetSizes), - "::", - stringify!(mRuleTree) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrecomputedPseudos as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSetSizes), - "::", - stringify!(mPrecomputedPseudos) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElementAndPseudosMaps - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSetSizes), - "::", - stringify!(mElementAndPseudosMaps) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInvalidationMap as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSetSizes), - "::", - stringify!(mInvalidationMap) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRevalidationSelectors - as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSetSizes), - "::", - stringify!(mRevalidationSelectors) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOther as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSetSizes), - "::", - stringify!(mOther) - ) - ); - } - impl Clone for ServoStyleSetSizes { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct LinkedListElement { - pub mNext: *mut root::mozilla::LinkedListElement, - pub mPrev: *mut root::mozilla::LinkedListElement, - pub mIsSentinel: bool, - } - pub type LinkedListElement_Traits = root::mozilla::detail::LinkedListElementTraits; - pub type LinkedListElement_RawType = root::mozilla::LinkedListElement_Traits; - pub type LinkedListElement_ConstRawType = root::mozilla::LinkedListElement_Traits; - pub type LinkedListElement_ClientType = root::mozilla::LinkedListElement_Traits; - pub type LinkedListElement_ConstClientType = root::mozilla::LinkedListElement_Traits; - pub const LinkedListElement_NodeKind_Normal: root::mozilla::LinkedListElement_NodeKind = 0; - pub const LinkedListElement_NodeKind_Sentinel: root::mozilla::LinkedListElement_NodeKind = - 0; - pub type LinkedListElement_NodeKind = i32; - #[repr(C)] - #[derive(Debug)] - pub struct LinkedList { - pub sentinel: root::mozilla::LinkedListElement, - } - pub type LinkedList_Traits = root::mozilla::detail::LinkedListElementTraits; - pub type LinkedList_RawType = root::mozilla::LinkedList_Traits; - pub type LinkedList_ConstRawType = root::mozilla::LinkedList_Traits; - pub type LinkedList_ClientType = root::mozilla::LinkedList_Traits; - pub type LinkedList_ConstClientType = root::mozilla::LinkedList_Traits; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct LinkedList_Iterator { - pub mCurrent: root::mozilla::LinkedList_RawType, - } - pub type TimeStampValue = u64; - /// Instances of this class represent the length of an interval of time. - /// Negative durations are allowed, meaning the end is before the start. - /// - /// Internally the duration is stored as a int64_t in units of - /// PR_TicksPerSecond() when building with NSPR interval timers, or a - /// system-dependent unit when building with system clocks. The - /// system-dependent unit must be constant, otherwise the semantics of - /// this class would be broken. - /// - /// The ValueCalculator template parameter determines how arithmetic - /// operations are performed on the integer count of ticks (mValue). - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct BaseTimeDuration { - pub mValue: i64, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct BaseTimeDuration__SomethingVeryRandomHere { - _unused: [u8; 0], - } - /// Perform arithmetic operations on the value of a BaseTimeDuration without - /// doing strict checks on the range of values. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TimeDurationValueCalculator { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_TimeDurationValueCalculator() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(TimeDurationValueCalculator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(TimeDurationValueCalculator)) - ); - } - impl Clone for TimeDurationValueCalculator { - fn clone(&self) -> Self { - *self - } - } - /// Specialization of BaseTimeDuration that uses TimeDurationValueCalculator for - /// arithmetic on the mValue member. - /// - /// Use this class for time durations that are *not* expected to hold values of - /// Forever (or the negative equivalent) or when such time duration are *not* - /// expected to be used in arithmetic operations. - pub type TimeDuration = root::mozilla::BaseTimeDuration; - /// Instances of this class represent moments in time, or a special - /// "null" moment. We do not use the non-monotonic system clock or - /// local time, since they can be reset, causing apparent backward - /// travel in time, which can confuse algorithms. Instead we measure - /// elapsed time according to the system. This time can never go - /// backwards (i.e. it never wraps around, at least not in less than - /// five million years of system elapsed time). It might not advance - /// while the system is sleeping. If TimeStamp::SetNow() is not called - /// at all for hours or days, we might not notice the passage of some - /// of that time. - /// - /// We deliberately do not expose a way to convert TimeStamps to some - /// particular unit. All you can do is compute a difference between two - /// TimeStamps to get a TimeDuration. You can also add a TimeDuration - /// to a TimeStamp to get a new TimeStamp. You can't do something - /// meaningless like add two TimeStamps. - /// - /// Internally this is implemented as either a wrapper around - /// - high-resolution, monotonic, system clocks if they exist on this - /// platform - /// - PRIntervalTime otherwise. We detect wraparounds of - /// PRIntervalTime and work around them. - /// - /// This class is similar to C++11's time_point, however it is - /// explicitly nullable and provides an IsNull() method. time_point - /// is initialized to the clock's epoch and provides a - /// time_since_epoch() method that functions similiarly. i.e. - /// t.IsNull() is equivalent to t.time_since_epoch() == decltype(t)::duration::zero(); - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TimeStamp { - /// When built with PRIntervalTime, a value of 0 means this instance - /// is "null". Otherwise, the low 32 bits represent a PRIntervalTime, - /// and the high 32 bits represent a counter of the number of - /// rollovers of PRIntervalTime that we've seen. This counter starts - /// at 1 to avoid a real time colliding with the "null" value. - /// - /// PR_INTERVAL_MAX is set at 100,000 ticks per second. So the minimum - /// time to wrap around is about 2^64/100000 seconds, i.e. about - /// 5,849,424 years. - /// - /// When using a system clock, a value is system dependent. - pub mValue: root::mozilla::TimeStampValue, - } - #[test] - fn bindgen_test_layout_TimeStamp() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(TimeStamp)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(TimeStamp)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(TimeStamp), - "::", - stringify!(mValue) - ) - ); - } - impl Clone for TimeStamp { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct MallocAllocPolicy { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_MallocAllocPolicy() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(MallocAllocPolicy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(MallocAllocPolicy)) - ); - } - impl Clone for MallocAllocPolicy { - fn clone(&self) -> Self { - *self - } - } - pub type Vector_Impl = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Vector_CapacityAndReserved { - pub mCapacity: usize, - } - pub type Vector_ElementType = T; - pub const Vector_InlineLength: root::mozilla::Vector__bindgen_ty_1 = 0; - pub type Vector__bindgen_ty_1 = i32; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Vector_Range { - pub mCur: *mut T, - pub mEnd: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Vector_ConstRange { - pub mCur: *mut T, - pub mEnd: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub mod binding_danger { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AssertAndSuppressCleanupPolicy { - pub _address: u8, - } - pub const AssertAndSuppressCleanupPolicy_assertHandled: bool = true; - pub const AssertAndSuppressCleanupPolicy_suppress: bool = true; - #[test] - fn bindgen_test_layout_AssertAndSuppressCleanupPolicy() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(AssertAndSuppressCleanupPolicy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(AssertAndSuppressCleanupPolicy)) - ); - } - impl Clone for AssertAndSuppressCleanupPolicy { - fn clone(&self) -> Self { - *self - } - } - } - #[repr(C)] - #[derive(Debug)] - pub struct URLExtraData { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mBaseURI: root::nsCOMPtr, - pub mReferrer: root::nsCOMPtr, - pub mPrincipal: root::nsCOMPtr, - pub mIsChrome: bool, - } - pub type URLExtraData_HasThreadSafeRefCnt = root::mozilla::TrueType; - extern "C" { - #[link_name = "\u{1}_ZN7mozilla12URLExtraData6sDummyE"] - pub static mut URLExtraData_sDummy: - root::mozilla::StaticRefPtr; - } - #[test] - fn bindgen_test_layout_URLExtraData() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(URLExtraData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(URLExtraData)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(URLExtraData), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBaseURI as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(URLExtraData), - "::", - stringify!(mBaseURI) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mReferrer as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(URLExtraData), - "::", - stringify!(mReferrer) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPrincipal as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(URLExtraData), - "::", - stringify!(mPrincipal) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mIsChrome as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(URLExtraData), - "::", - stringify!(mIsChrome) - ) - ); - } - #[test] - fn __bindgen_test_layout_StaticRefPtr_open0_URLExtraData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::StaticRefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::StaticRefPtr) - ) - ); - } - pub const CSSEnabledState_eForAllContent: root::mozilla::CSSEnabledState = 0; - pub const CSSEnabledState_eInUASheets: root::mozilla::CSSEnabledState = 1; - pub const CSSEnabledState_eInChrome: root::mozilla::CSSEnabledState = 2; - pub const CSSEnabledState_eIgnoreEnabledState: root::mozilla::CSSEnabledState = 255; - pub type CSSEnabledState = i32; - pub const UseCounter_eUseCounter_UNKNOWN: root::mozilla::UseCounter = -1; - pub const UseCounter_eUseCounter_SVGSVGElement_getElementById: root::mozilla::UseCounter = - 0; - pub const UseCounter_eUseCounter_SVGSVGElement_currentScale_getter: - root::mozilla::UseCounter = 1; - pub const UseCounter_eUseCounter_SVGSVGElement_currentScale_setter: - root::mozilla::UseCounter = 2; - pub const UseCounter_eUseCounter_property_Fill: root::mozilla::UseCounter = 3; - pub const UseCounter_eUseCounter_property_FillOpacity: root::mozilla::UseCounter = 4; - pub const UseCounter_eUseCounter_XMLDocument_async_getter: root::mozilla::UseCounter = 5; - pub const UseCounter_eUseCounter_XMLDocument_async_setter: root::mozilla::UseCounter = 6; - pub const UseCounter_eUseCounter_DOMError_name_getter: root::mozilla::UseCounter = 7; - pub const UseCounter_eUseCounter_DOMError_name_setter: root::mozilla::UseCounter = 8; - pub const UseCounter_eUseCounter_DOMError_message_getter: root::mozilla::UseCounter = 9; - pub const UseCounter_eUseCounter_DOMError_message_setter: root::mozilla::UseCounter = 10; - pub const UseCounter_eUseCounter_custom_DOMErrorConstructor: root::mozilla::UseCounter = 11; - pub const UseCounter_eUseCounter_PushManager_subscribe: root::mozilla::UseCounter = 12; - pub const UseCounter_eUseCounter_PushSubscription_unsubscribe: root::mozilla::UseCounter = - 13; - pub const UseCounter_eUseCounter_Window_sidebar_getter: root::mozilla::UseCounter = 14; - pub const UseCounter_eUseCounter_Window_sidebar_setter: root::mozilla::UseCounter = 15; - pub const UseCounter_eUseCounter_OfflineResourceList_swapCache: root::mozilla::UseCounter = - 16; - pub const UseCounter_eUseCounter_OfflineResourceList_update: root::mozilla::UseCounter = 17; - pub const UseCounter_eUseCounter_OfflineResourceList_status_getter: - root::mozilla::UseCounter = 18; - pub const UseCounter_eUseCounter_OfflineResourceList_status_setter: - root::mozilla::UseCounter = 19; - pub const UseCounter_eUseCounter_OfflineResourceList_onchecking_getter: - root::mozilla::UseCounter = 20; - pub const UseCounter_eUseCounter_OfflineResourceList_onchecking_setter: - root::mozilla::UseCounter = 21; - pub const UseCounter_eUseCounter_OfflineResourceList_onerror_getter: - root::mozilla::UseCounter = 22; - pub const UseCounter_eUseCounter_OfflineResourceList_onerror_setter: - root::mozilla::UseCounter = 23; - pub const UseCounter_eUseCounter_OfflineResourceList_onnoupdate_getter: - root::mozilla::UseCounter = 24; - pub const UseCounter_eUseCounter_OfflineResourceList_onnoupdate_setter: - root::mozilla::UseCounter = 25; - pub const UseCounter_eUseCounter_OfflineResourceList_ondownloading_getter: - root::mozilla::UseCounter = 26; - pub const UseCounter_eUseCounter_OfflineResourceList_ondownloading_setter: - root::mozilla::UseCounter = 27; - pub const UseCounter_eUseCounter_OfflineResourceList_onprogress_getter: - root::mozilla::UseCounter = 28; - pub const UseCounter_eUseCounter_OfflineResourceList_onprogress_setter: - root::mozilla::UseCounter = 29; - pub const UseCounter_eUseCounter_OfflineResourceList_onupdateready_getter: - root::mozilla::UseCounter = 30; - pub const UseCounter_eUseCounter_OfflineResourceList_onupdateready_setter: - root::mozilla::UseCounter = 31; - pub const UseCounter_eUseCounter_OfflineResourceList_oncached_getter: - root::mozilla::UseCounter = 32; - pub const UseCounter_eUseCounter_OfflineResourceList_oncached_setter: - root::mozilla::UseCounter = 33; - pub const UseCounter_eUseCounter_OfflineResourceList_onobsolete_getter: - root::mozilla::UseCounter = 34; - pub const UseCounter_eUseCounter_OfflineResourceList_onobsolete_setter: - root::mozilla::UseCounter = 35; - pub const UseCounter_eUseCounter_IDBDatabase_createMutableFile: root::mozilla::UseCounter = - 36; - pub const UseCounter_eUseCounter_IDBDatabase_mozCreateFileHandle: - root::mozilla::UseCounter = 37; - pub const UseCounter_eUseCounter_IDBMutableFile_open: root::mozilla::UseCounter = 38; - pub const UseCounter_eUseCounter_IDBMutableFile_getFile: root::mozilla::UseCounter = 39; - pub const UseCounter_eUseCounter_DataTransfer_addElement: root::mozilla::UseCounter = 40; - pub const UseCounter_eUseCounter_DataTransfer_mozItemCount_getter: - root::mozilla::UseCounter = 41; - pub const UseCounter_eUseCounter_DataTransfer_mozItemCount_setter: - root::mozilla::UseCounter = 42; - pub const UseCounter_eUseCounter_DataTransfer_mozCursor_getter: root::mozilla::UseCounter = - 43; - pub const UseCounter_eUseCounter_DataTransfer_mozCursor_setter: root::mozilla::UseCounter = - 44; - pub const UseCounter_eUseCounter_DataTransfer_mozTypesAt: root::mozilla::UseCounter = 45; - pub const UseCounter_eUseCounter_DataTransfer_mozClearDataAt: root::mozilla::UseCounter = - 46; - pub const UseCounter_eUseCounter_DataTransfer_mozSetDataAt: root::mozilla::UseCounter = 47; - pub const UseCounter_eUseCounter_DataTransfer_mozGetDataAt: root::mozilla::UseCounter = 48; - pub const UseCounter_eUseCounter_DataTransfer_mozUserCancelled_getter: - root::mozilla::UseCounter = 49; - pub const UseCounter_eUseCounter_DataTransfer_mozUserCancelled_setter: - root::mozilla::UseCounter = 50; - pub const UseCounter_eUseCounter_DataTransfer_mozSourceNode_getter: - root::mozilla::UseCounter = 51; - pub const UseCounter_eUseCounter_DataTransfer_mozSourceNode_setter: - root::mozilla::UseCounter = 52; - pub const UseCounter_eUseCounter_custom_JS_asmjs: root::mozilla::UseCounter = 53; - pub const UseCounter_eUseCounter_custom_JS_wasm: root::mozilla::UseCounter = 54; - pub const UseCounter_eUseCounter_console_assert: root::mozilla::UseCounter = 55; - pub const UseCounter_eUseCounter_console_clear: root::mozilla::UseCounter = 56; - pub const UseCounter_eUseCounter_console_count: root::mozilla::UseCounter = 57; - pub const UseCounter_eUseCounter_console_debug: root::mozilla::UseCounter = 58; - pub const UseCounter_eUseCounter_console_error: root::mozilla::UseCounter = 59; - pub const UseCounter_eUseCounter_console_info: root::mozilla::UseCounter = 60; - pub const UseCounter_eUseCounter_console_log: root::mozilla::UseCounter = 61; - pub const UseCounter_eUseCounter_console_table: root::mozilla::UseCounter = 62; - pub const UseCounter_eUseCounter_console_trace: root::mozilla::UseCounter = 63; - pub const UseCounter_eUseCounter_console_warn: root::mozilla::UseCounter = 64; - pub const UseCounter_eUseCounter_console_dir: root::mozilla::UseCounter = 65; - pub const UseCounter_eUseCounter_console_dirxml: root::mozilla::UseCounter = 66; - pub const UseCounter_eUseCounter_console_group: root::mozilla::UseCounter = 67; - pub const UseCounter_eUseCounter_console_groupCollapsed: root::mozilla::UseCounter = 68; - pub const UseCounter_eUseCounter_console_groupEnd: root::mozilla::UseCounter = 69; - pub const UseCounter_eUseCounter_console_time: root::mozilla::UseCounter = 70; - pub const UseCounter_eUseCounter_console_timeEnd: root::mozilla::UseCounter = 71; - pub const UseCounter_eUseCounter_console_exception: root::mozilla::UseCounter = 72; - pub const UseCounter_eUseCounter_console_timeStamp: root::mozilla::UseCounter = 73; - pub const UseCounter_eUseCounter_console_profile: root::mozilla::UseCounter = 74; - pub const UseCounter_eUseCounter_console_profileEnd: root::mozilla::UseCounter = 75; - pub const UseCounter_eUseCounter_EnablePrivilege: root::mozilla::UseCounter = 76; - pub const UseCounter_eUseCounter_MutationEvent: root::mozilla::UseCounter = 77; - pub const UseCounter_eUseCounter_Components: root::mozilla::UseCounter = 78; - pub const UseCounter_eUseCounter_PrefixedVisibilityAPI: root::mozilla::UseCounter = 79; - pub const UseCounter_eUseCounter_NodeIteratorDetach: root::mozilla::UseCounter = 80; - pub const UseCounter_eUseCounter_LenientThis: root::mozilla::UseCounter = 81; - pub const UseCounter_eUseCounter_MozGetAsFile: root::mozilla::UseCounter = 82; - pub const UseCounter_eUseCounter_UseOfCaptureEvents: root::mozilla::UseCounter = 83; - pub const UseCounter_eUseCounter_UseOfReleaseEvents: root::mozilla::UseCounter = 84; - pub const UseCounter_eUseCounter_UseOfDOM3LoadMethod: root::mozilla::UseCounter = 85; - pub const UseCounter_eUseCounter_ChromeUseOfDOM3LoadMethod: root::mozilla::UseCounter = 86; - pub const UseCounter_eUseCounter_ShowModalDialog: root::mozilla::UseCounter = 87; - pub const UseCounter_eUseCounter_SyncXMLHttpRequest: root::mozilla::UseCounter = 88; - pub const UseCounter_eUseCounter_Window_Cc_ontrollers: root::mozilla::UseCounter = 89; - pub const UseCounter_eUseCounter_ImportXULIntoContent: root::mozilla::UseCounter = 90; - pub const UseCounter_eUseCounter_PannerNodeDoppler: root::mozilla::UseCounter = 91; - pub const UseCounter_eUseCounter_NavigatorGetUserMedia: root::mozilla::UseCounter = 92; - pub const UseCounter_eUseCounter_WebrtcDeprecatedPrefix: root::mozilla::UseCounter = 93; - pub const UseCounter_eUseCounter_RTCPeerConnectionGetStreams: root::mozilla::UseCounter = - 94; - pub const UseCounter_eUseCounter_AppCache: root::mozilla::UseCounter = 95; - pub const UseCounter_eUseCounter_AppCacheInsecure: root::mozilla::UseCounter = 96; - pub const UseCounter_eUseCounter_PrefixedImageSmoothingEnabled: root::mozilla::UseCounter = - 97; - pub const UseCounter_eUseCounter_PrefixedFullscreenAPI: root::mozilla::UseCounter = 98; - pub const UseCounter_eUseCounter_LenientSetter: root::mozilla::UseCounter = 99; - pub const UseCounter_eUseCounter_FileLastModifiedDate: root::mozilla::UseCounter = 100; - pub const UseCounter_eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap: - root::mozilla::UseCounter = 101; - pub const UseCounter_eUseCounter_URLCreateObjectURL_MediaStream: root::mozilla::UseCounter = - 102; - pub const UseCounter_eUseCounter_XMLBaseAttribute: root::mozilla::UseCounter = 103; - pub const UseCounter_eUseCounter_WindowContentUntrusted: root::mozilla::UseCounter = 104; - pub const UseCounter_eUseCounter_RegisterProtocolHandlerInsecure: - root::mozilla::UseCounter = 105; - pub const UseCounter_eUseCounter_MixedDisplayObjectSubrequest: root::mozilla::UseCounter = - 106; - pub const UseCounter_eUseCounter_MotionEvent: root::mozilla::UseCounter = 107; - pub const UseCounter_eUseCounter_OrientationEvent: root::mozilla::UseCounter = 108; - pub const UseCounter_eUseCounter_ProximityEvent: root::mozilla::UseCounter = 109; - pub const UseCounter_eUseCounter_AmbientLightEvent: root::mozilla::UseCounter = 110; - pub const UseCounter_eUseCounter_IDBOpenDBOptions_StorageType: root::mozilla::UseCounter = - 111; - pub const UseCounter_eUseCounter_GetPropertyCSSValue: root::mozilla::UseCounter = 112; - pub const UseCounter_eUseCounter_Count: root::mozilla::UseCounter = 113; - pub type UseCounter = i16; - pub const LogLevel_Disabled: root::mozilla::LogLevel = 0; - pub const LogLevel_Error: root::mozilla::LogLevel = 1; - pub const LogLevel_Warning: root::mozilla::LogLevel = 2; - pub const LogLevel_Info: root::mozilla::LogLevel = 3; - pub const LogLevel_Debug: root::mozilla::LogLevel = 4; - pub const LogLevel_Verbose: root::mozilla::LogLevel = 5; - pub type LogLevel = i32; - #[repr(C)] - #[derive(Debug)] - pub struct LogModule { - pub mName: *mut ::std::os::raw::c_char, - pub mLevel: u32, - } - #[test] - fn bindgen_test_layout_LogModule() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(LogModule)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(LogModule)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mName as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(LogModule), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLevel as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(LogModule), - "::", - stringify!(mLevel) - ) - ); - } - /// Helper class that lazy loads the given log module. This is safe to use for - /// declaring static references to log modules and can be used as a replacement - /// for accessing a LogModule directly. - /// - /// Example usage: - /// static LazyLogModule sLayoutLog("layout"); - /// - /// void Foo() { - /// MOZ_LOG(sLayoutLog, LogLevel::Verbose, ("Entering foo")); - /// } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct LazyLogModule { - pub mLogName: *const ::std::os::raw::c_char, - pub mLog: u64, - } - #[test] - fn bindgen_test_layout_LazyLogModule() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(LazyLogModule)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(LazyLogModule)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLogName as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(LazyLogModule), - "::", - stringify!(mLogName) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLog as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(LazyLogModule), - "::", - stringify!(mLog) - ) - ); - } - impl Clone for LazyLogModule { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct Runnable { - pub _base: root::nsIRunnable, - pub _base_1: root::nsINamed, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mName: *const ::std::os::raw::c_char, - } - pub type Runnable_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_Runnable() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(Runnable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Runnable)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct CancelableRunnable { - pub _base: root::mozilla::Runnable, - pub _base_1: root::nsICancelableRunnable, - } - #[test] - fn bindgen_test_layout_CancelableRunnable() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(CancelableRunnable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CancelableRunnable)) - ); - } - /// BlockingResourceBase - /// Base class of resources that might block clients trying to acquire them. - /// Does debugging and deadlock detection in DEBUG builds. - #[repr(C)] - #[derive(Debug)] - pub struct BlockingResourceBase { - pub _address: u8, - } - pub const BlockingResourceBase_BlockingResourceType_eMutex: - root::mozilla::BlockingResourceBase_BlockingResourceType = 0; - pub const BlockingResourceBase_BlockingResourceType_eReentrantMonitor: - root::mozilla::BlockingResourceBase_BlockingResourceType = 1; - pub const BlockingResourceBase_BlockingResourceType_eCondVar: - root::mozilla::BlockingResourceBase_BlockingResourceType = 2; - pub const BlockingResourceBase_BlockingResourceType_eRecursiveMutex: - root::mozilla::BlockingResourceBase_BlockingResourceType = 3; - pub type BlockingResourceBase_BlockingResourceType = u32; - extern "C" { - #[link_name = "\u{1}_ZN7mozilla20BlockingResourceBase17kResourceTypeNameE"] - pub static mut BlockingResourceBase_kResourceTypeName: - [*const ::std::os::raw::c_char; 0usize]; - } - #[test] - fn bindgen_test_layout_BlockingResourceBase() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(BlockingResourceBase)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(BlockingResourceBase)) - ); - } - /// OffTheBooksMutex is identical to Mutex, except that OffTheBooksMutex doesn't - /// include leak checking. Sometimes you want to intentionally "leak" a mutex - /// until shutdown; in these cases, OffTheBooksMutex is for you. - #[repr(C)] - #[derive(Debug)] - pub struct OffTheBooksMutex { - pub _base: root::mozilla::detail::MutexImpl, - } - #[test] - fn bindgen_test_layout_OffTheBooksMutex() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(OffTheBooksMutex)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(OffTheBooksMutex)) - ); - } - /// Mutex - /// When possible, use MutexAutoLock/MutexAutoUnlock to lock/unlock this - /// mutex within a scope, instead of calling Lock/Unlock directly. - #[repr(C)] - #[derive(Debug)] - pub struct Mutex { - pub _base: root::mozilla::OffTheBooksMutex, - } - #[test] - fn bindgen_test_layout_Mutex() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(Mutex)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Mutex)) - ); - } - pub mod css { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - pub struct URLValueData__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - pub struct URLValueData { - pub vtable_: *const URLValueData__bindgen_vtable, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mURI: root::nsCOMPtr, - pub mExtraData: root::RefPtr, - pub mURIResolved: bool, - pub mIsLocalRef: [u8; 2usize], - pub mMightHaveRef: [u8; 2usize], - pub mString: ::gecko_bindings::structs::ServoRawOffsetArc, - pub mLoadedImage: bool, - pub mCORSMode: root::mozilla::CORSMode, - } - pub type URLValueData_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_URLValueData() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(URLValueData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(URLValueData)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mURI as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mExtraData as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mExtraData) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mURIResolved as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mURIResolved) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsLocalRef as *const _ as usize - }, - 33usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mIsLocalRef) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMightHaveRef as *const _ as usize - }, - 35usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mMightHaveRef) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mString as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mString) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLoadedImage as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mLoadedImage) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCORSMode as *const _ as usize - }, - 49usize, - concat!( - "Offset of field: ", - stringify!(URLValueData), - "::", - stringify!(mCORSMode) - ) - ); - } - #[repr(C)] - pub struct URLValue { - pub _base: root::mozilla::css::URLValueData, - } - #[test] - fn bindgen_test_layout_URLValue() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(URLValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(URLValue)) - ); - } - #[repr(C)] - pub struct ImageValue { - pub _base: root::mozilla::css::URLValueData, - pub mRequests: [u64; 4usize], - } - #[test] - fn bindgen_test_layout_ImageValue() { - assert_eq!( - ::std::mem::size_of::(), - 88usize, - concat!("Size of: ", stringify!(ImageValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ImageValue)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRequests as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(ImageValue), - "::", - stringify!(mRequests) - ) - ); - } - #[repr(C)] - pub struct GridNamedArea { - pub mName: ::nsstring::nsStringRepr, - pub mColumnStart: u32, - pub mColumnEnd: u32, - pub mRowStart: u32, - pub mRowEnd: u32, - } - #[test] - fn bindgen_test_layout_GridNamedArea() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(GridNamedArea)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GridNamedArea)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mName as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GridNamedArea), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mColumnStart as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(GridNamedArea), - "::", - stringify!(mColumnStart) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mColumnEnd as *const _ as usize - }, - 20usize, - concat!( - "Offset of field: ", - stringify!(GridNamedArea), - "::", - stringify!(mColumnEnd) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRowStart as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(GridNamedArea), - "::", - stringify!(mRowStart) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRowEnd as *const _ as usize - }, - 28usize, - concat!( - "Offset of field: ", - stringify!(GridNamedArea), - "::", - stringify!(mRowEnd) - ) - ); - } - #[repr(C)] - pub struct GridTemplateAreasValue { - pub mNamedAreas: root::nsTArray, - pub mTemplates: root::nsTArray<::nsstring::nsStringRepr>, - pub mNColumns: u32, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - } - pub type GridTemplateAreasValue_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_GridTemplateAreasValue() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(GridTemplateAreasValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GridTemplateAreasValue)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNamedAreas as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GridTemplateAreasValue), - "::", - stringify!(mNamedAreas) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTemplates as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(GridTemplateAreasValue), - "::", - stringify!(mTemplates) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNColumns as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(GridTemplateAreasValue), - "::", - stringify!(mNColumns) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(GridTemplateAreasValue), - "::", - stringify!(mRefCnt) - ) - ); - } - #[repr(u8)] - /// Enum defining the mode in which a sheet is to be parsed. This is - /// usually, but not always, the same as the cascade level at which the - /// sheet will apply (see nsStyleSet.h). Most of the Loader APIs only - /// support loading of author sheets. - /// - /// Author sheets are the normal case: styles embedded in or linked - /// from HTML pages. They are also the most restricted. - /// - /// User sheets can do anything author sheets can do, and also get - /// access to a few CSS extensions that are not yet suitable for - /// exposure on the public Web, but are very useful for expressing - /// user style overrides, such as @-moz-document rules. - /// - /// XXX: eUserSheetFeatures was added in bug 1035091, but some patches in - /// that bug never landed to use this enum value. Currently, all the features - /// in user sheet are also available in author sheet. - /// - /// Agent sheets have access to all author- and user-sheet features - /// plus more extensions that are necessary for internal use but, - /// again, not yet suitable for exposure on the public Web. Some of - /// these are outright unsafe to expose; in particular, incorrect - /// styling of anonymous box pseudo-elements can violate layout - /// invariants. - /// - /// Agent sheets that do not use any unsafe rules could use - /// eSafeAgentSheetFeatures when creating the sheet. This enum value allows - /// Servo backend to recognize the sheets as the agent level, but Gecko - /// backend will parse it under _author_ level. - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum SheetParsingMode { - eAuthorSheetFeatures = 0, - eUserSheetFeatures = 1, - eAgentSheetFeatures = 2, - eSafeAgentSheetFeatures = 3, - } - /// Style sheet reuse * - #[repr(C)] - pub struct LoaderReusableStyleSheets { - pub mReusableSheets: root::nsTArray>, - } - #[test] - fn bindgen_test_layout_LoaderReusableStyleSheets() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(LoaderReusableStyleSheets)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(LoaderReusableStyleSheets)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mReusableSheets - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(LoaderReusableStyleSheets), - "::", - stringify!(mReusableSheets) - ) - ); - } - #[repr(C)] - pub struct Loader { - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mSheets: root::nsAutoPtr, - pub mPostedEvents: root::mozilla::css::Loader_LoadDataArray, - pub mObservers: [u64; 2usize], - pub mDocument: *mut root::nsIDocument, - pub mDocGroup: root::RefPtr, - pub mDatasToNotifyOn: u32, - pub mCompatMode: root::nsCompatibility, - pub mPreferredSheet: ::nsstring::nsStringRepr, - pub mEnabled: bool, - pub mReporter: root::nsCOMPtr, - } - pub use self :: super :: super :: super :: root :: mozilla :: net :: ReferrerPolicy as Loader_ReferrerPolicy; - pub type Loader_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Loader_cycleCollection { - pub _base: root::nsCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_Loader_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(Loader_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Loader_cycleCollection)) - ); - } - impl Clone for Loader_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - pub type Loader_LoadDataArray = - root::nsTArray>; - #[repr(C)] - #[derive(Debug)] - pub struct Loader_Sheets { - pub mCompleteSheets: [u64; 4usize], - pub mLoadingDatas: [u64; 4usize], - pub mPendingDatas: [u64; 4usize], - } - #[test] - fn bindgen_test_layout_Loader_Sheets() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(Loader_Sheets)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Loader_Sheets)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCompleteSheets as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Loader_Sheets), - "::", - stringify!(mCompleteSheets) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLoadingDatas as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(Loader_Sheets), - "::", - stringify!(mLoadingDatas) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPendingDatas as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(Loader_Sheets), - "::", - stringify!(mPendingDatas) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3css6Loader21_cycleCollectorGlobalE"] - pub static mut Loader__cycleCollectorGlobal: - root::mozilla::css::Loader_cycleCollection; - } - #[test] - fn bindgen_test_layout_Loader() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(Loader)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Loader)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSheets as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mSheets) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPostedEvents as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mPostedEvents) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mObservers as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mObservers) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocGroup as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mDocGroup) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDatasToNotifyOn as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mDatasToNotifyOn) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mCompatMode as *const _ as usize }, - 60usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mCompatMode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPreferredSheet as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mPreferredSheet) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEnabled as *const _ as usize }, - 80usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mEnabled) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mReporter as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(Loader), - "::", - stringify!(mReporter) - ) - ); - } - #[repr(C)] - pub struct SheetLoadData { - pub _base: root::nsIRunnable, - pub _base_1: root::nsIThreadObserver, - pub mRefCnt: root::nsAutoRefCnt, - pub mLoader: root::RefPtr, - pub mTitle: ::nsstring::nsStringRepr, - pub mEncoding: *const root::mozilla::Encoding, - pub mURI: root::nsCOMPtr, - pub mLineNumber: u32, - pub mSheet: root::RefPtr, - pub mNext: *mut root::mozilla::css::SheetLoadData, - pub mParentData: root::RefPtr, - pub mPendingChildren: u32, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 2usize], u8>, - pub mOwningElement: root::nsCOMPtr, - pub mObserver: root::nsCOMPtr, - pub mLoaderPrincipal: root::nsCOMPtr, - pub mRequestingNode: root::nsCOMPtr, - pub mPreloadEncoding: *const root::mozilla::Encoding, - } - pub type SheetLoadData_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_SheetLoadData() { - assert_eq!( - ::std::mem::size_of::(), - 144usize, - concat!("Size of: ", stringify!(SheetLoadData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(SheetLoadData)) - ); - } - impl SheetLoadData { - #[inline] - pub fn mSyncLoad(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) } - } - #[inline] - pub fn set_mSyncLoad(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsNonDocumentSheet(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsNonDocumentSheet(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(1usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsLoading(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsLoading(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(2usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsBeingParsed(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsBeingParsed(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(3usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsCancelled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsCancelled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMustNotify(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMustNotify(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(5usize, 1u8, val as u64) - } - } - #[inline] - pub fn mWasAlternate(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) } - } - #[inline] - pub fn set_mWasAlternate(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(6usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUseSystemPrincipal(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) } - } - #[inline] - pub fn set_mUseSystemPrincipal(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(7usize, 1u8, val as u64) - } - } - #[inline] - pub fn mSheetAlreadyComplete(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) } - } - #[inline] - pub fn set_mSheetAlreadyComplete(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(8usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsCrossOriginNoCORS(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsCrossOriginNoCORS(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(9usize, 1u8, val as u64) - } - } - #[inline] - pub fn mBlockResourceTiming(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u8) } - } - #[inline] - pub fn set_mBlockResourceTiming(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(10usize, 1u8, val as u64) - } - } - #[inline] - pub fn mLoadFailed(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u8) } - } - #[inline] - pub fn set_mLoadFailed(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(11usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mSyncLoad: bool, - mIsNonDocumentSheet: bool, - mIsLoading: bool, - mIsBeingParsed: bool, - mIsCancelled: bool, - mMustNotify: bool, - mWasAlternate: bool, - mUseSystemPrincipal: bool, - mSheetAlreadyComplete: bool, - mIsCrossOriginNoCORS: bool, - mBlockResourceTiming: bool, - mLoadFailed: bool, - ) -> root::__BindgenBitfieldUnit<[u8; 2usize], u8> { - let mut __bindgen_bitfield_unit : root :: __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > = Default :: default ( ) ; - __bindgen_bitfield_unit.set(0usize, 1u8, { - let mSyncLoad: u8 = unsafe { ::std::mem::transmute(mSyncLoad) }; - mSyncLoad as u64 - }); - __bindgen_bitfield_unit.set(1usize, 1u8, { - let mIsNonDocumentSheet: u8 = - unsafe { ::std::mem::transmute(mIsNonDocumentSheet) }; - mIsNonDocumentSheet as u64 - }); - __bindgen_bitfield_unit.set(2usize, 1u8, { - let mIsLoading: u8 = unsafe { ::std::mem::transmute(mIsLoading) }; - mIsLoading as u64 - }); - __bindgen_bitfield_unit.set(3usize, 1u8, { - let mIsBeingParsed: u8 = unsafe { ::std::mem::transmute(mIsBeingParsed) }; - mIsBeingParsed as u64 - }); - __bindgen_bitfield_unit.set(4usize, 1u8, { - let mIsCancelled: u8 = unsafe { ::std::mem::transmute(mIsCancelled) }; - mIsCancelled as u64 - }); - __bindgen_bitfield_unit.set(5usize, 1u8, { - let mMustNotify: u8 = unsafe { ::std::mem::transmute(mMustNotify) }; - mMustNotify as u64 - }); - __bindgen_bitfield_unit.set(6usize, 1u8, { - let mWasAlternate: u8 = unsafe { ::std::mem::transmute(mWasAlternate) }; - mWasAlternate as u64 - }); - __bindgen_bitfield_unit.set(7usize, 1u8, { - let mUseSystemPrincipal: u8 = - unsafe { ::std::mem::transmute(mUseSystemPrincipal) }; - mUseSystemPrincipal as u64 - }); - __bindgen_bitfield_unit.set(8usize, 1u8, { - let mSheetAlreadyComplete: u8 = - unsafe { ::std::mem::transmute(mSheetAlreadyComplete) }; - mSheetAlreadyComplete as u64 - }); - __bindgen_bitfield_unit.set(9usize, 1u8, { - let mIsCrossOriginNoCORS: u8 = - unsafe { ::std::mem::transmute(mIsCrossOriginNoCORS) }; - mIsCrossOriginNoCORS as u64 - }); - __bindgen_bitfield_unit.set(10usize, 1u8, { - let mBlockResourceTiming: u8 = - unsafe { ::std::mem::transmute(mBlockResourceTiming) }; - mBlockResourceTiming as u64 - }); - __bindgen_bitfield_unit.set(11usize, 1u8, { - let mLoadFailed: u8 = unsafe { ::std::mem::transmute(mLoadFailed) }; - mLoadFailed as u64 - }); - __bindgen_bitfield_unit - } - } - pub type SheetLoadDataHolder = - root::nsMainThreadPtrHolder; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ImageLoader { - _unused: [u8; 0], - } - impl Clone for ImageLoader { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct Rule { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mSheet: *mut root::mozilla::StyleSheet, - pub mParentRule: *mut root::mozilla::css::Rule, - pub mLineNumber: u32, - pub mColumnNumber: u32, - } - pub type Rule_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Rule_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_Rule_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(Rule_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Rule_cycleCollection)) - ); - } - impl Clone for Rule_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3css4Rule21_cycleCollectorGlobalE"] - pub static mut Rule__cycleCollectorGlobal: root::mozilla::css::Rule_cycleCollection; - } - #[test] - fn bindgen_test_layout_Rule() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(Rule)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Rule)) - ); - } - #[repr(C)] - pub struct ErrorReporter { - pub mError: root::nsAutoString, - pub mErrorLine: ::nsstring::nsStringRepr, - pub mFileName: ::nsstring::nsStringRepr, - pub mSheet: *const root::mozilla::StyleSheet, - pub mLoader: *const root::mozilla::css::Loader, - pub mURI: *mut root::nsIURI, - pub mInnerWindowID: u64, - pub mErrorLineNumber: u32, - pub mPrevErrorLineNumber: u32, - pub mErrorColNumber: u32, - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3css13ErrorReporter12sInitializedE"] - pub static mut ErrorReporter_sInitialized: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla3css13ErrorReporter13sReportErrorsE"] - pub static mut ErrorReporter_sReportErrors: bool; - } - #[test] - fn bindgen_test_layout_ErrorReporter() { - assert_eq!( - ::std::mem::size_of::(), - 232usize, - concat!("Size of: ", stringify!(ErrorReporter)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ErrorReporter)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mError as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mError) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mErrorLine as *const _ as usize - }, - 152usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mErrorLine) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFileName as *const _ as usize - }, - 168usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mFileName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSheet as *const _ as usize - }, - 184usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mSheet) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLoader as *const _ as usize - }, - 192usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mLoader) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mURI as *const _ as usize }, - 200usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInnerWindowID as *const _ - as usize - }, - 208usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mInnerWindowID) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mErrorLineNumber as *const _ - as usize - }, - 216usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mErrorLineNumber) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrevErrorLineNumber as *const _ - as usize - }, - 220usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mPrevErrorLineNumber) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mErrorColNumber as *const _ - as usize - }, - 224usize, - concat!( - "Offset of field: ", - stringify!(ErrorReporter), - "::", - stringify!(mErrorColNumber) - ) - ); - } - #[repr(i32)] - /// Enum defining the type of URL matching function for a @-moz-document rule - /// condition. - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum URLMatchingFunction { - eURL = 0, - eURLPrefix = 1, - eDomain = 2, - eRegExp = 3, - } - } - pub mod profiler { - #[allow(unused_imports)] - use self::super::super::super::root; - } - pub mod net { - #[allow(unused_imports)] - use self::super::super::super::root; - pub const ReferrerPolicy_RP_No_Referrer: root::mozilla::net::ReferrerPolicy = 2; - pub const ReferrerPolicy_RP_Origin: root::mozilla::net::ReferrerPolicy = 3; - pub const ReferrerPolicy_RP_No_Referrer_When_Downgrade: - root::mozilla::net::ReferrerPolicy = 1; - pub const ReferrerPolicy_RP_Origin_When_Crossorigin: - root::mozilla::net::ReferrerPolicy = 4; - pub const ReferrerPolicy_RP_Unsafe_URL: root::mozilla::net::ReferrerPolicy = 5; - pub const ReferrerPolicy_RP_Same_Origin: root::mozilla::net::ReferrerPolicy = 6; - pub const ReferrerPolicy_RP_Strict_Origin: root::mozilla::net::ReferrerPolicy = 7; - pub const ReferrerPolicy_RP_Strict_Origin_When_Cross_Origin: - root::mozilla::net::ReferrerPolicy = 8; - pub const ReferrerPolicy_RP_Unset: root::mozilla::net::ReferrerPolicy = 0; - pub type ReferrerPolicy = u32; - } - pub mod image { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ImageURL { - _unused: [u8; 0], - } - impl Clone for ImageURL { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Image { - _unused: [u8; 0], - } - impl Clone for Image { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ProgressTracker { - _unused: [u8; 0], - } - impl Clone for ProgressTracker { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct IProgressObserver__bindgen_vtable(::std::os::raw::c_void); - /// An interface for observing changes to image state, as reported by - /// ProgressTracker. - /// - /// This is the ImageLib-internal version of imgINotificationObserver, - /// essentially, with implementation details that code outside of ImageLib - /// shouldn't see. - /// - /// XXX(seth): It's preferable to avoid adding anything to this interface if - /// possible. In the long term, it would be ideal to get to a place where we can - /// just use the imgINotificationObserver interface internally as well. - #[repr(C)] - #[derive(Debug)] - pub struct IProgressObserver { - pub vtable_: *const IProgressObserver__bindgen_vtable, - pub _base: u64, - } - #[test] - fn bindgen_test_layout_IProgressObserver() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(IProgressObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(IProgressObserver)) - ); - } - } - pub mod external { - #[allow(unused_imports)] - use self::super::super::super::root; - /// AtomicRefCounted is like RefCounted, with an atomically updated - /// reference counter. - /// - /// NOTE: Please do not use this class, use NS_INLINE_DECL_THREADSAFE_REFCOUNTING - /// instead. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct AtomicRefCounted { - pub _address: u8, - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct SupportsWeakPtr { - pub _address: u8, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct WeakPtr { - pub _address: u8, - } - pub type WeakPtr_WeakReference = u8; - #[repr(C)] - pub struct CounterStyle__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug, Copy)] - pub struct CounterStyle { - pub vtable_: *const CounterStyle__bindgen_vtable, - pub mStyle: i32, - } - #[test] - fn bindgen_test_layout_CounterStyle() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(CounterStyle)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CounterStyle)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStyle as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(CounterStyle), - "::", - stringify!(mStyle) - ) - ); - } - impl Clone for CounterStyle { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct AnonymousCounterStyle { - pub _base: root::mozilla::CounterStyle, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mSingleString: bool, - pub mSystem: u8, - pub mSymbols: root::nsTArray<::nsstring::nsStringRepr>, - } - pub type AnonymousCounterStyle_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_AnonymousCounterStyle() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(AnonymousCounterStyle)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(AnonymousCounterStyle)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(AnonymousCounterStyle), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSingleString as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(AnonymousCounterStyle), - "::", - stringify!(mSingleString) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSystem as *const _ as usize - }, - 25usize, - concat!( - "Offset of field: ", - stringify!(AnonymousCounterStyle), - "::", - stringify!(mSystem) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSymbols as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(AnonymousCounterStyle), - "::", - stringify!(mSymbols) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct CounterStylePtr { - pub mRaw: usize, - } - pub const CounterStylePtr_Type_eCounterStyle: root::mozilla::CounterStylePtr_Type = 0; - pub const CounterStylePtr_Type_eAnonymousCounterStyle: root::mozilla::CounterStylePtr_Type = - 1; - pub const CounterStylePtr_Type_eUnresolvedAtom: root::mozilla::CounterStylePtr_Type = 2; - pub const CounterStylePtr_Type_eMask: root::mozilla::CounterStylePtr_Type = 3; - pub type CounterStylePtr_Type = u64; - #[test] - fn bindgen_test_layout_CounterStylePtr() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(CounterStylePtr)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CounterStylePtr)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRaw as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CounterStylePtr), - "::", - stringify!(mRaw) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct CounterStyleManager { - pub mRefCnt: root::nsAutoRefCnt, - pub mPresContext: *mut root::nsPresContext, - pub mStyles: [u64; 4usize], - pub mRetiredStyles: root::nsTArray<*mut root::mozilla::CounterStyle>, - } - pub type CounterStyleManager_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_CounterStyleManager() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(CounterStyleManager)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CounterStyleManager)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CounterStyleManager), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPresContext as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(CounterStyleManager), - "::", - stringify!(mPresContext) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStyles as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(CounterStyleManager), - "::", - stringify!(mStyles) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRetiredStyles as *const _ - as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(CounterStyleManager), - "::", - stringify!(mRetiredStyles) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct Position { - pub mXPosition: root::mozilla::Position_Coord, - pub mYPosition: root::mozilla::Position_Coord, - } - pub type Position_Coord = root::nsStyleCoord_CalcValue; - #[test] - fn bindgen_test_layout_Position() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(Position)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(Position)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mXPosition as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Position), - "::", - stringify!(mXPosition) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mYPosition as *const _ as usize }, - 12usize, - concat!( - "Offset of field: ", - stringify!(Position), - "::", - stringify!(mYPosition) - ) - ); - } - impl Clone for Position { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct StyleTransition { - pub mTimingFunction: root::nsTimingFunction, - pub mDuration: f32, - pub mDelay: f32, - pub mProperty: root::nsCSSPropertyID, - pub mUnknownProperty: root::RefPtr, - } - #[test] - fn bindgen_test_layout_StyleTransition() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(StyleTransition)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleTransition)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTimingFunction as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StyleTransition), - "::", - stringify!(mTimingFunction) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDuration as *const _ as usize - }, - 20usize, - concat!( - "Offset of field: ", - stringify!(StyleTransition), - "::", - stringify!(mDuration) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDelay as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(StyleTransition), - "::", - stringify!(mDelay) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mProperty as *const _ as usize - }, - 28usize, - concat!( - "Offset of field: ", - stringify!(StyleTransition), - "::", - stringify!(mProperty) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mUnknownProperty as *const _ - as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(StyleTransition), - "::", - stringify!(mUnknownProperty) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct StyleAnimation { - pub mTimingFunction: root::nsTimingFunction, - pub mDuration: f32, - pub mDelay: f32, - pub mName: root::RefPtr, - pub mDirection: root::mozilla::dom::PlaybackDirection, - pub mFillMode: root::mozilla::dom::FillMode, - pub mPlayState: u8, - pub mIterationCount: f32, - } - #[test] - fn bindgen_test_layout_StyleAnimation() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(StyleAnimation)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleAnimation)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTimingFunction as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mTimingFunction) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDuration as *const _ as usize - }, - 20usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mDuration) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDelay as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mDelay) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mName as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDirection as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mDirection) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFillMode as *const _ as usize - }, - 41usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mFillMode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPlayState as *const _ as usize - }, - 42usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mPlayState) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIterationCount as *const _ as usize - }, - 44usize, - concat!( - "Offset of field: ", - stringify!(StyleAnimation), - "::", - stringify!(mIterationCount) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct StyleBasicShape { - pub mType: root::mozilla::StyleBasicShapeType, - pub mFillRule: root::mozilla::StyleFillRule, - pub mCoordinates: root::nsTArray, - pub mPosition: root::mozilla::Position, - pub mRadius: root::nsStyleCorners, - } - #[test] - fn bindgen_test_layout_StyleBasicShape() { - assert_eq!( - ::std::mem::size_of::(), - 112usize, - concat!("Size of: ", stringify!(StyleBasicShape)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleBasicShape)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StyleBasicShape), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFillRule as *const _ as usize - }, - 1usize, - concat!( - "Offset of field: ", - stringify!(StyleBasicShape), - "::", - stringify!(mFillRule) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCoordinates as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(StyleBasicShape), - "::", - stringify!(mCoordinates) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPosition as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(StyleBasicShape), - "::", - stringify!(mPosition) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRadius as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(StyleBasicShape), - "::", - stringify!(mRadius) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct StyleShapeSource { - pub mBasicShape: root::mozilla::UniquePtr, - pub mShapeImage: root::mozilla::UniquePtr, - pub mType: root::mozilla::StyleShapeSourceType, - pub mReferenceBox: root::mozilla::StyleGeometryBox, - } - #[test] - fn bindgen_test_layout_StyleShapeSource() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(StyleShapeSource)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleShapeSource)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBasicShape as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StyleShapeSource), - "::", - stringify!(mBasicShape) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mShapeImage as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(StyleShapeSource), - "::", - stringify!(mShapeImage) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(StyleShapeSource), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mReferenceBox as *const _ as usize - }, - 17usize, - concat!( - "Offset of field: ", - stringify!(StyleShapeSource), - "::", - stringify!(mReferenceBox) - ) - ); - } - ///
- /// - /// TODO(Emilio): This is a workaround and we should be able to get rid of this - /// one. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct UniquePtr { - pub mPtr: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub const SERVO_PREF_ENABLED_align_content: bool = false; - pub const SERVO_PREF_ENABLED_align_items: bool = false; - pub const SERVO_PREF_ENABLED_align_self: bool = false; - pub const SERVO_PREF_ENABLED_all: bool = true; - pub const SERVO_PREF_ENABLED_animation: bool = false; - pub const SERVO_PREF_ENABLED_animation_delay: bool = false; - pub const SERVO_PREF_ENABLED_animation_direction: bool = false; - pub const SERVO_PREF_ENABLED_animation_duration: bool = false; - pub const SERVO_PREF_ENABLED_animation_fill_mode: bool = false; - pub const SERVO_PREF_ENABLED_animation_iteration_count: bool = false; - pub const SERVO_PREF_ENABLED_animation_name: bool = false; - pub const SERVO_PREF_ENABLED_animation_play_state: bool = false; - pub const SERVO_PREF_ENABLED_animation_timing_function: bool = false; - pub const SERVO_PREF_ENABLED__moz_appearance: bool = false; - pub const SERVO_PREF_ENABLED_backface_visibility: bool = false; - pub const SERVO_PREF_ENABLED_background: bool = false; - pub const SERVO_PREF_ENABLED_background_attachment: bool = false; - pub const SERVO_PREF_ENABLED_background_blend_mode: bool = true; - pub const SERVO_PREF_ENABLED_background_clip: bool = false; - pub const SERVO_PREF_ENABLED_background_color: bool = false; - pub const SERVO_PREF_ENABLED_background_image: bool = false; - pub const SERVO_PREF_ENABLED_background_origin: bool = false; - pub const SERVO_PREF_ENABLED_background_position: bool = false; - pub const SERVO_PREF_ENABLED_background_position_x: bool = false; - pub const SERVO_PREF_ENABLED_background_position_y: bool = false; - pub const SERVO_PREF_ENABLED_background_repeat: bool = false; - pub const SERVO_PREF_ENABLED_background_size: bool = false; - pub const SERVO_PREF_ENABLED__moz_binding: bool = false; - pub const SERVO_PREF_ENABLED_block_size: bool = false; - pub const SERVO_PREF_ENABLED_border: bool = false; - pub const SERVO_PREF_ENABLED_border_block_end: bool = false; - pub const SERVO_PREF_ENABLED_border_block_end_color: bool = false; - pub const SERVO_PREF_ENABLED_border_block_end_style: bool = false; - pub const SERVO_PREF_ENABLED_border_block_end_width: bool = false; - pub const SERVO_PREF_ENABLED_border_block_start: bool = false; - pub const SERVO_PREF_ENABLED_border_block_start_color: bool = false; - pub const SERVO_PREF_ENABLED_border_block_start_style: bool = false; - pub const SERVO_PREF_ENABLED_border_block_start_width: bool = false; - pub const SERVO_PREF_ENABLED_border_bottom: bool = false; - pub const SERVO_PREF_ENABLED_border_bottom_color: bool = false; - pub const SERVO_PREF_ENABLED_border_bottom_left_radius: bool = false; - pub const SERVO_PREF_ENABLED_border_bottom_right_radius: bool = false; - pub const SERVO_PREF_ENABLED_border_bottom_style: bool = false; - pub const SERVO_PREF_ENABLED_border_bottom_width: bool = false; - pub const SERVO_PREF_ENABLED_border_collapse: bool = false; - pub const SERVO_PREF_ENABLED_border_color: bool = false; - pub const SERVO_PREF_ENABLED_border_image: bool = false; - pub const SERVO_PREF_ENABLED_border_image_outset: bool = false; - pub const SERVO_PREF_ENABLED_border_image_repeat: bool = false; - pub const SERVO_PREF_ENABLED_border_image_slice: bool = false; - pub const SERVO_PREF_ENABLED_border_image_source: bool = false; - pub const SERVO_PREF_ENABLED_border_image_width: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_end: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_end_color: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_end_style: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_end_width: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_start: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_start_color: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_start_style: bool = false; - pub const SERVO_PREF_ENABLED_border_inline_start_width: bool = false; - pub const SERVO_PREF_ENABLED_border_left: bool = false; - pub const SERVO_PREF_ENABLED_border_left_color: bool = false; - pub const SERVO_PREF_ENABLED_border_left_style: bool = false; - pub const SERVO_PREF_ENABLED_border_left_width: bool = false; - pub const SERVO_PREF_ENABLED_border_radius: bool = false; - pub const SERVO_PREF_ENABLED_border_right: bool = false; - pub const SERVO_PREF_ENABLED_border_right_color: bool = false; - pub const SERVO_PREF_ENABLED_border_right_style: bool = false; - pub const SERVO_PREF_ENABLED_border_right_width: bool = false; - pub const SERVO_PREF_ENABLED_border_spacing: bool = false; - pub const SERVO_PREF_ENABLED_border_style: bool = false; - pub const SERVO_PREF_ENABLED_border_top: bool = false; - pub const SERVO_PREF_ENABLED_border_top_color: bool = false; - pub const SERVO_PREF_ENABLED_border_top_left_radius: bool = false; - pub const SERVO_PREF_ENABLED_border_top_right_radius: bool = false; - pub const SERVO_PREF_ENABLED_border_top_style: bool = false; - pub const SERVO_PREF_ENABLED_border_top_width: bool = false; - pub const SERVO_PREF_ENABLED_border_width: bool = false; - pub const SERVO_PREF_ENABLED_bottom: bool = false; - pub const SERVO_PREF_ENABLED__moz_box_align: bool = false; - pub const SERVO_PREF_ENABLED_box_decoration_break: bool = true; - pub const SERVO_PREF_ENABLED__moz_box_direction: bool = false; - pub const SERVO_PREF_ENABLED__moz_box_flex: bool = false; - pub const SERVO_PREF_ENABLED__moz_box_ordinal_group: bool = false; - pub const SERVO_PREF_ENABLED__moz_box_orient: bool = false; - pub const SERVO_PREF_ENABLED__moz_box_pack: bool = false; - pub const SERVO_PREF_ENABLED_box_shadow: bool = false; - pub const SERVO_PREF_ENABLED_box_sizing: bool = false; - pub const SERVO_PREF_ENABLED_caption_side: bool = false; - pub const SERVO_PREF_ENABLED_caret_color: bool = false; - pub const SERVO_PREF_ENABLED_clear: bool = false; - pub const SERVO_PREF_ENABLED_clip: bool = false; - pub const SERVO_PREF_ENABLED_clip_path: bool = false; - pub const SERVO_PREF_ENABLED_clip_rule: bool = false; - pub const SERVO_PREF_ENABLED_color: bool = false; - pub const SERVO_PREF_ENABLED_color_adjust: bool = true; - pub const SERVO_PREF_ENABLED_color_interpolation: bool = false; - pub const SERVO_PREF_ENABLED_color_interpolation_filters: bool = false; - pub const SERVO_PREF_ENABLED_column_count: bool = false; - pub const SERVO_PREF_ENABLED_column_fill: bool = false; - pub const SERVO_PREF_ENABLED_column_gap: bool = false; - pub const SERVO_PREF_ENABLED_column_rule: bool = false; - pub const SERVO_PREF_ENABLED_column_rule_color: bool = false; - pub const SERVO_PREF_ENABLED_column_rule_style: bool = false; - pub const SERVO_PREF_ENABLED_column_rule_width: bool = false; - pub const SERVO_PREF_ENABLED_column_span: bool = true; - pub const SERVO_PREF_ENABLED_column_width: bool = false; - pub const SERVO_PREF_ENABLED_columns: bool = false; - pub const SERVO_PREF_ENABLED_contain: bool = true; - pub const SERVO_PREF_ENABLED_content: bool = false; - pub const SERVO_PREF_ENABLED__moz_context_properties: bool = false; - pub const SERVO_PREF_ENABLED__moz_control_character_visibility: bool = false; - pub const SERVO_PREF_ENABLED_counter_increment: bool = false; - pub const SERVO_PREF_ENABLED_counter_reset: bool = false; - pub const SERVO_PREF_ENABLED_cursor: bool = false; - pub const SERVO_PREF_ENABLED_direction: bool = false; - pub const SERVO_PREF_ENABLED_display: bool = false; - pub const SERVO_PREF_ENABLED_dominant_baseline: bool = false; - pub const SERVO_PREF_ENABLED_empty_cells: bool = false; - pub const SERVO_PREF_ENABLED_fill: bool = false; - pub const SERVO_PREF_ENABLED_fill_opacity: bool = false; - pub const SERVO_PREF_ENABLED_fill_rule: bool = false; - pub const SERVO_PREF_ENABLED_filter: bool = false; - pub const SERVO_PREF_ENABLED_flex: bool = false; - pub const SERVO_PREF_ENABLED_flex_basis: bool = false; - pub const SERVO_PREF_ENABLED_flex_direction: bool = false; - pub const SERVO_PREF_ENABLED_flex_flow: bool = false; - pub const SERVO_PREF_ENABLED_flex_grow: bool = false; - pub const SERVO_PREF_ENABLED_flex_shrink: bool = false; - pub const SERVO_PREF_ENABLED_flex_wrap: bool = false; - pub const SERVO_PREF_ENABLED_float_: bool = false; - pub const SERVO_PREF_ENABLED__moz_float_edge: bool = false; - pub const SERVO_PREF_ENABLED_flood_color: bool = false; - pub const SERVO_PREF_ENABLED_flood_opacity: bool = false; - pub const SERVO_PREF_ENABLED_font: bool = false; - pub const SERVO_PREF_ENABLED_font_family: bool = false; - pub const SERVO_PREF_ENABLED_font_feature_settings: bool = false; - pub const SERVO_PREF_ENABLED_font_kerning: bool = false; - pub const SERVO_PREF_ENABLED_font_language_override: bool = false; - pub const SERVO_PREF_ENABLED_font_optical_sizing: bool = true; - pub const SERVO_PREF_ENABLED_font_size: bool = false; - pub const SERVO_PREF_ENABLED_font_size_adjust: bool = false; - pub const SERVO_PREF_ENABLED__moz_font_smoothing_background_color: bool = false; - pub const SERVO_PREF_ENABLED_font_stretch: bool = false; - pub const SERVO_PREF_ENABLED_font_style: bool = false; - pub const SERVO_PREF_ENABLED_font_synthesis: bool = false; - pub const SERVO_PREF_ENABLED_font_variant: bool = false; - pub const SERVO_PREF_ENABLED_font_variant_alternates: bool = false; - pub const SERVO_PREF_ENABLED_font_variant_caps: bool = false; - pub const SERVO_PREF_ENABLED_font_variant_east_asian: bool = false; - pub const SERVO_PREF_ENABLED_font_variant_ligatures: bool = false; - pub const SERVO_PREF_ENABLED_font_variant_numeric: bool = false; - pub const SERVO_PREF_ENABLED_font_variant_position: bool = false; - pub const SERVO_PREF_ENABLED_font_variation_settings: bool = true; - pub const SERVO_PREF_ENABLED_font_weight: bool = false; - pub const SERVO_PREF_ENABLED__moz_force_broken_image_icon: bool = false; - pub const SERVO_PREF_ENABLED_grid: bool = false; - pub const SERVO_PREF_ENABLED_grid_area: bool = false; - pub const SERVO_PREF_ENABLED_grid_auto_columns: bool = false; - pub const SERVO_PREF_ENABLED_grid_auto_flow: bool = false; - pub const SERVO_PREF_ENABLED_grid_auto_rows: bool = false; - pub const SERVO_PREF_ENABLED_grid_column: bool = false; - pub const SERVO_PREF_ENABLED_grid_column_end: bool = false; - pub const SERVO_PREF_ENABLED_grid_column_gap: bool = false; - pub const SERVO_PREF_ENABLED_grid_column_start: bool = false; - pub const SERVO_PREF_ENABLED_grid_gap: bool = false; - pub const SERVO_PREF_ENABLED_grid_row: bool = false; - pub const SERVO_PREF_ENABLED_grid_row_end: bool = false; - pub const SERVO_PREF_ENABLED_grid_row_gap: bool = false; - pub const SERVO_PREF_ENABLED_grid_row_start: bool = false; - pub const SERVO_PREF_ENABLED_grid_template: bool = false; - pub const SERVO_PREF_ENABLED_grid_template_areas: bool = false; - pub const SERVO_PREF_ENABLED_grid_template_columns: bool = false; - pub const SERVO_PREF_ENABLED_grid_template_rows: bool = false; - pub const SERVO_PREF_ENABLED_height: bool = false; - pub const SERVO_PREF_ENABLED_hyphens: bool = false; - pub const SERVO_PREF_ENABLED_initial_letter: bool = true; - pub const SERVO_PREF_ENABLED_image_orientation: bool = true; - pub const SERVO_PREF_ENABLED__moz_image_region: bool = false; - pub const SERVO_PREF_ENABLED_image_rendering: bool = false; - pub const SERVO_PREF_ENABLED_ime_mode: bool = false; - pub const SERVO_PREF_ENABLED_inline_size: bool = false; - pub const SERVO_PREF_ENABLED_isolation: bool = true; - pub const SERVO_PREF_ENABLED_justify_content: bool = false; - pub const SERVO_PREF_ENABLED_justify_items: bool = false; - pub const SERVO_PREF_ENABLED_justify_self: bool = false; - pub const SERVO_PREF_ENABLED__x_lang: bool = false; - pub const SERVO_PREF_ENABLED_left: bool = false; - pub const SERVO_PREF_ENABLED_letter_spacing: bool = false; - pub const SERVO_PREF_ENABLED_lighting_color: bool = false; - pub const SERVO_PREF_ENABLED_line_height: bool = false; - pub const SERVO_PREF_ENABLED_list_style: bool = false; - pub const SERVO_PREF_ENABLED_list_style_image: bool = false; - pub const SERVO_PREF_ENABLED_list_style_position: bool = false; - pub const SERVO_PREF_ENABLED_list_style_type: bool = false; - pub const SERVO_PREF_ENABLED_margin: bool = false; - pub const SERVO_PREF_ENABLED_margin_block_end: bool = false; - pub const SERVO_PREF_ENABLED_margin_block_start: bool = false; - pub const SERVO_PREF_ENABLED_margin_bottom: bool = false; - pub const SERVO_PREF_ENABLED_margin_inline_end: bool = false; - pub const SERVO_PREF_ENABLED_margin_inline_start: bool = false; - pub const SERVO_PREF_ENABLED_margin_left: bool = false; - pub const SERVO_PREF_ENABLED_margin_right: bool = false; - pub const SERVO_PREF_ENABLED_margin_top: bool = false; - pub const SERVO_PREF_ENABLED_marker: bool = false; - pub const SERVO_PREF_ENABLED_marker_end: bool = false; - pub const SERVO_PREF_ENABLED_marker_mid: bool = false; - pub const SERVO_PREF_ENABLED_marker_start: bool = false; - pub const SERVO_PREF_ENABLED_mask: bool = false; - pub const SERVO_PREF_ENABLED_mask_clip: bool = false; - pub const SERVO_PREF_ENABLED_mask_composite: bool = false; - pub const SERVO_PREF_ENABLED_mask_image: bool = false; - pub const SERVO_PREF_ENABLED_mask_mode: bool = false; - pub const SERVO_PREF_ENABLED_mask_origin: bool = false; - pub const SERVO_PREF_ENABLED_mask_position: bool = false; - pub const SERVO_PREF_ENABLED_mask_position_x: bool = false; - pub const SERVO_PREF_ENABLED_mask_position_y: bool = false; - pub const SERVO_PREF_ENABLED_mask_repeat: bool = false; - pub const SERVO_PREF_ENABLED_mask_size: bool = false; - pub const SERVO_PREF_ENABLED_mask_type: bool = false; - pub const SERVO_PREF_ENABLED__moz_math_display: bool = false; - pub const SERVO_PREF_ENABLED__moz_math_variant: bool = false; - pub const SERVO_PREF_ENABLED_max_block_size: bool = false; - pub const SERVO_PREF_ENABLED_max_height: bool = false; - pub const SERVO_PREF_ENABLED_max_inline_size: bool = false; - pub const SERVO_PREF_ENABLED_max_width: bool = false; - pub const SERVO_PREF_ENABLED_min_block_size: bool = false; - pub const SERVO_PREF_ENABLED__moz_min_font_size_ratio: bool = false; - pub const SERVO_PREF_ENABLED_min_height: bool = false; - pub const SERVO_PREF_ENABLED_min_inline_size: bool = false; - pub const SERVO_PREF_ENABLED_min_width: bool = false; - pub const SERVO_PREF_ENABLED_mix_blend_mode: bool = true; - pub const SERVO_PREF_ENABLED_object_fit: bool = false; - pub const SERVO_PREF_ENABLED_object_position: bool = false; - pub const SERVO_PREF_ENABLED_offset_block_end: bool = false; - pub const SERVO_PREF_ENABLED_offset_block_start: bool = false; - pub const SERVO_PREF_ENABLED_offset_inline_end: bool = false; - pub const SERVO_PREF_ENABLED_offset_inline_start: bool = false; - pub const SERVO_PREF_ENABLED_opacity: bool = false; - pub const SERVO_PREF_ENABLED_order: bool = false; - pub const SERVO_PREF_ENABLED__moz_orient: bool = false; - pub const SERVO_PREF_ENABLED__moz_osx_font_smoothing: bool = true; - pub const SERVO_PREF_ENABLED_outline: bool = false; - pub const SERVO_PREF_ENABLED_outline_color: bool = false; - pub const SERVO_PREF_ENABLED_outline_offset: bool = false; - pub const SERVO_PREF_ENABLED__moz_outline_radius: bool = false; - pub const SERVO_PREF_ENABLED__moz_outline_radius_bottomleft: bool = false; - pub const SERVO_PREF_ENABLED__moz_outline_radius_bottomright: bool = false; - pub const SERVO_PREF_ENABLED__moz_outline_radius_topleft: bool = false; - pub const SERVO_PREF_ENABLED__moz_outline_radius_topright: bool = false; - pub const SERVO_PREF_ENABLED_outline_style: bool = false; - pub const SERVO_PREF_ENABLED_outline_width: bool = false; - pub const SERVO_PREF_ENABLED_overflow: bool = false; - pub const SERVO_PREF_ENABLED_overflow_clip_box: bool = true; - pub const SERVO_PREF_ENABLED_overflow_clip_box_block: bool = true; - pub const SERVO_PREF_ENABLED_overflow_clip_box_inline: bool = true; - pub const SERVO_PREF_ENABLED_overflow_x: bool = false; - pub const SERVO_PREF_ENABLED_overflow_y: bool = false; - pub const SERVO_PREF_ENABLED_padding: bool = false; - pub const SERVO_PREF_ENABLED_padding_block_end: bool = false; - pub const SERVO_PREF_ENABLED_padding_block_start: bool = false; - pub const SERVO_PREF_ENABLED_padding_bottom: bool = false; - pub const SERVO_PREF_ENABLED_padding_inline_end: bool = false; - pub const SERVO_PREF_ENABLED_padding_inline_start: bool = false; - pub const SERVO_PREF_ENABLED_padding_left: bool = false; - pub const SERVO_PREF_ENABLED_padding_right: bool = false; - pub const SERVO_PREF_ENABLED_padding_top: bool = false; - pub const SERVO_PREF_ENABLED_page_break_after: bool = false; - pub const SERVO_PREF_ENABLED_page_break_before: bool = false; - pub const SERVO_PREF_ENABLED_page_break_inside: bool = false; - pub const SERVO_PREF_ENABLED_paint_order: bool = false; - pub const SERVO_PREF_ENABLED_perspective: bool = false; - pub const SERVO_PREF_ENABLED_perspective_origin: bool = false; - pub const SERVO_PREF_ENABLED_place_content: bool = false; - pub const SERVO_PREF_ENABLED_place_items: bool = false; - pub const SERVO_PREF_ENABLED_place_self: bool = false; - pub const SERVO_PREF_ENABLED_pointer_events: bool = false; - pub const SERVO_PREF_ENABLED_position: bool = false; - pub const SERVO_PREF_ENABLED_quotes: bool = false; - pub const SERVO_PREF_ENABLED_resize: bool = false; - pub const SERVO_PREF_ENABLED_right: bool = false; - pub const SERVO_PREF_ENABLED_rotate: bool = true; - pub const SERVO_PREF_ENABLED_ruby_align: bool = false; - pub const SERVO_PREF_ENABLED_ruby_position: bool = false; - pub const SERVO_PREF_ENABLED__moz_script_level: bool = false; - pub const SERVO_PREF_ENABLED__moz_script_min_size: bool = false; - pub const SERVO_PREF_ENABLED__moz_script_size_multiplier: bool = false; - pub const SERVO_PREF_ENABLED_scroll_behavior: bool = true; - pub const SERVO_PREF_ENABLED_overscroll_behavior: bool = true; - pub const SERVO_PREF_ENABLED_overscroll_behavior_x: bool = true; - pub const SERVO_PREF_ENABLED_overscroll_behavior_y: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_coordinate: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_destination: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_points_x: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_points_y: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_type: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_type_x: bool = true; - pub const SERVO_PREF_ENABLED_scroll_snap_type_y: bool = true; - pub const SERVO_PREF_ENABLED_shape_image_threshold: bool = true; - pub const SERVO_PREF_ENABLED_shape_outside: bool = true; - pub const SERVO_PREF_ENABLED_shape_rendering: bool = false; - pub const SERVO_PREF_ENABLED__x_span: bool = false; - pub const SERVO_PREF_ENABLED__moz_stack_sizing: bool = false; - pub const SERVO_PREF_ENABLED_stop_color: bool = false; - pub const SERVO_PREF_ENABLED_stop_opacity: bool = false; - pub const SERVO_PREF_ENABLED_stroke: bool = false; - pub const SERVO_PREF_ENABLED_stroke_dasharray: bool = false; - pub const SERVO_PREF_ENABLED_stroke_dashoffset: bool = false; - pub const SERVO_PREF_ENABLED_stroke_linecap: bool = false; - pub const SERVO_PREF_ENABLED_stroke_linejoin: bool = false; - pub const SERVO_PREF_ENABLED_stroke_miterlimit: bool = false; - pub const SERVO_PREF_ENABLED_stroke_opacity: bool = false; - pub const SERVO_PREF_ENABLED_stroke_width: bool = false; - pub const SERVO_PREF_ENABLED__moz_tab_size: bool = false; - pub const SERVO_PREF_ENABLED_table_layout: bool = false; - pub const SERVO_PREF_ENABLED_text_align: bool = false; - pub const SERVO_PREF_ENABLED_text_align_last: bool = false; - pub const SERVO_PREF_ENABLED_text_anchor: bool = false; - pub const SERVO_PREF_ENABLED_text_combine_upright: bool = true; - pub const SERVO_PREF_ENABLED_text_decoration: bool = false; - pub const SERVO_PREF_ENABLED_text_decoration_color: bool = false; - pub const SERVO_PREF_ENABLED_text_decoration_line: bool = false; - pub const SERVO_PREF_ENABLED_text_decoration_style: bool = false; - pub const SERVO_PREF_ENABLED_text_emphasis: bool = false; - pub const SERVO_PREF_ENABLED_text_emphasis_color: bool = false; - pub const SERVO_PREF_ENABLED_text_emphasis_position: bool = false; - pub const SERVO_PREF_ENABLED_text_emphasis_style: bool = false; - pub const SERVO_PREF_ENABLED__webkit_text_fill_color: bool = true; - pub const SERVO_PREF_ENABLED_text_indent: bool = false; - pub const SERVO_PREF_ENABLED_text_justify: bool = true; - pub const SERVO_PREF_ENABLED_text_orientation: bool = false; - pub const SERVO_PREF_ENABLED_text_overflow: bool = false; - pub const SERVO_PREF_ENABLED_text_rendering: bool = false; - pub const SERVO_PREF_ENABLED_text_shadow: bool = false; - pub const SERVO_PREF_ENABLED__moz_text_size_adjust: bool = false; - pub const SERVO_PREF_ENABLED__webkit_text_stroke: bool = true; - pub const SERVO_PREF_ENABLED__webkit_text_stroke_color: bool = true; - pub const SERVO_PREF_ENABLED__webkit_text_stroke_width: bool = true; - pub const SERVO_PREF_ENABLED_scale: bool = true; - pub const SERVO_PREF_ENABLED_text_transform: bool = false; - pub const SERVO_PREF_ENABLED__x_text_zoom: bool = false; - pub const SERVO_PREF_ENABLED_top: bool = false; - pub const SERVO_PREF_ENABLED__moz_top_layer: bool = false; - pub const SERVO_PREF_ENABLED_touch_action: bool = true; - pub const SERVO_PREF_ENABLED_transform: bool = false; - pub const SERVO_PREF_ENABLED_transform_box: bool = true; - pub const SERVO_PREF_ENABLED_transform_origin: bool = false; - pub const SERVO_PREF_ENABLED_transform_style: bool = false; - pub const SERVO_PREF_ENABLED_transition: bool = false; - pub const SERVO_PREF_ENABLED_transition_delay: bool = false; - pub const SERVO_PREF_ENABLED_transition_duration: bool = false; - pub const SERVO_PREF_ENABLED_transition_property: bool = false; - pub const SERVO_PREF_ENABLED_transition_timing_function: bool = false; - pub const SERVO_PREF_ENABLED_translate: bool = true; - pub const SERVO_PREF_ENABLED_unicode_bidi: bool = false; - pub const SERVO_PREF_ENABLED__moz_user_focus: bool = false; - pub const SERVO_PREF_ENABLED__moz_user_input: bool = false; - pub const SERVO_PREF_ENABLED__moz_user_modify: bool = false; - pub const SERVO_PREF_ENABLED__moz_user_select: bool = false; - pub const SERVO_PREF_ENABLED_vector_effect: bool = false; - pub const SERVO_PREF_ENABLED_vertical_align: bool = false; - pub const SERVO_PREF_ENABLED_visibility: bool = false; - pub const SERVO_PREF_ENABLED_white_space: bool = false; - pub const SERVO_PREF_ENABLED_width: bool = false; - pub const SERVO_PREF_ENABLED_will_change: bool = false; - pub const SERVO_PREF_ENABLED__moz_window_dragging: bool = false; - pub const SERVO_PREF_ENABLED__moz_window_shadow: bool = false; - pub const SERVO_PREF_ENABLED__moz_window_opacity: bool = false; - pub const SERVO_PREF_ENABLED__moz_window_transform: bool = false; - pub const SERVO_PREF_ENABLED__moz_window_transform_origin: bool = false; - pub const SERVO_PREF_ENABLED_word_break: bool = false; - pub const SERVO_PREF_ENABLED_word_spacing: bool = false; - pub const SERVO_PREF_ENABLED_overflow_wrap: bool = false; - pub const SERVO_PREF_ENABLED_writing_mode: bool = false; - pub const SERVO_PREF_ENABLED_z_index: bool = false; - pub const SERVO_PREF_ENABLED_word_wrap: bool = false; - pub const SERVO_PREF_ENABLED__moz_transform: bool = true; - pub const SERVO_PREF_ENABLED__moz_transform_origin: bool = true; - pub const SERVO_PREF_ENABLED__moz_perspective_origin: bool = true; - pub const SERVO_PREF_ENABLED__moz_perspective: bool = true; - pub const SERVO_PREF_ENABLED__moz_transform_style: bool = true; - pub const SERVO_PREF_ENABLED__moz_backface_visibility: bool = true; - pub const SERVO_PREF_ENABLED__moz_border_image: bool = true; - pub const SERVO_PREF_ENABLED__moz_transition: bool = true; - pub const SERVO_PREF_ENABLED__moz_transition_delay: bool = true; - pub const SERVO_PREF_ENABLED__moz_transition_duration: bool = true; - pub const SERVO_PREF_ENABLED__moz_transition_property: bool = true; - pub const SERVO_PREF_ENABLED__moz_transition_timing_function: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_delay: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_direction: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_duration: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_fill_mode: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_iteration_count: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_name: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_play_state: bool = true; - pub const SERVO_PREF_ENABLED__moz_animation_timing_function: bool = true; - pub const SERVO_PREF_ENABLED__moz_box_sizing: bool = true; - pub const SERVO_PREF_ENABLED__moz_font_feature_settings: bool = true; - pub const SERVO_PREF_ENABLED__moz_font_language_override: bool = true; - pub const SERVO_PREF_ENABLED__moz_padding_end: bool = false; - pub const SERVO_PREF_ENABLED__moz_padding_start: bool = false; - pub const SERVO_PREF_ENABLED__moz_margin_end: bool = false; - pub const SERVO_PREF_ENABLED__moz_margin_start: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_end: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_end_color: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_end_style: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_end_width: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_start: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_start_color: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_start_style: bool = false; - pub const SERVO_PREF_ENABLED__moz_border_start_width: bool = false; - pub const SERVO_PREF_ENABLED__moz_hyphens: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_count: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_fill: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_gap: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_rule: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_rule_color: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_rule_style: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_rule_width: bool = false; - pub const SERVO_PREF_ENABLED__moz_column_span: bool = true; - pub const SERVO_PREF_ENABLED__moz_column_width: bool = false; - pub const SERVO_PREF_ENABLED__moz_columns: bool = false; - pub const SERVO_PREF_ENABLED__webkit_animation: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_delay: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_direction: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_duration: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_fill_mode: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_iteration_count: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_name: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_play_state: bool = true; - pub const SERVO_PREF_ENABLED__webkit_animation_timing_function: bool = true; - pub const SERVO_PREF_ENABLED__webkit_filter: bool = true; - pub const SERVO_PREF_ENABLED__webkit_text_size_adjust: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transform: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transform_origin: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transform_style: bool = true; - pub const SERVO_PREF_ENABLED__webkit_backface_visibility: bool = true; - pub const SERVO_PREF_ENABLED__webkit_perspective: bool = true; - pub const SERVO_PREF_ENABLED__webkit_perspective_origin: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transition: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transition_delay: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transition_duration: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transition_property: bool = true; - pub const SERVO_PREF_ENABLED__webkit_transition_timing_function: bool = true; - pub const SERVO_PREF_ENABLED__webkit_border_radius: bool = true; - pub const SERVO_PREF_ENABLED__webkit_border_top_left_radius: bool = true; - pub const SERVO_PREF_ENABLED__webkit_border_top_right_radius: bool = true; - pub const SERVO_PREF_ENABLED__webkit_border_bottom_left_radius: bool = true; - pub const SERVO_PREF_ENABLED__webkit_border_bottom_right_radius: bool = true; - pub const SERVO_PREF_ENABLED__webkit_background_clip: bool = true; - pub const SERVO_PREF_ENABLED__webkit_background_origin: bool = true; - pub const SERVO_PREF_ENABLED__webkit_background_size: bool = true; - pub const SERVO_PREF_ENABLED__webkit_border_image: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_shadow: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_sizing: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_flex: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_ordinal_group: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_orient: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_direction: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_align: bool = true; - pub const SERVO_PREF_ENABLED__webkit_box_pack: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex_direction: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex_wrap: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex_flow: bool = true; - pub const SERVO_PREF_ENABLED__webkit_order: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex_grow: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex_shrink: bool = true; - pub const SERVO_PREF_ENABLED__webkit_flex_basis: bool = true; - pub const SERVO_PREF_ENABLED__webkit_justify_content: bool = true; - pub const SERVO_PREF_ENABLED__webkit_align_items: bool = true; - pub const SERVO_PREF_ENABLED__webkit_align_self: bool = true; - pub const SERVO_PREF_ENABLED__webkit_align_content: bool = true; - pub const SERVO_PREF_ENABLED__webkit_user_select: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_clip: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_composite: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_image: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_origin: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_position: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_position_x: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_position_y: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_repeat: bool = true; - pub const SERVO_PREF_ENABLED__webkit_mask_size: bool = true; - pub type ComputedKeyframeValues = - root::nsTArray; - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoStyleSet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoAuthorStyles_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoSelectorList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoSourceSizeList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct AnimationValue { - pub mGecko: usize, - pub mServo: root::RefPtr, - } - #[test] - fn bindgen_test_layout_AnimationValue() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(AnimationValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(AnimationValue)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mGecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(AnimationValue), - "::", - stringify!(mGecko) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mServo as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(AnimationValue), - "::", - stringify!(mServo) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct PropertyStyleAnimationValuePair { - pub mProperty: root::nsCSSPropertyID, - pub mValue: root::mozilla::AnimationValue, - } - #[test] - fn bindgen_test_layout_PropertyStyleAnimationValuePair() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(PropertyStyleAnimationValuePair)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PropertyStyleAnimationValuePair)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mProperty - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PropertyStyleAnimationValuePair), - "::", - stringify!(mProperty) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PropertyStyleAnimationValuePair), - "::", - stringify!(mValue) - ) - ); - } - #[repr(C)] - pub struct StyleSheetInfo__bindgen_vtable(::std::os::raw::c_void); - /// Struct for data common to CSSStyleSheetInner and ServoStyleSheet. - #[repr(C)] - pub struct StyleSheetInfo { - pub vtable_: *const StyleSheetInfo__bindgen_vtable, - pub mSheetURI: root::nsCOMPtr, - pub mOriginalSheetURI: root::nsCOMPtr, - pub mBaseURI: root::nsCOMPtr, - pub mPrincipal: root::nsCOMPtr, - pub mCORSMode: root::mozilla::CORSMode, - pub mReferrerPolicy: root::mozilla::StyleSheetInfo_ReferrerPolicy, - pub mIntegrity: root::mozilla::dom::SRIMetadata, - pub mComplete: bool, - pub mFirstChild: root::RefPtr, - pub mSheets: [u64; 10usize], - pub mSourceMapURL: ::nsstring::nsStringRepr, - pub mSourceMapURLFromComment: ::nsstring::nsStringRepr, - pub mSourceURL: ::nsstring::nsStringRepr, - } - pub use self :: super :: super :: root :: mozilla :: net :: ReferrerPolicy as StyleSheetInfo_ReferrerPolicy; - #[test] - fn bindgen_test_layout_StyleSheetInfo() { - assert_eq!( - ::std::mem::size_of::(), - 240usize, - concat!("Size of: ", stringify!(StyleSheetInfo)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleSheetInfo)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSheetURI as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mSheetURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOriginalSheetURI as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mOriginalSheetURI) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBaseURI as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mBaseURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrincipal as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mPrincipal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCORSMode as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mCORSMode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mReferrerPolicy as *const _ as usize - }, - 44usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mReferrerPolicy) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIntegrity as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mIntegrity) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mComplete as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mComplete) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFirstChild as *const _ as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mFirstChild) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSheets as *const _ as usize }, - 112usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mSheets) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSourceMapURL as *const _ as usize - }, - 192usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mSourceMapURL) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSourceMapURLFromComment as *const _ - as usize - }, - 208usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mSourceMapURLFromComment) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSourceURL as *const _ as usize - }, - 224usize, - concat!( - "Offset of field: ", - stringify!(StyleSheetInfo), - "::", - stringify!(mSourceURL) - ) - ); - } - /// CondVar - /// Vanilla condition variable. Please don't use this unless you have a - /// compelling reason --- Monitor provides a simpler API. - #[repr(C)] - #[derive(Debug)] - pub struct CondVar { - pub mLock: *mut root::mozilla::Mutex, - pub mImpl: root::mozilla::detail::ConditionVariableImpl, - } - #[test] - fn bindgen_test_layout_CondVar() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(CondVar)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CondVar)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLock as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CondVar), - "::", - stringify!(mLock) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mImpl as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(CondVar), - "::", - stringify!(mImpl) - ) - ); - } - /// Monitor provides a *non*-reentrant monitor: *not* a Java-style - /// monitor. If your code needs support for reentrancy, use - /// ReentrantMonitor instead. (Rarely should reentrancy be needed.) - /// - /// Instead of directly calling Monitor methods, it's safer and simpler - /// to instead use the RAII wrappers MonitorAutoLock and - /// MonitorAutoUnlock. - #[repr(C)] - #[derive(Debug)] - pub struct Monitor { - pub mMutex: root::mozilla::Mutex, - pub mCondVar: root::mozilla::CondVar, - } - #[test] - fn bindgen_test_layout_Monitor() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(Monitor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Monitor)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMutex as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Monitor), - "::", - stringify!(mMutex) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mCondVar as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(Monitor), - "::", - stringify!(mCondVar) - ) - ); - } - #[repr(C)] - pub struct MozPromiseRefcountable__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug)] - pub struct MozPromiseRefcountable { - pub vtable_: *const MozPromiseRefcountable__bindgen_vtable, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - } - pub type MozPromiseRefcountable_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_MozPromiseRefcountable() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(MozPromiseRefcountable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(MozPromiseRefcountable)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(MozPromiseRefcountable), - "::", - stringify!(mRefCnt) - ) - ); - } - pub type MozPromise_ResolveValueType = ResolveValueT; - pub type MozPromise_RejectValueType = RejectValueT; - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_ResolveOrRejectValue { - pub mValue: root::mozilla::MozPromise_ResolveOrRejectValue_Storage, - } - pub const MozPromise_ResolveOrRejectValue_NothingIndex: - root::mozilla::MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0; - pub const MozPromise_ResolveOrRejectValue_ResolveIndex: - root::mozilla::MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0; - pub const MozPromise_ResolveOrRejectValue_RejectIndex: - root::mozilla::MozPromise_ResolveOrRejectValue__bindgen_ty_1 = 0; - pub type MozPromise_ResolveOrRejectValue__bindgen_ty_1 = i32; - pub type MozPromise_ResolveOrRejectValue_Storage = root::mozilla::Variant; - pub type MozPromise_AllPromiseType = u8; - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_AllPromiseHolder { - pub _base: root::mozilla::MozPromiseRefcountable, - pub mResolveValues: u8, - pub mPromise: root::RefPtr, - pub mOutstandingPromises: usize, - } - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_Request { - pub _base: root::mozilla::MozPromiseRefcountable, - pub mComplete: bool, - pub mDisconnected: bool, - } - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_ThenValueBase { - pub _base: root::mozilla::MozPromise_Request, - pub mResponseTarget: root::nsCOMPtr, - pub mMagic1: u32, - pub mCallSite: *const ::std::os::raw::c_char, - pub mMagic2: u32, - } - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_ThenValueBase_ResolveOrRejectRunnable { - pub _base: root::mozilla::CancelableRunnable, - pub mThenValue: root::RefPtr, - pub mPromise: u8, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct MozPromise_ThenValue { - pub _address: u8, - } - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_ThenCommand { - pub mCallSite: *const ::std::os::raw::c_char, - pub mThenValue: root::RefPtr, - pub mReceiver: u8, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type MozPromise_ThenCommand_PromiseType = [u8; 0usize]; - pub type MozPromise_ThenCommand_Private = [u8; 0usize]; - #[repr(C)] - #[derive(Debug)] - pub struct MozPromise_Private { - pub _base: u8, - } - #[repr(C)] - #[derive(Debug)] - pub struct MozPromiseHolder { - pub mMonitor: *mut root::mozilla::Monitor, - pub mPromise: root::RefPtr, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - /// Superclass for data common to CSSStyleSheet and ServoStyleSheet. - #[repr(C)] - pub struct StyleSheet { - pub _base: root::nsICSSLoaderObserver, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mParent: *mut root::mozilla::StyleSheet, - pub mTitle: ::nsstring::nsStringRepr, - pub mDocument: *mut root::nsIDocument, - pub mOwningNode: *mut root::nsINode, - pub mOwnerRule: *mut root::mozilla::dom::CSSImportRule, - pub mMedia: root::RefPtr, - pub mNext: root::RefPtr, - pub mParsingMode: root::mozilla::css::SheetParsingMode, - pub mDisabled: bool, - pub mDirtyFlags: u8, - pub mDocumentAssociationMode: root::mozilla::StyleSheet_DocumentAssociationMode, - pub mInner: *mut root::mozilla::StyleSheetInfo, - pub mStyleSets: root::nsTArray<*mut root::mozilla::ServoStyleSet>, - } - pub type StyleSheet_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct StyleSheet_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_StyleSheet_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(StyleSheet_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleSheet_cycleCollection)) - ); - } - impl Clone for StyleSheet_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - pub const StyleSheet_ChangeType_Added: root::mozilla::StyleSheet_ChangeType = 0; - pub const StyleSheet_ChangeType_Removed: root::mozilla::StyleSheet_ChangeType = 1; - pub const StyleSheet_ChangeType_ApplicableStateChanged: - root::mozilla::StyleSheet_ChangeType = 2; - pub const StyleSheet_ChangeType_RuleAdded: root::mozilla::StyleSheet_ChangeType = 3; - pub const StyleSheet_ChangeType_RuleRemoved: root::mozilla::StyleSheet_ChangeType = 4; - pub const StyleSheet_ChangeType_RuleChanged: root::mozilla::StyleSheet_ChangeType = 5; - /// The different changes that a stylesheet may go through. - /// - /// Used by the StyleSets in order to handle more efficiently some kinds of - /// changes. - pub type StyleSheet_ChangeType = i32; - pub const StyleSheet_DocumentAssociationMode_OwnedByDocument: - root::mozilla::StyleSheet_DocumentAssociationMode = 0; - pub const StyleSheet_DocumentAssociationMode_NotOwnedByDocument: - root::mozilla::StyleSheet_DocumentAssociationMode = 1; - pub type StyleSheet_DocumentAssociationMode = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct StyleSheet_ChildSheetListBuilder { - pub sheetSlot: *mut root::RefPtr, - pub parent: *mut root::mozilla::StyleSheet, - } - #[test] - fn bindgen_test_layout_StyleSheet_ChildSheetListBuilder() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(StyleSheet_ChildSheetListBuilder)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(StyleSheet_ChildSheetListBuilder) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).sheetSlot - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StyleSheet_ChildSheetListBuilder), - "::", - stringify!(sheetSlot) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).parent as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(StyleSheet_ChildSheetListBuilder), - "::", - stringify!(parent) - ) - ); - } - impl Clone for StyleSheet_ChildSheetListBuilder { - fn clone(&self) -> Self { - *self - } - } - pub const StyleSheet_dirtyFlagAttributes_FORCED_UNIQUE_INNER: - root::mozilla::StyleSheet_dirtyFlagAttributes = 1; - pub const StyleSheet_dirtyFlagAttributes_MODIFIED_RULES: - root::mozilla::StyleSheet_dirtyFlagAttributes = 2; - pub type StyleSheet_dirtyFlagAttributes = u32; - extern "C" { - #[link_name = "\u{1}_ZN7mozilla10StyleSheet21_cycleCollectorGlobalE"] - pub static mut StyleSheet__cycleCollectorGlobal: - root::mozilla::StyleSheet_cycleCollection; - } - #[test] - fn bindgen_test_layout_StyleSheet() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(StyleSheet)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StyleSheet)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ServoCSSRuleList { - _unused: [u8; 0], - } - impl Clone for ServoCSSRuleList { - fn clone(&self) -> Self { - *self - } - } - pub type StyleSheetParsePromise = [u64; 16usize]; - #[repr(C)] - pub struct ServoStyleSheetInner { - pub _base: root::mozilla::StyleSheetInfo, - pub mContents: root::RefPtr, - pub mURLData: root::RefPtr, - } - #[test] - fn bindgen_test_layout_ServoStyleSheetInner() { - assert_eq!( - ::std::mem::size_of::(), - 256usize, - concat!("Size of: ", stringify!(ServoStyleSheetInner)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleSheetInner)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mContents as *const _ as usize - }, - 240usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSheetInner), - "::", - stringify!(mContents) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mURLData as *const _ as usize - }, - 248usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSheetInner), - "::", - stringify!(mURLData) - ) - ); - } - #[repr(C)] - pub struct ServoStyleSheet { - pub _base: root::mozilla::StyleSheet, - pub mRuleList: root::RefPtr, - pub mParsePromise: - root::mozilla::MozPromiseHolder, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ServoStyleSheet_cycleCollection { - pub _base: root::mozilla::StyleSheet_cycleCollection, - } - #[test] - fn bindgen_test_layout_ServoStyleSheet_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(ServoStyleSheet_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleSheet_cycleCollection)) - ); - } - impl Clone for ServoStyleSheet_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct ServoStyleSheet_COMTypeInfo { - pub _address: u8, - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla15ServoStyleSheet21_cycleCollectorGlobalE"] - pub static mut ServoStyleSheet__cycleCollectorGlobal: - root::mozilla::ServoStyleSheet_cycleCollection; - } - #[test] - fn bindgen_test_layout_ServoStyleSheet() { - assert_eq!( - ::std::mem::size_of::(), - 152usize, - concat!("Size of: ", stringify!(ServoStyleSheet)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleSheet)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRuleList as *const _ as usize - }, - 128usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSheet), - "::", - stringify!(mRuleList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mParsePromise as *const _ as usize - }, - 136usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSheet), - "::", - stringify!(mParsePromise) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct EventListenerManager { - _unused: [u8; 0], - } - impl Clone for EventListenerManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct URIPrincipalReferrerPolicyAndCORSModeHashKey { - pub _base: root::nsURIHashKey, - pub mPrincipal: root::nsCOMPtr, - pub mCORSMode: root::mozilla::CORSMode, - pub mReferrerPolicy: - root::mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey_ReferrerPolicy, - } - pub type URIPrincipalReferrerPolicyAndCORSModeHashKey_KeyType = - *mut root::mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey; - pub type URIPrincipalReferrerPolicyAndCORSModeHashKey_KeyTypePointer = - *const root::mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey; - pub use self :: super :: super :: root :: mozilla :: net :: ReferrerPolicy as URIPrincipalReferrerPolicyAndCORSModeHashKey_ReferrerPolicy; - pub const URIPrincipalReferrerPolicyAndCORSModeHashKey_ALLOW_MEMMOVE: - root::mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey__bindgen_ty_1 = 1; - pub type URIPrincipalReferrerPolicyAndCORSModeHashKey__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_URIPrincipalReferrerPolicyAndCORSModeHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!( - "Size of: ", - stringify!(URIPrincipalReferrerPolicyAndCORSModeHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(URIPrincipalReferrerPolicyAndCORSModeHashKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mPrincipal as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(URIPrincipalReferrerPolicyAndCORSModeHashKey), - "::", - stringify!(mPrincipal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mCORSMode as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(URIPrincipalReferrerPolicyAndCORSModeHashKey), - "::", - stringify!(mCORSMode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mReferrerPolicy as *const _ as usize - }, - 28usize, - concat!( - "Offset of field: ", - stringify!(URIPrincipalReferrerPolicyAndCORSModeHashKey), - "::", - stringify!(mReferrerPolicy) - ) - ); - } - /// An encoding as defined in the Encoding Standard - /// (https://encoding.spec.whatwg.org/). - /// - /// See https://docs.rs/encoding_rs/ for the Rust API docs. - /// - /// An _encoding_ defines a mapping from a byte sequence to a Unicode code point - /// sequence and, in most cases, vice versa. Each encoding has a name, an output - /// encoding, and one or more labels. - /// - /// _Labels_ are ASCII-case-insensitive strings that are used to identify an - /// encoding in formats and protocols. The _name_ of the encoding is the - /// preferred label in the case appropriate for returning from the - /// `characterSet` property of the `Document` DOM interface, except for - /// the replacement encoding whose name is not one of its labels. - /// - /// The _output encoding_ is the encoding used for form submission and URL - /// parsing on Web pages in the encoding. This is UTF-8 for the replacement, - /// UTF-16LE and UTF-16BE encodings and the encoding itself for other - /// encodings. - /// - /// # Streaming vs. Non-Streaming - /// - /// When you have the entire input in a single buffer, you can use the - /// methods `Decode()`, `DecodeWithBOMRemoval()`, - /// `DecodeWithoutBOMHandling()`, - /// `DecodeWithoutBOMHandlingAndWithoutReplacement()` and - /// `Encode()`. Unlike the rest of the API (apart from the `NewDecoder()` and - /// NewEncoder()` methods), these methods perform heap allocations. You should - /// the `Decoder` and `Encoder` objects when your input is split into multiple - /// buffers or when you want to control the allocation of the output buffers. - /// - /// # Instances - /// - /// All instances of `Encoding` are statically allocated and have the process's - /// lifetime. There is precisely one unique `Encoding` instance for each - /// encoding defined in the Encoding Standard. - /// - /// To obtain a reference to a particular encoding whose identity you know at - /// compile time, use a `static` that refers to encoding. There is a `static` - /// for each encoding. The `static`s are named in all caps with hyphens - /// replaced with underscores and with `_ENCODING` appended to the - /// name. For example, if you know at compile time that you will want to - /// decode using the UTF-8 encoding, use the `UTF_8_ENCODING` `static`. - /// - /// If you don't know what encoding you need at compile time and need to - /// dynamically get an encoding by label, use `Encoding::for_label()`. - /// - /// Pointers to `Encoding` can be compared with `==` to check for the sameness - /// of two encodings. - /// - /// A pointer to a `mozilla::Encoding` in C++ is the same thing as a pointer - /// to an `encoding_rs::Encoding` in Rust. When writing FFI code, use - /// `const mozilla::Encoding*` in the C signature and - /// `*const encoding_rs::Encoding` is the corresponding Rust signature. - #[repr(C)] - #[derive(Debug)] - pub struct Encoding { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_Encoding() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(Encoding)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(Encoding)) - ); - } - /// A converter that decodes a byte stream into Unicode according to a - /// character encoding in a streaming (incremental) manner. - /// - /// The various `Decode*` methods take an input buffer (`aSrc`) and an output - /// buffer `aDst` both of which are caller-allocated. There are variants for - /// both UTF-8 and UTF-16 output buffers. - /// - /// A `Decode*` method decodes bytes from `aSrc` into Unicode characters stored - /// into `aDst` until one of the following three things happens: - /// - /// 1. A malformed byte sequence is encountered (`*WithoutReplacement` - /// variants only). - /// - /// 2. The output buffer has been filled so near capacity that the decoder - /// cannot be sure that processing an additional byte of input wouldn't - /// cause so much output that the output buffer would overflow. - /// - /// 3. All the input bytes have been processed. - /// - /// The `Decode*` method then returns tuple of a status indicating which one - /// of the three reasons to return happened, how many input bytes were read, - /// how many output code units (`uint8_t` when decoding into UTF-8 and `char16_t` - /// when decoding to UTF-16) were written, and in the case of the - /// variants performing replacement, a boolean indicating whether an error was - /// replaced with the REPLACEMENT CHARACTER during the call. - /// - /// The number of bytes "written" is what's logically written. Garbage may be - /// written in the output buffer beyond the point logically written to. - /// - /// In the case of the `*WithoutReplacement` variants, the status is a - /// `uint32_t` whose possible values are packed info about a malformed byte - /// sequence, `kOutputFull` and `kInputEmpty` corresponding to the three cases - /// listed above). - /// - /// Packed info about malformed sequences has the following format: - /// The lowest 8 bits, which can have the decimal value 0, 1, 2 or 3, - /// indicate the number of bytes that were consumed after the malformed - /// sequence and whose next-lowest 8 bits, when shifted right by 8 indicate - /// the length of the malformed byte sequence (possible decimal values 1, 2, - /// 3 or 4). The maximum possible sum of the two is 6. - /// - /// In the case of methods whose name does not end with - /// `*WithoutReplacement`, malformed sequences are automatically replaced - /// with the REPLACEMENT CHARACTER and errors do not cause the methods to - /// return early. - /// - /// When decoding to UTF-8, the output buffer must have at least 4 bytes of - /// space. When decoding to UTF-16, the output buffer must have at least two - /// UTF-16 code units (`char16_t`) of space. - /// - /// When decoding to UTF-8 without replacement, the methods are guaranteed - /// not to return indicating that more output space is needed if the length - /// of the output buffer is at least the length returned by - /// `MaxUTF8BufferLengthWithoutReplacement()`. When decoding to UTF-8 - /// with replacement, the length of the output buffer that guarantees the - /// methods not to return indicating that more output space is needed is given - /// by `MaxUTF8BufferLength()`. When decoding to UTF-16 with - /// or without replacement, the length of the output buffer that guarantees - /// the methods not to return indicating that more output space is needed is - /// given by `MaxUTF16BufferLength()`. - /// - /// The output written into `aDst` is guaranteed to be valid UTF-8 or UTF-16, - /// and the output after each `Decode*` call is guaranteed to consist of - /// complete characters. (I.e. the code unit sequence for the last character is - /// guaranteed not to be split across output buffers.) - /// - /// The boolean argument `aLast` indicates that the end of the stream is reached - /// when all the bytes in `aSrc` have been consumed. - /// - /// A `Decoder` object can be used to incrementally decode a byte stream. - /// - /// During the processing of a single stream, the caller must call `Decode*` - /// zero or more times with `aLast` set to `false` and then call `Decode*` at - /// least once with `aLast` set to `true`. If `Decode*` returns `kInputEmpty`, - /// the processing of the stream has ended. Otherwise, the caller must call - /// `Decode*` again with `aLast` set to `true` (or treat a malformed result, - /// i.e. neither `kInputEmpty` nor `kOutputFull`, as a fatal error). - /// - /// Once the stream has ended, the `Decoder` object must not be used anymore. - /// That is, you need to create another one to process another stream. - /// - /// When the decoder returns `kOutputFull` or the decoder returns a malformed - /// result and the caller does not wish to treat it as a fatal error, the input - /// buffer `aSrc` may not have been completely consumed. In that case, the caller - /// must pass the unconsumed contents of `aSrc` to `Decode*` again upon the next - /// call. - /// - /// # Infinite loops - /// - /// When converting with a fixed-size output buffer whose size is too small to - /// accommodate one character of output, an infinite loop ensues. When - /// converting with a fixed-size output buffer, it generally makes sense to - /// make the buffer fairly large (e.g. couple of kilobytes). - #[repr(C)] - #[derive(Debug)] - pub struct Decoder { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_Decoder() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(Decoder)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(Decoder)) - ); - } - /// A converter that encodes a Unicode stream into bytes according to a - /// character encoding in a streaming (incremental) manner. - /// - /// The various `Encode*` methods take an input buffer (`aSrc`) and an output - /// buffer `aDst` both of which are caller-allocated. There are variants for - /// both UTF-8 and UTF-16 input buffers. - /// - /// An `Encode*` method encode characters from `aSrc` into bytes characters - /// stored into `aDst` until one of the following three things happens: - /// - /// 1. An unmappable character is encountered (`*WithoutReplacement` variants - /// only). - /// - /// 2. The output buffer has been filled so near capacity that the decoder - /// cannot be sure that processing an additional character of input wouldn't - /// cause so much output that the output buffer would overflow. - /// - /// 3. All the input characters have been processed. - /// - /// The `Encode*` method then returns tuple of a status indicating which one - /// of the three reasons to return happened, how many input code units (`uint8_t` - /// when encoding from UTF-8 and `char16_t` when encoding from UTF-16) were read, - /// how many output bytes were written, and in the case of the variants that - /// perform replacement, a boolean indicating whether an unmappable - /// character was replaced with a numeric character reference during the call. - /// - /// The number of bytes "written" is what's logically written. Garbage may be - /// written in the output buffer beyond the point logically written to. - /// - /// In the case of the methods whose name ends with - /// `*WithoutReplacement`, the status is a `uint32_t` whose possible values - /// are an unmappable code point, `kOutputFull` and `kInputEmpty` corresponding - /// to the three cases listed above). - /// - /// In the case of methods whose name does not end with - /// `*WithoutReplacement`, unmappable characters are automatically replaced - /// with the corresponding numeric character references and unmappable - /// characters do not cause the methods to return early. - /// - /// When encoding from UTF-8 without replacement, the methods are guaranteed - /// not to return indicating that more output space is needed if the length - /// of the output buffer is at least the length returned by - /// `MaxBufferLengthFromUTF8WithoutReplacement()`. When encoding from - /// UTF-8 with replacement, the length of the output buffer that guarantees the - /// methods not to return indicating that more output space is needed in the - /// absence of unmappable characters is given by - /// `MaxBufferLengthFromUTF8IfNoUnmappables()`. When encoding from - /// UTF-16 without replacement, the methods are guaranteed not to return - /// indicating that more output space is needed if the length of the output - /// buffer is at least the length returned by - /// `MaxBufferLengthFromUTF16WithoutReplacement()`. When encoding - /// from UTF-16 with replacement, the the length of the output buffer that - /// guarantees the methods not to return indicating that more output space is - /// needed in the absence of unmappable characters is given by - /// `MaxBufferLengthFromUTF16IfNoUnmappables()`. - /// When encoding with replacement, applications are not expected to size the - /// buffer for the worst case ahead of time but to resize the buffer if there - /// are unmappable characters. This is why max length queries are only available - /// for the case where there are no unmappable characters. - /// - /// When encoding from UTF-8, each `aSrc` buffer _must_ be valid UTF-8. When - /// encoding from UTF-16, unpaired surrogates in the input are treated as U+FFFD - /// REPLACEMENT CHARACTERS. Therefore, in order for astral characters not to - /// turn into a pair of REPLACEMENT CHARACTERS, the caller must ensure that - /// surrogate pairs are not split across input buffer boundaries. - /// - /// After an `Encode*` call returns, the output produced so far, taken as a - /// whole from the start of the stream, is guaranteed to consist of a valid - /// byte sequence in the target encoding. (I.e. the code unit sequence for a - /// character is guaranteed not to be split across output buffers. However, due - /// to the stateful nature of ISO-2022-JP, the stream needs to be considered - /// from the start for it to be valid. For other encodings, the validity holds - /// on a per-output buffer basis.) - /// - /// The boolean argument `aLast` indicates that the end of the stream is reached - /// when all the characters in `aSrc` have been consumed. This argument is needed - /// for ISO-2022-JP and is ignored for other encodings. - /// - /// An `Encoder` object can be used to incrementally encode a byte stream. - /// - /// During the processing of a single stream, the caller must call `Encode*` - /// zero or more times with `aLast` set to `false` and then call `Encode*` at - /// least once with `aLast` set to `true`. If `Encode*` returns `kInputEmpty`, - /// the processing of the stream has ended. Otherwise, the caller must call - /// `Encode*` again with `aLast` set to `true` (or treat an unmappable result, - /// i.e. neither `kInputEmpty` nor `kOutputFull`, as a fatal error). - /// - /// Once the stream has ended, the `Encoder` object must not be used anymore. - /// That is, you need to create another one to process another stream. - /// - /// When the encoder returns `kOutputFull` or the encoder returns an unmappable - /// result and the caller does not wish to treat it as a fatal error, the input - /// buffer `aSrc` may not have been completely consumed. In that case, the caller - /// must pass the unconsumed contents of `aSrc` to `Encode*` again upon the next - /// call. - /// - /// # Infinite loops - /// - /// When converting with a fixed-size output buffer whose size is too small to - /// accommodate one character of output, an infinite loop ensues. When - /// converting with a fixed-size output buffer, it generally makes sense to - /// make the buffer fairly large (e.g. couple of kilobytes). - #[repr(C)] - #[derive(Debug)] - pub struct Encoder { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_Encoder() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(Encoder)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(Encoder)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DOMEventTargetHelper { - _unused: [u8; 0], - } - impl Clone for DOMEventTargetHelper { - fn clone(&self) -> Self { - *self - } - } - /// Event messages - pub type EventMessageType = u16; - pub const EventMessage_eVoidEvent: root::mozilla::EventMessage = 0; - pub const EventMessage_eAllEvents: root::mozilla::EventMessage = 1; - pub const EventMessage_eWindowClose: root::mozilla::EventMessage = 2; - pub const EventMessage_eKeyPress: root::mozilla::EventMessage = 3; - pub const EventMessage_eKeyUp: root::mozilla::EventMessage = 4; - pub const EventMessage_eKeyDown: root::mozilla::EventMessage = 5; - pub const EventMessage_eKeyDownOnPlugin: root::mozilla::EventMessage = 6; - pub const EventMessage_eKeyUpOnPlugin: root::mozilla::EventMessage = 7; - pub const EventMessage_eAccessKeyNotFound: root::mozilla::EventMessage = 8; - pub const EventMessage_eResize: root::mozilla::EventMessage = 9; - pub const EventMessage_eScroll: root::mozilla::EventMessage = 10; - pub const EventMessage_eInstall: root::mozilla::EventMessage = 11; - pub const EventMessage_eAppInstalled: root::mozilla::EventMessage = 12; - pub const EventMessage_ePluginActivate: root::mozilla::EventMessage = 13; - pub const EventMessage_ePluginFocus: root::mozilla::EventMessage = 14; - pub const EventMessage_eOffline: root::mozilla::EventMessage = 15; - pub const EventMessage_eOnline: root::mozilla::EventMessage = 16; - pub const EventMessage_eLanguageChange: root::mozilla::EventMessage = 17; - pub const EventMessage_eMouseMove: root::mozilla::EventMessage = 18; - pub const EventMessage_eMouseUp: root::mozilla::EventMessage = 19; - pub const EventMessage_eMouseDown: root::mozilla::EventMessage = 20; - pub const EventMessage_eMouseEnterIntoWidget: root::mozilla::EventMessage = 21; - pub const EventMessage_eMouseExitFromWidget: root::mozilla::EventMessage = 22; - pub const EventMessage_eMouseDoubleClick: root::mozilla::EventMessage = 23; - pub const EventMessage_eMouseClick: root::mozilla::EventMessage = 24; - pub const EventMessage_eMouseAuxClick: root::mozilla::EventMessage = 25; - pub const EventMessage_eMouseActivate: root::mozilla::EventMessage = 26; - pub const EventMessage_eMouseOver: root::mozilla::EventMessage = 27; - pub const EventMessage_eMouseOut: root::mozilla::EventMessage = 28; - pub const EventMessage_eMouseHitTest: root::mozilla::EventMessage = 29; - pub const EventMessage_eMouseEnter: root::mozilla::EventMessage = 30; - pub const EventMessage_eMouseLeave: root::mozilla::EventMessage = 31; - pub const EventMessage_eMouseTouchDrag: root::mozilla::EventMessage = 32; - pub const EventMessage_eMouseLongTap: root::mozilla::EventMessage = 33; - pub const EventMessage_eMouseEventFirst: root::mozilla::EventMessage = 18; - pub const EventMessage_eMouseEventLast: root::mozilla::EventMessage = 33; - pub const EventMessage_ePointerMove: root::mozilla::EventMessage = 34; - pub const EventMessage_ePointerUp: root::mozilla::EventMessage = 35; - pub const EventMessage_ePointerDown: root::mozilla::EventMessage = 36; - pub const EventMessage_ePointerOver: root::mozilla::EventMessage = 37; - pub const EventMessage_ePointerOut: root::mozilla::EventMessage = 38; - pub const EventMessage_ePointerEnter: root::mozilla::EventMessage = 39; - pub const EventMessage_ePointerLeave: root::mozilla::EventMessage = 40; - pub const EventMessage_ePointerCancel: root::mozilla::EventMessage = 41; - pub const EventMessage_ePointerGotCapture: root::mozilla::EventMessage = 42; - pub const EventMessage_ePointerLostCapture: root::mozilla::EventMessage = 43; - pub const EventMessage_ePointerEventFirst: root::mozilla::EventMessage = 34; - pub const EventMessage_ePointerEventLast: root::mozilla::EventMessage = 43; - pub const EventMessage_eContextMenu: root::mozilla::EventMessage = 44; - pub const EventMessage_eLoad: root::mozilla::EventMessage = 45; - pub const EventMessage_eUnload: root::mozilla::EventMessage = 46; - pub const EventMessage_eHashChange: root::mozilla::EventMessage = 47; - pub const EventMessage_eImageAbort: root::mozilla::EventMessage = 48; - pub const EventMessage_eLoadError: root::mozilla::EventMessage = 49; - pub const EventMessage_eLoadEnd: root::mozilla::EventMessage = 50; - pub const EventMessage_ePopState: root::mozilla::EventMessage = 51; - pub const EventMessage_eStorage: root::mozilla::EventMessage = 52; - pub const EventMessage_eBeforeUnload: root::mozilla::EventMessage = 53; - pub const EventMessage_eReadyStateChange: root::mozilla::EventMessage = 54; - pub const EventMessage_eFormSubmit: root::mozilla::EventMessage = 55; - pub const EventMessage_eFormReset: root::mozilla::EventMessage = 56; - pub const EventMessage_eFormChange: root::mozilla::EventMessage = 57; - pub const EventMessage_eFormSelect: root::mozilla::EventMessage = 58; - pub const EventMessage_eFormInvalid: root::mozilla::EventMessage = 59; - pub const EventMessage_eFormCheckboxStateChange: root::mozilla::EventMessage = 60; - pub const EventMessage_eFormRadioStateChange: root::mozilla::EventMessage = 61; - pub const EventMessage_eFocus: root::mozilla::EventMessage = 62; - pub const EventMessage_eBlur: root::mozilla::EventMessage = 63; - pub const EventMessage_eFocusIn: root::mozilla::EventMessage = 64; - pub const EventMessage_eFocusOut: root::mozilla::EventMessage = 65; - pub const EventMessage_eDragEnter: root::mozilla::EventMessage = 66; - pub const EventMessage_eDragOver: root::mozilla::EventMessage = 67; - pub const EventMessage_eDragExit: root::mozilla::EventMessage = 68; - pub const EventMessage_eDrag: root::mozilla::EventMessage = 69; - pub const EventMessage_eDragEnd: root::mozilla::EventMessage = 70; - pub const EventMessage_eDragStart: root::mozilla::EventMessage = 71; - pub const EventMessage_eDrop: root::mozilla::EventMessage = 72; - pub const EventMessage_eDragLeave: root::mozilla::EventMessage = 73; - pub const EventMessage_eDragDropEventFirst: root::mozilla::EventMessage = 66; - pub const EventMessage_eDragDropEventLast: root::mozilla::EventMessage = 73; - pub const EventMessage_eXULPopupShowing: root::mozilla::EventMessage = 74; - pub const EventMessage_eXULPopupShown: root::mozilla::EventMessage = 75; - pub const EventMessage_eXULPopupPositioned: root::mozilla::EventMessage = 76; - pub const EventMessage_eXULPopupHiding: root::mozilla::EventMessage = 77; - pub const EventMessage_eXULPopupHidden: root::mozilla::EventMessage = 78; - pub const EventMessage_eXULBroadcast: root::mozilla::EventMessage = 79; - pub const EventMessage_eXULCommandUpdate: root::mozilla::EventMessage = 80; - pub const EventMessage_eLegacyMouseLineOrPageScroll: root::mozilla::EventMessage = 81; - pub const EventMessage_eLegacyMousePixelScroll: root::mozilla::EventMessage = 82; - pub const EventMessage_eScrollPortUnderflow: root::mozilla::EventMessage = 83; - pub const EventMessage_eScrollPortOverflow: root::mozilla::EventMessage = 84; - pub const EventMessage_eLegacySubtreeModified: root::mozilla::EventMessage = 85; - pub const EventMessage_eLegacyNodeInserted: root::mozilla::EventMessage = 86; - pub const EventMessage_eLegacyNodeRemoved: root::mozilla::EventMessage = 87; - pub const EventMessage_eLegacyNodeRemovedFromDocument: root::mozilla::EventMessage = 88; - pub const EventMessage_eLegacyNodeInsertedIntoDocument: root::mozilla::EventMessage = 89; - pub const EventMessage_eLegacyAttrModified: root::mozilla::EventMessage = 90; - pub const EventMessage_eLegacyCharacterDataModified: root::mozilla::EventMessage = 91; - pub const EventMessage_eLegacyMutationEventFirst: root::mozilla::EventMessage = 85; - pub const EventMessage_eLegacyMutationEventLast: root::mozilla::EventMessage = 91; - pub const EventMessage_eUnidentifiedEvent: root::mozilla::EventMessage = 92; - pub const EventMessage_eCompositionStart: root::mozilla::EventMessage = 93; - pub const EventMessage_eCompositionEnd: root::mozilla::EventMessage = 94; - pub const EventMessage_eCompositionUpdate: root::mozilla::EventMessage = 95; - pub const EventMessage_eCompositionChange: root::mozilla::EventMessage = 96; - pub const EventMessage_eCompositionCommitAsIs: root::mozilla::EventMessage = 97; - pub const EventMessage_eCompositionCommit: root::mozilla::EventMessage = 98; - pub const EventMessage_eCompositionCommitRequestHandled: root::mozilla::EventMessage = 99; - pub const EventMessage_eLegacyDOMActivate: root::mozilla::EventMessage = 100; - pub const EventMessage_eLegacyDOMFocusIn: root::mozilla::EventMessage = 101; - pub const EventMessage_eLegacyDOMFocusOut: root::mozilla::EventMessage = 102; - pub const EventMessage_ePageShow: root::mozilla::EventMessage = 103; - pub const EventMessage_ePageHide: root::mozilla::EventMessage = 104; - pub const EventMessage_eSVGLoad: root::mozilla::EventMessage = 105; - pub const EventMessage_eSVGUnload: root::mozilla::EventMessage = 106; - pub const EventMessage_eSVGResize: root::mozilla::EventMessage = 107; - pub const EventMessage_eSVGScroll: root::mozilla::EventMessage = 108; - pub const EventMessage_eSVGZoom: root::mozilla::EventMessage = 109; - pub const EventMessage_eXULCommand: root::mozilla::EventMessage = 110; - pub const EventMessage_eCopy: root::mozilla::EventMessage = 111; - pub const EventMessage_eCut: root::mozilla::EventMessage = 112; - pub const EventMessage_ePaste: root::mozilla::EventMessage = 113; - pub const EventMessage_ePasteNoFormatting: root::mozilla::EventMessage = 114; - pub const EventMessage_eQuerySelectedText: root::mozilla::EventMessage = 115; - pub const EventMessage_eQueryTextContent: root::mozilla::EventMessage = 116; - pub const EventMessage_eQueryCaretRect: root::mozilla::EventMessage = 117; - pub const EventMessage_eQueryTextRect: root::mozilla::EventMessage = 118; - pub const EventMessage_eQueryTextRectArray: root::mozilla::EventMessage = 119; - pub const EventMessage_eQueryEditorRect: root::mozilla::EventMessage = 120; - pub const EventMessage_eQueryContentState: root::mozilla::EventMessage = 121; - pub const EventMessage_eQuerySelectionAsTransferable: root::mozilla::EventMessage = 122; - pub const EventMessage_eQueryCharacterAtPoint: root::mozilla::EventMessage = 123; - pub const EventMessage_eQueryDOMWidgetHittest: root::mozilla::EventMessage = 124; - pub const EventMessage_eLoadStart: root::mozilla::EventMessage = 125; - pub const EventMessage_eProgress: root::mozilla::EventMessage = 126; - pub const EventMessage_eSuspend: root::mozilla::EventMessage = 127; - pub const EventMessage_eEmptied: root::mozilla::EventMessage = 128; - pub const EventMessage_eStalled: root::mozilla::EventMessage = 129; - pub const EventMessage_ePlay: root::mozilla::EventMessage = 130; - pub const EventMessage_ePause: root::mozilla::EventMessage = 131; - pub const EventMessage_eLoadedMetaData: root::mozilla::EventMessage = 132; - pub const EventMessage_eLoadedData: root::mozilla::EventMessage = 133; - pub const EventMessage_eWaiting: root::mozilla::EventMessage = 134; - pub const EventMessage_ePlaying: root::mozilla::EventMessage = 135; - pub const EventMessage_eCanPlay: root::mozilla::EventMessage = 136; - pub const EventMessage_eCanPlayThrough: root::mozilla::EventMessage = 137; - pub const EventMessage_eSeeking: root::mozilla::EventMessage = 138; - pub const EventMessage_eSeeked: root::mozilla::EventMessage = 139; - pub const EventMessage_eTimeUpdate: root::mozilla::EventMessage = 140; - pub const EventMessage_eEnded: root::mozilla::EventMessage = 141; - pub const EventMessage_eRateChange: root::mozilla::EventMessage = 142; - pub const EventMessage_eDurationChange: root::mozilla::EventMessage = 143; - pub const EventMessage_eVolumeChange: root::mozilla::EventMessage = 144; - pub const EventMessage_eAfterPaint: root::mozilla::EventMessage = 145; - pub const EventMessage_eSwipeGestureMayStart: root::mozilla::EventMessage = 146; - pub const EventMessage_eSwipeGestureStart: root::mozilla::EventMessage = 147; - pub const EventMessage_eSwipeGestureUpdate: root::mozilla::EventMessage = 148; - pub const EventMessage_eSwipeGestureEnd: root::mozilla::EventMessage = 149; - pub const EventMessage_eSwipeGesture: root::mozilla::EventMessage = 150; - pub const EventMessage_eMagnifyGestureStart: root::mozilla::EventMessage = 151; - pub const EventMessage_eMagnifyGestureUpdate: root::mozilla::EventMessage = 152; - pub const EventMessage_eMagnifyGesture: root::mozilla::EventMessage = 153; - pub const EventMessage_eRotateGestureStart: root::mozilla::EventMessage = 154; - pub const EventMessage_eRotateGestureUpdate: root::mozilla::EventMessage = 155; - pub const EventMessage_eRotateGesture: root::mozilla::EventMessage = 156; - pub const EventMessage_eTapGesture: root::mozilla::EventMessage = 157; - pub const EventMessage_ePressTapGesture: root::mozilla::EventMessage = 158; - pub const EventMessage_eEdgeUIStarted: root::mozilla::EventMessage = 159; - pub const EventMessage_eEdgeUICanceled: root::mozilla::EventMessage = 160; - pub const EventMessage_eEdgeUICompleted: root::mozilla::EventMessage = 161; - pub const EventMessage_ePluginInputEvent: root::mozilla::EventMessage = 162; - pub const EventMessage_eSetSelection: root::mozilla::EventMessage = 163; - pub const EventMessage_eContentCommandCut: root::mozilla::EventMessage = 164; - pub const EventMessage_eContentCommandCopy: root::mozilla::EventMessage = 165; - pub const EventMessage_eContentCommandPaste: root::mozilla::EventMessage = 166; - pub const EventMessage_eContentCommandDelete: root::mozilla::EventMessage = 167; - pub const EventMessage_eContentCommandUndo: root::mozilla::EventMessage = 168; - pub const EventMessage_eContentCommandRedo: root::mozilla::EventMessage = 169; - pub const EventMessage_eContentCommandPasteTransferable: root::mozilla::EventMessage = 170; - pub const EventMessage_eContentCommandLookUpDictionary: root::mozilla::EventMessage = 171; - pub const EventMessage_eContentCommandScroll: root::mozilla::EventMessage = 172; - pub const EventMessage_eGestureNotify: root::mozilla::EventMessage = 173; - pub const EventMessage_eScrolledAreaChanged: root::mozilla::EventMessage = 174; - pub const EventMessage_eTransitionStart: root::mozilla::EventMessage = 175; - pub const EventMessage_eTransitionRun: root::mozilla::EventMessage = 176; - pub const EventMessage_eTransitionEnd: root::mozilla::EventMessage = 177; - pub const EventMessage_eTransitionCancel: root::mozilla::EventMessage = 178; - pub const EventMessage_eAnimationStart: root::mozilla::EventMessage = 179; - pub const EventMessage_eAnimationEnd: root::mozilla::EventMessage = 180; - pub const EventMessage_eAnimationIteration: root::mozilla::EventMessage = 181; - pub const EventMessage_eAnimationCancel: root::mozilla::EventMessage = 182; - pub const EventMessage_eWebkitTransitionEnd: root::mozilla::EventMessage = 183; - pub const EventMessage_eWebkitAnimationStart: root::mozilla::EventMessage = 184; - pub const EventMessage_eWebkitAnimationEnd: root::mozilla::EventMessage = 185; - pub const EventMessage_eWebkitAnimationIteration: root::mozilla::EventMessage = 186; - pub const EventMessage_eSMILBeginEvent: root::mozilla::EventMessage = 187; - pub const EventMessage_eSMILEndEvent: root::mozilla::EventMessage = 188; - pub const EventMessage_eSMILRepeatEvent: root::mozilla::EventMessage = 189; - pub const EventMessage_eAudioProcess: root::mozilla::EventMessage = 190; - pub const EventMessage_eAudioComplete: root::mozilla::EventMessage = 191; - pub const EventMessage_eBeforeScriptExecute: root::mozilla::EventMessage = 192; - pub const EventMessage_eAfterScriptExecute: root::mozilla::EventMessage = 193; - pub const EventMessage_eBeforePrint: root::mozilla::EventMessage = 194; - pub const EventMessage_eAfterPrint: root::mozilla::EventMessage = 195; - pub const EventMessage_eMessage: root::mozilla::EventMessage = 196; - pub const EventMessage_eMessageError: root::mozilla::EventMessage = 197; - pub const EventMessage_eOpen: root::mozilla::EventMessage = 198; - pub const EventMessage_eDeviceOrientation: root::mozilla::EventMessage = 199; - pub const EventMessage_eAbsoluteDeviceOrientation: root::mozilla::EventMessage = 200; - pub const EventMessage_eDeviceMotion: root::mozilla::EventMessage = 201; - pub const EventMessage_eDeviceProximity: root::mozilla::EventMessage = 202; - pub const EventMessage_eUserProximity: root::mozilla::EventMessage = 203; - pub const EventMessage_eDeviceLight: root::mozilla::EventMessage = 204; - pub const EventMessage_eVRDisplayActivate: root::mozilla::EventMessage = 205; - pub const EventMessage_eVRDisplayDeactivate: root::mozilla::EventMessage = 206; - pub const EventMessage_eVRDisplayConnect: root::mozilla::EventMessage = 207; - pub const EventMessage_eVRDisplayDisconnect: root::mozilla::EventMessage = 208; - pub const EventMessage_eVRDisplayPresentChange: root::mozilla::EventMessage = 209; - pub const EventMessage_eShow: root::mozilla::EventMessage = 210; - pub const EventMessage_eFullscreenChange: root::mozilla::EventMessage = 211; - pub const EventMessage_eFullscreenError: root::mozilla::EventMessage = 212; - pub const EventMessage_eMozFullscreenChange: root::mozilla::EventMessage = 213; - pub const EventMessage_eMozFullscreenError: root::mozilla::EventMessage = 214; - pub const EventMessage_eTouchStart: root::mozilla::EventMessage = 215; - pub const EventMessage_eTouchMove: root::mozilla::EventMessage = 216; - pub const EventMessage_eTouchEnd: root::mozilla::EventMessage = 217; - pub const EventMessage_eTouchCancel: root::mozilla::EventMessage = 218; - pub const EventMessage_eTouchPointerCancel: root::mozilla::EventMessage = 219; - pub const EventMessage_ePointerLockChange: root::mozilla::EventMessage = 220; - pub const EventMessage_ePointerLockError: root::mozilla::EventMessage = 221; - pub const EventMessage_eMozPointerLockChange: root::mozilla::EventMessage = 222; - pub const EventMessage_eMozPointerLockError: root::mozilla::EventMessage = 223; - pub const EventMessage_eWheel: root::mozilla::EventMessage = 224; - pub const EventMessage_eWheelOperationStart: root::mozilla::EventMessage = 225; - pub const EventMessage_eWheelOperationEnd: root::mozilla::EventMessage = 226; - pub const EventMessage_eTimeChange: root::mozilla::EventMessage = 227; - pub const EventMessage_eNetworkUpload: root::mozilla::EventMessage = 228; - pub const EventMessage_eNetworkDownload: root::mozilla::EventMessage = 229; - pub const EventMessage_eMediaRecorderDataAvailable: root::mozilla::EventMessage = 230; - pub const EventMessage_eMediaRecorderWarning: root::mozilla::EventMessage = 231; - pub const EventMessage_eMediaRecorderStop: root::mozilla::EventMessage = 232; - pub const EventMessage_eGamepadButtonDown: root::mozilla::EventMessage = 233; - pub const EventMessage_eGamepadButtonUp: root::mozilla::EventMessage = 234; - pub const EventMessage_eGamepadAxisMove: root::mozilla::EventMessage = 235; - pub const EventMessage_eGamepadConnected: root::mozilla::EventMessage = 236; - pub const EventMessage_eGamepadDisconnected: root::mozilla::EventMessage = 237; - pub const EventMessage_eGamepadEventFirst: root::mozilla::EventMessage = 233; - pub const EventMessage_eGamepadEventLast: root::mozilla::EventMessage = 237; - pub const EventMessage_eEditorInput: root::mozilla::EventMessage = 238; - pub const EventMessage_eSelectStart: root::mozilla::EventMessage = 239; - pub const EventMessage_eSelectionChange: root::mozilla::EventMessage = 240; - pub const EventMessage_eVisibilityChange: root::mozilla::EventMessage = 241; - pub const EventMessage_eToggle: root::mozilla::EventMessage = 242; - pub const EventMessage_eClose: root::mozilla::EventMessage = 243; - pub const EventMessage_eEventMessage_MaxValue: root::mozilla::EventMessage = 244; - pub type EventMessage = u16; - /// Event class IDs - pub type EventClassIDType = u8; - pub const EventClassID_eBasicEventClass: root::mozilla::EventClassID = 0; - pub const EventClassID_eGUIEventClass: root::mozilla::EventClassID = 1; - pub const EventClassID_eInputEventClass: root::mozilla::EventClassID = 2; - pub const EventClassID_eUIEventClass: root::mozilla::EventClassID = 3; - pub const EventClassID_eKeyboardEventClass: root::mozilla::EventClassID = 4; - pub const EventClassID_eCompositionEventClass: root::mozilla::EventClassID = 5; - pub const EventClassID_eQueryContentEventClass: root::mozilla::EventClassID = 6; - pub const EventClassID_eSelectionEventClass: root::mozilla::EventClassID = 7; - pub const EventClassID_eEditorInputEventClass: root::mozilla::EventClassID = 8; - pub const EventClassID_eMouseEventBaseClass: root::mozilla::EventClassID = 9; - pub const EventClassID_eMouseEventClass: root::mozilla::EventClassID = 10; - pub const EventClassID_eDragEventClass: root::mozilla::EventClassID = 11; - pub const EventClassID_eMouseScrollEventClass: root::mozilla::EventClassID = 12; - pub const EventClassID_eWheelEventClass: root::mozilla::EventClassID = 13; - pub const EventClassID_ePointerEventClass: root::mozilla::EventClassID = 14; - pub const EventClassID_eGestureNotifyEventClass: root::mozilla::EventClassID = 15; - pub const EventClassID_eSimpleGestureEventClass: root::mozilla::EventClassID = 16; - pub const EventClassID_eTouchEventClass: root::mozilla::EventClassID = 17; - pub const EventClassID_eScrollPortEventClass: root::mozilla::EventClassID = 18; - pub const EventClassID_eScrollAreaEventClass: root::mozilla::EventClassID = 19; - pub const EventClassID_eFormEventClass: root::mozilla::EventClassID = 20; - pub const EventClassID_eClipboardEventClass: root::mozilla::EventClassID = 21; - pub const EventClassID_eFocusEventClass: root::mozilla::EventClassID = 22; - pub const EventClassID_eTransitionEventClass: root::mozilla::EventClassID = 23; - pub const EventClassID_eAnimationEventClass: root::mozilla::EventClassID = 24; - pub const EventClassID_eSMILTimeEventClass: root::mozilla::EventClassID = 25; - pub const EventClassID_eCommandEventClass: root::mozilla::EventClassID = 26; - pub const EventClassID_eContentCommandEventClass: root::mozilla::EventClassID = 27; - pub const EventClassID_ePluginEventClass: root::mozilla::EventClassID = 28; - pub const EventClassID_eMutationEventClass: root::mozilla::EventClassID = 29; - pub type EventClassID = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct SegmentedVector_SegmentImpl_Storage { - pub mBuf: root::__BindgenUnionField<*mut ::std::os::raw::c_char>, - pub mAlign: root::__BindgenUnionField, - pub bindgen_union_field: u64, - } - pub type SegmentedVector_Segment = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct SegmentedVector_IterImpl { - pub mSegment: *mut root::mozilla::SegmentedVector_Segment, - pub mIndex: usize, - } - pub type AtomArray = root::nsTArray>; - /// EventStates is the class used to represent the event states of nsIContent - /// instances. These states are calculated by IntrinsicState() and - /// ContentStatesChanged() has to be called when one of them changes thus - /// informing the layout/style engine of the change. - /// Event states are associated with pseudo-classes. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct EventStates { - pub mStates: root::mozilla::EventStates_InternalType, - } - pub type EventStates_InternalType = u64; - pub type EventStates_ServoType = u64; - #[test] - fn bindgen_test_layout_EventStates() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(EventStates)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(EventStates)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStates as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(EventStates), - "::", - stringify!(mStates) - ) - ); - } - impl Clone for EventStates { - fn clone(&self) -> Self { - *self - } - } - pub const ArenaObjectID_eArenaObjectID_DummyBeforeFirstObjectID: - root::mozilla::ArenaObjectID = 171; - pub const ArenaObjectID_eArenaObjectID_GeckoComputedStyle: root::mozilla::ArenaObjectID = - 172; - pub const ArenaObjectID_eArenaObjectID_nsLineBox: root::mozilla::ArenaObjectID = 173; - pub const ArenaObjectID_eArenaObjectID_nsRuleNode: root::mozilla::ArenaObjectID = 174; - pub const ArenaObjectID_eArenaObjectID_DisplayItemData: root::mozilla::ArenaObjectID = 175; - pub const ArenaObjectID_eArenaObjectID_nsInheritedStyleData: root::mozilla::ArenaObjectID = - 176; - pub const ArenaObjectID_eArenaObjectID_nsResetStyleData: root::mozilla::ArenaObjectID = 177; - pub const ArenaObjectID_eArenaObjectID_nsConditionalResetStyleData: - root::mozilla::ArenaObjectID = 178; - pub const ArenaObjectID_eArenaObjectID_nsConditionalResetStyleDataEntry: - root::mozilla::ArenaObjectID = 179; - pub const ArenaObjectID_eArenaObjectID_nsFrameList: root::mozilla::ArenaObjectID = 180; - pub const ArenaObjectID_eArenaObjectID_CustomCounterStyle: root::mozilla::ArenaObjectID = - 181; - pub const ArenaObjectID_eArenaObjectID_DependentBuiltinCounterStyle: - root::mozilla::ArenaObjectID = 182; - pub const ArenaObjectID_eArenaObjectID_nsCallbackEventRequest: - root::mozilla::ArenaObjectID = 183; - pub const ArenaObjectID_eArenaObjectID_nsIntervalSet_Interval: - root::mozilla::ArenaObjectID = 184; - pub const ArenaObjectID_eArenaObjectID_CellData: root::mozilla::ArenaObjectID = 185; - pub const ArenaObjectID_eArenaObjectID_BCCellData: root::mozilla::ArenaObjectID = 186; - pub const ArenaObjectID_eArenaObjectID_COUNT: root::mozilla::ArenaObjectID = 187; - pub type ArenaObjectID = u32; - pub const MediaFeatureChangeReason_ViewportChange: root::mozilla::MediaFeatureChangeReason = - 1; - pub const MediaFeatureChangeReason_ZoomChange: root::mozilla::MediaFeatureChangeReason = 2; - pub const MediaFeatureChangeReason_MinFontSizeChange: - root::mozilla::MediaFeatureChangeReason = 4; - pub const MediaFeatureChangeReason_ResolutionChange: - root::mozilla::MediaFeatureChangeReason = 8; - pub const MediaFeatureChangeReason_MediumChange: root::mozilla::MediaFeatureChangeReason = - 16; - pub const MediaFeatureChangeReason_SizeModeChange: root::mozilla::MediaFeatureChangeReason = - 32; - pub const MediaFeatureChangeReason_SystemMetricsChange: - root::mozilla::MediaFeatureChangeReason = 64; - pub const MediaFeatureChangeReason_DeviceSizeIsPageSizeChange: - root::mozilla::MediaFeatureChangeReason = 128; - pub const MediaFeatureChangeReason_DisplayModeChange: - root::mozilla::MediaFeatureChangeReason = 256; - pub type MediaFeatureChangeReason = i32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct MediaFeatureChange { - pub mRestyleHint: root::nsRestyleHint, - pub mChangeHint: root::nsChangeHint, - pub mReason: root::mozilla::MediaFeatureChangeReason, - } - #[test] - fn bindgen_test_layout_MediaFeatureChange() { - assert_eq!( - ::std::mem::size_of::(), - 12usize, - concat!("Size of: ", stringify!(MediaFeatureChange)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(MediaFeatureChange)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRestyleHint as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(MediaFeatureChange), - "::", - stringify!(mRestyleHint) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChangeHint as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(MediaFeatureChange), - "::", - stringify!(mChangeHint) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mReason as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(MediaFeatureChange), - "::", - stringify!(mReason) - ) - ); - } - impl Clone for MediaFeatureChange { - fn clone(&self) -> Self { - *self - } - } - /// A PostTraversalTask is a task to be performed immediately after a Servo - /// traversal. There are just a few tasks we need to perform, so we use this - /// class rather than Runnables, to avoid virtual calls and some allocations. - /// - /// A PostTraversalTask is only safe to run immediately after the Servo - /// traversal, since it can hold raw pointers to DOM objects. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PostTraversalTask { - pub mType: root::mozilla::PostTraversalTask_Type, - pub mTarget: *mut ::std::os::raw::c_void, - pub mResult: root::nsresult, - } - pub const PostTraversalTask_Type_ResolveFontFaceLoadedPromise: - root::mozilla::PostTraversalTask_Type = 0; - pub const PostTraversalTask_Type_RejectFontFaceLoadedPromise: - root::mozilla::PostTraversalTask_Type = 1; - pub const PostTraversalTask_Type_DispatchLoadingEventAndReplaceReadyPromise: - root::mozilla::PostTraversalTask_Type = 2; - pub const PostTraversalTask_Type_DispatchFontFaceSetCheckLoadingFinishedAfterDelay: - root::mozilla::PostTraversalTask_Type = 3; - pub const PostTraversalTask_Type_LoadFontEntry: root::mozilla::PostTraversalTask_Type = 4; - pub type PostTraversalTask_Type = i32; - #[test] - fn bindgen_test_layout_PostTraversalTask() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(PostTraversalTask)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PostTraversalTask)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PostTraversalTask), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTarget as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PostTraversalTask), - "::", - stringify!(mTarget) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mResult as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PostTraversalTask), - "::", - stringify!(mResult) - ) - ); - } - impl Clone for PostTraversalTask { - fn clone(&self) -> Self { - *self - } - } - pub const CSSPseudoElementType_InheritingAnonBox: root::mozilla::CSSPseudoElementType = - CSSPseudoElementType::Count; - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum CSSPseudoElementType { - after = 0, - before = 1, - backdrop = 2, - cue = 3, - firstLetter = 4, - firstLine = 5, - mozSelection = 6, - mozFocusInner = 7, - mozFocusOuter = 8, - mozListBullet = 9, - mozListNumber = 10, - mozMathAnonymous = 11, - mozNumberWrapper = 12, - mozNumberText = 13, - mozNumberSpinBox = 14, - mozNumberSpinUp = 15, - mozNumberSpinDown = 16, - mozProgressBar = 17, - mozRangeTrack = 18, - mozRangeProgress = 19, - mozRangeThumb = 20, - mozMeterBar = 21, - mozPlaceholder = 22, - placeholder = 23, - mozColorSwatch = 24, - Count = 25, - NonInheritingAnonBox = 26, - XULTree = 27, - NotPseudo = 28, - MAX = 29, - } - pub const StylistState_NotDirty: root::mozilla::StylistState = 0; - pub const StylistState_StyleSheetsDirty: root::mozilla::StylistState = 1; - pub const StylistState_XBLStyleSheetsDirty: root::mozilla::StylistState = 2; - pub type StylistState = u8; - pub const OriginFlags_UserAgent: root::mozilla::OriginFlags = root::mozilla::OriginFlags(1); - pub const OriginFlags_User: root::mozilla::OriginFlags = root::mozilla::OriginFlags(2); - pub const OriginFlags_Author: root::mozilla::OriginFlags = root::mozilla::OriginFlags(4); - pub const OriginFlags_All: root::mozilla::OriginFlags = root::mozilla::OriginFlags(7); - impl ::std::ops::BitOr for root::mozilla::OriginFlags { - type Output = Self; - #[inline] - fn bitor(self, other: Self) -> Self { - OriginFlags(self.0 | other.0) - } - } - impl ::std::ops::BitOrAssign for root::mozilla::OriginFlags { - #[inline] - fn bitor_assign(&mut self, rhs: root::mozilla::OriginFlags) { - self.0 |= rhs.0; - } - } - impl ::std::ops::BitAnd for root::mozilla::OriginFlags { - type Output = Self; - #[inline] - fn bitand(self, other: Self) -> Self { - OriginFlags(self.0 & other.0) - } - } - impl ::std::ops::BitAndAssign for root::mozilla::OriginFlags { - #[inline] - fn bitand_assign(&mut self, rhs: root::mozilla::OriginFlags) { - self.0 &= rhs.0; - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub struct OriginFlags(pub u8); - /// The set of style sheets that apply to a document, backed by a Servo - /// Stylist. A ServoStyleSet contains ServoStyleSheets. - #[repr(C)] - #[derive(Debug)] - pub struct ServoStyleSet { - pub mDocument: *mut root::nsIDocument, - pub mRawSet: root::mozilla::UniquePtr, - pub mSheets: [u64; 8usize], - pub mAuthorStyleDisabled: bool, - pub mStylistState: root::mozilla::StylistState, - pub mUserFontSetUpdateGeneration: u64, - pub mNeedsRestyleAfterEnsureUniqueInner: bool, - pub mNonInheritingComputedStyles: [u64; 7usize], - pub mPostTraversalTasks: root::nsTArray, - pub mStyleRuleMap: root::mozilla::UniquePtr, - } - pub type ServoStyleSet_SnapshotTable = root::mozilla::ServoElementSnapshotTable; - #[test] - fn bindgen_test_layout_ServoStyleSet() { - assert_eq!( - ::std::mem::size_of::(), - 176usize, - concat!("Size of: ", stringify!(ServoStyleSet)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleSet)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRawSet as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mRawSet) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSheets as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mSheets) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAuthorStyleDisabled as *const _ - as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mAuthorStyleDisabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStylistState as *const _ as usize - }, - 81usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mStylistState) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mUserFontSetUpdateGeneration - as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mUserFontSetUpdateGeneration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNeedsRestyleAfterEnsureUniqueInner - as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mNeedsRestyleAfterEnsureUniqueInner) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNonInheritingComputedStyles - as *const _ as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mNonInheritingComputedStyles) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPostTraversalTasks as *const _ - as usize - }, - 160usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mPostTraversalTasks) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStyleRuleMap as *const _ as usize - }, - 168usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleSet), - "::", - stringify!(mStyleRuleMap) - ) - ); - } - pub mod widget { - #[allow(unused_imports)] - use self::super::super::super::root; - /// Contains IMEStatus plus information about the current - /// input context that the IME can use as hints if desired. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct IMEState { - pub mEnabled: root::mozilla::widget::IMEState_Enabled, - pub mOpen: root::mozilla::widget::IMEState_Open, - } - /// 'Disabled' means the user cannot use IME. So, the IME open state should - /// be 'closed' during 'disabled'. - pub const IMEState_Enabled_DISABLED: root::mozilla::widget::IMEState_Enabled = 0; - /// 'Enabled' means the user can use IME. - pub const IMEState_Enabled_ENABLED: root::mozilla::widget::IMEState_Enabled = 1; - /// 'Password' state is a special case for the password editors. - /// E.g., on mac, the password editors should disable the non-Roman - /// keyboard layouts at getting focus. Thus, the password editor may have - /// special rules on some platforms. - pub const IMEState_Enabled_PASSWORD: root::mozilla::widget::IMEState_Enabled = 2; - /// This state is used when a plugin is focused. - /// When a plug-in is focused content, we should send native events - /// directly. Because we don't process some native events, but they may - /// be needed by the plug-in. - pub const IMEState_Enabled_PLUGIN: root::mozilla::widget::IMEState_Enabled = 3; - /// 'Unknown' is useful when you cache this enum. So, this shouldn't be - /// used with nsIWidget::SetInputContext(). - pub const IMEState_Enabled_UNKNOWN: root::mozilla::widget::IMEState_Enabled = 4; - /// IME enabled states, the mEnabled value of - /// SetInputContext()/GetInputContext() should be one value of following - /// values. - /// - /// WARNING: If you change these values, you also need to edit: - /// nsIDOMWindowUtils.idl - /// nsContentUtils::GetWidgetStatusFromIMEStatus - pub type IMEState_Enabled = u32; - /// 'Unsupported' means the platform cannot return actual IME open state. - /// This value is used only by GetInputContext(). - pub const IMEState_Open_OPEN_STATE_NOT_SUPPORTED: root::mozilla::widget::IMEState_Open = - 0; - /// 'Don't change' means the widget shouldn't change IME open state when - /// SetInputContext() is called. - pub const IMEState_Open_DONT_CHANGE_OPEN_STATE: root::mozilla::widget::IMEState_Open = - 0; - /// 'Open' means that IME should compose in its primary language (or latest - /// input mode except direct ASCII character input mode). Even if IME is - /// opened by this value, users should be able to close IME by theirselves. - /// Web contents can specify this value by |ime-mode: active;|. - pub const IMEState_Open_OPEN: root::mozilla::widget::IMEState_Open = 1; - /// 'Closed' means that IME shouldn't handle key events (or should handle - /// as ASCII character inputs on mobile device). Even if IME is closed by - /// this value, users should be able to open IME by theirselves. - /// Web contents can specify this value by |ime-mode: inactive;|. - pub const IMEState_Open_CLOSED: root::mozilla::widget::IMEState_Open = 2; - /// IME open states the mOpen value of SetInputContext() should be one value of - /// OPEN, CLOSE or DONT_CHANGE_OPEN_STATE. GetInputContext() should return - /// OPEN, CLOSE or OPEN_STATE_NOT_SUPPORTED. - pub type IMEState_Open = u32; - #[test] - fn bindgen_test_layout_IMEState() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(IMEState)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(IMEState)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEnabled as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(IMEState), - "::", - stringify!(mEnabled) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mOpen as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(IMEState), - "::", - stringify!(mOpen) - ) - ); - } - impl Clone for IMEState { - fn clone(&self) -> Self { - *self - } - } - } - pub mod layout { - #[allow(unused_imports)] - use self::super::super::super::root; - pub const FrameChildListID_kPrincipalList: root::mozilla::layout::FrameChildListID = 1; - pub const FrameChildListID_kPopupList: root::mozilla::layout::FrameChildListID = 2; - pub const FrameChildListID_kCaptionList: root::mozilla::layout::FrameChildListID = 4; - pub const FrameChildListID_kColGroupList: root::mozilla::layout::FrameChildListID = 8; - pub const FrameChildListID_kSelectPopupList: root::mozilla::layout::FrameChildListID = - 16; - pub const FrameChildListID_kAbsoluteList: root::mozilla::layout::FrameChildListID = 32; - pub const FrameChildListID_kFixedList: root::mozilla::layout::FrameChildListID = 64; - pub const FrameChildListID_kOverflowList: root::mozilla::layout::FrameChildListID = 128; - pub const FrameChildListID_kOverflowContainersList: - root::mozilla::layout::FrameChildListID = 256; - pub const FrameChildListID_kExcessOverflowContainersList: - root::mozilla::layout::FrameChildListID = 512; - pub const FrameChildListID_kOverflowOutOfFlowList: - root::mozilla::layout::FrameChildListID = 1024; - pub const FrameChildListID_kFloatList: root::mozilla::layout::FrameChildListID = 2048; - pub const FrameChildListID_kBulletList: root::mozilla::layout::FrameChildListID = 4096; - pub const FrameChildListID_kPushedFloatsList: root::mozilla::layout::FrameChildListID = - 8192; - pub const FrameChildListID_kBackdropList: root::mozilla::layout::FrameChildListID = - 16384; - pub const FrameChildListID_kNoReflowPrincipalList: - root::mozilla::layout::FrameChildListID = 32768; - pub type FrameChildListID = u32; - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ArenaAllocator_ArenaHeader { - /// The location in memory of the data portion of the arena. - pub offset: usize, - /// The location in memory of the end of the data portion of the arena. - pub tail: usize, - } - impl Clone for ArenaAllocator_ArenaHeader { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct ArenaAllocator_ArenaChunk { - pub canary: root::mozilla::CorruptionCanary, - pub header: root::mozilla::ArenaAllocator_ArenaHeader, - pub next: *mut root::mozilla::ArenaAllocator_ArenaChunk, - } - pub type CSSSize = [u32; 2usize]; - pub type LayoutDeviceIntPoint = [u32; 2usize]; - pub type CSSToLayoutDeviceScale = u32; - pub type LayoutDeviceToScreenScale = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct CSSPixel { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_CSSPixel() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(CSSPixel)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(CSSPixel)) - ); - } - impl Clone for CSSPixel { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct LayoutDevicePixel { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_LayoutDevicePixel() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(LayoutDevicePixel)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(LayoutDevicePixel)) - ); - } - impl Clone for LayoutDevicePixel { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ScreenPixel { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_ScreenPixel() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(ScreenPixel)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(ScreenPixel)) - ); - } - impl Clone for ScreenPixel { - fn clone(&self) -> Self { - *self - } - } - pub mod a11y { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DocAccessible { - _unused: [u8; 0], - } - impl Clone for DocAccessible { - fn clone(&self) -> Self { - *self - } - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PendingAnimationTracker { - _unused: [u8; 0], - } - impl Clone for PendingAnimationTracker { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct ScrollbarStyles { - pub mHorizontal: u8, - pub mVertical: u8, - pub mScrollBehavior: u8, - pub mOverscrollBehaviorX: root::mozilla::StyleOverscrollBehavior, - pub mOverscrollBehaviorY: root::mozilla::StyleOverscrollBehavior, - pub mScrollSnapTypeX: u8, - pub mScrollSnapTypeY: u8, - pub mScrollSnapPointsX: root::nsStyleCoord, - pub mScrollSnapPointsY: root::nsStyleCoord, - pub mScrollSnapDestinationX: root::nsStyleCoord_CalcValue, - pub mScrollSnapDestinationY: root::nsStyleCoord_CalcValue, - } - #[test] - fn bindgen_test_layout_ScrollbarStyles() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(ScrollbarStyles)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ScrollbarStyles)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHorizontal as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mHorizontal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mVertical as *const _ as usize - }, - 1usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mVertical) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollBehavior as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollBehavior) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOverscrollBehaviorX as *const _ - as usize - }, - 3usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mOverscrollBehaviorX) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOverscrollBehaviorY as *const _ - as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mOverscrollBehaviorY) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollSnapTypeX as *const _ - as usize - }, - 5usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollSnapTypeX) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollSnapTypeY as *const _ - as usize - }, - 6usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollSnapTypeY) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollSnapPointsX as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollSnapPointsX) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollSnapPointsY as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollSnapPointsY) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollSnapDestinationX as *const _ - as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollSnapDestinationX) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollSnapDestinationY as *const _ - as usize - }, - 52usize, - concat!( - "Offset of field: ", - stringify!(ScrollbarStyles), - "::", - stringify!(mScrollSnapDestinationY) - ) - ); - } - #[repr(C)] - pub struct LangGroupFontPrefs { - pub mLangGroup: root::RefPtr, - pub mMinimumFontSize: root::nscoord, - pub mDefaultVariableFont: root::nsFont, - pub mDefaultFixedFont: root::nsFont, - pub mDefaultSerifFont: root::nsFont, - pub mDefaultSansSerifFont: root::nsFont, - pub mDefaultMonospaceFont: root::nsFont, - pub mDefaultCursiveFont: root::nsFont, - pub mDefaultFantasyFont: root::nsFont, - pub mNext: root::nsAutoPtr, - } - #[test] - fn bindgen_test_layout_LangGroupFontPrefs() { - assert_eq!( - ::std::mem::size_of::(), - 696usize, - concat!("Size of: ", stringify!(LangGroupFontPrefs)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(LangGroupFontPrefs)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLangGroup as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mLangGroup) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMinimumFontSize as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mMinimumFontSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultVariableFont as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultVariableFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultFixedFont as *const _ - as usize - }, - 112usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultFixedFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultSerifFont as *const _ - as usize - }, - 208usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultSerifFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultSansSerifFont as *const _ - as usize - }, - 304usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultSansSerifFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultMonospaceFont as *const _ - as usize - }, - 400usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultMonospaceFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultCursiveFont as *const _ - as usize - }, - 496usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultCursiveFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultFantasyFont as *const _ - as usize - }, - 592usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mDefaultFantasyFont) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNext as *const _ as usize - }, - 688usize, - concat!( - "Offset of field: ", - stringify!(LangGroupFontPrefs), - "::", - stringify!(mNext) - ) - ); - } - /// Some functionality that has historically lived on nsPresContext does not - /// actually need to be per-document. This singleton class serves as a host - /// for that functionality. We delegate to it from nsPresContext where - /// appropriate, and use it standalone in some cases as well. - #[repr(C)] - pub struct StaticPresData { - pub mLangService: *mut root::nsLanguageAtomService, - pub mBorderWidthTable: [root::nscoord; 3usize], - pub mStaticLangGroupFontPrefs: root::mozilla::LangGroupFontPrefs, - } - #[test] - fn bindgen_test_layout_StaticPresData() { - assert_eq!( - ::std::mem::size_of::(), - 720usize, - concat!("Size of: ", stringify!(StaticPresData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(StaticPresData)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLangService as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(StaticPresData), - "::", - stringify!(mLangService) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBorderWidthTable as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(StaticPresData), - "::", - stringify!(mBorderWidthTable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStaticLangGroupFontPrefs as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(StaticPresData), - "::", - stringify!(mStaticLangGroupFontPrefs) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AnimationEventDispatcher { - _unused: [u8; 0], - } - impl Clone for AnimationEventDispatcher { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct EventStateManager { - _unused: [u8; 0], - } - impl Clone for EventStateManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RestyleManager { - _unused: [u8; 0], - } - impl Clone for RestyleManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct BindingStyleRule { - pub _base: root::mozilla::css::Rule, - } - #[test] - fn bindgen_test_layout_BindingStyleRule() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(BindingStyleRule)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(BindingStyleRule)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct ServoStyleRuleDeclaration { - pub _base: root::nsDOMCSSDeclaration, - pub mDecls: root::RefPtr, - } - #[test] - fn bindgen_test_layout_ServoStyleRuleDeclaration() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(ServoStyleRuleDeclaration)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleRuleDeclaration)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDecls as *const _ - as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleRuleDeclaration), - "::", - stringify!(mDecls) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct ServoStyleRule { - pub _base: root::mozilla::BindingStyleRule, - pub _base_1: u64, - pub mRawRule: root::RefPtr, - pub mDecls: root::mozilla::ServoStyleRuleDeclaration, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ServoStyleRule_cycleCollection { - pub _base: root::mozilla::css::Rule_cycleCollection, - } - #[test] - fn bindgen_test_layout_ServoStyleRule_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(ServoStyleRule_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleRule_cycleCollection)) - ); - } - impl Clone for ServoStyleRule_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla14ServoStyleRule21_cycleCollectorGlobalE"] - pub static mut ServoStyleRule__cycleCollectorGlobal: - root::mozilla::ServoStyleRule_cycleCollection; - } - #[test] - fn bindgen_test_layout_ServoStyleRule() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(ServoStyleRule)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleRule)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRawRule as *const _ as usize }, - 72usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleRule), - "::", - stringify!(mRawRule) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDecls as *const _ as usize }, - 80usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleRule), - "::", - stringify!(mDecls) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct ServoStyleRuleMap { - pub mTable: root::mozilla::ServoStyleRuleMap_Hashtable, - } - pub type ServoStyleRuleMap_Hashtable = [u64; 4usize]; - #[test] - fn bindgen_test_layout_ServoStyleRuleMap() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(ServoStyleRuleMap)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoStyleRuleMap)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTable as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoStyleRuleMap), - "::", - stringify!(mTable) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ComputedTimingFunction { - pub mType: root::nsTimingFunction_Type, - pub mTimingFunction: root::nsSMILKeySpline, - pub mStepsOrFrames: u32, - } - pub const ComputedTimingFunction_BeforeFlag_Unset: - root::mozilla::ComputedTimingFunction_BeforeFlag = 0; - pub const ComputedTimingFunction_BeforeFlag_Set: - root::mozilla::ComputedTimingFunction_BeforeFlag = 1; - pub type ComputedTimingFunction_BeforeFlag = i32; - #[test] - fn bindgen_test_layout_ComputedTimingFunction() { - assert_eq!( - ::std::mem::size_of::(), - 136usize, - concat!("Size of: ", stringify!(ComputedTimingFunction)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ComputedTimingFunction)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mType as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ComputedTimingFunction), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTimingFunction as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ComputedTimingFunction), - "::", - stringify!(mTimingFunction) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStepsOrFrames as *const _ - as usize - }, - 128usize, - concat!( - "Offset of field: ", - stringify!(ComputedTimingFunction), - "::", - stringify!(mStepsOrFrames) - ) - ); - } - impl Clone for ComputedTimingFunction { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct AnimationPropertySegment { - pub mFromKey: f32, - pub mToKey: f32, - pub mFromValue: root::mozilla::AnimationValue, - pub mToValue: root::mozilla::AnimationValue, - pub mTimingFunction: [u64; 18usize], - pub mFromComposite: root::mozilla::dom::CompositeOperation, - pub mToComposite: root::mozilla::dom::CompositeOperation, - } - #[test] - fn bindgen_test_layout_AnimationPropertySegment() { - assert_eq!( - ::std::mem::size_of::(), - 192usize, - concat!("Size of: ", stringify!(AnimationPropertySegment)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(AnimationPropertySegment)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFromKey as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mFromKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mToKey as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mToKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFromValue as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mFromValue) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mToValue as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mToValue) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTimingFunction as *const _ - as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mTimingFunction) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFromComposite as *const _ - as usize - }, - 184usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mFromComposite) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mToComposite as *const _ - as usize - }, - 185usize, - concat!( - "Offset of field: ", - stringify!(AnimationPropertySegment), - "::", - stringify!(mToComposite) - ) - ); - } - /// A ValueCalculator class that performs additional checks before performing - /// arithmetic operations such that if either operand is Forever (or the - /// negative equivalent) the result remains Forever (or the negative equivalent - /// as appropriate). - /// - /// Currently this only checks if either argument to each operation is - /// Forever/-Forever. However, it is possible that, for example, - /// aA + aB > INT64_MAX (or < INT64_MIN). - /// - /// We currently don't check for that case since we don't expect that to - /// happen often except under test conditions in which case the wrapping - /// behavior is probably acceptable. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct StickyTimeDurationValueCalculator { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_StickyTimeDurationValueCalculator() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(StickyTimeDurationValueCalculator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of ", - stringify!(StickyTimeDurationValueCalculator) - ) - ); - } - impl Clone for StickyTimeDurationValueCalculator { - fn clone(&self) -> Self { - *self - } - } - /// Specialization of BaseTimeDuration that uses - /// StickyTimeDurationValueCalculator for arithmetic on the mValue member. - /// - /// Use this class when you need a time duration that is expected to hold values - /// of Forever (or the negative equivalent) *and* when you expect that - /// time duration to be used in arithmetic operations (and not just value - /// comparisons). - pub type StickyTimeDuration = root::mozilla::BaseTimeDuration; - /// Stores the results of calculating the timing properties of an animation - /// at a given sample time. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ComputedTiming { - pub mActiveDuration: root::mozilla::StickyTimeDuration, - pub mActiveTime: root::mozilla::StickyTimeDuration, - pub mEndTime: root::mozilla::StickyTimeDuration, - pub mProgress: [u64; 2usize], - pub mCurrentIteration: u64, - pub mIterations: f64, - pub mIterationStart: f64, - pub mDuration: root::mozilla::StickyTimeDuration, - pub mFill: root::mozilla::dom::FillMode, - pub mPhase: root::mozilla::ComputedTiming_AnimationPhase, - pub mBeforeFlag: root::mozilla::ComputedTimingFunction_BeforeFlag, - } - pub const ComputedTiming_AnimationPhase_Idle: root::mozilla::ComputedTiming_AnimationPhase = - 0; - pub const ComputedTiming_AnimationPhase_Before: - root::mozilla::ComputedTiming_AnimationPhase = 1; - pub const ComputedTiming_AnimationPhase_Active: - root::mozilla::ComputedTiming_AnimationPhase = 2; - pub const ComputedTiming_AnimationPhase_After: - root::mozilla::ComputedTiming_AnimationPhase = 3; - pub type ComputedTiming_AnimationPhase = i32; - #[test] - fn bindgen_test_layout_ComputedTiming() { - assert_eq!( - ::std::mem::size_of::(), - 88usize, - concat!("Size of: ", stringify!(ComputedTiming)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ComputedTiming)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mActiveDuration as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mActiveDuration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mActiveTime as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mActiveTime) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEndTime as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mEndTime) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mProgress as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mProgress) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCurrentIteration as *const _ - as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mCurrentIteration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIterations as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mIterations) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIterationStart as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mIterationStart) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDuration as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mDuration) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFill as *const _ as usize }, - 72usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mFill) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPhase as *const _ as usize }, - 76usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mPhase) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBeforeFlag as *const _ as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(ComputedTiming), - "::", - stringify!(mBeforeFlag) - ) - ); - } - impl Clone for ComputedTiming { - fn clone(&self) -> Self { - *self - } - } - /// A property-value pair specified on a keyframe. - #[repr(C)] - #[derive(Debug)] - pub struct PropertyValuePair { - pub mProperty: root::nsCSSPropertyID, - pub mServoDeclarationBlock: root::RefPtr, - } - #[test] - fn bindgen_test_layout_PropertyValuePair() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(PropertyValuePair)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PropertyValuePair)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mProperty as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PropertyValuePair), - "::", - stringify!(mProperty) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mServoDeclarationBlock as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PropertyValuePair), - "::", - stringify!(mServoDeclarationBlock) - ) - ); - } - /// A single keyframe. - /// - /// This is the canonical form in which keyframe effects are stored and - /// corresponds closely to the type of objects returned via the getKeyframes() - /// API. - /// - /// Before computing an output animation value, however, we flatten these frames - /// down to a series of per-property value arrays where we also resolve any - /// overlapping shorthands/longhands, convert specified CSS values to computed - /// values, etc. - /// - /// When the target element or computed style changes, however, we rebuild these - /// per-property arrays from the original list of keyframes objects. As a result, - /// these objects represent the master definition of the effect's values. - #[repr(C)] - #[derive(Debug)] - pub struct Keyframe { - pub mOffset: [u64; 2usize], - pub mComputedOffset: f64, - pub mTimingFunction: [u64; 18usize], - pub mComposite: [u8; 2usize], - pub mPropertyValues: root::nsTArray, - } - pub const Keyframe_kComputedOffsetNotSet: f64 = -1.; - #[test] - fn bindgen_test_layout_Keyframe() { - assert_eq!( - ::std::mem::size_of::(), - 184usize, - concat!("Size of: ", stringify!(Keyframe)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(Keyframe)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mOffset as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(Keyframe), - "::", - stringify!(mOffset) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mComputedOffset as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(Keyframe), - "::", - stringify!(mComputedOffset) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTimingFunction as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(Keyframe), - "::", - stringify!(mTimingFunction) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mComposite as *const _ as usize }, - 168usize, - concat!( - "Offset of field: ", - stringify!(Keyframe), - "::", - stringify!(mComposite) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPropertyValues as *const _ as usize - }, - 176usize, - concat!( - "Offset of field: ", - stringify!(Keyframe), - "::", - stringify!(mPropertyValues) - ) - ); - } - /// A structure representing a single attribute name and value. - /// - /// This is pretty similar to the private nsAttrAndChildArray::InternalAttr. - #[repr(C)] - #[derive(Debug)] - pub struct ServoAttrSnapshot { - pub mName: root::nsAttrName, - pub mValue: root::nsAttrValue, - } - #[test] - fn bindgen_test_layout_ServoAttrSnapshot() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(ServoAttrSnapshot)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoAttrSnapshot)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mName as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoAttrSnapshot), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoAttrSnapshot), - "::", - stringify!(mValue) - ) - ); - } - #[repr(u8)] - /// A bitflags enum class used to determine what data does a ServoElementSnapshot - /// contains. - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum ServoElementSnapshotFlags { - State = 1, - Attributes = 2, - Id = 4, - MaybeClass = 8, - OtherPseudoClassState = 16, - } - /// This class holds all non-tree-structural state of an element that might be - /// used for selector matching eventually. - /// - /// This means the attributes, and the element state, such as :hover, :active, - /// etc... - #[repr(C)] - #[derive(Debug)] - pub struct ServoElementSnapshot { - pub mAttrs: root::nsTArray, - pub mClass: root::nsAttrValue, - pub mState: root::mozilla::ServoElementSnapshot_ServoStateType, - pub mContains: root::mozilla::ServoElementSnapshot_Flags, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 1usize], u8>, - pub __bindgen_padding_0: [u16; 3usize], - } - pub type ServoElementSnapshot_BorrowedAttrInfo = root::mozilla::dom::BorrowedAttrInfo; - pub type ServoElementSnapshot_Element = root::mozilla::dom::Element; - pub type ServoElementSnapshot_ServoStateType = root::mozilla::EventStates_ServoType; - pub use self :: super :: super :: root :: mozilla :: ServoElementSnapshotFlags as ServoElementSnapshot_Flags; - #[test] - fn bindgen_test_layout_ServoElementSnapshot() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(ServoElementSnapshot)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoElementSnapshot)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAttrs as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoElementSnapshot), - "::", - stringify!(mAttrs) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mClass as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoElementSnapshot), - "::", - stringify!(mClass) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mState as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ServoElementSnapshot), - "::", - stringify!(mState) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mContains as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ServoElementSnapshot), - "::", - stringify!(mContains) - ) - ); - } - impl ServoElementSnapshot { - #[inline] - pub fn mIsHTMLElementInHTMLDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsHTMLElementInHTMLDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsInChromeDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsInChromeDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(1usize, 1u8, val as u64) - } - } - #[inline] - pub fn mSupportsLangAttr(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) } - } - #[inline] - pub fn set_mSupportsLangAttr(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(2usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsTableBorderNonzero(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsTableBorderNonzero(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(3usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsMozBrowserFrame(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsMozBrowserFrame(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 1u8, val as u64) - } - } - #[inline] - pub fn mClassAttributeChanged(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) } - } - #[inline] - pub fn set_mClassAttributeChanged(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(5usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIdAttributeChanged(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIdAttributeChanged(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(6usize, 1u8, val as u64) - } - } - #[inline] - pub fn mOtherAttributeChanged(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) } - } - #[inline] - pub fn set_mOtherAttributeChanged(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(7usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mIsHTMLElementInHTMLDocument: bool, - mIsInChromeDocument: bool, - mSupportsLangAttr: bool, - mIsTableBorderNonzero: bool, - mIsMozBrowserFrame: bool, - mClassAttributeChanged: bool, - mIdAttributeChanged: bool, - mOtherAttributeChanged: bool, - ) -> root::__BindgenBitfieldUnit<[u8; 1usize], u8> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 1usize], - u8, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 1u8, { - let mIsHTMLElementInHTMLDocument: u8 = - unsafe { ::std::mem::transmute(mIsHTMLElementInHTMLDocument) }; - mIsHTMLElementInHTMLDocument as u64 - }); - __bindgen_bitfield_unit.set(1usize, 1u8, { - let mIsInChromeDocument: u8 = - unsafe { ::std::mem::transmute(mIsInChromeDocument) }; - mIsInChromeDocument as u64 - }); - __bindgen_bitfield_unit.set(2usize, 1u8, { - let mSupportsLangAttr: u8 = unsafe { ::std::mem::transmute(mSupportsLangAttr) }; - mSupportsLangAttr as u64 - }); - __bindgen_bitfield_unit.set(3usize, 1u8, { - let mIsTableBorderNonzero: u8 = - unsafe { ::std::mem::transmute(mIsTableBorderNonzero) }; - mIsTableBorderNonzero as u64 - }); - __bindgen_bitfield_unit.set(4usize, 1u8, { - let mIsMozBrowserFrame: u8 = - unsafe { ::std::mem::transmute(mIsMozBrowserFrame) }; - mIsMozBrowserFrame as u64 - }); - __bindgen_bitfield_unit.set(5usize, 1u8, { - let mClassAttributeChanged: u8 = - unsafe { ::std::mem::transmute(mClassAttributeChanged) }; - mClassAttributeChanged as u64 - }); - __bindgen_bitfield_unit.set(6usize, 1u8, { - let mIdAttributeChanged: u8 = - unsafe { ::std::mem::transmute(mIdAttributeChanged) }; - mIdAttributeChanged as u64 - }); - __bindgen_bitfield_unit.set(7usize, 1u8, { - let mOtherAttributeChanged: u8 = - unsafe { ::std::mem::transmute(mOtherAttributeChanged) }; - mOtherAttributeChanged as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - #[derive(Debug)] - pub struct ServoElementSnapshotTable { - pub _base: [u64; 4usize], - } - #[test] - fn bindgen_test_layout_ServoElementSnapshotTable() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(ServoElementSnapshotTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoElementSnapshotTable)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct LookAndFeel { - pub _address: u8, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum LookAndFeel_ColorID { - eColorID_WindowBackground = 0, - eColorID_WindowForeground = 1, - eColorID_WidgetBackground = 2, - eColorID_WidgetForeground = 3, - eColorID_WidgetSelectBackground = 4, - eColorID_WidgetSelectForeground = 5, - eColorID_Widget3DHighlight = 6, - eColorID_Widget3DShadow = 7, - eColorID_TextBackground = 8, - eColorID_TextForeground = 9, - eColorID_TextSelectBackground = 10, - eColorID_TextSelectForeground = 11, - eColorID_TextSelectForegroundCustom = 12, - eColorID_TextSelectBackgroundDisabled = 13, - eColorID_TextSelectBackgroundAttention = 14, - eColorID_TextHighlightBackground = 15, - eColorID_TextHighlightForeground = 16, - eColorID_IMERawInputBackground = 17, - eColorID_IMERawInputForeground = 18, - eColorID_IMERawInputUnderline = 19, - eColorID_IMESelectedRawTextBackground = 20, - eColorID_IMESelectedRawTextForeground = 21, - eColorID_IMESelectedRawTextUnderline = 22, - eColorID_IMEConvertedTextBackground = 23, - eColorID_IMEConvertedTextForeground = 24, - eColorID_IMEConvertedTextUnderline = 25, - eColorID_IMESelectedConvertedTextBackground = 26, - eColorID_IMESelectedConvertedTextForeground = 27, - eColorID_IMESelectedConvertedTextUnderline = 28, - eColorID_SpellCheckerUnderline = 29, - eColorID_activeborder = 30, - eColorID_activecaption = 31, - eColorID_appworkspace = 32, - eColorID_background = 33, - eColorID_buttonface = 34, - eColorID_buttonhighlight = 35, - eColorID_buttonshadow = 36, - eColorID_buttontext = 37, - eColorID_captiontext = 38, - eColorID_graytext = 39, - eColorID_highlight = 40, - eColorID_highlighttext = 41, - eColorID_inactiveborder = 42, - eColorID_inactivecaption = 43, - eColorID_inactivecaptiontext = 44, - eColorID_infobackground = 45, - eColorID_infotext = 46, - eColorID_menu = 47, - eColorID_menutext = 48, - eColorID_scrollbar = 49, - eColorID_threeddarkshadow = 50, - eColorID_threedface = 51, - eColorID_threedhighlight = 52, - eColorID_threedlightshadow = 53, - eColorID_threedshadow = 54, - eColorID_window = 55, - eColorID_windowframe = 56, - eColorID_windowtext = 57, - eColorID__moz_buttondefault = 58, - eColorID__moz_field = 59, - eColorID__moz_fieldtext = 60, - eColorID__moz_dialog = 61, - eColorID__moz_dialogtext = 62, - eColorID__moz_dragtargetzone = 63, - eColorID__moz_cellhighlight = 64, - eColorID__moz_cellhighlighttext = 65, - eColorID__moz_html_cellhighlight = 66, - eColorID__moz_html_cellhighlighttext = 67, - eColorID__moz_buttonhoverface = 68, - eColorID__moz_buttonhovertext = 69, - eColorID__moz_menuhover = 70, - eColorID__moz_menuhovertext = 71, - eColorID__moz_menubartext = 72, - eColorID__moz_menubarhovertext = 73, - eColorID__moz_eventreerow = 74, - eColorID__moz_oddtreerow = 75, - eColorID__moz_mac_buttonactivetext = 76, - eColorID__moz_mac_chrome_active = 77, - eColorID__moz_mac_chrome_inactive = 78, - eColorID__moz_mac_defaultbuttontext = 79, - eColorID__moz_mac_focusring = 80, - eColorID__moz_mac_menuselect = 81, - eColorID__moz_mac_menushadow = 82, - eColorID__moz_mac_menutextdisable = 83, - eColorID__moz_mac_menutextselect = 84, - eColorID__moz_mac_disabledtoolbartext = 85, - eColorID__moz_mac_secondaryhighlight = 86, - eColorID__moz_mac_vibrancy_light = 87, - eColorID__moz_mac_vibrancy_dark = 88, - eColorID__moz_mac_vibrant_titlebar_light = 89, - eColorID__moz_mac_vibrant_titlebar_dark = 90, - eColorID__moz_mac_menupopup = 91, - eColorID__moz_mac_menuitem = 92, - eColorID__moz_mac_active_menuitem = 93, - eColorID__moz_mac_source_list = 94, - eColorID__moz_mac_source_list_selection = 95, - eColorID__moz_mac_active_source_list_selection = 96, - eColorID__moz_mac_tooltip = 97, - eColorID__moz_win_accentcolor = 98, - eColorID__moz_win_accentcolortext = 99, - eColorID__moz_win_mediatext = 100, - eColorID__moz_win_communicationstext = 101, - eColorID__moz_nativehyperlinktext = 102, - eColorID__moz_comboboxtext = 103, - eColorID__moz_combobox = 104, - eColorID__moz_gtk_info_bar_text = 105, - eColorID_LAST_COLOR = 106, - } - pub const LookAndFeel_IntID_eIntID_CaretBlinkTime: root::mozilla::LookAndFeel_IntID = 0; - pub const LookAndFeel_IntID_eIntID_CaretWidth: root::mozilla::LookAndFeel_IntID = 1; - pub const LookAndFeel_IntID_eIntID_ShowCaretDuringSelection: - root::mozilla::LookAndFeel_IntID = 2; - pub const LookAndFeel_IntID_eIntID_SelectTextfieldsOnKeyFocus: - root::mozilla::LookAndFeel_IntID = 3; - pub const LookAndFeel_IntID_eIntID_SubmenuDelay: root::mozilla::LookAndFeel_IntID = 4; - pub const LookAndFeel_IntID_eIntID_MenusCanOverlapOSBar: root::mozilla::LookAndFeel_IntID = - 5; - pub const LookAndFeel_IntID_eIntID_UseOverlayScrollbars: root::mozilla::LookAndFeel_IntID = - 6; - pub const LookAndFeel_IntID_eIntID_AllowOverlayScrollbarsOverlap: - root::mozilla::LookAndFeel_IntID = 7; - pub const LookAndFeel_IntID_eIntID_ShowHideScrollbars: root::mozilla::LookAndFeel_IntID = 8; - pub const LookAndFeel_IntID_eIntID_SkipNavigatingDisabledMenuItem: - root::mozilla::LookAndFeel_IntID = 9; - pub const LookAndFeel_IntID_eIntID_DragThresholdX: root::mozilla::LookAndFeel_IntID = 10; - pub const LookAndFeel_IntID_eIntID_DragThresholdY: root::mozilla::LookAndFeel_IntID = 11; - pub const LookAndFeel_IntID_eIntID_UseAccessibilityTheme: root::mozilla::LookAndFeel_IntID = - 12; - pub const LookAndFeel_IntID_eIntID_ScrollArrowStyle: root::mozilla::LookAndFeel_IntID = 13; - pub const LookAndFeel_IntID_eIntID_ScrollSliderStyle: root::mozilla::LookAndFeel_IntID = 14; - pub const LookAndFeel_IntID_eIntID_ScrollButtonLeftMouseButtonAction: - root::mozilla::LookAndFeel_IntID = 15; - pub const LookAndFeel_IntID_eIntID_ScrollButtonMiddleMouseButtonAction: - root::mozilla::LookAndFeel_IntID = 16; - pub const LookAndFeel_IntID_eIntID_ScrollButtonRightMouseButtonAction: - root::mozilla::LookAndFeel_IntID = 17; - pub const LookAndFeel_IntID_eIntID_TreeOpenDelay: root::mozilla::LookAndFeel_IntID = 18; - pub const LookAndFeel_IntID_eIntID_TreeCloseDelay: root::mozilla::LookAndFeel_IntID = 19; - pub const LookAndFeel_IntID_eIntID_TreeLazyScrollDelay: root::mozilla::LookAndFeel_IntID = - 20; - pub const LookAndFeel_IntID_eIntID_TreeScrollDelay: root::mozilla::LookAndFeel_IntID = 21; - pub const LookAndFeel_IntID_eIntID_TreeScrollLinesMax: root::mozilla::LookAndFeel_IntID = - 22; - pub const LookAndFeel_IntID_eIntID_TabFocusModel: root::mozilla::LookAndFeel_IntID = 23; - pub const LookAndFeel_IntID_eIntID_ChosenMenuItemsShouldBlink: - root::mozilla::LookAndFeel_IntID = 24; - pub const LookAndFeel_IntID_eIntID_WindowsAccentColorInTitlebar: - root::mozilla::LookAndFeel_IntID = 25; - pub const LookAndFeel_IntID_eIntID_WindowsDefaultTheme: root::mozilla::LookAndFeel_IntID = - 26; - pub const LookAndFeel_IntID_eIntID_DWMCompositor: root::mozilla::LookAndFeel_IntID = 27; - pub const LookAndFeel_IntID_eIntID_WindowsClassic: root::mozilla::LookAndFeel_IntID = 28; - pub const LookAndFeel_IntID_eIntID_WindowsGlass: root::mozilla::LookAndFeel_IntID = 29; - pub const LookAndFeel_IntID_eIntID_TouchEnabled: root::mozilla::LookAndFeel_IntID = 30; - pub const LookAndFeel_IntID_eIntID_MacGraphiteTheme: root::mozilla::LookAndFeel_IntID = 31; - pub const LookAndFeel_IntID_eIntID_MacYosemiteTheme: root::mozilla::LookAndFeel_IntID = 32; - pub const LookAndFeel_IntID_eIntID_AlertNotificationOrigin: - root::mozilla::LookAndFeel_IntID = 33; - /// If true, clicking on a scrollbar (not as in dragging the thumb) defaults - /// to scrolling the view corresponding to the clicked point. Otherwise, we - /// only do so if the scrollbar is clicked using the middle mouse button or - /// if shift is pressed when the scrollbar is clicked. - pub const LookAndFeel_IntID_eIntID_ScrollToClick: root::mozilla::LookAndFeel_IntID = 34; - /// IME and spell checker underline styles, the values should be - /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMERawInputUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 35; - /// IME and spell checker underline styles, the values should be - /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMESelectedRawTextUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 36; - /// IME and spell checker underline styles, the values should be - /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMEConvertedTextUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 37; - /// IME and spell checker underline styles, the values should be - /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_IMESelectedConvertedTextUnderline: - root::mozilla::LookAndFeel_IntID = 38; - /// IME and spell checker underline styles, the values should be - /// NS_DECORATION_LINE_STYLE_*. They are defined below. - pub const LookAndFeel_IntID_eIntID_SpellCheckerUnderlineStyle: - root::mozilla::LookAndFeel_IntID = 39; - /// If this metric != 0, support window dragging on the menubar. - pub const LookAndFeel_IntID_eIntID_MenuBarDrag: root::mozilla::LookAndFeel_IntID = 40; - /// Return the appropriate WindowsThemeIdentifier for the current theme. - pub const LookAndFeel_IntID_eIntID_WindowsThemeIdentifier: - root::mozilla::LookAndFeel_IntID = 41; - /// Return an appropriate os version identifier. - pub const LookAndFeel_IntID_eIntID_OperatingSystemVersionIdentifier: - root::mozilla::LookAndFeel_IntID = 42; - /// 0: scrollbar button repeats to scroll only when cursor is on the button. - /// 1: scrollbar button repeats to scroll even if cursor is outside of it. - pub const LookAndFeel_IntID_eIntID_ScrollbarButtonAutoRepeatBehavior: - root::mozilla::LookAndFeel_IntID = 43; - /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_TooltipDelay: root::mozilla::LookAndFeel_IntID = 44; - /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_SwipeAnimationEnabled: root::mozilla::LookAndFeel_IntID = - 45; - /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_ScrollbarDisplayOnMouseMove: - root::mozilla::LookAndFeel_IntID = 46; - /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_ScrollbarFadeBeginDelay: - root::mozilla::LookAndFeel_IntID = 47; - /// Delay before showing a tooltip. - pub const LookAndFeel_IntID_eIntID_ScrollbarFadeDuration: root::mozilla::LookAndFeel_IntID = - 48; - /// Distance in pixels to offset the context menu from the cursor - /// on open. - pub const LookAndFeel_IntID_eIntID_ContextMenuOffsetVertical: - root::mozilla::LookAndFeel_IntID = 49; - /// Distance in pixels to offset the context menu from the cursor - /// on open. - pub const LookAndFeel_IntID_eIntID_ContextMenuOffsetHorizontal: - root::mozilla::LookAndFeel_IntID = 50; - /// Distance in pixels to offset the context menu from the cursor - /// on open. - pub const LookAndFeel_IntID_eIntID_GTKCSDAvailable: root::mozilla::LookAndFeel_IntID = 51; - /// Distance in pixels to offset the context menu from the cursor - /// on open. - pub const LookAndFeel_IntID_eIntID_GTKCSDMinimizeButton: root::mozilla::LookAndFeel_IntID = - 52; - /// Distance in pixels to offset the context menu from the cursor - /// on open. - pub const LookAndFeel_IntID_eIntID_GTKCSDMaximizeButton: root::mozilla::LookAndFeel_IntID = - 53; - /// Distance in pixels to offset the context menu from the cursor - /// on open. - pub const LookAndFeel_IntID_eIntID_GTKCSDCloseButton: root::mozilla::LookAndFeel_IntID = 54; - pub type LookAndFeel_IntID = u32; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Generic: - root::mozilla::LookAndFeel_WindowsTheme = 0; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Classic: - root::mozilla::LookAndFeel_WindowsTheme = 1; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Aero: - root::mozilla::LookAndFeel_WindowsTheme = 2; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaBlue: - root::mozilla::LookAndFeel_WindowsTheme = 3; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaOlive: - root::mozilla::LookAndFeel_WindowsTheme = 4; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_LunaSilver: - root::mozilla::LookAndFeel_WindowsTheme = 5; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Royale: - root::mozilla::LookAndFeel_WindowsTheme = 6; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_Zune: - root::mozilla::LookAndFeel_WindowsTheme = 7; - pub const LookAndFeel_WindowsTheme_eWindowsTheme_AeroLite: - root::mozilla::LookAndFeel_WindowsTheme = 8; - /// Windows themes we currently detect. - pub type LookAndFeel_WindowsTheme = u32; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows7: - root::mozilla::LookAndFeel_OperatingSystemVersion = 2; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows8: - root::mozilla::LookAndFeel_OperatingSystemVersion = 3; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Windows10: - root::mozilla::LookAndFeel_OperatingSystemVersion = 4; - pub const LookAndFeel_OperatingSystemVersion_eOperatingSystemVersion_Unknown: - root::mozilla::LookAndFeel_OperatingSystemVersion = 5; - /// Operating system versions. - pub type LookAndFeel_OperatingSystemVersion = u32; - pub const LookAndFeel_eScrollArrow_None: root::mozilla::LookAndFeel__bindgen_ty_1 = 0; - pub const LookAndFeel_eScrollArrow_StartBackward: root::mozilla::LookAndFeel__bindgen_ty_1 = - 4096; - pub const LookAndFeel_eScrollArrow_StartForward: root::mozilla::LookAndFeel__bindgen_ty_1 = - 256; - pub const LookAndFeel_eScrollArrow_EndBackward: root::mozilla::LookAndFeel__bindgen_ty_1 = - 16; - pub const LookAndFeel_eScrollArrow_EndForward: root::mozilla::LookAndFeel__bindgen_ty_1 = 1; - pub type LookAndFeel__bindgen_ty_1 = u32; - pub const LookAndFeel_eScrollArrowStyle_Single: root::mozilla::LookAndFeel__bindgen_ty_2 = - 4097; - pub const LookAndFeel_eScrollArrowStyle_BothAtBottom: - root::mozilla::LookAndFeel__bindgen_ty_2 = 17; - pub const LookAndFeel_eScrollArrowStyle_BothAtEachEnd: - root::mozilla::LookAndFeel__bindgen_ty_2 = 4369; - pub const LookAndFeel_eScrollArrowStyle_BothAtTop: - root::mozilla::LookAndFeel__bindgen_ty_2 = 4352; - pub type LookAndFeel__bindgen_ty_2 = u32; - pub const LookAndFeel_eScrollThumbStyle_Normal: root::mozilla::LookAndFeel__bindgen_ty_3 = - 0; - pub const LookAndFeel_eScrollThumbStyle_Proportional: - root::mozilla::LookAndFeel__bindgen_ty_3 = 1; - pub type LookAndFeel__bindgen_ty_3 = u32; - pub const LookAndFeel_FloatID_eFloatID_IMEUnderlineRelativeSize: - root::mozilla::LookAndFeel_FloatID = 0; - pub const LookAndFeel_FloatID_eFloatID_SpellCheckerUnderlineRelativeSize: - root::mozilla::LookAndFeel_FloatID = 1; - pub const LookAndFeel_FloatID_eFloatID_CaretAspectRatio: - root::mozilla::LookAndFeel_FloatID = 2; - pub type LookAndFeel_FloatID = u32; - pub const LookAndFeel_FontID_FontID_MINIMUM: root::mozilla::LookAndFeel_FontID = - LookAndFeel_FontID::eFont_Caption; - pub const LookAndFeel_FontID_FontID_MAXIMUM: root::mozilla::LookAndFeel_FontID = - LookAndFeel_FontID::eFont_Widget; - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum LookAndFeel_FontID { - eFont_Caption = 1, - eFont_Icon = 2, - eFont_Menu = 3, - eFont_MessageBox = 4, - eFont_SmallCaption = 5, - eFont_StatusBar = 6, - eFont_Window = 7, - eFont_Document = 8, - eFont_Workspace = 9, - eFont_Desktop = 10, - eFont_Info = 11, - eFont_Dialog = 12, - eFont_Button = 13, - eFont_PullDownMenu = 14, - eFont_List = 15, - eFont_Field = 16, - eFont_Tooltips = 17, - eFont_Widget = 18, - } - #[test] - fn bindgen_test_layout_LookAndFeel() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(LookAndFeel)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(LookAndFeel)) - ); - } - impl Clone for LookAndFeel { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct StaticPrefs { - pub _address: u8, - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs42sVarCache_full_screen_api_unprefix_enabledE" ] pub static mut StaticPrefs_sVarCache_full_screen_api_unprefix_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs49sVarCache_gfx_font_rendering_opentype_svg_enabledE" ] pub static mut StaticPrefs_sVarCache_gfx_font_rendering_opentype_svg_enabled : bool ; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs29sVarCache_html5_offmainthreadE"] - pub static mut StaticPrefs_sVarCache_html5_offmainthread: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs39sVarCache_html5_flushtimer_initialdelayE"] - pub static mut StaticPrefs_sVarCache_html5_flushtimer_initialdelay: i32; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs42sVarCache_html5_flushtimer_subsequentdelayE" ] pub static mut StaticPrefs_sVarCache_html5_flushtimer_subsequentdelay : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs41sVarCache_layout_css_font_display_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_font_display_enabled : bool ; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs36sVarCache_layout_css_prefixes_webkitE"] - pub static mut StaticPrefs_sVarCache_layout_css_prefixes_webkit: bool; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs55sVarCache_layout_css_prefixes_device_pixel_ratio_webkitE" ] pub static mut StaticPrefs_sVarCache_layout_css_prefixes_device_pixel_ratio_webkit : bool ; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs39sVarCache_layout_css_prefixes_gradientsE"] - pub static mut StaticPrefs_sVarCache_layout_css_prefixes_gradients: bool; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs47sVarCache_layout_css_control_characters_visibleE" ] pub static mut StaticPrefs_sVarCache_layout_css_control_characters_visible : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs42sVarCache_layout_css_frames_timing_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_frames_timing_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs42sVarCache_layout_css_visited_links_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_visited_links_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs49sVarCache_layout_css_moz_document_content_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_moz_document_content_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs57sVarCache_layout_css_moz_document_url_prefix_hack_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_moz_document_url_prefix_hack_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs56sVarCache_layout_css_grid_template_subgrid_value_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_grid_template_subgrid_value_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs44sVarCache_layout_css_font_variations_enabledE" ] pub static mut StaticPrefs_sVarCache_layout_css_font_variations_enabled : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs46sVarCache_layout_css_emulate_moz_box_with_flexE" ] pub static mut StaticPrefs_sVarCache_layout_css_emulate_moz_box_with_flex : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs50sVarCache_javascript_options_gc_on_memory_pressureE" ] pub static mut StaticPrefs_sVarCache_javascript_options_gc_on_memory_pressure : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs53sVarCache_javascript_options_compact_on_user_inactiveE" ] pub static mut StaticPrefs_sVarCache_javascript_options_compact_on_user_inactive : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs59sVarCache_javascript_options_compact_on_user_inactive_delayE" ] pub static mut StaticPrefs_sVarCache_javascript_options_compact_on_user_inactive_delay : u32 ; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs36sVarCache_javascript_options_mem_logE"] - pub static mut StaticPrefs_sVarCache_javascript_options_mem_log: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs39sVarCache_javascript_options_mem_notifyE"] - pub static mut StaticPrefs_sVarCache_javascript_options_mem_notify: bool; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs50sVarCache_network_auth_subresource_http_auth_allowE" ] pub static mut StaticPrefs_sVarCache_network_auth_subresource_http_auth_allow : u32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs67sVarCache_network_auth_subresource_img_cross_origin_http_auth_allowE" ] pub static mut StaticPrefs_sVarCache_network_auth_subresource_img_cross_origin_http_auth_allow : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs74sVarCache_network_auth_non_web_content_triggered_resources_http_auth_allowE" ] pub static mut StaticPrefs_sVarCache_network_auth_non_web_content_triggered_resources_http_auth_allow : bool ; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs35sVarCache_network_predictor_enabledE"] - pub static mut StaticPrefs_sVarCache_network_predictor_enabled: bool; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs47sVarCache_network_predictor_enable_hover_on_sslE" ] pub static mut StaticPrefs_sVarCache_network_predictor_enable_hover_on_ssl : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs43sVarCache_network_predictor_enable_prefetchE" ] pub static mut StaticPrefs_sVarCache_network_predictor_enable_prefetch : bool ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs48sVarCache_network_predictor_page_degradation_dayE" ] pub static mut StaticPrefs_sVarCache_network_predictor_page_degradation_day : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs49sVarCache_network_predictor_page_degradation_weekE" ] pub static mut StaticPrefs_sVarCache_network_predictor_page_degradation_week : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs50sVarCache_network_predictor_page_degradation_monthE" ] pub static mut StaticPrefs_sVarCache_network_predictor_page_degradation_month : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs49sVarCache_network_predictor_page_degradation_yearE" ] pub static mut StaticPrefs_sVarCache_network_predictor_page_degradation_year : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs48sVarCache_network_predictor_page_degradation_maxE" ] pub static mut StaticPrefs_sVarCache_network_predictor_page_degradation_max : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs55sVarCache_network_predictor_subresource_degradation_dayE" ] pub static mut StaticPrefs_sVarCache_network_predictor_subresource_degradation_day : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs56sVarCache_network_predictor_subresource_degradation_weekE" ] pub static mut StaticPrefs_sVarCache_network_predictor_subresource_degradation_week : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs57sVarCache_network_predictor_subresource_degradation_monthE" ] pub static mut StaticPrefs_sVarCache_network_predictor_subresource_degradation_month : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs56sVarCache_network_predictor_subresource_degradation_yearE" ] pub static mut StaticPrefs_sVarCache_network_predictor_subresource_degradation_year : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs55sVarCache_network_predictor_subresource_degradation_maxE" ] pub static mut StaticPrefs_sVarCache_network_predictor_subresource_degradation_max : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs55sVarCache_network_predictor_prefetch_rolling_load_countE" ] pub static mut StaticPrefs_sVarCache_network_predictor_prefetch_rolling_load_count : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs51sVarCache_network_predictor_prefetch_min_confidenceE" ] pub static mut StaticPrefs_sVarCache_network_predictor_prefetch_min_confidence : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs53sVarCache_network_predictor_preconnect_min_confidenceE" ] pub static mut StaticPrefs_sVarCache_network_predictor_preconnect_min_confidence : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs53sVarCache_network_predictor_preresolve_min_confidenceE" ] pub static mut StaticPrefs_sVarCache_network_predictor_preresolve_min_confidence : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs52sVarCache_network_predictor_prefetch_force_valid_forE" ] pub static mut StaticPrefs_sVarCache_network_predictor_prefetch_force_valid_for : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs51sVarCache_network_predictor_max_resources_per_entryE" ] pub static mut StaticPrefs_sVarCache_network_predictor_max_resources_per_entry : i32 ; - } - extern "C" { - # [ link_name = "\u{1}_ZN7mozilla11StaticPrefs42sVarCache_network_predictor_max_uri_lengthE" ] pub static mut StaticPrefs_sVarCache_network_predictor_max_uri_length : u32 ; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs39sVarCache_network_predictor_doing_testsE"] - pub static mut StaticPrefs_sVarCache_network_predictor_doing_tests: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla11StaticPrefs37sVarCache_view_source_editor_externalE"] - pub static mut StaticPrefs_sVarCache_view_source_editor_external: bool; - } - #[test] - fn bindgen_test_layout_StaticPrefs() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(StaticPrefs)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(StaticPrefs)) - ); - } - impl Clone for StaticPrefs { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct NonOwningAnimationTarget { - pub mElement: *mut root::mozilla::dom::Element, - pub mPseudoType: root::mozilla::CSSPseudoElementType, - } - #[test] - fn bindgen_test_layout_NonOwningAnimationTarget() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(NonOwningAnimationTarget)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(NonOwningAnimationTarget)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElement as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(NonOwningAnimationTarget), - "::", - stringify!(mElement) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPseudoType as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(NonOwningAnimationTarget), - "::", - stringify!(mPseudoType) - ) - ); - } - impl Clone for NonOwningAnimationTarget { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct PseudoElementHashEntry { - pub _base: root::PLDHashEntryHdr, - pub mElement: root::RefPtr, - pub mPseudoType: root::mozilla::CSSPseudoElementType, - } - pub type PseudoElementHashEntry_KeyType = root::mozilla::NonOwningAnimationTarget; - pub type PseudoElementHashEntry_KeyTypePointer = - *const root::mozilla::NonOwningAnimationTarget; - pub const PseudoElementHashEntry_ALLOW_MEMMOVE: - root::mozilla::PseudoElementHashEntry__bindgen_ty_1 = 1; - pub type PseudoElementHashEntry__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_PseudoElementHashEntry() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(PseudoElementHashEntry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PseudoElementHashEntry)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElement as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PseudoElementHashEntry), - "::", - stringify!(mElement) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPseudoType as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PseudoElementHashEntry), - "::", - stringify!(mPseudoType) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct EffectCompositor { - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mPresContext: *mut root::nsPresContext, - pub mElementsToRestyle: [u64; 8usize], - pub mIsInPreTraverse: bool, - } - pub type EffectCompositor_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct EffectCompositor_cycleCollection { - pub _base: root::nsCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_EffectCompositor_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(EffectCompositor_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(EffectCompositor_cycleCollection) - ) - ); - } - impl Clone for EffectCompositor_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum EffectCompositor_CascadeLevel { - Animations = 0, - Transitions = 1, - } - pub const EffectCompositor_RestyleType_Throttled: - root::mozilla::EffectCompositor_RestyleType = 0; - pub const EffectCompositor_RestyleType_Standard: - root::mozilla::EffectCompositor_RestyleType = 1; - pub const EffectCompositor_RestyleType_Layer: root::mozilla::EffectCompositor_RestyleType = - 2; - pub type EffectCompositor_RestyleType = i32; - extern "C" { - #[link_name = "\u{1}_ZN7mozilla16EffectCompositor21_cycleCollectorGlobalE"] - pub static mut EffectCompositor__cycleCollectorGlobal: - root::mozilla::EffectCompositor_cycleCollection; - } - pub const EffectCompositor_kCascadeLevelCount: usize = 2; - #[test] - fn bindgen_test_layout_EffectCompositor() { - assert_eq!( - ::std::mem::size_of::(), - 88usize, - concat!("Size of: ", stringify!(EffectCompositor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(EffectCompositor)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(EffectCompositor), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPresContext as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(EffectCompositor), - "::", - stringify!(mPresContext) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElementsToRestyle as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(EffectCompositor), - "::", - stringify!(mElementsToRestyle) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsInPreTraverse as *const _ - as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(EffectCompositor), - "::", - stringify!(mIsInPreTraverse) - ) - ); - } - #[repr(C)] - pub struct GeckoFont { - pub gecko: root::nsStyleFont, - } - #[test] - fn bindgen_test_layout_GeckoFont() { - assert_eq!( - ::std::mem::size_of::(), - 136usize, - concat!("Size of: ", stringify!(GeckoFont)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoFont)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoFont), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoColor { - pub gecko: root::nsStyleColor, - } - #[test] - fn bindgen_test_layout_GeckoColor() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!("Size of: ", stringify!(GeckoColor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(GeckoColor)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoColor), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoList { - pub gecko: root::nsStyleList, - } - #[test] - fn bindgen_test_layout_GeckoList() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(GeckoList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoList)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoList), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoText { - pub gecko: root::nsStyleText, - } - #[test] - fn bindgen_test_layout_GeckoText() { - assert_eq!( - ::std::mem::size_of::(), - 160usize, - concat!("Size of: ", stringify!(GeckoText)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoText)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoText), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoVisibility { - pub gecko: root::nsStyleVisibility, - } - #[test] - fn bindgen_test_layout_GeckoVisibility() { - assert_eq!( - ::std::mem::size_of::(), - 7usize, - concat!("Size of: ", stringify!(GeckoVisibility)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(GeckoVisibility)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoVisibility), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoUserInterface { - pub gecko: root::nsStyleUserInterface, - } - #[test] - fn bindgen_test_layout_GeckoUserInterface() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(GeckoUserInterface)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoUserInterface)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).gecko as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoUserInterface), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoTableBorder { - pub gecko: root::nsStyleTableBorder, - } - #[test] - fn bindgen_test_layout_GeckoTableBorder() { - assert_eq!( - ::std::mem::size_of::(), - 12usize, - concat!("Size of: ", stringify!(GeckoTableBorder)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(GeckoTableBorder)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoTableBorder), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoSVG { - pub gecko: root::nsStyleSVG, - } - #[test] - fn bindgen_test_layout_GeckoSVG() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(GeckoSVG)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoSVG)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoSVG), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoBackground { - pub gecko: root::nsStyleBackground, - } - #[test] - fn bindgen_test_layout_GeckoBackground() { - assert_eq!( - ::std::mem::size_of::(), - 160usize, - concat!("Size of: ", stringify!(GeckoBackground)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoBackground)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoBackground), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoPosition { - pub gecko: root::nsStylePosition, - } - #[test] - fn bindgen_test_layout_GeckoPosition() { - assert_eq!( - ::std::mem::size_of::(), - 440usize, - concat!("Size of: ", stringify!(GeckoPosition)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoPosition)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoPosition), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoTextReset { - pub gecko: root::nsStyleTextReset, - } - #[test] - fn bindgen_test_layout_GeckoTextReset() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(GeckoTextReset)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoTextReset)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoTextReset), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoDisplay { - pub gecko: root::nsStyleDisplay, - } - #[test] - fn bindgen_test_layout_GeckoDisplay() { - assert_eq!( - ::std::mem::size_of::(), - 456usize, - concat!("Size of: ", stringify!(GeckoDisplay)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoDisplay)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoDisplay), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - pub struct GeckoContent { - pub gecko: root::nsStyleContent, - } - #[test] - fn bindgen_test_layout_GeckoContent() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(GeckoContent)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoContent)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoContent), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoUIReset { - pub gecko: root::nsStyleUIReset, - } - #[test] - fn bindgen_test_layout_GeckoUIReset() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(GeckoUIReset)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoUIReset)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoUIReset), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoTable { - pub gecko: root::nsStyleTable, - } - #[test] - fn bindgen_test_layout_GeckoTable() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(GeckoTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(GeckoTable)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoTable), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoMargin { - pub gecko: root::nsStyleMargin, - } - #[test] - fn bindgen_test_layout_GeckoMargin() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(GeckoMargin)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoMargin)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoMargin), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoPadding { - pub gecko: root::nsStylePadding, - } - #[test] - fn bindgen_test_layout_GeckoPadding() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(GeckoPadding)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoPadding)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoPadding), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoBorder { - pub gecko: root::nsStyleBorder, - } - #[test] - fn bindgen_test_layout_GeckoBorder() { - assert_eq!( - ::std::mem::size_of::(), - 304usize, - concat!("Size of: ", stringify!(GeckoBorder)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoBorder)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoBorder), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoOutline { - pub gecko: root::nsStyleOutline, - } - #[test] - fn bindgen_test_layout_GeckoOutline() { - assert_eq!( - ::std::mem::size_of::(), - 104usize, - concat!("Size of: ", stringify!(GeckoOutline)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoOutline)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoOutline), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoXUL { - pub gecko: root::nsStyleXUL, - } - #[test] - fn bindgen_test_layout_GeckoXUL() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(GeckoXUL)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(GeckoXUL)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoXUL), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoSVGReset { - pub gecko: root::nsStyleSVGReset, - } - #[test] - fn bindgen_test_layout_GeckoSVGReset() { - assert_eq!( - ::std::mem::size_of::(), - 200usize, - concat!("Size of: ", stringify!(GeckoSVGReset)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoSVGReset)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoSVGReset), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoColumn { - pub gecko: root::nsStyleColumn, - } - #[test] - fn bindgen_test_layout_GeckoColumn() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(GeckoColumn)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoColumn)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoColumn), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct GeckoEffects { - pub gecko: root::nsStyleEffects, - } - #[test] - fn bindgen_test_layout_GeckoEffects() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(GeckoEffects)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GeckoEffects)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).gecko as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoEffects), - "::", - stringify!(gecko) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct ServoMediaList { - pub _base: root::mozilla::dom::MediaList, - pub mRawList: root::RefPtr, - } - #[test] - fn bindgen_test_layout_ServoMediaList() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!("Size of: ", stringify!(ServoMediaList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoMediaList)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRawList as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(ServoMediaList), - "::", - stringify!(mRawList) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct CachedInheritingStyles { - pub mBits: usize, - } - pub type CachedInheritingStyles_IndirectCache = [u64; 6usize]; - #[test] - fn bindgen_test_layout_CachedInheritingStyles() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(CachedInheritingStyles)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CachedInheritingStyles)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBits as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CachedInheritingStyles), - "::", - stringify!(mBits) - ) - ); - } - /// A ComputedStyle represents the computed style data for an element. The - /// computed style data are stored in a set of structs (see nsStyleStruct.h) that - /// are cached either on the ComputedStyle or in the rule tree (see nsRuleNode.h - /// for a description of this caching and how the cached structs are shared). - /// - /// Since the data in |nsIStyleRule|s and |nsRuleNode|s are immutable (with a few - /// exceptions, like system color changes), the data in an ComputedStyle are also - /// immutable (with the additional exception of GetUniqueStyleData). When style - /// data change, ElementRestyler::Restyle creates a new ComputedStyle. - /// - /// ComputedStyles are reference counted. References are generally held by: - /// 1. the |nsIFrame|s that are using the ComputedStyle and - /// 2. any *child* ComputedStyle (this might be the reverse of - /// expectation, but it makes sense in this case) - /// - /// FIXME(emilio): This comment is somewhat outdated now. - #[repr(C)] - pub struct ComputedStyle { - pub mPresContext: *mut root::nsPresContext, - pub mSource: root::ServoComputedData, - pub mCachedInheritingStyles: root::mozilla::CachedInheritingStyles, - pub mPseudoTag: root::RefPtr, - pub mBits: u64, - } - #[test] - fn bindgen_test_layout_ComputedStyle() { - assert_eq!( - ::std::mem::size_of::(), - 248usize, - concat!("Size of: ", stringify!(ComputedStyle)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ComputedStyle)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPresContext as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ComputedStyle), - "::", - stringify!(mPresContext) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSource as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ComputedStyle), - "::", - stringify!(mSource) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCachedInheritingStyles as *const _ - as usize - }, - 224usize, - concat!( - "Offset of field: ", - stringify!(ComputedStyle), - "::", - stringify!(mCachedInheritingStyles) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPseudoTag as *const _ as usize - }, - 232usize, - concat!( - "Offset of field: ", - stringify!(ComputedStyle), - "::", - stringify!(mPseudoTag) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, - 240usize, - concat!( - "Offset of field: ", - stringify!(ComputedStyle), - "::", - stringify!(mBits) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DeclarationBlock { - pub mContainer: root::mozilla::DeclarationBlock__bindgen_ty_1, - pub mImmutable: bool, - pub mIsDirty: u32, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct DeclarationBlock__bindgen_ty_1 { - pub mRaw: root::__BindgenUnionField, - pub mOwningRule: root::__BindgenUnionField<*mut root::mozilla::css::Rule>, - pub mHTMLCSSStyleSheet: root::__BindgenUnionField<*mut root::nsHTMLCSSStyleSheet>, - pub bindgen_union_field: u64, - } - #[test] - fn bindgen_test_layout_DeclarationBlock__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(DeclarationBlock__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DeclarationBlock__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRaw as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(DeclarationBlock__bindgen_ty_1), - "::", - stringify!(mRaw) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOwningRule - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(DeclarationBlock__bindgen_ty_1), - "::", - stringify!(mOwningRule) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHTMLCSSStyleSheet - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(DeclarationBlock__bindgen_ty_1), - "::", - stringify!(mHTMLCSSStyleSheet) - ) - ); - } - impl Clone for DeclarationBlock__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_DeclarationBlock() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(DeclarationBlock)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(DeclarationBlock)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mContainer as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(DeclarationBlock), - "::", - stringify!(mContainer) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImmutable as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(DeclarationBlock), - "::", - stringify!(mImmutable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsDirty as *const _ as usize - }, - 12usize, - concat!( - "Offset of field: ", - stringify!(DeclarationBlock), - "::", - stringify!(mIsDirty) - ) - ); - } - impl Clone for DeclarationBlock { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct ServoDeclarationBlock { - pub _base: root::mozilla::DeclarationBlock, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mRaw: root::RefPtr, - } - pub type ServoDeclarationBlock_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_ServoDeclarationBlock() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(ServoDeclarationBlock)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoDeclarationBlock)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ServoDeclarationBlock), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRaw as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ServoDeclarationBlock), - "::", - stringify!(mRaw) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ServoTraversalStatistics { - pub mElementsTraversed: u32, - pub mElementsStyled: u32, - pub mElementsMatched: u32, - pub mStylesShared: u32, - pub mStylesReused: u32, - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla24ServoTraversalStatistics7sActiveE"] - pub static mut ServoTraversalStatistics_sActive: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN7mozilla24ServoTraversalStatistics10sSingletonE"] - pub static mut ServoTraversalStatistics_sSingleton: - root::mozilla::ServoTraversalStatistics; - } - #[test] - fn bindgen_test_layout_ServoTraversalStatistics() { - assert_eq!( - ::std::mem::size_of::(), - 20usize, - concat!("Size of: ", stringify!(ServoTraversalStatistics)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(ServoTraversalStatistics)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElementsTraversed - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoTraversalStatistics), - "::", - stringify!(mElementsTraversed) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElementsStyled as *const _ - as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(ServoTraversalStatistics), - "::", - stringify!(mElementsStyled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElementsMatched - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoTraversalStatistics), - "::", - stringify!(mElementsMatched) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStylesShared as *const _ - as usize - }, - 12usize, - concat!( - "Offset of field: ", - stringify!(ServoTraversalStatistics), - "::", - stringify!(mStylesShared) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStylesReused as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ServoTraversalStatistics), - "::", - stringify!(mStylesReused) - ) - ); - } - impl Clone for ServoTraversalStatistics { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct SeenPtrs { - pub _bindgen_opaque_blob: [u64; 4usize], - } - #[test] - fn bindgen_test_layout_SeenPtrs() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(SeenPtrs)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(SeenPtrs)) - ); - } - impl Clone for SeenPtrs { - fn clone(&self) -> Self { - *self - } - } - pub mod intl { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug)] - pub struct LineBreaker { - pub mRefCnt: root::nsAutoRefCnt, - } - pub type LineBreaker_HasThreadSafeRefCnt = root::mozilla::FalseType; - pub const LineBreaker_kWordBreak_Normal: - root::mozilla::intl::LineBreaker__bindgen_ty_1 = 0; - pub const LineBreaker_kWordBreak_BreakAll: - root::mozilla::intl::LineBreaker__bindgen_ty_1 = 1; - pub const LineBreaker_kWordBreak_KeepAll: - root::mozilla::intl::LineBreaker__bindgen_ty_1 = 2; - pub type LineBreaker__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_LineBreaker() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(LineBreaker)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(LineBreaker)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(LineBreaker), - "::", - stringify!(mRefCnt) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct WordBreaker { - pub mRefCnt: root::nsAutoRefCnt, - } - pub type WordBreaker_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_WordBreaker() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(WordBreaker)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(WordBreaker)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(WordBreaker), - "::", - stringify!(mRefCnt) - ) - ); - } - } - } - pub mod __gnu_cxx { - #[allow(unused_imports)] - use self::super::super::root; - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct InfallibleAllocPolicy { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_InfallibleAllocPolicy() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(InfallibleAllocPolicy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(InfallibleAllocPolicy)) - ); - } - impl Clone for InfallibleAllocPolicy { - fn clone(&self) -> Self { - *self - } - } - /// 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 const nsresult_NS_ERROR_NO_INTERFACE: root::nsresult = nsresult::NS_NOINTERFACE; - pub const nsresult_NS_ERROR_INVALID_ARG: root::nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; - pub const nsresult_NS_ERROR_INVALID_POINTER: root::nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; - pub const nsresult_NS_ERROR_NULL_POINTER: root::nsresult = nsresult::NS_ERROR_ILLEGAL_VALUE; - pub const nsresult_NS_BINDING_SUCCEEDED: root::nsresult = nsresult::NS_OK; - pub const nsresult_NS_NET_STATUS_RESOLVING_HOST: root::nsresult = - nsresult::NS_BINDING_REDIRECTED; - pub const nsresult_NS_NET_STATUS_RESOLVED_HOST: root::nsresult = - nsresult::NS_ERROR_ALREADY_CONNECTED; - pub const nsresult_NS_NET_STATUS_CONNECTED_TO: root::nsresult = nsresult::NS_BINDING_RETARGETED; - pub const nsresult_NS_NET_STATUS_TLS_HANDSHAKE_STARTING: root::nsresult = - nsresult::NS_ERROR_NOT_CONNECTED; - pub const nsresult_NS_NET_STATUS_TLS_HANDSHAKE_ENDED: root::nsresult = - nsresult::NS_ERROR_CONNECTION_REFUSED; - pub const nsresult_NS_NET_STATUS_WAITING_FOR: root::nsresult = nsresult::NS_ERROR_MALFORMED_URI; - pub const nsresult_NS_ERROR_HTMLPARSER_CONTINUE: root::nsresult = nsresult::NS_OK; - pub const nsresult_NS_RDF_ASSERTION_ACCEPTED: root::nsresult = nsresult::NS_OK; - pub const nsresult_NS_EXACT_LENGTH: root::nsresult = nsresult::NS_OK_UDEC_EXACTLENGTH; - pub const nsresult_NS_PARTIAL_MORE_INPUT: root::nsresult = nsresult::NS_OK_UDEC_MOREINPUT; - pub const nsresult_NS_PARTIAL_MORE_OUTPUT: root::nsresult = nsresult::NS_OK_UDEC_MOREOUTPUT; - pub const nsresult_NS_ERROR_ILLEGAL_INPUT: root::nsresult = - nsresult::NS_ERROR_UDEC_ILLEGALINPUT; - pub const nsresult_NS_ERROR_XPATH_INVALID_ARG: root::nsresult = - nsresult::NS_ERROR_ILLEGAL_VALUE; - pub const nsresult_NS_SUCCESS_RESTART_APP: root::nsresult = nsresult::NS_SUCCESS_DONT_FIXUP; - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsresult { - NS_OK = 0, - NS_ERROR_BASE = 3253927936, - NS_ERROR_NOT_INITIALIZED = 3253927937, - NS_ERROR_ALREADY_INITIALIZED = 3253927938, - NS_ERROR_NOT_IMPLEMENTED = 2147500033, - NS_NOINTERFACE = 2147500034, - NS_ERROR_ABORT = 2147500036, - NS_ERROR_FAILURE = 2147500037, - NS_ERROR_UNEXPECTED = 2147549183, - NS_ERROR_OUT_OF_MEMORY = 2147942414, - NS_ERROR_ILLEGAL_VALUE = 2147942487, - NS_ERROR_NO_AGGREGATION = 2147746064, - NS_ERROR_NOT_AVAILABLE = 2147746065, - NS_ERROR_FACTORY_NOT_REGISTERED = 2147746132, - NS_ERROR_FACTORY_REGISTER_AGAIN = 2147746133, - NS_ERROR_FACTORY_NOT_LOADED = 2147746296, - NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT = 3253928193, - NS_ERROR_FACTORY_EXISTS = 3253928192, - NS_ERROR_CANNOT_CONVERT_DATA = 2152071169, - NS_ERROR_OBJECT_IS_IMMUTABLE = 2152071170, - NS_ERROR_LOSS_OF_SIGNIFICANT_DATA = 2152071171, - NS_ERROR_NOT_SAME_THREAD = 2152071172, - NS_ERROR_ILLEGAL_DURING_SHUTDOWN = 2152071198, - NS_ERROR_SERVICE_NOT_AVAILABLE = 2152071190, - 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 = 2152136706, - NS_BASE_STREAM_OSERROR = 2152136707, - NS_BASE_STREAM_ILLEGAL_ARGS = 2152136708, - NS_BASE_STREAM_NO_CONVERTER = 2152136709, - NS_BASE_STREAM_BAD_CONVERSION = 2152136710, - NS_BASE_STREAM_WOULD_BLOCK = 2152136711, - NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE = 2152202241, - NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND = 2152202242, - NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE = 2152202243, - NS_ERROR_GFX_PRINTER_STARTDOC = 2152202244, - NS_ERROR_GFX_PRINTER_ENDDOC = 2152202245, - NS_ERROR_GFX_PRINTER_STARTPAGE = 2152202246, - NS_ERROR_GFX_PRINTER_DOC_IS_BUSY = 2152202247, - NS_ERROR_GFX_CMAP_MALFORMED = 2152202291, - NS_SUCCESS_EVENT_CONSUMED = 4784129, - NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY = 4784130, - NS_BINDING_FAILED = 2152398849, - NS_BINDING_ABORTED = 2152398850, - NS_BINDING_REDIRECTED = 2152398851, - NS_BINDING_RETARGETED = 2152398852, - NS_ERROR_MALFORMED_URI = 2152398858, - NS_ERROR_IN_PROGRESS = 2152398863, - NS_ERROR_NO_CONTENT = 2152398865, - NS_ERROR_UNKNOWN_PROTOCOL = 2152398866, - NS_ERROR_INVALID_CONTENT_ENCODING = 2152398875, - NS_ERROR_CORRUPTED_CONTENT = 2152398877, - NS_ERROR_INVALID_SIGNATURE = 2152398906, - NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY = 2152398882, - NS_ERROR_ALREADY_OPENED = 2152398921, - NS_ERROR_ALREADY_CONNECTED = 2152398859, - NS_ERROR_NOT_CONNECTED = 2152398860, - NS_ERROR_CONNECTION_REFUSED = 2152398861, - NS_ERROR_NET_TIMEOUT = 2152398862, - NS_ERROR_OFFLINE = 2152398864, - NS_ERROR_PORT_ACCESS_NOT_ALLOWED = 2152398867, - NS_ERROR_NET_RESET = 2152398868, - NS_ERROR_NET_INTERRUPT = 2152398919, - NS_ERROR_PROXY_CONNECTION_REFUSED = 2152398920, - NS_ERROR_NET_PARTIAL_TRANSFER = 2152398924, - NS_ERROR_NET_INADEQUATE_SECURITY = 2152398930, - NS_ERROR_NOT_RESUMABLE = 2152398873, - NS_ERROR_REDIRECT_LOOP = 2152398879, - NS_ERROR_ENTITY_CHANGED = 2152398880, - NS_ERROR_UNSAFE_CONTENT_TYPE = 2152398922, - NS_ERROR_REMOTE_XUL = 2152398923, - NS_ERROR_LOAD_SHOWED_ERRORPAGE = 2152398925, - NS_ERROR_DOCSHELL_DYING = 2152398926, - NS_ERROR_FTP_LOGIN = 2152398869, - NS_ERROR_FTP_CWD = 2152398870, - NS_ERROR_FTP_PASV = 2152398871, - NS_ERROR_FTP_PWD = 2152398872, - NS_ERROR_FTP_LIST = 2152398876, - NS_ERROR_UNKNOWN_HOST = 2152398878, - NS_ERROR_DNS_LOOKUP_QUEUE_FULL = 2152398881, - NS_ERROR_UNKNOWN_PROXY_HOST = 2152398890, - NS_ERROR_UNKNOWN_SOCKET_TYPE = 2152398899, - NS_ERROR_SOCKET_CREATE_FAILED = 2152398900, - NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED = 2152398901, - NS_ERROR_SOCKET_ADDRESS_IN_USE = 2152398902, - NS_ERROR_CACHE_KEY_NOT_FOUND = 2152398909, - NS_ERROR_CACHE_DATA_IS_STREAM = 2152398910, - NS_ERROR_CACHE_DATA_IS_NOT_STREAM = 2152398911, - NS_ERROR_CACHE_WAIT_FOR_VALIDATION = 2152398912, - NS_ERROR_CACHE_ENTRY_DOOMED = 2152398913, - NS_ERROR_CACHE_READ_ACCESS_DENIED = 2152398914, - NS_ERROR_CACHE_WRITE_ACCESS_DENIED = 2152398915, - NS_ERROR_CACHE_IN_USE = 2152398916, - NS_ERROR_DOCUMENT_NOT_CACHED = 2152398918, - NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS = 2152398928, - NS_ERROR_HOST_IS_IP_ADDRESS = 2152398929, - 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 = 2152398856, - NS_NET_STATUS_WRITING = 2152398857, - NS_NET_STATUS_CONNECTING_TO = 2152398855, - NS_NET_STATUS_SENDING_TO = 2152398853, - NS_NET_STATUS_RECEIVING_FROM = 2152398854, - NS_ERROR_INTERCEPTION_FAILED = 2152398948, - NS_ERROR_PLUGINS_PLUGINSNOTCHANGED = 2152465384, - NS_ERROR_PLUGIN_DISABLED = 2152465385, - NS_ERROR_PLUGIN_BLOCKLISTED = 2152465386, - NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = 2152465387, - NS_ERROR_PLUGIN_CLICKTOPLAY = 2152465388, - NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272, - NS_OK_PARSE_SHEET = 5046273, - NS_POSITION_BEFORE_TABLE = 5046275, - NS_ERROR_HTMLPARSER_EOF = 2152596456, - NS_ERROR_HTMLPARSER_UNKNOWN = 2152596457, - NS_ERROR_HTMLPARSER_CANTPROPAGATE = 2152596458, - NS_ERROR_HTMLPARSER_CONTEXTMISMATCH = 2152596459, - NS_ERROR_HTMLPARSER_BADFILENAME = 2152596460, - NS_ERROR_HTMLPARSER_BADURL = 2152596461, - NS_ERROR_HTMLPARSER_INVALIDPARSERCONTEXT = 2152596462, - NS_ERROR_HTMLPARSER_INTERRUPTED = 2152596463, - NS_ERROR_HTMLPARSER_BLOCK = 2152596464, - NS_ERROR_HTMLPARSER_BADTOKENIZER = 2152596465, - NS_ERROR_HTMLPARSER_BADATTRIBUTE = 2152596466, - NS_ERROR_HTMLPARSER_UNRESOLVEDDTD = 2152596467, - NS_ERROR_HTMLPARSER_MISPLACEDTABLECONTENT = 2152596468, - NS_ERROR_HTMLPARSER_BADDTD = 2152596469, - NS_ERROR_HTMLPARSER_BADCONTEXT = 2152596470, - NS_ERROR_HTMLPARSER_STOPPARSING = 2152596471, - NS_ERROR_HTMLPARSER_UNTERMINATEDSTRINGLITERAL = 2152596472, - NS_ERROR_HTMLPARSER_HIERARCHYTOODEEP = 2152596473, - NS_ERROR_HTMLPARSER_FAKE_ENDTAG = 2152596474, - NS_ERROR_HTMLPARSER_INVALID_COMMENT = 2152596475, - 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 = 2152726529, - NS_ERROR_UDEC_ILLEGALINPUT = 2152726542, - NS_OK_HAD_REPLACEMENTS = 5242883, - 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 = 2152857601, - NS_ERROR_FILE_UNRESOLVABLE_SYMLINK = 2152857602, - NS_ERROR_FILE_EXECUTION_FAILED = 2152857603, - NS_ERROR_FILE_UNKNOWN_TYPE = 2152857604, - NS_ERROR_FILE_DESTINATION_NOT_DIR = 2152857605, - NS_ERROR_FILE_TARGET_DOES_NOT_EXIST = 2152857606, - NS_ERROR_FILE_COPY_OR_MOVE_FAILED = 2152857607, - NS_ERROR_FILE_ALREADY_EXISTS = 2152857608, - NS_ERROR_FILE_INVALID_PATH = 2152857609, - NS_ERROR_FILE_DISK_FULL = 2152857610, - NS_ERROR_FILE_CORRUPTED = 2152857611, - NS_ERROR_FILE_NOT_DIRECTORY = 2152857612, - NS_ERROR_FILE_IS_DIRECTORY = 2152857613, - NS_ERROR_FILE_IS_LOCKED = 2152857614, - NS_ERROR_FILE_TOO_BIG = 2152857615, - NS_ERROR_FILE_NO_DEVICE_SPACE = 2152857616, - NS_ERROR_FILE_NAME_TOO_LONG = 2152857617, - NS_ERROR_FILE_NOT_FOUND = 2152857618, - NS_ERROR_FILE_READ_ONLY = 2152857619, - NS_ERROR_FILE_DIR_NOT_EMPTY = 2152857620, - NS_ERROR_FILE_ACCESS_DENIED = 2152857621, - NS_SUCCESS_FILE_DIRECTORY_EMPTY = 5373953, - NS_SUCCESS_AGGREGATE_RESULT = 5373954, - NS_ERROR_DOM_INDEX_SIZE_ERR = 2152923137, - NS_ERROR_DOM_HIERARCHY_REQUEST_ERR = 2152923139, - NS_ERROR_DOM_WRONG_DOCUMENT_ERR = 2152923140, - NS_ERROR_DOM_INVALID_CHARACTER_ERR = 2152923141, - NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR = 2152923143, - NS_ERROR_DOM_NOT_FOUND_ERR = 2152923144, - NS_ERROR_DOM_NOT_SUPPORTED_ERR = 2152923145, - NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR = 2152923146, - NS_ERROR_DOM_INVALID_STATE_ERR = 2152923147, - NS_ERROR_DOM_SYNTAX_ERR = 2152923148, - NS_ERROR_DOM_INVALID_MODIFICATION_ERR = 2152923149, - NS_ERROR_DOM_NAMESPACE_ERR = 2152923150, - NS_ERROR_DOM_INVALID_ACCESS_ERR = 2152923151, - NS_ERROR_DOM_TYPE_MISMATCH_ERR = 2152923153, - NS_ERROR_DOM_SECURITY_ERR = 2152923154, - NS_ERROR_DOM_NETWORK_ERR = 2152923155, - NS_ERROR_DOM_ABORT_ERR = 2152923156, - NS_ERROR_DOM_URL_MISMATCH_ERR = 2152923157, - NS_ERROR_DOM_QUOTA_EXCEEDED_ERR = 2152923158, - NS_ERROR_DOM_TIMEOUT_ERR = 2152923159, - NS_ERROR_DOM_INVALID_NODE_TYPE_ERR = 2152923160, - NS_ERROR_DOM_DATA_CLONE_ERR = 2152923161, - NS_ERROR_TYPE_ERR = 2152923162, - NS_ERROR_RANGE_ERR = 2152923163, - NS_ERROR_DOM_ENCODING_NOT_SUPPORTED_ERR = 2152923164, - NS_ERROR_DOM_INVALID_POINTER_ERR = 2152923165, - NS_ERROR_DOM_UNKNOWN_ERR = 2152923166, - NS_ERROR_DOM_DATA_ERR = 2152923167, - NS_ERROR_DOM_OPERATION_ERR = 2152923168, - NS_ERROR_DOM_NOT_ALLOWED_ERR = 2152923169, - NS_ERROR_DOM_SECMAN_ERR = 2152924137, - NS_ERROR_DOM_WRONG_TYPE_ERR = 2152924138, - NS_ERROR_DOM_NOT_OBJECT_ERR = 2152924139, - NS_ERROR_DOM_NOT_XPC_OBJECT_ERR = 2152924140, - NS_ERROR_DOM_NOT_NUMBER_ERR = 2152924141, - NS_ERROR_DOM_NOT_BOOLEAN_ERR = 2152924142, - NS_ERROR_DOM_NOT_FUNCTION_ERR = 2152924143, - NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR = 2152924144, - NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN = 2152924145, - NS_ERROR_DOM_PROP_ACCESS_DENIED = 2152924146, - NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED = 2152924147, - NS_ERROR_DOM_BAD_URI = 2152924148, - NS_ERROR_DOM_RETVAL_UNDEFINED = 2152924149, - NS_ERROR_DOM_QUOTA_REACHED = 2152924150, - NS_ERROR_UNCATCHABLE_EXCEPTION = 2152924151, - NS_ERROR_DOM_MALFORMED_URI = 2152924152, - NS_ERROR_DOM_INVALID_HEADER_NAME = 2152924153, - NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT = 2152924154, - NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED = 2152924155, - NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING = 2152924156, - NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_LOADING_OR_DONE = 2152924157, - NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSEXML = 2152924158, - NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSETEXT = 2152924159, - NS_ERROR_DOM_INVALID_STATE_XHR_CHUNKED_RESPONSETYPES_UNSUPPORTED_FOR_SYNC = 2152924160, - NS_ERROR_DOM_INVALID_ACCESS_XHR_TIMEOUT_AND_RESPONSETYPE_UNSUPPORTED_FOR_SYNC = 2152924161, - NS_ERROR_DOM_JS_DECODING_ERROR = 2152924162, - 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_ERROR_FAILURE = 2152988677, - NS_IMAGELIB_ERROR_NO_DECODER = 2152988678, - NS_IMAGELIB_ERROR_NOT_FINISHED = 2152988679, - NS_IMAGELIB_ERROR_NO_ENCODER = 2152988681, - NS_SUCCESS_EDITOR_ELEMENT_NOT_FOUND = 5636097, - NS_SUCCESS_EDITOR_FOUND_TARGET = 5636098, - NS_ERROR_XPC_NOT_ENOUGH_ARGS = 2153185281, - NS_ERROR_XPC_NEED_OUT_OBJECT = 2153185282, - NS_ERROR_XPC_CANT_SET_OUT_VAL = 2153185283, - NS_ERROR_XPC_NATIVE_RETURNED_FAILURE = 2153185284, - NS_ERROR_XPC_CANT_GET_INTERFACE_INFO = 2153185285, - NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO = 2153185286, - NS_ERROR_XPC_CANT_GET_METHOD_INFO = 2153185287, - NS_ERROR_XPC_UNEXPECTED = 2153185288, - NS_ERROR_XPC_BAD_CONVERT_JS = 2153185289, - NS_ERROR_XPC_BAD_CONVERT_NATIVE = 2153185290, - NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF = 2153185291, - NS_ERROR_XPC_BAD_OP_ON_WN_PROTO = 2153185292, - NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN = 2153185293, - NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN = 2153185294, - NS_ERROR_XPC_CANT_WATCH_WN_STATIC = 2153185295, - NS_ERROR_XPC_CANT_EXPORT_WN_STATIC = 2153185296, - NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED = 2153185297, - NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED = 2153185298, - NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE = 2153185299, - NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE = 2153185300, - NS_ERROR_XPC_CI_RETURNED_FAILURE = 2153185301, - NS_ERROR_XPC_GS_RETURNED_FAILURE = 2153185302, - NS_ERROR_XPC_BAD_CID = 2153185303, - NS_ERROR_XPC_BAD_IID = 2153185304, - NS_ERROR_XPC_CANT_CREATE_WN = 2153185305, - NS_ERROR_XPC_JS_THREW_EXCEPTION = 2153185306, - NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT = 2153185307, - NS_ERROR_XPC_JS_THREW_JS_OBJECT = 2153185308, - NS_ERROR_XPC_JS_THREW_NULL = 2153185309, - NS_ERROR_XPC_JS_THREW_STRING = 2153185310, - NS_ERROR_XPC_JS_THREW_NUMBER = 2153185311, - NS_ERROR_XPC_JAVASCRIPT_ERROR = 2153185312, - NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS = 2153185313, - NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY = 2153185314, - NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY = 2153185315, - NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY = 2153185316, - NS_ERROR_XPC_CANT_GET_ARRAY_INFO = 2153185317, - NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING = 2153185318, - NS_ERROR_XPC_SECURITY_MANAGER_VETO = 2153185319, - NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE = 2153185320, - NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS = 2153185321, - NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT = 2153185322, - NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT = 2153185323, - NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE = 2153185324, - NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD = 2153185325, - NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE = 2153185326, - NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED = 2153185327, - NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED = 2153185328, - NS_ERROR_XPC_BAD_ID_STRING = 2153185329, - NS_ERROR_XPC_BAD_INITIALIZER_NAME = 2153185330, - NS_ERROR_XPC_HAS_BEEN_SHUTDOWN = 2153185331, - NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN = 2153185332, - NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL = 2153185333, - NS_ERROR_XPC_CANT_PASS_CPOW_TO_NATIVE = 2153185334, - NS_ERROR_LAUNCHED_CHILD_PROCESS = 2153251016, - NS_ERROR_CSP_FORM_ACTION_VIOLATION = 2153381986, - NS_ERROR_CSP_FRAME_ANCESTOR_VIOLATION = 2153381987, - NS_ERROR_SRI_CORRUPT = 2153382088, - NS_ERROR_SRI_DISABLED = 2153382089, - NS_ERROR_SRI_NOT_ELIGIBLE = 2153382090, - NS_ERROR_SRI_UNEXPECTED_HASH_TYPE = 2153382091, - NS_ERROR_SRI_IMPORT = 2153382092, - NS_ERROR_CMS_VERIFY_NOT_SIGNED = 2153382912, - NS_ERROR_CMS_VERIFY_NO_CONTENT_INFO = 2153382913, - NS_ERROR_CMS_VERIFY_BAD_DIGEST = 2153382914, - NS_ERROR_CMS_VERIFY_NOCERT = 2153382916, - NS_ERROR_CMS_VERIFY_UNTRUSTED = 2153382917, - NS_ERROR_CMS_VERIFY_ERROR_UNVERIFIED = 2153382919, - NS_ERROR_CMS_VERIFY_ERROR_PROCESSING = 2153382920, - NS_ERROR_CMS_VERIFY_BAD_SIGNATURE = 2153382921, - NS_ERROR_CMS_VERIFY_DIGEST_MISMATCH = 2153382922, - NS_ERROR_CMS_VERIFY_UNKNOWN_ALGO = 2153382923, - NS_ERROR_CMS_VERIFY_UNSUPPORTED_ALGO = 2153382924, - NS_ERROR_CMS_VERIFY_MALFORMED_SIGNATURE = 2153382925, - NS_ERROR_CMS_VERIFY_HEADER_MISMATCH = 2153382926, - NS_ERROR_CMS_VERIFY_NOT_YET_ATTEMPTED = 2153382927, - NS_ERROR_CMS_VERIFY_CERT_WITHOUT_ADDRESS = 2153382928, - NS_ERROR_CMS_ENCRYPT_NO_BULK_ALG = 2153382944, - NS_ERROR_CMS_ENCRYPT_INCOMPLETE = 2153382945, - NS_ERROR_DOM_INVALID_EXPRESSION_ERR = 2153447475, - NS_ERROR_DOM_TYPE_ERR = 2153447476, - NS_ERROR_WONT_HANDLE_CONTENT = 2153578497, - NS_ERROR_MALWARE_URI = 2153578526, - NS_ERROR_PHISHING_URI = 2153578527, - NS_ERROR_TRACKING_URI = 2153578530, - NS_ERROR_UNWANTED_URI = 2153578531, - NS_ERROR_BLOCKED_URI = 2153578533, - NS_ERROR_HARMFUL_URI = 2153578534, - NS_ERROR_SAVE_LINK_AS_TIMEOUT = 2153578528, - NS_ERROR_PARSED_DATA_CACHED = 2153578529, - NS_REFRESHURI_HEADER_FOUND = 6094850, - NS_ERROR_CONTENT_BLOCKED = 2153644038, - NS_ERROR_CONTENT_BLOCKED_SHOW_ALT = 2153644039, - NS_PROPTABLE_PROP_NOT_THERE = 2153644042, - NS_ERROR_XBL_BLOCKED = 2153644047, - NS_ERROR_CONTENT_CRASHED = 2153644048, - 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 = 2153775105, - NS_ERROR_XPATH_PARSE_FAILURE = 2153775106, - NS_ERROR_XSLT_ALREADY_SET = 2153775107, - NS_ERROR_XSLT_EXECUTION_FAILURE = 2153775108, - NS_ERROR_XPATH_UNKNOWN_FUNCTION = 2153775109, - NS_ERROR_XSLT_BAD_RECURSION = 2153775110, - NS_ERROR_XSLT_BAD_VALUE = 2153775111, - NS_ERROR_XSLT_NODESET_EXPECTED = 2153775112, - NS_ERROR_XSLT_ABORTED = 2153775113, - NS_ERROR_XSLT_NETWORK_ERROR = 2153775114, - NS_ERROR_XSLT_WRONG_MIME_TYPE = 2153775115, - NS_ERROR_XSLT_LOAD_RECURSION = 2153775116, - NS_ERROR_XPATH_BAD_ARGUMENT_COUNT = 2153775117, - NS_ERROR_XPATH_BAD_EXTENSION_FUNCTION = 2153775118, - NS_ERROR_XPATH_PAREN_EXPECTED = 2153775119, - NS_ERROR_XPATH_INVALID_AXIS = 2153775120, - NS_ERROR_XPATH_NO_NODE_TYPE_TEST = 2153775121, - NS_ERROR_XPATH_BRACKET_EXPECTED = 2153775122, - NS_ERROR_XPATH_INVALID_VAR_NAME = 2153775123, - NS_ERROR_XPATH_UNEXPECTED_END = 2153775124, - NS_ERROR_XPATH_OPERATOR_EXPECTED = 2153775125, - NS_ERROR_XPATH_UNCLOSED_LITERAL = 2153775126, - NS_ERROR_XPATH_BAD_COLON = 2153775127, - NS_ERROR_XPATH_BAD_BANG = 2153775128, - NS_ERROR_XPATH_ILLEGAL_CHAR = 2153775129, - NS_ERROR_XPATH_BINARY_EXPECTED = 2153775130, - NS_ERROR_XSLT_LOAD_BLOCKED_ERROR = 2153775131, - NS_ERROR_XPATH_INVALID_EXPRESSION_EVALUATED = 2153775132, - NS_ERROR_XPATH_UNBALANCED_CURLY_BRACE = 2153775133, - NS_ERROR_XSLT_BAD_NODE_NAME = 2153775134, - NS_ERROR_XSLT_VAR_ALREADY_SET = 2153775135, - NS_ERROR_XSLT_CALL_TO_KEY_NOT_ALLOWED = 2153775136, - NS_XSLT_GET_NEW_HANDLER = 6291457, - NS_ERROR_TRANSPORT_INIT = 2153840641, - NS_ERROR_DUPLICATE_HANDLE = 2153840642, - NS_ERROR_BRIDGE_OPEN_PARENT = 2153840643, - NS_ERROR_BRIDGE_OPEN_CHILD = 2153840644, - NS_ERROR_DOM_SVG_WRONG_TYPE_ERR = 2153906176, - NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE = 2153906178, - NS_ERROR_STORAGE_BUSY = 2153971713, - NS_ERROR_STORAGE_IOERR = 2153971714, - NS_ERROR_STORAGE_CONSTRAINT = 2153971715, - NS_ERROR_DOM_FILE_NOT_FOUND_ERR = 2154102784, - NS_ERROR_DOM_FILE_NOT_READABLE_ERR = 2154102785, - NS_ERROR_DOM_FILE_ABORT_ERR = 2154102786, - NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR = 2154168321, - NS_ERROR_DOM_INDEXEDDB_NOT_FOUND_ERR = 2154168323, - NS_ERROR_DOM_INDEXEDDB_CONSTRAINT_ERR = 2154168324, - NS_ERROR_DOM_INDEXEDDB_DATA_ERR = 2154168325, - NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR = 2154168326, - NS_ERROR_DOM_INDEXEDDB_TRANSACTION_INACTIVE_ERR = 2154168327, - NS_ERROR_DOM_INDEXEDDB_ABORT_ERR = 2154168328, - NS_ERROR_DOM_INDEXEDDB_READ_ONLY_ERR = 2154168329, - NS_ERROR_DOM_INDEXEDDB_TIMEOUT_ERR = 2154168330, - NS_ERROR_DOM_INDEXEDDB_QUOTA_ERR = 2154168331, - NS_ERROR_DOM_INDEXEDDB_VERSION_ERR = 2154168332, - NS_ERROR_DOM_INDEXEDDB_RECOVERABLE_ERR = 2154169321, - NS_ERROR_DOM_FILEHANDLE_UNKNOWN_ERR = 2154233857, - NS_ERROR_DOM_FILEHANDLE_NOT_ALLOWED_ERR = 2154233858, - NS_ERROR_DOM_FILEHANDLE_INACTIVE_ERR = 2154233859, - NS_ERROR_DOM_FILEHANDLE_ABORT_ERR = 2154233860, - NS_ERROR_DOM_FILEHANDLE_READ_ONLY_ERR = 2154233861, - NS_ERROR_DOM_FILEHANDLE_QUOTA_ERR = 2154233862, - NS_ERROR_SIGNED_JAR_NOT_SIGNED = 2154299393, - NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY = 2154299394, - NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY = 2154299395, - NS_ERROR_SIGNED_JAR_ENTRY_MISSING = 2154299396, - NS_ERROR_SIGNED_JAR_WRONG_SIGNATURE = 2154299397, - NS_ERROR_SIGNED_JAR_ENTRY_TOO_LARGE = 2154299398, - NS_ERROR_SIGNED_JAR_ENTRY_INVALID = 2154299399, - NS_ERROR_SIGNED_JAR_MANIFEST_INVALID = 2154299400, - NS_ERROR_DOM_FILESYSTEM_INVALID_PATH_ERR = 2154364929, - NS_ERROR_DOM_FILESYSTEM_INVALID_MODIFICATION_ERR = 2154364930, - NS_ERROR_DOM_FILESYSTEM_NO_MODIFICATION_ALLOWED_ERR = 2154364931, - NS_ERROR_DOM_FILESYSTEM_PATH_EXISTS_ERR = 2154364932, - NS_ERROR_DOM_FILESYSTEM_TYPE_MISMATCH_ERR = 2154364933, - NS_ERROR_DOM_FILESYSTEM_UNKNOWN_ERR = 2154364934, - NS_ERROR_SIGNED_APP_MANIFEST_INVALID = 2154496001, - NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = 2154561537, - NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = 2154627073, - NS_ERROR_DOM_PUSH_DENIED_ERR = 2154627074, - NS_ERROR_DOM_PUSH_ABORT_ERR = 2154627075, - NS_ERROR_DOM_PUSH_SERVICE_UNREACHABLE = 2154627076, - NS_ERROR_DOM_PUSH_INVALID_KEY_ERR = 2154627077, - NS_ERROR_DOM_PUSH_MISMATCHED_KEY_ERR = 2154627078, - NS_ERROR_DOM_PUSH_GCM_DISABLED = 2154627079, - NS_ERROR_DOM_MEDIA_ABORT_ERR = 2154692609, - NS_ERROR_DOM_MEDIA_NOT_ALLOWED_ERR = 2154692610, - NS_ERROR_DOM_MEDIA_NOT_SUPPORTED_ERR = 2154692611, - NS_ERROR_DOM_MEDIA_DECODE_ERR = 2154692612, - NS_ERROR_DOM_MEDIA_FATAL_ERR = 2154692613, - NS_ERROR_DOM_MEDIA_METADATA_ERR = 2154692614, - NS_ERROR_DOM_MEDIA_OVERFLOW_ERR = 2154692615, - NS_ERROR_DOM_MEDIA_END_OF_STREAM = 2154692616, - NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA = 2154692617, - NS_ERROR_DOM_MEDIA_CANCELED = 2154692618, - NS_ERROR_DOM_MEDIA_MEDIASINK_ERR = 2154692619, - NS_ERROR_DOM_MEDIA_DEMUXER_ERR = 2154692620, - NS_ERROR_DOM_MEDIA_CDM_ERR = 2154692621, - NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER = 2154692622, - NS_ERROR_DOM_MEDIA_INITIALIZING_DECODER = 2154692623, - NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR = 2154692709, - NS_ERROR_UC_UPDATE_UNKNOWN = 2154758145, - NS_ERROR_UC_UPDATE_DUPLICATE_PREFIX = 2154758146, - NS_ERROR_UC_UPDATE_INFINITE_LOOP = 2154758147, - NS_ERROR_UC_UPDATE_WRONG_REMOVAL_INDICES = 2154758148, - NS_ERROR_UC_UPDATE_CHECKSUM_MISMATCH = 2154758149, - NS_ERROR_UC_UPDATE_MISSING_CHECKSUM = 2154758150, - NS_ERROR_UC_UPDATE_SHUTDOWNING = 2154758151, - NS_ERROR_UC_UPDATE_TABLE_NOT_FOUND = 2154758152, - NS_ERROR_UC_UPDATE_BUILD_PREFIX_FAILURE = 2154758153, - NS_ERROR_UC_UPDATE_FAIL_TO_WRITE_DISK = 2154758154, - NS_ERROR_UC_PARSER_MISSING_PARAM = 2154758156, - NS_ERROR_UC_PARSER_DECODE_FAILURE = 2154758157, - NS_ERROR_UC_PARSER_UNKNOWN_THREAT = 2154758158, - NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION = 2154823681, - NS_ERROR_INTERNAL_ERRORRESULT_DOMEXCEPTION = 2154823682, - NS_ERROR_INTERNAL_ERRORRESULT_EXCEPTION_ON_JSCONTEXT = 2154823683, - NS_ERROR_INTERNAL_ERRORRESULT_TYPEERROR = 2154823684, - NS_ERROR_INTERNAL_ERRORRESULT_RANGEERROR = 2154823685, - NS_ERROR_DOWNLOAD_COMPLETE = 2155347969, - NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970, - NS_ERROR_UNORM_MOREOUTPUT = 2155348001, - NS_ERROR_DOCSHELL_REQUEST_REJECTED = 2155348969, - NS_ERROR_DOCUMENT_IS_PRINTMODE = 2155349969, - NS_SUCCESS_DONT_FIXUP = 7864321, - NS_SUCCESS_RESTART_APP_NOT_SAME_PROFILE = 7864323, - NS_SUCCESS_UNORM_NOTFOUND = 7864337, - NS_ERROR_NOT_IN_TREE = 2155348006, - NS_OK_NO_NAME_CLAUSE_HANDLED = 7864354, - NS_ERROR_BLOCKED_BY_POLICY = 2155347971, - } - pub type nsrefcnt = root::MozRefCountType; - #[repr(C)] - #[derive(Debug)] - pub struct RefPtr { - pub mRawPtr: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type RefPtr_element_type = T; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct RefPtr_Proxy { - pub _address: u8, - } - pub type RefPtr_Proxy_member_function = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct RefPtr_ConstRemovingRefPtrTraits { - pub _address: u8, - } - pub type nsAString = root::nsTSubstring; - pub type nsAutoString = [u64; 19usize]; - pub type nsACString = root::nsTSubstring<::std::os::raw::c_char>; - pub type nsCString = root::nsTString<::std::os::raw::c_char>; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsCharTraits { - pub _address: u8, - } - pub type nscoord = i32; - pub type nscolor = u32; - #[repr(C)] - pub struct nsISupports__bindgen_vtable(::std::os::raw::c_void); - /// 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(Debug, Copy)] - pub struct nsISupports { - pub vtable_: *const nsISupports__bindgen_vtable, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsISupports_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsISupports() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsISupports)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISupports)) - ); - } - impl Clone for nsISupports { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PRThread { - _unused: [u8; 0], - } - impl Clone for PRThread { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCycleCollectingAutoRefCnt { - pub mRefCntAndFlags: usize, - } - pub type nsCycleCollectingAutoRefCnt_Suspect = ::std::option::Option< - unsafe extern "C" fn( - aPtr: *mut ::std::os::raw::c_void, - aCp: *mut root::nsCycleCollectionParticipant, - aRefCnt: *mut root::nsCycleCollectingAutoRefCnt, - aShouldDelete: *mut bool, - ), - >; - #[test] - fn bindgen_test_layout_nsCycleCollectingAutoRefCnt() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsCycleCollectingAutoRefCnt)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCycleCollectingAutoRefCnt)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCntAndFlags as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCycleCollectingAutoRefCnt), - "::", - stringify!(mRefCntAndFlags) - ) - ); - } - impl Clone for nsCycleCollectingAutoRefCnt { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAutoRefCnt { - pub mValue: root::nsrefcnt, - } - pub const nsAutoRefCnt_isThreadSafe: bool = false; - #[test] - fn bindgen_test_layout_nsAutoRefCnt() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAutoRefCnt)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAutoRefCnt)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAutoRefCnt), - "::", - stringify!(mValue) - ) - ); - } - impl Clone for nsAutoRefCnt { - fn clone(&self) -> Self { - *self - } - } - /// @see nsTAString - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsReadingIterator { - pub mStart: *mut CharT, - pub mEnd: *mut CharT, - pub mPosition: *mut CharT, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsReadingIterator_self_type = root::nsReadingIterator; - pub type nsReadingIterator_difference_type = isize; - pub type nsReadingIterator_size_type = usize; - pub type nsReadingIterator_value_type = CharT; - pub type nsReadingIterator_pointer = *mut CharT; - pub type nsReadingIterator_reference = u8; - /// @see nsTAString - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsWritingIterator { - pub mStart: *mut CharT, - pub mEnd: *mut CharT, - pub mPosition: *mut CharT, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsWritingIterator_self_type = root::nsWritingIterator; - pub type nsWritingIterator_difference_type = isize; - pub type nsWritingIterator_size_type = usize; - pub type nsWritingIterator_value_type = CharT; - pub type nsWritingIterator_pointer = *mut CharT; - pub type nsWritingIterator_reference = u8; - #[repr(C)] - pub struct nsTStringComparator__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTStringComparator { - pub vtable_: *const nsTStringComparator__bindgen_vtable, - } - pub type nsTStringComparator_char_type = T; - /// nsTSubstring is an abstract string class. From an API perspective, this - /// class is the root of the string class hierarchy. It represents a single - /// contiguous array of characters, which may or may not be null-terminated. - /// This type is not instantiated directly. A sub-class is instantiated - /// instead. For example, see nsTString. - /// - /// NAMES: - /// nsAString for wide characters - /// nsACString for narrow characters - /// - #[repr(C)] - #[derive(Debug)] - pub struct nsTSubstring { - pub _base: root::mozilla::detail::nsTStringRepr, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsTSubstring_self_type = root::nsTSubstring; - pub type nsTSubstring_string_type = root::nsTString; - pub type nsTSubstring_base_string_type = root::mozilla::detail::nsTStringRepr; - pub type nsTSubstring_substring_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_literalstring_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_fallible_t = root::nsTSubstring_base_string_type; - pub type nsTSubstring_char_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_substring_tuple_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_const_iterator = root::nsTSubstring_base_string_type; - pub type nsTSubstring_iterator = root::nsTSubstring_base_string_type; - pub type nsTSubstring_comparator_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_char_iterator = root::nsTSubstring_base_string_type; - pub type nsTSubstring_const_char_iterator = root::nsTSubstring_base_string_type; - pub type nsTSubstring_index_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_size_type = root::nsTSubstring_base_string_type; - pub type nsTSubstring_DataFlags = root::nsTSubstring_base_string_type; - pub type nsTSubstring_ClassFlags = root::nsTSubstring_base_string_type; - /// nsTSubstringTuple - /// - /// Represents a tuple of string fragments. Built as a recursive binary tree. - /// It is used to implement the concatenation of two or more string objects. - /// - /// NOTE: This class is a private implementation detail and should never be - /// referenced outside the string code. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTSubstringTuple { - pub mHead: *const root::nsTSubstringTuple_self_type, - pub mFragA: *const root::nsTSubstringTuple_base_string_type, - pub mFragB: *const root::nsTSubstringTuple_base_string_type, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsTSubstringTuple_char_type = T; - pub type nsTSubstringTuple_self_type = root::nsTSubstringTuple; - pub type nsTSubstringTuple_base_string_type = - root::mozilla::detail::nsTStringRepr>; - pub type nsTSubstringTuple_size_type = u32; - /// nsTLiteralString_CharT - /// - /// Stores a null-terminated, immutable sequence of characters. - /// - /// nsTString-lookalike that restricts its string value to a literal character - /// sequence. Can be implicitly cast to const nsTString& (the const is - /// essential, since this class's data are not writable). The data are assumed - /// to be static (permanent) and therefore, as an optimization, this class - /// does not have a destructor. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTLiteralString { - pub _base: root::mozilla::detail::nsTStringRepr, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsTLiteralString_self_type = root::nsTLiteralString; - pub type nsTLiteralString_char_type = [u8; 0usize]; - pub type nsTLiteralString_size_type = [u8; 0usize]; - pub type nsTLiteralString_DataFlags = [u8; 0usize]; - pub type nsTLiteralString_ClassFlags = [u8; 0usize]; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTLiteralString_raw_type { - pub _address: u8, - } - pub type nsTLiteralString_raw_type_type = *mut N; - /// This is the canonical null-terminated string class. All subclasses - /// promise null-terminated storage. Instances of this class allocate - /// strings on the heap. - /// - /// NAMES: - /// nsString for wide characters - /// nsCString for narrow characters - /// - /// This class is also known as nsAFlat[C]String, where "flat" is used - /// to denote a null-terminated string. - #[repr(C)] - #[derive(Debug)] - pub struct nsTString { - pub _base: root::nsTSubstring, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsTString_self_type = root::nsTString; - pub type nsTString_literalstring_type = [u8; 0usize]; - pub type nsTString_fallible_t = [u8; 0usize]; - pub type nsTString_char_type = [u8; 0usize]; - pub type nsTString_substring_tuple_type = [u8; 0usize]; - pub type nsTString_const_iterator = [u8; 0usize]; - pub type nsTString_iterator = [u8; 0usize]; - pub type nsTString_comparator_type = [u8; 0usize]; - pub type nsTString_char_iterator = [u8; 0usize]; - pub type nsTString_const_char_iterator = [u8; 0usize]; - pub type nsTString_index_type = [u8; 0usize]; - pub type nsTString_size_type = [u8; 0usize]; - pub type nsTString_DataFlags = [u8; 0usize]; - pub type nsTString_ClassFlags = [u8; 0usize]; - /// returns the null-terminated string - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTString_raw_type { - pub _address: u8, - } - pub type nsTString_raw_type_type = *mut U; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTString_Segment { - pub mBegin: u32, - pub mLength: u32, - } - pub type nsTAutoStringN_self_type = u8; - pub type nsTAutoStringN_base_string_type = root::nsTString; - pub type nsTAutoStringN_string_type = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_char_type = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_substring_type = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_size_type = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_substring_tuple_type = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_literalstring_type = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_DataFlags = root::nsTAutoStringN_base_string_type; - pub type nsTAutoStringN_ClassFlags = root::nsTAutoStringN_base_string_type; - pub mod JS { - #[allow(unused_imports)] - use self::super::super::root; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct DeletePolicy { - pub _address: u8, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FreePolicy { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_FreePolicy() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(FreePolicy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(FreePolicy)) - ); - } - impl Clone for FreePolicy { - fn clone(&self) -> Self { - *self - } - } - /// Local variable of type T whose value is always rooted. This is typically - /// used for local variables, or for non-rooted values being passed to a - /// function that requires a handle, e.g. Foo(Root(cx, x)). - /// - /// If you want to add additional methods to Rooted for a specific - /// specialization, define a RootedBase specialization containing them. - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct Rooted { - pub _address: u8, - } - pub type Rooted_ElementType = T; - pub mod dbg { - #[allow(unused_imports)] - use self::super::super::super::root; - #[repr(C)] - #[derive(Debug)] - pub struct GarbageCollectionEvent { - pub majorGCNumber_: u64, - pub reason: *const ::std::os::raw::c_char, - pub nonincrementalReason: *const ::std::os::raw::c_char, - pub collections: [u64; 3usize], - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct GarbageCollectionEvent_Collection { - pub startTimestamp: root::mozilla::TimeStamp, - pub endTimestamp: root::mozilla::TimeStamp, - } - #[test] - fn bindgen_test_layout_GarbageCollectionEvent_Collection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(GarbageCollectionEvent_Collection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(GarbageCollectionEvent_Collection) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).startTimestamp - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GarbageCollectionEvent_Collection), - "::", - stringify!(startTimestamp) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).endTimestamp - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(GarbageCollectionEvent_Collection), - "::", - stringify!(endTimestamp) - ) - ); - } - impl Clone for GarbageCollectionEvent_Collection { - fn clone(&self) -> Self { - *self - } - } - pub type GarbageCollectionEvent_Ptr = - root::mozilla::UniquePtr; - #[test] - fn bindgen_test_layout_GarbageCollectionEvent() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(GarbageCollectionEvent)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(GarbageCollectionEvent)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).majorGCNumber_ - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GarbageCollectionEvent), - "::", - stringify!(majorGCNumber_) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).reason as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(GarbageCollectionEvent), - "::", - stringify!(reason) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).nonincrementalReason - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(GarbageCollectionEvent), - "::", - stringify!(nonincrementalReason) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).collections as *const _ - as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(GarbageCollectionEvent), - "::", - stringify!(collections) - ) - ); - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ConstUTF8CharsZ { - pub data_: *const ::std::os::raw::c_char, - } - pub type ConstUTF8CharsZ_CharT = ::std::os::raw::c_uchar; - #[test] - fn bindgen_test_layout_ConstUTF8CharsZ() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(ConstUTF8CharsZ)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ConstUTF8CharsZ)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).data_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ConstUTF8CharsZ), - "::", - stringify!(data_) - ) - ); - } - impl Clone for ConstUTF8CharsZ { - fn clone(&self) -> Self { - *self - } - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct JSContext { - _unused: [u8; 0], - } - impl Clone for JSContext { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct JSObject { - _unused: [u8; 0], - } - impl Clone for JSObject { - fn clone(&self) -> Self { - *self - } - } - pub mod js { - #[allow(unused_imports)] - use self::super::super::root; - pub mod gc { - #[allow(unused_imports)] - use self::super::super::super::root; - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct SystemAllocPolicy { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_SystemAllocPolicy() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(SystemAllocPolicy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(SystemAllocPolicy)) - ); - } - impl Clone for SystemAllocPolicy { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct SourceHook__bindgen_vtable(::std::os::raw::c_void); - /// A class of objects that return source code on demand. - /// - /// When code is compiled with setSourceIsLazy(true), SpiderMonkey doesn't - /// retain the source code (and doesn't do lazy bytecode generation). If we ever - /// need the source code, say, in response to a call to Function.prototype. - /// toSource or Debugger.Source.prototype.text, then we call the 'load' member - /// function of the instance of this class that has hopefully been registered - /// with the runtime, passing the code's URL, and hope that it will be able to - /// find the source. - #[repr(C)] - #[derive(Debug)] - pub struct SourceHook { - pub vtable_: *const SourceHook__bindgen_vtable, - } - #[test] - fn bindgen_test_layout_SourceHook() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(SourceHook)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(SourceHook)) - ); - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTArrayHeader { - pub mLength: u32, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 4usize], u32>, - } - extern "C" { - #[link_name = "\u{1}_ZN14nsTArrayHeader9sEmptyHdrE"] - pub static mut nsTArrayHeader_sEmptyHdr: root::nsTArrayHeader; - } - #[test] - fn bindgen_test_layout_nsTArrayHeader() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsTArrayHeader)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsTArrayHeader)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLength as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTArrayHeader), - "::", - stringify!(mLength) - ) - ); - } - impl Clone for nsTArrayHeader { - fn clone(&self) -> Self { - *self - } - } - impl nsTArrayHeader { - #[inline] - pub fn mCapacity(&self) -> u32 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 31u8) as u32) } - } - #[inline] - pub fn set_mCapacity(&mut self, val: u32) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 31u8, val as u64) - } - } - #[inline] - pub fn mIsAutoArray(&self) -> u32 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(31usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsAutoArray(&mut self, val: u32) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(31usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mCapacity: u32, - mIsAutoArray: u32, - ) -> root::__BindgenBitfieldUnit<[u8; 4usize], u32> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 4usize], - u32, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 31u8, { - let mCapacity: u32 = unsafe { ::std::mem::transmute(mCapacity) }; - mCapacity as u64 - }); - __bindgen_bitfield_unit.set(31usize, 1u8, { - let mIsAutoArray: u32 = unsafe { ::std::mem::transmute(mIsAutoArray) }; - mIsAutoArray as u64 - }); - __bindgen_bitfield_unit - } - } - pub type AutoTArray_self_type = u8; - pub type AutoTArray_base_type = root::nsTArray; - pub type AutoTArray_Header = root::AutoTArray_base_type; - pub type AutoTArray_elem_type = root::AutoTArray_base_type; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct AutoTArray__bindgen_ty_1 { - pub mAutoBuf: root::__BindgenUnionField<*mut ::std::os::raw::c_char>, - pub mAlign: root::__BindgenUnionField, - pub bindgen_union_field: u64, - } - pub type PLDHashNumber = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PLDHashEntryHdr { - pub mKeyHash: root::PLDHashNumber, - } - #[test] - fn bindgen_test_layout_PLDHashEntryHdr() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!("Size of: ", stringify!(PLDHashEntryHdr)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(PLDHashEntryHdr)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mKeyHash as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLDHashEntryHdr), - "::", - stringify!(mKeyHash) - ) - ); - } - impl Clone for PLDHashEntryHdr { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct PLDHashTable { - pub mOps: *const root::PLDHashTableOps, - pub mEntryStore: root::PLDHashTable_EntryStore, - pub mGeneration: u16, - pub mHashShift: u8, - pub mEntrySize: u8, - pub mEntryCount: u32, - pub mRemovedCount: u32, - } - #[repr(C)] - #[derive(Debug)] - pub struct PLDHashTable_EntryStore { - pub mEntryStore: *mut ::std::os::raw::c_char, - } - #[test] - fn bindgen_test_layout_PLDHashTable_EntryStore() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(PLDHashTable_EntryStore)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLDHashTable_EntryStore)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEntryStore as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_EntryStore), - "::", - stringify!(mEntryStore) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct PLDHashTable_Iterator { - pub mTable: *mut root::PLDHashTable, - pub mStart: *mut ::std::os::raw::c_char, - pub mLimit: *mut ::std::os::raw::c_char, - pub mCurrent: *mut ::std::os::raw::c_char, - pub mNexts: u32, - pub mNextsLimit: u32, - pub mHaveRemoved: bool, - } - #[test] - fn bindgen_test_layout_PLDHashTable_Iterator() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(PLDHashTable_Iterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLDHashTable_Iterator)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTable as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mTable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStart as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mStart) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLimit as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mLimit) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCurrent as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mCurrent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNexts as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mNexts) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNextsLimit as *const _ as usize - }, - 36usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mNextsLimit) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHaveRemoved as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable_Iterator), - "::", - stringify!(mHaveRemoved) - ) - ); - } - pub const PLDHashTable_SearchReason_ForSearchOrRemove: root::PLDHashTable_SearchReason = 0; - pub const PLDHashTable_SearchReason_ForAdd: root::PLDHashTable_SearchReason = 1; - pub type PLDHashTable_SearchReason = u32; - pub const PLDHashTable_kMaxCapacity: u32 = 67108864; - pub const PLDHashTable_kMinCapacity: u32 = 8; - pub const PLDHashTable_kMaxInitialLength: u32 = 33554432; - pub const PLDHashTable_kDefaultInitialLength: u32 = 4; - pub const PLDHashTable_kHashBits: u32 = 32; - pub const PLDHashTable_kGoldenRatio: u32 = 2654435769; - pub const PLDHashTable_kCollisionFlag: root::PLDHashNumber = 1; - #[test] - fn bindgen_test_layout_PLDHashTable() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(PLDHashTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLDHashTable)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mOps as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mOps) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEntryStore as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mEntryStore) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mGeneration as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mGeneration) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mHashShift as *const _ as usize }, - 18usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mHashShift) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEntrySize as *const _ as usize }, - 19usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mEntrySize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEntryCount as *const _ as usize }, - 20usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mEntryCount) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRemovedCount as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTable), - "::", - stringify!(mRemovedCount) - ) - ); - } - pub type PLDHashHashKey = ::std::option::Option< - unsafe extern "C" fn(aKey: *const ::std::os::raw::c_void) -> root::PLDHashNumber, - >; - pub type PLDHashMatchEntry = ::std::option::Option< - unsafe extern "C" fn( - aEntry: *const root::PLDHashEntryHdr, - aKey: *const ::std::os::raw::c_void, - ) -> bool, - >; - pub type PLDHashMoveEntry = ::std::option::Option< - unsafe extern "C" fn( - aTable: *mut root::PLDHashTable, - aFrom: *const root::PLDHashEntryHdr, - aTo: *mut root::PLDHashEntryHdr, - ), - >; - pub type PLDHashClearEntry = ::std::option::Option< - unsafe extern "C" fn(aTable: *mut root::PLDHashTable, aEntry: *mut root::PLDHashEntryHdr), - >; - pub type PLDHashInitEntry = ::std::option::Option< - unsafe extern "C" fn( - aEntry: *mut root::PLDHashEntryHdr, - aKey: *const ::std::os::raw::c_void, - ), - >; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PLDHashTableOps { - pub hashKey: root::PLDHashHashKey, - pub matchEntry: root::PLDHashMatchEntry, - pub moveEntry: root::PLDHashMoveEntry, - pub clearEntry: root::PLDHashClearEntry, - pub initEntry: root::PLDHashInitEntry, - } - #[test] - fn bindgen_test_layout_PLDHashTableOps() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(PLDHashTableOps)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(PLDHashTableOps)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).hashKey as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTableOps), - "::", - stringify!(hashKey) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).matchEntry as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTableOps), - "::", - stringify!(matchEntry) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).moveEntry as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTableOps), - "::", - stringify!(moveEntry) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).clearEntry as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTableOps), - "::", - stringify!(clearEntry) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).initEntry as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(PLDHashTableOps), - "::", - stringify!(initEntry) - ) - ); - } - impl Clone for PLDHashTableOps { - fn clone(&self) -> Self { - *self - } - } - /// hashkey wrapper using T* KeyType - /// - /// @see nsTHashtable::EntryType for specification - #[repr(C)] - #[derive(Debug)] - pub struct nsPtrHashKey { - pub _base: root::PLDHashEntryHdr, - pub mKey: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsPtrHashKey_KeyType = *mut T; - pub type nsPtrHashKey_KeyTypePointer = *mut T; - pub const nsPtrHashKey_ALLOW_MEMMOVE: root::nsPtrHashKey__bindgen_ty_1 = 0; - pub type nsPtrHashKey__bindgen_ty_1 = i32; - /// 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)] - #[derive(Debug, Copy, Clone)] - pub struct nsTHashtable { - pub _address: u8, - } - pub type nsTHashtable_fallible_t = root::mozilla::fallible_t; - /// KeyType is typedef'ed for ease of use. - pub type nsTHashtable_KeyType = [u8; 0usize]; - /// KeyTypePointer is typedef'ed for ease of use. - pub type nsTHashtable_KeyTypePointer = [u8; 0usize]; - #[repr(C)] - #[derive(Debug)] - pub struct nsTHashtable_Iterator { - pub _base: root::PLDHashTable_Iterator, - } - pub type nsTHashtable_Iterator_Base = root::PLDHashTable_Iterator; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct gfxFontFeature { - pub mTag: u32, - pub mValue: u32, - } - #[test] - fn bindgen_test_layout_gfxFontFeature() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(gfxFontFeature)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(gfxFontFeature)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mTag as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeature), - "::", - stringify!(mTag) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeature), - "::", - stringify!(mValue) - ) - ); - } - impl Clone for gfxFontFeature { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct gfxAlternateValue { - pub alternate: u32, - pub value: ::nsstring::nsStringRepr, - } - #[test] - fn bindgen_test_layout_gfxAlternateValue() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(gfxAlternateValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(gfxAlternateValue)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).alternate as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(gfxAlternateValue), - "::", - stringify!(alternate) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).value as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(gfxAlternateValue), - "::", - stringify!(value) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct gfxFontFeatureValueSet { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mFontFeatureValues: [u64; 4usize], - } - pub type gfxFontFeatureValueSet_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[repr(C)] - pub struct gfxFontFeatureValueSet_ValueList { - pub name: ::nsstring::nsStringRepr, - pub featureSelectors: root::nsTArray, - } - #[test] - fn bindgen_test_layout_gfxFontFeatureValueSet_ValueList() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(gfxFontFeatureValueSet_ValueList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(gfxFontFeatureValueSet_ValueList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).name as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_ValueList), - "::", - stringify!(name) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).featureSelectors - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_ValueList), - "::", - stringify!(featureSelectors) - ) - ); - } - #[repr(C)] - pub struct gfxFontFeatureValueSet_FeatureValues { - pub alternate: u32, - pub valuelist: root::nsTArray, - } - #[test] - fn bindgen_test_layout_gfxFontFeatureValueSet_FeatureValues() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(gfxFontFeatureValueSet_FeatureValues) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(gfxFontFeatureValueSet_FeatureValues) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).alternate - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValues), - "::", - stringify!(alternate) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).valuelist - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValues), - "::", - stringify!(valuelist) - ) - ); - } - #[repr(C)] - pub struct gfxFontFeatureValueSet_FeatureValueHashKey { - pub mFamily: ::nsstring::nsStringRepr, - pub mPropVal: u32, - pub mName: ::nsstring::nsStringRepr, - } - #[test] - fn bindgen_test_layout_gfxFontFeatureValueSet_FeatureValueHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!( - "Size of: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFamily - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashKey), - "::", - stringify!(mFamily) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPropVal - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashKey), - "::", - stringify!(mPropVal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mName - as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashKey), - "::", - stringify!(mName) - ) - ); - } - #[repr(C)] - pub struct gfxFontFeatureValueSet_FeatureValueHashEntry { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::gfxFontFeatureValueSet_FeatureValueHashKey, - pub mValues: root::nsTArray, - } - pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyType = - *const root::gfxFontFeatureValueSet_FeatureValueHashKey; - pub type gfxFontFeatureValueSet_FeatureValueHashEntry_KeyTypePointer = - *const root::gfxFontFeatureValueSet_FeatureValueHashKey; - pub const gfxFontFeatureValueSet_FeatureValueHashEntry_ALLOW_MEMMOVE: - root::gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = 1; - pub type gfxFontFeatureValueSet_FeatureValueHashEntry__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_gfxFontFeatureValueSet_FeatureValueHashEntry() { - assert_eq!( - ::std::mem::size_of::(), - 56usize, - concat!( - "Size of: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashEntry) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashEntry) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKey - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashEntry), - "::", - stringify!(mKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValues - as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet_FeatureValueHashEntry), - "::", - stringify!(mValues) - ) - ); - } - #[test] - fn bindgen_test_layout_gfxFontFeatureValueSet() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(gfxFontFeatureValueSet)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(gfxFontFeatureValueSet)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontFeatureValues as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(gfxFontFeatureValueSet), - "::", - stringify!(mFontFeatureValues) - ) - ); - } - pub type gfxFontVariation = root::mozilla::gfx::FontVariation; - pub const kGenericFont_NONE: u8 = 0; - pub const kGenericFont_moz_variable: u8 = 0; - pub const kGenericFont_moz_fixed: u8 = 1; - pub const kGenericFont_serif: u8 = 2; - pub const kGenericFont_sans_serif: u8 = 4; - pub const kGenericFont_monospace: u8 = 8; - pub const kGenericFont_cursive: u8 = 16; - pub const kGenericFont_fantasy: u8 = 32; - #[repr(C)] - pub struct nsFont { - pub fontlist: root::mozilla::FontFamilyList, - pub style: u8, - pub systemFont: bool, - pub variantCaps: u8, - pub variantNumeric: u8, - pub variantPosition: u8, - pub variantWidth: u8, - pub variantLigatures: u16, - pub variantEastAsian: u16, - pub variantAlternates: u16, - pub smoothing: u8, - pub fontSmoothingBackgroundColor: root::nscolor, - pub weight: root::nsFont_FontWeight, - pub stretch: i16, - pub kerning: u8, - pub opticalSizing: u8, - pub synthesis: u8, - pub size: root::nscoord, - pub sizeAdjust: f32, - pub alternateValues: root::nsTArray, - pub featureValueLookup: root::RefPtr, - pub fontFeatureSettings: root::nsTArray, - pub fontVariationSettings: root::nsTArray, - pub languageOverride: u32, - } - pub type nsFont_FontWeight = root::mozilla::FontWeight; - pub const nsFont_MaxDifference_eNone: root::nsFont_MaxDifference = 0; - pub const nsFont_MaxDifference_eVisual: root::nsFont_MaxDifference = 1; - pub const nsFont_MaxDifference_eLayoutAffecting: root::nsFont_MaxDifference = 2; - pub type nsFont_MaxDifference = u8; - #[test] - fn bindgen_test_layout_nsFont() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(nsFont)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsFont)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).fontlist as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(fontlist) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).style as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(style) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).systemFont as *const _ as usize }, - 17usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(systemFont) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantCaps as *const _ as usize }, - 18usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantCaps) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantNumeric as *const _ as usize }, - 19usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantNumeric) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantPosition as *const _ as usize }, - 20usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantPosition) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantWidth as *const _ as usize }, - 21usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantWidth) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantLigatures as *const _ as usize }, - 22usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantLigatures) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantEastAsian as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantEastAsian) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).variantAlternates as *const _ as usize }, - 26usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(variantAlternates) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).smoothing as *const _ as usize }, - 28usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(smoothing) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).fontSmoothingBackgroundColor as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(fontSmoothingBackgroundColor) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).weight as *const _ as usize }, - 36usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(weight) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).stretch as *const _ as usize }, - 38usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(stretch) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).kerning as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(kerning) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).opticalSizing as *const _ as usize }, - 41usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(opticalSizing) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).synthesis as *const _ as usize }, - 42usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(synthesis) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).size as *const _ as usize }, - 44usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(size) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).sizeAdjust as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(sizeAdjust) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).alternateValues as *const _ as usize }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(alternateValues) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).featureValueLookup as *const _ as usize }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(featureValueLookup) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).fontFeatureSettings as *const _ as usize }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(fontFeatureSettings) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).fontVariationSettings as *const _ as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(fontVariationSettings) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).languageOverride as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsFont), - "::", - stringify!(languageOverride) - ) - ); - } - /// An array of objects, similar to AutoTArray but which is memmovable. It - /// always has length >= 1. - #[repr(C)] - #[derive(Debug)] - pub struct nsStyleAutoArray { - pub mFirstElement: T, - pub mOtherElements: root::nsTArray, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub const nsStyleAutoArray_WithSingleInitialElement_WITH_SINGLE_INITIAL_ELEMENT: - root::nsStyleAutoArray_WithSingleInitialElement = 0; - pub type nsStyleAutoArray_WithSingleInitialElement = i32; - pub const nsStyleUnit_eStyleUnit_MAX: root::nsStyleUnit = nsStyleUnit::eStyleUnit_Calc; - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - 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(Debug, Copy)] - pub struct nsStyleUnion { - pub mInt: root::__BindgenUnionField, - pub mFloat: root::__BindgenUnionField, - pub mPointer: root::__BindgenUnionField<*mut ::std::os::raw::c_void>, - pub bindgen_union_field: u64, - } - #[test] - fn bindgen_test_layout_nsStyleUnion() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsStyleUnion)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleUnion)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mInt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleUnion), - "::", - stringify!(mInt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFloat as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleUnion), - "::", - stringify!(mFloat) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPointer as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleUnion), - "::", - stringify!(mPointer) - ) - ); - } - impl Clone for nsStyleUnion { - fn clone(&self) -> Self { - *self - } - } - /// 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)] - #[derive(Debug)] - pub struct nsStyleCoord { - mUnit: root::nsStyleUnit, - mValue: root::nsStyleUnion, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsStyleCoord_CalcValue { - pub mLength: root::nscoord, - pub mPercent: f32, - pub mHasPercent: bool, - } - #[test] - fn bindgen_test_layout_nsStyleCoord_CalcValue() { - assert_eq!( - ::std::mem::size_of::(), - 12usize, - concat!("Size of: ", stringify!(nsStyleCoord_CalcValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsStyleCoord_CalcValue)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLength as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCoord_CalcValue), - "::", - stringify!(mLength) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPercent as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCoord_CalcValue), - "::", - stringify!(mPercent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHasPercent as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCoord_CalcValue), - "::", - stringify!(mHasPercent) - ) - ); - } - impl Clone for nsStyleCoord_CalcValue { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsStyleCoord_Calc { - pub _base: root::nsStyleCoord_CalcValue, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - } - pub type nsStyleCoord_Calc_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_nsStyleCoord_Calc() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsStyleCoord_Calc)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleCoord_Calc)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCoord_Calc), - "::", - stringify!(mRefCnt) - ) - ); - } - pub const nsStyleCoord_CoordConstructorType_CoordConstructor: - root::nsStyleCoord_CoordConstructorType = 0; - pub type nsStyleCoord_CoordConstructorType = u32; - #[test] - fn bindgen_test_layout_nsStyleCoord() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsStyleCoord)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleCoord)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mUnit as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCoord), - "::", - stringify!(mUnit) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCoord), - "::", - stringify!(mValue) - ) - ); - } - impl nsStyleCoord { - #[inline] - pub unsafe fn get_mUnit(&self) -> &root::nsStyleUnit { - &self.mUnit - } - #[inline] - pub unsafe fn get_mUnit_mut(&mut self) -> &mut root::nsStyleUnit { - &mut self.mUnit - } - #[inline] - pub unsafe fn get_mValue(&self) -> &root::nsStyleUnion { - &self.mValue - } - #[inline] - pub unsafe fn get_mValue_mut(&mut self) -> &mut root::nsStyleUnion { - &mut self.mValue - } - } - /// 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)] - #[derive(Debug)] - pub struct nsStyleSides { - mUnits: [root::nsStyleUnit; 4usize], - mValues: [root::nsStyleUnion; 4usize], - } - #[test] - fn bindgen_test_layout_nsStyleSides() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsStyleSides)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleSides)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mUnits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleSides), - "::", - stringify!(mUnits) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValues as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStyleSides), - "::", - stringify!(mValues) - ) - ); - } - impl nsStyleSides { - #[inline] - pub unsafe fn get_mUnits(&self) -> &[root::nsStyleUnit; 4usize] { - &self.mUnits - } - #[inline] - pub unsafe fn get_mUnits_mut(&mut self) -> &mut [root::nsStyleUnit; 4usize] { - &mut self.mUnits - } - #[inline] - pub unsafe fn get_mValues(&self) -> &[root::nsStyleUnion; 4usize] { - &self.mValues - } - #[inline] - pub unsafe fn get_mValues_mut(&mut self) -> &mut [root::nsStyleUnion; 4usize] { - &mut self.mValues - } - } - /// Class that represents a set of top-left/top-right/bottom-right/bottom-left - /// 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)] - #[derive(Debug)] - pub struct nsStyleCorners { - mUnits: [root::nsStyleUnit; 8usize], - mValues: [root::nsStyleUnion; 8usize], - } - #[test] - fn bindgen_test_layout_nsStyleCorners() { - assert_eq!( - ::std::mem::size_of::(), - 72usize, - concat!("Size of: ", stringify!(nsStyleCorners)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleCorners)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mUnits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCorners), - "::", - stringify!(mUnits) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValues as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStyleCorners), - "::", - stringify!(mValues) - ) - ); - } - impl nsStyleCorners { - #[inline] - pub unsafe fn get_mUnits(&self) -> &[root::nsStyleUnit; 8usize] { - &self.mUnits - } - #[inline] - pub unsafe fn get_mUnits_mut(&mut self) -> &mut [root::nsStyleUnit; 8usize] { - &mut self.mUnits - } - #[inline] - pub unsafe fn get_mValues(&self) -> &[root::nsStyleUnion; 8usize] { - &self.mValues - } - #[inline] - pub unsafe fn get_mValues_mut(&mut self) -> &mut [root::nsStyleUnion; 8usize] { - &mut self.mValues - } - } - pub const nsChangeHint_nsChangeHint_Empty: root::nsChangeHint = root::nsChangeHint(0); - pub const nsChangeHint_nsChangeHint_RepaintFrame: root::nsChangeHint = root::nsChangeHint(1); - pub const nsChangeHint_nsChangeHint_NeedReflow: root::nsChangeHint = root::nsChangeHint(2); - pub const nsChangeHint_nsChangeHint_ClearAncestorIntrinsics: root::nsChangeHint = - root::nsChangeHint(4); - pub const nsChangeHint_nsChangeHint_ClearDescendantIntrinsics: root::nsChangeHint = - root::nsChangeHint(8); - pub const nsChangeHint_nsChangeHint_NeedDirtyReflow: root::nsChangeHint = - root::nsChangeHint(16); - pub const nsChangeHint_nsChangeHint_SyncFrameView: root::nsChangeHint = root::nsChangeHint(32); - pub const nsChangeHint_nsChangeHint_UpdateCursor: root::nsChangeHint = root::nsChangeHint(64); - /// Used when the computed value (a URI) of one or more of an element's - /// filter/mask/clip/etc CSS properties changes, causing the element's frame - /// to start/stop referencing (or reference different) SVG resource elements. - /// (_Not_ used to handle changes to referenced resource elements.) Using this - /// hint results in SVGObserverUtils::UpdateEffects being called on the - /// element's frame. - pub const nsChangeHint_nsChangeHint_UpdateEffects: root::nsChangeHint = root::nsChangeHint(128); - /// Visual change only, but the change can be handled entirely by - /// updating the layer(s) for the frame. - /// Updates all descendants (including following placeholders to out-of-flows). - pub const nsChangeHint_nsChangeHint_UpdateOpacityLayer: root::nsChangeHint = - root::nsChangeHint(256); - /// Updates all descendants. Any placeholder descendants' out-of-flows - /// are also descendants of the transformed frame, so they're updated. - pub const nsChangeHint_nsChangeHint_UpdateTransformLayer: root::nsChangeHint = - root::nsChangeHint(512); - /// Change requires frame change (e.g., display:). - /// Reconstructs all frame descendants, including following placeholders - /// to out-of-flows. - /// - /// Note that this subsumes all the other change hints. (see - /// RestyleManager::ProcessRestyledFrames for details). - pub const nsChangeHint_nsChangeHint_ReconstructFrame: root::nsChangeHint = - root::nsChangeHint(1024); - /// The frame's overflow area has changed. Does not update any descendant - /// frames. - pub const nsChangeHint_nsChangeHint_UpdateOverflow: root::nsChangeHint = - root::nsChangeHint(2048); - /// The overflow area of the frame and all of its descendants has changed. This - /// can happen through a text-decoration change. - pub const nsChangeHint_nsChangeHint_UpdateSubtreeOverflow: root::nsChangeHint = - root::nsChangeHint(4096); - /// The frame's overflow area has changed, through a change in its transform. - /// In other words, the frame's pre-transform overflow is unchanged, but - /// its post-transform overflow has changed, and thus its effect on its - /// parent's overflow has changed. If the pre-transform overflow has - /// changed, see nsChangeHint_UpdateOverflow. - /// Does not update any descendant frames. - pub const nsChangeHint_nsChangeHint_UpdatePostTransformOverflow: root::nsChangeHint = - root::nsChangeHint(8192); - /// This frame's effect on its parent's overflow area has changed. - /// (But neither its pre-transform nor post-transform overflow have - /// changed; if those are the case, see - /// nsChangeHint_UpdatePostTransformOverflow.) - pub const nsChangeHint_nsChangeHint_UpdateParentOverflow: root::nsChangeHint = - root::nsChangeHint(16384); - /// The children-only transform of an SVG frame changed, requiring the - /// overflow rects of the frame's immediate children to be updated. - pub const nsChangeHint_nsChangeHint_ChildrenOnlyTransform: root::nsChangeHint = - root::nsChangeHint(32768); - /// The frame's offsets have changed, while its dimensions might have - /// changed as well. This hint is used for positioned frames if their - /// offset changes. If we decide that the dimensions are likely to - /// change, this will trigger a reflow. - /// - /// Note that this should probably be used in combination with - /// nsChangeHint_UpdateOverflow in order to get the overflow areas of - /// the ancestors updated as well. - pub const nsChangeHint_nsChangeHint_RecomputePosition: root::nsChangeHint = - root::nsChangeHint(65536); - /// Behaves like ReconstructFrame, but only if the frame has descendants - /// that are absolutely or fixed position. Use this hint when a style change - /// has changed whether the frame is a container for fixed-pos or abs-pos - /// elements, but reframing is otherwise not needed. - /// - /// Note that ComputedStyle::CalcStyleDifference adjusts results - /// returned by style struct CalcDifference methods to return this hint - /// only if there was a change to whether the element's overall style - /// indicates that it establishes a containing block. - pub const nsChangeHint_nsChangeHint_UpdateContainingBlock: root::nsChangeHint = - root::nsChangeHint(131072); - /// This change hint has *no* change handling behavior. However, it - /// exists to be a non-inherited hint, because when the border-style - /// changes, and it's inherited by a child, that might require a reflow - /// due to the border-width change on the child. - pub const nsChangeHint_nsChangeHint_BorderStyleNoneChange: root::nsChangeHint = - root::nsChangeHint(262144); - /// SVG textPath needs to be recomputed because the path has changed. - /// This means that the glyph positions of the text need to be recomputed. - pub const nsChangeHint_nsChangeHint_UpdateTextPath: root::nsChangeHint = - root::nsChangeHint(524288); - /// This will schedule an invalidating paint. This is useful if something - /// has changed which will be invalidated by DLBI. - pub const nsChangeHint_nsChangeHint_SchedulePaint: root::nsChangeHint = - root::nsChangeHint(1048576); - /// A hint reflecting that style data changed with no change handling - /// behavior. We need to return this, rather than nsChangeHint(0), - /// so that certain optimizations that manipulate the style tree are - /// correct. - /// - /// nsChangeHint_NeutralChange must be returned by CalcDifference on a given - /// style struct if the data in the style structs are meaningfully different - /// and if no other change hints are returned. If any other change hints are - /// set, then nsChangeHint_NeutralChange need not also be included, but it is - /// safe to do so. (An example of style structs having non-meaningfully - /// different data would be cached information that would be re-calculated - /// to the same values, such as nsStyleBorder::mSubImages.) - pub const nsChangeHint_nsChangeHint_NeutralChange: root::nsChangeHint = - root::nsChangeHint(2097152); - /// This will cause rendering observers to be invalidated. - pub const nsChangeHint_nsChangeHint_InvalidateRenderingObservers: root::nsChangeHint = - root::nsChangeHint(4194304); - /// Indicates that the reflow changes the size or position of the - /// element, and thus the reflow must start from at least the frame's - /// parent. Must be not be set without also setting nsChangeHint_NeedReflow - /// and nsChangeHint_ClearAncestorIntrinsics. - pub const nsChangeHint_nsChangeHint_ReflowChangesSizeOrPosition: root::nsChangeHint = - root::nsChangeHint(8388608); - /// Indicates that the style changes the computed BSize --- e.g. 'height'. - /// Must not be set without also setting nsChangeHint_NeedReflow. - pub const nsChangeHint_nsChangeHint_UpdateComputedBSize: root::nsChangeHint = - root::nsChangeHint(16777216); - /// Indicates that the 'opacity' property changed between 1 and non-1. - /// - /// Used as extra data for handling UpdateOpacityLayer hints. - /// - /// Note that we do not send this hint if the non-1 value was 0.99 or - /// greater, since in that case we send a RepaintFrame hint instead. - pub const nsChangeHint_nsChangeHint_UpdateUsesOpacity: root::nsChangeHint = - root::nsChangeHint(33554432); - /// Indicates that the 'background-position' property changed. - /// Regular frames can invalidate these changes using DLBI, but - /// for some frame types we need to repaint the whole frame because - /// the frame does not build individual background image display items - /// for each background layer. - pub const nsChangeHint_nsChangeHint_UpdateBackgroundPosition: root::nsChangeHint = - root::nsChangeHint(67108864); - /// Indicates that a frame has changed to or from having the CSS - /// transform property set. - pub const nsChangeHint_nsChangeHint_AddOrRemoveTransform: root::nsChangeHint = - root::nsChangeHint(134217728); - /// Indicates that the overflow-x and/or overflow-y property changed. - /// - /// In most cases, this is equivalent to nsChangeHint_ReconstructFrame. But - /// in some special cases where the change is really targeting the viewport's - /// scrollframe, this is instead equivalent to nsChangeHint_AllReflowHints - /// (because the viewport always has an associated scrollframe). - pub const nsChangeHint_nsChangeHint_CSSOverflowChange: root::nsChangeHint = - root::nsChangeHint(268435456); - /// Indicates that nsIFrame::UpdateWidgetProperties needs to be called. - /// This is used for -moz-window-* properties. - pub const nsChangeHint_nsChangeHint_UpdateWidgetProperties: root::nsChangeHint = - root::nsChangeHint(536870912); - /// Indicates that there has been a colspan or rowspan attribute change - /// on the cells of a table. - pub const nsChangeHint_nsChangeHint_UpdateTableCellSpans: root::nsChangeHint = - root::nsChangeHint(1073741824); - /// Indicates that the visiblity property changed. - /// This change hint is used for skip restyling for animations on - /// visibility:hidden elements in the case where the elements have no visible - /// descendants. - pub const nsChangeHint_nsChangeHint_VisibilityChange: root::nsChangeHint = - root::nsChangeHint(2147483648); - /// Dummy hint value for all hints. It exists for compile time check. - pub const nsChangeHint_nsChangeHint_AllHints: root::nsChangeHint = - root::nsChangeHint(4294967295); - impl ::std::ops::BitOr for root::nsChangeHint { - type Output = Self; - #[inline] - fn bitor(self, other: Self) -> Self { - nsChangeHint(self.0 | other.0) - } - } - impl ::std::ops::BitOrAssign for root::nsChangeHint { - #[inline] - fn bitor_assign(&mut self, rhs: root::nsChangeHint) { - self.0 |= rhs.0; - } - } - impl ::std::ops::BitAnd for root::nsChangeHint { - type Output = Self; - #[inline] - fn bitand(self, other: Self) -> Self { - nsChangeHint(self.0 & other.0) - } - } - impl ::std::ops::BitAndAssign for root::nsChangeHint { - #[inline] - fn bitand_assign(&mut self, rhs: root::nsChangeHint) { - self.0 &= rhs.0; - } - } - #[repr(C)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub struct nsChangeHint(pub u32); - pub const nsRestyleHint_eRestyle_Self: root::nsRestyleHint = root::nsRestyleHint(1); - pub const nsRestyleHint_eRestyle_SomeDescendants: root::nsRestyleHint = root::nsRestyleHint(2); - pub const nsRestyleHint_eRestyle_Subtree: root::nsRestyleHint = root::nsRestyleHint(4); - pub const nsRestyleHint_eRestyle_LaterSiblings: root::nsRestyleHint = root::nsRestyleHint(8); - pub const nsRestyleHint_eRestyle_CSSTransitions: root::nsRestyleHint = root::nsRestyleHint(16); - pub const nsRestyleHint_eRestyle_CSSAnimations: root::nsRestyleHint = root::nsRestyleHint(32); - pub const nsRestyleHint_eRestyle_StyleAttribute: root::nsRestyleHint = root::nsRestyleHint(64); - pub const nsRestyleHint_eRestyle_StyleAttribute_Animations: root::nsRestyleHint = - root::nsRestyleHint(128); - pub const nsRestyleHint_eRestyle_Force: root::nsRestyleHint = root::nsRestyleHint(256); - pub const nsRestyleHint_eRestyle_ForceDescendants: root::nsRestyleHint = - root::nsRestyleHint(512); - pub const nsRestyleHint_eRestyle_AllHintsWithAnimations: root::nsRestyleHint = - root::nsRestyleHint(176); - impl ::std::ops::BitOr for root::nsRestyleHint { - type Output = Self; - #[inline] - fn bitor(self, other: Self) -> Self { - nsRestyleHint(self.0 | other.0) - } - } - impl ::std::ops::BitOrAssign for root::nsRestyleHint { - #[inline] - fn bitor_assign(&mut self, rhs: root::nsRestyleHint) { - self.0 |= rhs.0; - } - } - impl ::std::ops::BitAnd for root::nsRestyleHint { - type Output = Self; - #[inline] - fn bitand(self, other: Self) -> Self { - nsRestyleHint(self.0 & other.0) - } - } - impl ::std::ops::BitAndAssign for root::nsRestyleHint { - #[inline] - fn bitand_assign(&mut self, rhs: root::nsRestyleHint) { - self.0 &= rhs.0; - } - } - #[repr(C)] - /// |nsRestyleHint| is a bitfield for the result of - /// |HasStateDependentStyle| and |HasAttributeDependentStyle|. When no - /// restyling is necessary, use |nsRestyleHint(0)|. - /// - /// Without eRestyle_Force or eRestyle_ForceDescendants, the restyling process - /// can stop processing at a frame when it detects no style changes and it is - /// known that the styles of the subtree beneath it will not change, leaving - /// the old ComputedStyle on the frame. eRestyle_Force can be used to skip this - /// optimization on a frame, and to force its new ComputedStyle to be used. - /// - /// Similarly, eRestyle_ForceDescendants will cause the frame and all of its - /// descendants to be traversed and for the new ComputedStyles that are created - /// to be set on the frames. - /// - /// NOTE: When adding new restyle hints, please also add them to - /// RestyleManager::RestyleHintToString. - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub struct nsRestyleHint(pub u32); - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction { - pub mType: root::nsTimingFunction_Type, - pub __bindgen_anon_1: root::nsTimingFunction__bindgen_ty_1, - } - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsTimingFunction_Type { - Ease = 0, - Linear = 1, - EaseIn = 2, - EaseOut = 3, - EaseInOut = 4, - StepStart = 5, - StepEnd = 6, - CubicBezier = 7, - Frames = 8, - } - pub const nsTimingFunction_Keyword_Implicit: root::nsTimingFunction_Keyword = 0; - pub const nsTimingFunction_Keyword_Explicit: root::nsTimingFunction_Keyword = 1; - pub type nsTimingFunction_Keyword = i32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction__bindgen_ty_1 { - pub mFunc: root::__BindgenUnionField, - pub __bindgen_anon_1: - root::__BindgenUnionField, - pub bindgen_union_field: [u32; 4usize], - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction__bindgen_ty_1__bindgen_ty_1 { - pub mX1: f32, - pub mY1: f32, - pub mX2: f32, - pub mY2: f32, - } - #[test] - fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!( - "Alignment of ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mX1 - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mX1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mY1 - as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mY1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mX2 - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mX2) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mY2 - as *const _ as usize - }, - 12usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(mY2) - ) - ); - } - impl Clone for nsTimingFunction__bindgen_ty_1__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTimingFunction__bindgen_ty_1__bindgen_ty_2 { - pub mStepsOrFrames: u32, - } - #[test] - fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1__bindgen_ty_2() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!( - "Size of: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!( - "Alignment of ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mStepsOrFrames as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1__bindgen_ty_2), - "::", - stringify!(mStepsOrFrames) - ) - ); - } - impl Clone for nsTimingFunction__bindgen_ty_1__bindgen_ty_2 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsTimingFunction__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsTimingFunction__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsTimingFunction__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFunc as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction__bindgen_ty_1), - "::", - stringify!(mFunc) - ) - ); - } - impl Clone for nsTimingFunction__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsTimingFunction() { - assert_eq!( - ::std::mem::size_of::(), - 20usize, - concat!("Size of: ", stringify!(nsTimingFunction)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsTimingFunction)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTimingFunction), - "::", - stringify!(mType) - ) - ); - } - impl Clone for nsTimingFunction { - fn clone(&self) -> Self { - *self - } - } - /// 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)] - #[derive(Debug)] - pub struct nsCOMPtr_base { - pub mRawPtr: *mut root::nsISupports, - } - #[test] - fn bindgen_test_layout_nsCOMPtr_base() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsCOMPtr_base)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCOMPtr_base)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRawPtr as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCOMPtr_base), - "::", - stringify!(mRawPtr) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCOMPtr { - pub _base: root::nsCOMPtr_base, - } - pub type nsCOMPtr_element_type = T; - /// We want C++ to be able to read the style struct fields of ComputedValues - /// so we define this type on the C++ side and use the bindgenned version - /// on the Rust side. - #[repr(C)] - pub struct ServoComputedData { - pub Font: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Color: ::gecko_bindings::structs::ServoRawOffsetArc, - pub List: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Text: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Visibility: ::gecko_bindings::structs::ServoRawOffsetArc, - pub UserInterface: ::gecko_bindings::structs::ServoRawOffsetArc, - pub TableBorder: ::gecko_bindings::structs::ServoRawOffsetArc, - pub SVG: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Background: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Position: ::gecko_bindings::structs::ServoRawOffsetArc, - pub TextReset: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Display: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Content: ::gecko_bindings::structs::ServoRawOffsetArc, - pub UIReset: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Table: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Margin: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Padding: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Border: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Outline: ::gecko_bindings::structs::ServoRawOffsetArc, - pub XUL: ::gecko_bindings::structs::ServoRawOffsetArc, - pub SVGReset: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Column: ::gecko_bindings::structs::ServoRawOffsetArc, - pub Effects: ::gecko_bindings::structs::ServoRawOffsetArc, - pub custom_properties: ::gecko_bindings::structs::ServoCustomPropertiesMap, - pub writing_mode: ::gecko_bindings::structs::ServoWritingMode, - pub flags: ::gecko_bindings::structs::ServoComputedValueFlags, - /// The rule node representing the ordered list of rules matched for this - /// /// node. Can be None for default values and text nodes. This is - /// /// essentially an optimization to avoid referencing the root rule node. - pub rules: ::gecko_bindings::structs::ServoRuleNode, - /// The element's computed values if visited, only computed if there's a - /// /// relevant link for this element. A element's "relevant link" is the - /// /// element being matched if it is a link or the nearest ancestor link. - pub visited_style: ::gecko_bindings::structs::ServoVisitedStyle, - } - #[test] - fn bindgen_test_layout_ServoComputedData() { - assert_eq!( - ::std::mem::size_of::(), - 216usize, - concat!("Size of: ", stringify!(ServoComputedData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoComputedData)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Font as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Font) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Color as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Color) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).List as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(List) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Text as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Text) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).Visibility as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Visibility) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).UserInterface as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(UserInterface) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).TableBorder as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(TableBorder) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).SVG as *const _ as usize }, - 56usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(SVG) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).Background as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Background) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Position as *const _ as usize }, - 72usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Position) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).TextReset as *const _ as usize }, - 80usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(TextReset) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Display as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Display) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Content as *const _ as usize }, - 96usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Content) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).UIReset as *const _ as usize }, - 104usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(UIReset) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Table as *const _ as usize }, - 112usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Table) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Margin as *const _ as usize }, - 120usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Margin) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Padding as *const _ as usize }, - 128usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Padding) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Border as *const _ as usize }, - 136usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Border) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Outline as *const _ as usize }, - 144usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Outline) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).XUL as *const _ as usize }, - 152usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(XUL) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).SVGReset as *const _ as usize }, - 160usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(SVGReset) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Column as *const _ as usize }, - 168usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Column) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).Effects as *const _ as usize }, - 176usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(Effects) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).custom_properties as *const _ as usize - }, - 184usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(custom_properties) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).writing_mode as *const _ as usize - }, - 192usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(writing_mode) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).flags as *const _ as usize }, - 194usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(flags) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).rules as *const _ as usize }, - 200usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(rules) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).visited_style as *const _ as usize - }, - 208usize, - concat!( - "Offset of field: ", - stringify!(ServoComputedData), - "::", - stringify!(visited_style) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsAutoPtr { - pub mRawPtr: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsAutoPtr_Ptr { - pub mPtr: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsAutoPtr_element_type = T; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsAutoPtr_Proxy { - pub _address: u8, - } - pub type nsAutoPtr_Proxy_member_function = u8; - /// 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 mDataFlags 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)] - #[derive(Debug)] - pub struct nsStringBuffer { - pub mRefCount: u32, - pub mStorageSize: u32, - pub mCanary: u32, - } - #[test] - fn bindgen_test_layout_nsStringBuffer() { - assert_eq!( - ::std::mem::size_of::(), - 12usize, - concat!("Size of: ", stringify!(nsStringBuffer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsStringBuffer)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCount as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStringBuffer), - "::", - stringify!(mRefCount) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStorageSize as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsStringBuffer), - "::", - stringify!(mStorageSize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mCanary as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStringBuffer), - "::", - stringify!(mCanary) - ) - ); - } - /// Functions to create content, to be used only inside Gecko - /// (mozilla/content and mozilla/layout). - #[repr(C)] - #[derive(Debug)] - pub struct nsAtom { - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 4usize], u32>, - pub mHash: u32, - } - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsAtom_AtomKind { - Static = 0, - DynamicNormal = 1, - DynamicHTML5 = 2, - } - pub type nsAtom_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_nsAtom() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAtom)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsAtom)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mHash as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsAtom), - "::", - stringify!(mHash) - ) - ); - } - impl nsAtom { - #[inline] - pub fn mLength(&self) -> u32 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 30u8) as u32) } - } - #[inline] - pub fn set_mLength(&mut self, val: u32) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 30u8, val as u64) - } - } - #[inline] - pub fn mKind(&self) -> u32 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(30usize, 2u8) as u32) } - } - #[inline] - pub fn set_mKind(&mut self, val: u32) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(30usize, 2u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mLength: u32, - mKind: u32, - ) -> root::__BindgenBitfieldUnit<[u8; 4usize], u32> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 4usize], - u32, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 30u8, { - let mLength: u32 = unsafe { ::std::mem::transmute(mLength) }; - mLength as u64 - }); - __bindgen_bitfield_unit.set(30usize, 2u8, { - let mKind: u32 = unsafe { ::std::mem::transmute(mKind) }; - mKind as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsStaticAtom { - pub _base: root::nsAtom, - pub mStringOffset: u32, - } - #[test] - fn bindgen_test_layout_nsStaticAtom() { - assert_eq!( - ::std::mem::size_of::(), - 12usize, - concat!("Size of: ", stringify!(nsStaticAtom)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsStaticAtom)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStringOffset as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStaticAtom), - "::", - stringify!(mStringOffset) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsDynamicAtom { - pub _base: root::nsAtom, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mString: *const u16, - } - #[test] - fn bindgen_test_layout_nsDynamicAtom() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsDynamicAtom)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsDynamicAtom)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsDynamicAtom), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mString as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsDynamicAtom), - "::", - stringify!(mString) - ) - ); - } - #[repr(C)] - pub struct nsCycleCollectionParticipant__bindgen_vtable(::std::os::raw::c_void); - /// Participant implementation classes - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCycleCollectionParticipant { - pub vtable_: *const nsCycleCollectionParticipant__bindgen_vtable, - pub mMightSkip: bool, - pub mTraverseShouldTrace: bool, - } - #[test] - fn bindgen_test_layout_nsCycleCollectionParticipant() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsCycleCollectionParticipant)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCycleCollectionParticipant)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMightSkip as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsCycleCollectionParticipant), - "::", - stringify!(mMightSkip) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTraverseShouldTrace - as *const _ as usize - }, - 9usize, - concat!( - "Offset of field: ", - stringify!(nsCycleCollectionParticipant), - "::", - stringify!(mTraverseShouldTrace) - ) - ); - } - impl Clone for nsCycleCollectionParticipant { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsScriptObjectTracer { - pub _base: root::nsCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_nsScriptObjectTracer() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsScriptObjectTracer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsScriptObjectTracer)) - ); - } - impl Clone for nsScriptObjectTracer { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsXPCOMCycleCollectionParticipant { - pub _base: root::nsScriptObjectTracer, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsXPCOMCycleCollectionParticipant_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsXPCOMCycleCollectionParticipant() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsXPCOMCycleCollectionParticipant)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsXPCOMCycleCollectionParticipant) - ) - ); - } - impl Clone for nsXPCOMCycleCollectionParticipant { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct nsWrapperCache__bindgen_vtable(::std::os::raw::c_void); - /// Class to store the wrapper for an object. This can only be used with objects - /// that only have one non-security wrapper at a time (for an XPCWrappedNative - /// this is usually ensured by setting an explicit parent in the PreCreate hook - /// for the class). - /// - /// An instance of nsWrapperCache can be gotten from an object that implements - /// a wrapper cache by calling QueryInterface on it. Note that this breaks XPCOM - /// rules a bit (this object doesn't derive from nsISupports). - /// - /// The cache can store objects other than wrappers. We allow wrappers to use a - /// separate JSObject to store their state (mostly expandos). If the wrapper is - /// collected and we want to preserve this state we actually store the state - /// object in the cache. - /// - /// The cache can store 2 types of objects: - /// - /// If WRAPPER_IS_NOT_DOM_BINDING is set (IsDOMBinding() returns false): - /// - the JSObject of an XPCWrappedNative wrapper - /// - /// If WRAPPER_IS_NOT_DOM_BINDING is not set (IsDOMBinding() returns true): - /// - a DOM binding object (regular JS object or proxy) - /// - /// The finalizer for the wrapper clears the cache. - /// - /// A compacting GC can move the wrapper object. Pointers to moved objects are - /// usually found and updated by tracing the heap, however non-preserved wrappers - /// are weak references and are not traced, so another approach is - /// necessary. Instead a class hook (objectMovedOp) is provided that is called - /// when an object is moved and is responsible for ensuring pointers are - /// updated. It does this by calling UpdateWrapper() on the wrapper - /// cache. SetWrapper() asserts that the hook is implemented for any wrapper set. - /// - /// A number of the methods are implemented in nsWrapperCacheInlines.h because we - /// have to include some JS headers that don't play nicely with the rest of the - /// codebase. Include nsWrapperCacheInlines.h if you need to call those methods. - #[repr(C)] - #[derive(Debug)] - pub struct nsWrapperCache { - pub vtable_: *const nsWrapperCache__bindgen_vtable, - pub mWrapper: *mut root::JSObject, - pub mFlags: root::nsWrapperCache_FlagsType, - pub mBoolFlags: u32, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsWrapperCache_COMTypeInfo { - pub _address: u8, - } - pub type nsWrapperCache_FlagsType = u32; - pub const nsWrapperCache_WRAPPER_BIT_PRESERVED: root::nsWrapperCache__bindgen_ty_1 = 1; - /// If this bit is set then we're preserving the wrapper, which in effect ties - /// the lifetime of the JS object stored in the cache to the lifetime of the - /// native object. We rely on the cycle collector to break the cycle that this - /// causes between the native object and the JS object, so it is important that - /// any native object that supports preserving of its wrapper - /// traces/traverses/unlinks the cached JS object (see - /// NS_IMPL_CYCLE_COLLECTION_TRACE_PRESERVED_WRAPPER and - /// NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER). - pub type nsWrapperCache__bindgen_ty_1 = u32; - pub const nsWrapperCache_WRAPPER_IS_NOT_DOM_BINDING: root::nsWrapperCache__bindgen_ty_2 = 2; - /// If this bit is set then the wrapper for the native object is not a DOM - /// binding. - pub type nsWrapperCache__bindgen_ty_2 = u32; - pub const nsWrapperCache_kWrapperFlagsMask: root::nsWrapperCache__bindgen_ty_3 = 3; - pub type nsWrapperCache__bindgen_ty_3 = u32; - #[test] - fn bindgen_test_layout_nsWrapperCache() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsWrapperCache)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsWrapperCache)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mWrapper as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsWrapperCache), - "::", - stringify!(mWrapper) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFlags as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsWrapperCache), - "::", - stringify!(mFlags) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBoolFlags as *const _ as usize }, - 20usize, - concat!( - "Offset of field: ", - stringify!(nsWrapperCache), - "::", - stringify!(mBoolFlags) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsMainThreadPtrHolder { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mRawPtr: *mut T, - pub mStrict: bool, - pub mMainThreadEventTarget: root::nsCOMPtr, - pub mName: *const ::std::os::raw::c_char, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsISerializable { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsISerializable_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsISerializable() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsISerializable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISerializable)) - ); - } - impl Clone for nsISerializable { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIPrincipal { - pub _base: root::nsISerializable, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIPrincipal_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIPrincipal() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIPrincipal)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIPrincipal)) - ); - } - impl Clone for nsIPrincipal { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIURI { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIURI_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIURI() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIURI)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIURI)) - ); - } - impl Clone for nsIURI { - fn clone(&self) -> Self { - *self - } - } - #[repr(i16)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsCSSKeyword { - eCSSKeyword_UNKNOWN = -1, - eCSSKeyword__moz_activehyperlinktext = 0, - eCSSKeyword__moz_all = 1, - eCSSKeyword__moz_alt_content = 2, - eCSSKeyword__moz_available = 3, - eCSSKeyword__moz_box = 4, - eCSSKeyword__moz_button = 5, - eCSSKeyword__moz_buttondefault = 6, - eCSSKeyword__moz_buttonhoverface = 7, - eCSSKeyword__moz_buttonhovertext = 8, - eCSSKeyword__moz_cellhighlight = 9, - eCSSKeyword__moz_cellhighlighttext = 10, - eCSSKeyword__moz_center = 11, - eCSSKeyword__moz_combobox = 12, - eCSSKeyword__moz_comboboxtext = 13, - eCSSKeyword__moz_context_properties = 14, - eCSSKeyword__moz_block_height = 15, - eCSSKeyword__moz_deck = 16, - eCSSKeyword__moz_default_background_color = 17, - eCSSKeyword__moz_default_color = 18, - eCSSKeyword__moz_desktop = 19, - eCSSKeyword__moz_dialog = 20, - eCSSKeyword__moz_dialogtext = 21, - eCSSKeyword__moz_document = 22, - eCSSKeyword__moz_dragtargetzone = 23, - eCSSKeyword__moz_element = 24, - eCSSKeyword__moz_eventreerow = 25, - eCSSKeyword__moz_field = 26, - eCSSKeyword__moz_fieldtext = 27, - eCSSKeyword__moz_fit_content = 28, - eCSSKeyword__moz_fixed = 29, - eCSSKeyword__moz_grabbing = 30, - eCSSKeyword__moz_grab = 31, - eCSSKeyword__moz_grid_group = 32, - eCSSKeyword__moz_grid_line = 33, - eCSSKeyword__moz_grid = 34, - eCSSKeyword__moz_groupbox = 35, - eCSSKeyword__moz_gtk_info_bar = 36, - eCSSKeyword__moz_gtk_info_bar_text = 37, - eCSSKeyword__moz_hidden_unscrollable = 38, - eCSSKeyword__moz_hyperlinktext = 39, - eCSSKeyword__moz_html_cellhighlight = 40, - eCSSKeyword__moz_html_cellhighlighttext = 41, - eCSSKeyword__moz_image_rect = 42, - eCSSKeyword__moz_info = 43, - eCSSKeyword__moz_inline_box = 44, - eCSSKeyword__moz_inline_grid = 45, - eCSSKeyword__moz_inline_stack = 46, - eCSSKeyword__moz_left = 47, - eCSSKeyword__moz_list = 48, - eCSSKeyword__moz_mac_buttonactivetext = 49, - eCSSKeyword__moz_mac_chrome_active = 50, - eCSSKeyword__moz_mac_chrome_inactive = 51, - eCSSKeyword__moz_mac_defaultbuttontext = 52, - eCSSKeyword__moz_mac_focusring = 53, - eCSSKeyword__moz_mac_fullscreen_button = 54, - eCSSKeyword__moz_mac_menuselect = 55, - eCSSKeyword__moz_mac_menushadow = 56, - eCSSKeyword__moz_mac_menutextdisable = 57, - eCSSKeyword__moz_mac_menutextselect = 58, - eCSSKeyword__moz_mac_disabledtoolbartext = 59, - eCSSKeyword__moz_mac_secondaryhighlight = 60, - eCSSKeyword__moz_mac_menuitem = 61, - eCSSKeyword__moz_mac_active_menuitem = 62, - eCSSKeyword__moz_mac_menupopup = 63, - eCSSKeyword__moz_mac_tooltip = 64, - eCSSKeyword__moz_max_content = 65, - eCSSKeyword__moz_menuhover = 66, - eCSSKeyword__moz_menuhovertext = 67, - eCSSKeyword__moz_menubartext = 68, - eCSSKeyword__moz_menubarhovertext = 69, - eCSSKeyword__moz_middle_with_baseline = 70, - eCSSKeyword__moz_min_content = 71, - eCSSKeyword__moz_nativehyperlinktext = 72, - eCSSKeyword__moz_none = 73, - eCSSKeyword__moz_oddtreerow = 74, - eCSSKeyword__moz_popup = 75, - eCSSKeyword__moz_pre_space = 76, - eCSSKeyword__moz_pull_down_menu = 77, - eCSSKeyword__moz_right = 78, - eCSSKeyword__moz_scrollbars_horizontal = 79, - eCSSKeyword__moz_scrollbars_none = 80, - eCSSKeyword__moz_scrollbars_vertical = 81, - eCSSKeyword__moz_stack = 82, - eCSSKeyword__moz_text = 83, - eCSSKeyword__moz_use_system_font = 84, - eCSSKeyword__moz_visitedhyperlinktext = 85, - eCSSKeyword__moz_window = 86, - eCSSKeyword__moz_workspace = 87, - eCSSKeyword__moz_zoom_in = 88, - eCSSKeyword__moz_zoom_out = 89, - eCSSKeyword__webkit_box = 90, - eCSSKeyword__webkit_flex = 91, - eCSSKeyword__webkit_inline_box = 92, - eCSSKeyword__webkit_inline_flex = 93, - eCSSKeyword_absolute = 94, - eCSSKeyword_active = 95, - eCSSKeyword_activeborder = 96, - eCSSKeyword_activecaption = 97, - eCSSKeyword_add = 98, - eCSSKeyword_additive = 99, - eCSSKeyword_alias = 100, - eCSSKeyword_all = 101, - eCSSKeyword_all_petite_caps = 102, - eCSSKeyword_all_scroll = 103, - eCSSKeyword_all_small_caps = 104, - eCSSKeyword_alpha = 105, - eCSSKeyword_alternate = 106, - eCSSKeyword_alternate_reverse = 107, - eCSSKeyword_always = 108, - eCSSKeyword_annotation = 109, - eCSSKeyword_appworkspace = 110, - eCSSKeyword_auto = 111, - eCSSKeyword_auto_fill = 112, - eCSSKeyword_auto_fit = 113, - eCSSKeyword_auto_flow = 114, - eCSSKeyword_avoid = 115, - eCSSKeyword_background = 116, - eCSSKeyword_backwards = 117, - eCSSKeyword_balance = 118, - eCSSKeyword_baseline = 119, - eCSSKeyword_bidi_override = 120, - eCSSKeyword_blink = 121, - eCSSKeyword_block = 122, - eCSSKeyword_block_axis = 123, - eCSSKeyword_blur = 124, - eCSSKeyword_bold = 125, - eCSSKeyword_bold_fraktur = 126, - eCSSKeyword_bold_italic = 127, - eCSSKeyword_bold_sans_serif = 128, - eCSSKeyword_bold_script = 129, - eCSSKeyword_bolder = 130, - eCSSKeyword_border_box = 131, - eCSSKeyword_both = 132, - eCSSKeyword_bottom = 133, - eCSSKeyword_bottom_outside = 134, - eCSSKeyword_break_all = 135, - eCSSKeyword_break_word = 136, - eCSSKeyword_brightness = 137, - eCSSKeyword_browser = 138, - eCSSKeyword_bullets = 139, - eCSSKeyword_button = 140, - eCSSKeyword_buttonface = 141, - eCSSKeyword_buttonhighlight = 142, - eCSSKeyword_buttonshadow = 143, - eCSSKeyword_buttontext = 144, - eCSSKeyword_capitalize = 145, - eCSSKeyword_caption = 146, - eCSSKeyword_captiontext = 147, - eCSSKeyword_cell = 148, - eCSSKeyword_center = 149, - eCSSKeyword_ch = 150, - eCSSKeyword_character_variant = 151, - eCSSKeyword_circle = 152, - eCSSKeyword_cjk_decimal = 153, - eCSSKeyword_clip = 154, - eCSSKeyword_clone = 155, - eCSSKeyword_close_quote = 156, - eCSSKeyword_closest_corner = 157, - eCSSKeyword_closest_side = 158, - eCSSKeyword_cm = 159, - eCSSKeyword_col_resize = 160, - eCSSKeyword_collapse = 161, - eCSSKeyword_color = 162, - eCSSKeyword_color_burn = 163, - eCSSKeyword_color_dodge = 164, - eCSSKeyword_common_ligatures = 165, - eCSSKeyword_column = 166, - eCSSKeyword_column_reverse = 167, - eCSSKeyword_condensed = 168, - eCSSKeyword_contain = 169, - eCSSKeyword_content = 170, - eCSSKeyword_content_box = 171, - eCSSKeyword_contents = 172, - eCSSKeyword_context_fill = 173, - eCSSKeyword_context_fill_opacity = 174, - eCSSKeyword_context_menu = 175, - eCSSKeyword_context_stroke = 176, - eCSSKeyword_context_stroke_opacity = 177, - eCSSKeyword_context_value = 178, - eCSSKeyword_continuous = 179, - eCSSKeyword_contrast = 180, - eCSSKeyword_copy = 181, - eCSSKeyword_contextual = 182, - eCSSKeyword_cover = 183, - eCSSKeyword_crop = 184, - eCSSKeyword_cross = 185, - eCSSKeyword_crosshair = 186, - eCSSKeyword_currentcolor = 187, - eCSSKeyword_cursive = 188, - eCSSKeyword_cyclic = 189, - eCSSKeyword_darken = 190, - eCSSKeyword_dashed = 191, - eCSSKeyword_dense = 192, - eCSSKeyword_decimal = 193, - eCSSKeyword_default = 194, - eCSSKeyword_deg = 195, - eCSSKeyword_diagonal_fractions = 196, - eCSSKeyword_dialog = 197, - eCSSKeyword_difference = 198, - eCSSKeyword_digits = 199, - eCSSKeyword_disabled = 200, - eCSSKeyword_disc = 201, - eCSSKeyword_discretionary_ligatures = 202, - eCSSKeyword_distribute = 203, - eCSSKeyword_dot = 204, - eCSSKeyword_dotted = 205, - eCSSKeyword_double = 206, - eCSSKeyword_double_circle = 207, - eCSSKeyword_double_struck = 208, - eCSSKeyword_drag = 209, - eCSSKeyword_drop_shadow = 210, - eCSSKeyword_e_resize = 211, - eCSSKeyword_ease = 212, - eCSSKeyword_ease_in = 213, - eCSSKeyword_ease_in_out = 214, - eCSSKeyword_ease_out = 215, - eCSSKeyword_economy = 216, - eCSSKeyword_element = 217, - eCSSKeyword_elements = 218, - eCSSKeyword_ellipse = 219, - eCSSKeyword_ellipsis = 220, - eCSSKeyword_em = 221, - eCSSKeyword_embed = 222, - eCSSKeyword_enabled = 223, - eCSSKeyword_end = 224, - eCSSKeyword_ex = 225, - eCSSKeyword_exact = 226, - eCSSKeyword_exclude = 227, - eCSSKeyword_exclusion = 228, - eCSSKeyword_expanded = 229, - eCSSKeyword_extends = 230, - eCSSKeyword_extra_condensed = 231, - eCSSKeyword_extra_expanded = 232, - eCSSKeyword_ew_resize = 233, - eCSSKeyword_fallback = 234, - eCSSKeyword_fantasy = 235, - eCSSKeyword_farthest_side = 236, - eCSSKeyword_farthest_corner = 237, - eCSSKeyword_fill = 238, - eCSSKeyword_filled = 239, - eCSSKeyword_fill_box = 240, - eCSSKeyword_first = 241, - eCSSKeyword_fit_content = 242, - eCSSKeyword_fixed = 243, - eCSSKeyword_flat = 244, - eCSSKeyword_flex = 245, - eCSSKeyword_flex_end = 246, - eCSSKeyword_flex_start = 247, - eCSSKeyword_flip = 248, - eCSSKeyword_flow_root = 249, - eCSSKeyword_forwards = 250, - eCSSKeyword_fraktur = 251, - eCSSKeyword_frames = 252, - eCSSKeyword_from_image = 253, - eCSSKeyword_full_width = 254, - eCSSKeyword_fullscreen = 255, - eCSSKeyword_grab = 256, - eCSSKeyword_grabbing = 257, - eCSSKeyword_grad = 258, - eCSSKeyword_grayscale = 259, - eCSSKeyword_graytext = 260, - eCSSKeyword_grid = 261, - eCSSKeyword_groove = 262, - eCSSKeyword_hard_light = 263, - eCSSKeyword_help = 264, - eCSSKeyword_hidden = 265, - eCSSKeyword_hide = 266, - eCSSKeyword_highlight = 267, - eCSSKeyword_highlighttext = 268, - eCSSKeyword_historical_forms = 269, - eCSSKeyword_historical_ligatures = 270, - eCSSKeyword_horizontal = 271, - eCSSKeyword_horizontal_tb = 272, - eCSSKeyword_hue = 273, - eCSSKeyword_hue_rotate = 274, - eCSSKeyword_hz = 275, - eCSSKeyword_icon = 276, - eCSSKeyword_ignore = 277, - eCSSKeyword_ignore_horizontal = 278, - eCSSKeyword_ignore_vertical = 279, - eCSSKeyword_in = 280, - eCSSKeyword_interlace = 281, - eCSSKeyword_inactive = 282, - eCSSKeyword_inactiveborder = 283, - eCSSKeyword_inactivecaption = 284, - eCSSKeyword_inactivecaptiontext = 285, - eCSSKeyword_infinite = 286, - eCSSKeyword_infobackground = 287, - eCSSKeyword_infotext = 288, - eCSSKeyword_inherit = 289, - eCSSKeyword_initial = 290, - eCSSKeyword_inline = 291, - eCSSKeyword_inline_axis = 292, - eCSSKeyword_inline_block = 293, - eCSSKeyword_inline_end = 294, - eCSSKeyword_inline_flex = 295, - eCSSKeyword_inline_grid = 296, - eCSSKeyword_inline_start = 297, - eCSSKeyword_inline_table = 298, - eCSSKeyword_inset = 299, - eCSSKeyword_inside = 300, - eCSSKeyword_inter_character = 301, - eCSSKeyword_inter_word = 302, - eCSSKeyword_interpolatematrix = 303, - eCSSKeyword_accumulatematrix = 304, - eCSSKeyword_intersect = 305, - eCSSKeyword_isolate = 306, - eCSSKeyword_isolate_override = 307, - eCSSKeyword_invert = 308, - eCSSKeyword_italic = 309, - eCSSKeyword_jis78 = 310, - eCSSKeyword_jis83 = 311, - eCSSKeyword_jis90 = 312, - eCSSKeyword_jis04 = 313, - eCSSKeyword_justify = 314, - eCSSKeyword_keep_all = 315, - eCSSKeyword_khz = 316, - eCSSKeyword_landscape = 317, - eCSSKeyword_large = 318, - eCSSKeyword_larger = 319, - eCSSKeyword_last = 320, - eCSSKeyword_last_baseline = 321, - eCSSKeyword_layout = 322, - eCSSKeyword_left = 323, - eCSSKeyword_legacy = 324, - eCSSKeyword_lighten = 325, - eCSSKeyword_lighter = 326, - eCSSKeyword_line_through = 327, - eCSSKeyword_linear = 328, - eCSSKeyword_lining_nums = 329, - eCSSKeyword_list_item = 330, - eCSSKeyword_local = 331, - eCSSKeyword_logical = 332, - eCSSKeyword_looped = 333, - eCSSKeyword_lowercase = 334, - eCSSKeyword_lr = 335, - eCSSKeyword_lr_tb = 336, - eCSSKeyword_ltr = 337, - eCSSKeyword_luminance = 338, - eCSSKeyword_luminosity = 339, - eCSSKeyword_mandatory = 340, - eCSSKeyword_manipulation = 341, - eCSSKeyword_manual = 342, - eCSSKeyword_margin_box = 343, - eCSSKeyword_markers = 344, - eCSSKeyword_match_parent = 345, - eCSSKeyword_match_source = 346, - eCSSKeyword_matrix = 347, - eCSSKeyword_matrix3d = 348, - eCSSKeyword_max_content = 349, - eCSSKeyword_medium = 350, - eCSSKeyword_menu = 351, - eCSSKeyword_menutext = 352, - eCSSKeyword_message_box = 353, - eCSSKeyword_middle = 354, - eCSSKeyword_min_content = 355, - eCSSKeyword_minmax = 356, - eCSSKeyword_mix = 357, - eCSSKeyword_mixed = 358, - eCSSKeyword_mm = 359, - eCSSKeyword_monospace = 360, - eCSSKeyword_move = 361, - eCSSKeyword_ms = 362, - eCSSKeyword_multiply = 363, - eCSSKeyword_n_resize = 364, - eCSSKeyword_narrower = 365, - eCSSKeyword_ne_resize = 366, - eCSSKeyword_nesw_resize = 367, - eCSSKeyword_no_clip = 368, - eCSSKeyword_no_close_quote = 369, - eCSSKeyword_no_common_ligatures = 370, - eCSSKeyword_no_contextual = 371, - eCSSKeyword_no_discretionary_ligatures = 372, - eCSSKeyword_no_drag = 373, - eCSSKeyword_no_drop = 374, - eCSSKeyword_no_historical_ligatures = 375, - eCSSKeyword_no_open_quote = 376, - eCSSKeyword_no_repeat = 377, - eCSSKeyword_none = 378, - eCSSKeyword_normal = 379, - eCSSKeyword_not_allowed = 380, - eCSSKeyword_nowrap = 381, - eCSSKeyword_numeric = 382, - eCSSKeyword_ns_resize = 383, - eCSSKeyword_nw_resize = 384, - eCSSKeyword_nwse_resize = 385, - eCSSKeyword_oblique = 386, - eCSSKeyword_oldstyle_nums = 387, - eCSSKeyword_opacity = 388, - eCSSKeyword_open = 389, - eCSSKeyword_open_quote = 390, - eCSSKeyword_optional = 391, - eCSSKeyword_ordinal = 392, - eCSSKeyword_ornaments = 393, - eCSSKeyword_outset = 394, - eCSSKeyword_outside = 395, - eCSSKeyword_over = 396, - eCSSKeyword_overlay = 397, - eCSSKeyword_overline = 398, - eCSSKeyword_paint = 399, - eCSSKeyword_padding_box = 400, - eCSSKeyword_painted = 401, - eCSSKeyword_pan_x = 402, - eCSSKeyword_pan_y = 403, - eCSSKeyword_paused = 404, - eCSSKeyword_pc = 405, - eCSSKeyword_perspective = 406, - eCSSKeyword_petite_caps = 407, - eCSSKeyword_physical = 408, - eCSSKeyword_plaintext = 409, - eCSSKeyword_pointer = 410, - eCSSKeyword_polygon = 411, - eCSSKeyword_portrait = 412, - eCSSKeyword_pre = 413, - eCSSKeyword_pre_wrap = 414, - eCSSKeyword_pre_line = 415, - eCSSKeyword_preserve_3d = 416, - eCSSKeyword_progress = 417, - eCSSKeyword_progressive = 418, - eCSSKeyword_proportional_nums = 419, - eCSSKeyword_proportional_width = 420, - eCSSKeyword_proximity = 421, - eCSSKeyword_pt = 422, - eCSSKeyword_px = 423, - eCSSKeyword_rad = 424, - eCSSKeyword_read_only = 425, - eCSSKeyword_read_write = 426, - eCSSKeyword_relative = 427, - eCSSKeyword_repeat = 428, - eCSSKeyword_repeat_x = 429, - eCSSKeyword_repeat_y = 430, - eCSSKeyword_reverse = 431, - eCSSKeyword_ridge = 432, - eCSSKeyword_right = 433, - eCSSKeyword_rl = 434, - eCSSKeyword_rl_tb = 435, - eCSSKeyword_rotate = 436, - eCSSKeyword_rotate3d = 437, - eCSSKeyword_rotatex = 438, - eCSSKeyword_rotatey = 439, - eCSSKeyword_rotatez = 440, - eCSSKeyword_round = 441, - eCSSKeyword_row = 442, - eCSSKeyword_row_resize = 443, - eCSSKeyword_row_reverse = 444, - eCSSKeyword_rtl = 445, - eCSSKeyword_ruby = 446, - eCSSKeyword_ruby_base = 447, - eCSSKeyword_ruby_base_container = 448, - eCSSKeyword_ruby_text = 449, - eCSSKeyword_ruby_text_container = 450, - eCSSKeyword_running = 451, - eCSSKeyword_s = 452, - eCSSKeyword_s_resize = 453, - eCSSKeyword_safe = 454, - eCSSKeyword_saturate = 455, - eCSSKeyword_saturation = 456, - eCSSKeyword_scale = 457, - eCSSKeyword_scale_down = 458, - eCSSKeyword_scale3d = 459, - eCSSKeyword_scalex = 460, - eCSSKeyword_scaley = 461, - eCSSKeyword_scalez = 462, - eCSSKeyword_screen = 463, - eCSSKeyword_script = 464, - eCSSKeyword_scroll = 465, - eCSSKeyword_scrollbar = 466, - eCSSKeyword_scrollbar_small = 467, - eCSSKeyword_scrollbar_horizontal = 468, - eCSSKeyword_scrollbar_vertical = 469, - eCSSKeyword_se_resize = 470, - eCSSKeyword_select_after = 471, - eCSSKeyword_select_all = 472, - eCSSKeyword_select_before = 473, - eCSSKeyword_select_menu = 474, - eCSSKeyword_select_same = 475, - eCSSKeyword_self_end = 476, - eCSSKeyword_self_start = 477, - eCSSKeyword_semi_condensed = 478, - eCSSKeyword_semi_expanded = 479, - eCSSKeyword_separate = 480, - eCSSKeyword_sepia = 481, - eCSSKeyword_serif = 482, - eCSSKeyword_sesame = 483, - eCSSKeyword_show = 484, - eCSSKeyword_sideways = 485, - eCSSKeyword_sideways_lr = 486, - eCSSKeyword_sideways_right = 487, - eCSSKeyword_sideways_rl = 488, - eCSSKeyword_simplified = 489, - eCSSKeyword_skew = 490, - eCSSKeyword_skewx = 491, - eCSSKeyword_skewy = 492, - eCSSKeyword_slashed_zero = 493, - eCSSKeyword_slice = 494, - eCSSKeyword_small = 495, - eCSSKeyword_small_caps = 496, - eCSSKeyword_small_caption = 497, - eCSSKeyword_smaller = 498, - eCSSKeyword_smooth = 499, - eCSSKeyword_soft = 500, - eCSSKeyword_soft_light = 501, - eCSSKeyword_solid = 502, - eCSSKeyword_space_around = 503, - eCSSKeyword_space_between = 504, - eCSSKeyword_space_evenly = 505, - eCSSKeyword_span = 506, - eCSSKeyword_spell_out = 507, - eCSSKeyword_square = 508, - eCSSKeyword_stacked_fractions = 509, - eCSSKeyword_start = 510, - eCSSKeyword_static = 511, - eCSSKeyword_standalone = 512, - eCSSKeyword_status_bar = 513, - eCSSKeyword_step_end = 514, - eCSSKeyword_step_start = 515, - eCSSKeyword_sticky = 516, - eCSSKeyword_stretch = 517, - eCSSKeyword_stretch_to_fit = 518, - eCSSKeyword_stretched = 519, - eCSSKeyword_strict = 520, - eCSSKeyword_stroke = 521, - eCSSKeyword_stroke_box = 522, - eCSSKeyword_style = 523, - eCSSKeyword_styleset = 524, - eCSSKeyword_stylistic = 525, - eCSSKeyword_sub = 526, - eCSSKeyword_subgrid = 527, - eCSSKeyword_subtract = 528, - eCSSKeyword_super = 529, - eCSSKeyword_sw_resize = 530, - eCSSKeyword_swash = 531, - eCSSKeyword_swap = 532, - eCSSKeyword_table = 533, - eCSSKeyword_table_caption = 534, - eCSSKeyword_table_cell = 535, - eCSSKeyword_table_column = 536, - eCSSKeyword_table_column_group = 537, - eCSSKeyword_table_footer_group = 538, - eCSSKeyword_table_header_group = 539, - eCSSKeyword_table_row = 540, - eCSSKeyword_table_row_group = 541, - eCSSKeyword_tabular_nums = 542, - eCSSKeyword_tailed = 543, - eCSSKeyword_tb = 544, - eCSSKeyword_tb_rl = 545, - eCSSKeyword_text = 546, - eCSSKeyword_text_bottom = 547, - eCSSKeyword_text_top = 548, - eCSSKeyword_thick = 549, - eCSSKeyword_thin = 550, - eCSSKeyword_threeddarkshadow = 551, - eCSSKeyword_threedface = 552, - eCSSKeyword_threedhighlight = 553, - eCSSKeyword_threedlightshadow = 554, - eCSSKeyword_threedshadow = 555, - eCSSKeyword_titling_caps = 556, - eCSSKeyword_toggle = 557, - eCSSKeyword_top = 558, - eCSSKeyword_top_outside = 559, - eCSSKeyword_traditional = 560, - eCSSKeyword_translate = 561, - eCSSKeyword_translate3d = 562, - eCSSKeyword_translatex = 563, - eCSSKeyword_translatey = 564, - eCSSKeyword_translatez = 565, - eCSSKeyword_transparent = 566, - eCSSKeyword_triangle = 567, - eCSSKeyword_tri_state = 568, - eCSSKeyword_ultra_condensed = 569, - eCSSKeyword_ultra_expanded = 570, - eCSSKeyword_under = 571, - eCSSKeyword_underline = 572, - eCSSKeyword_unicase = 573, - eCSSKeyword_unsafe = 574, - eCSSKeyword_unset = 575, - eCSSKeyword_uppercase = 576, - eCSSKeyword_upright = 577, - eCSSKeyword_vertical = 578, - eCSSKeyword_vertical_lr = 579, - eCSSKeyword_vertical_rl = 580, - eCSSKeyword_vertical_text = 581, - eCSSKeyword_view_box = 582, - eCSSKeyword_visible = 583, - eCSSKeyword_visiblefill = 584, - eCSSKeyword_visiblepainted = 585, - eCSSKeyword_visiblestroke = 586, - eCSSKeyword_w_resize = 587, - eCSSKeyword_wait = 588, - eCSSKeyword_wavy = 589, - eCSSKeyword_weight = 590, - eCSSKeyword_wider = 591, - eCSSKeyword_window = 592, - eCSSKeyword_windowframe = 593, - eCSSKeyword_windowtext = 594, - eCSSKeyword_words = 595, - eCSSKeyword_wrap = 596, - eCSSKeyword_wrap_reverse = 597, - eCSSKeyword_write_only = 598, - eCSSKeyword_x_large = 599, - eCSSKeyword_x_small = 600, - eCSSKeyword_xx_large = 601, - eCSSKeyword_xx_small = 602, - eCSSKeyword_zoom_in = 603, - eCSSKeyword_zoom_out = 604, - eCSSKeyword_radio = 605, - eCSSKeyword_checkbox = 606, - eCSSKeyword_button_bevel = 607, - eCSSKeyword_toolbox = 608, - eCSSKeyword_toolbar = 609, - eCSSKeyword_toolbarbutton = 610, - eCSSKeyword_toolbargripper = 611, - eCSSKeyword_dualbutton = 612, - eCSSKeyword_toolbarbutton_dropdown = 613, - eCSSKeyword_button_arrow_up = 614, - eCSSKeyword_button_arrow_down = 615, - eCSSKeyword_button_arrow_next = 616, - eCSSKeyword_button_arrow_previous = 617, - eCSSKeyword_separator = 618, - eCSSKeyword_splitter = 619, - eCSSKeyword_statusbar = 620, - eCSSKeyword_statusbarpanel = 621, - eCSSKeyword_resizerpanel = 622, - eCSSKeyword_resizer = 623, - eCSSKeyword_listbox = 624, - eCSSKeyword_listitem = 625, - eCSSKeyword_numbers = 626, - eCSSKeyword_number_input = 627, - eCSSKeyword_treeview = 628, - eCSSKeyword_treeitem = 629, - eCSSKeyword_treetwisty = 630, - eCSSKeyword_treetwistyopen = 631, - eCSSKeyword_treeline = 632, - eCSSKeyword_treeheader = 633, - eCSSKeyword_treeheadercell = 634, - eCSSKeyword_treeheadersortarrow = 635, - eCSSKeyword_progressbar = 636, - eCSSKeyword_progressbar_vertical = 637, - eCSSKeyword_progresschunk = 638, - eCSSKeyword_progresschunk_vertical = 639, - eCSSKeyword_tab = 640, - eCSSKeyword_tabpanels = 641, - eCSSKeyword_tabpanel = 642, - eCSSKeyword_tab_scroll_arrow_back = 643, - eCSSKeyword_tab_scroll_arrow_forward = 644, - eCSSKeyword_tooltip = 645, - eCSSKeyword_inner_spin_button = 646, - eCSSKeyword_spinner = 647, - eCSSKeyword_spinner_upbutton = 648, - eCSSKeyword_spinner_downbutton = 649, - eCSSKeyword_spinner_textfield = 650, - eCSSKeyword_scrollbarbutton_up = 651, - eCSSKeyword_scrollbarbutton_down = 652, - eCSSKeyword_scrollbarbutton_left = 653, - eCSSKeyword_scrollbarbutton_right = 654, - eCSSKeyword_scrollbartrack_horizontal = 655, - eCSSKeyword_scrollbartrack_vertical = 656, - eCSSKeyword_scrollbarthumb_horizontal = 657, - eCSSKeyword_scrollbarthumb_vertical = 658, - eCSSKeyword_sheet = 659, - eCSSKeyword_textfield = 660, - eCSSKeyword_textfield_multiline = 661, - eCSSKeyword_caret = 662, - eCSSKeyword_searchfield = 663, - eCSSKeyword_menubar = 664, - eCSSKeyword_menupopup = 665, - eCSSKeyword_menuitem = 666, - eCSSKeyword_checkmenuitem = 667, - eCSSKeyword_radiomenuitem = 668, - eCSSKeyword_menucheckbox = 669, - eCSSKeyword_menuradio = 670, - eCSSKeyword_menuseparator = 671, - eCSSKeyword_menuarrow = 672, - eCSSKeyword_menuimage = 673, - eCSSKeyword_menuitemtext = 674, - eCSSKeyword_menulist = 675, - eCSSKeyword_menulist_button = 676, - eCSSKeyword_menulist_text = 677, - eCSSKeyword_menulist_textfield = 678, - eCSSKeyword_meterbar = 679, - eCSSKeyword_meterchunk = 680, - eCSSKeyword_minimal_ui = 681, - eCSSKeyword_range = 682, - eCSSKeyword_range_thumb = 683, - eCSSKeyword_sans_serif = 684, - eCSSKeyword_sans_serif_bold_italic = 685, - eCSSKeyword_sans_serif_italic = 686, - eCSSKeyword_scale_horizontal = 687, - eCSSKeyword_scale_vertical = 688, - eCSSKeyword_scalethumb_horizontal = 689, - eCSSKeyword_scalethumb_vertical = 690, - eCSSKeyword_scalethumbstart = 691, - eCSSKeyword_scalethumbend = 692, - eCSSKeyword_scalethumbtick = 693, - eCSSKeyword_groupbox = 694, - eCSSKeyword_checkbox_container = 695, - eCSSKeyword_radio_container = 696, - eCSSKeyword_checkbox_label = 697, - eCSSKeyword_radio_label = 698, - eCSSKeyword_button_focus = 699, - eCSSKeyword__moz_win_media_toolbox = 700, - eCSSKeyword__moz_win_communications_toolbox = 701, - eCSSKeyword__moz_win_browsertabbar_toolbox = 702, - eCSSKeyword__moz_win_accentcolor = 703, - eCSSKeyword__moz_win_accentcolortext = 704, - eCSSKeyword__moz_win_mediatext = 705, - eCSSKeyword__moz_win_communicationstext = 706, - eCSSKeyword__moz_win_glass = 707, - eCSSKeyword__moz_win_borderless_glass = 708, - eCSSKeyword__moz_window_titlebar = 709, - eCSSKeyword__moz_window_titlebar_maximized = 710, - eCSSKeyword__moz_window_frame_left = 711, - eCSSKeyword__moz_window_frame_right = 712, - eCSSKeyword__moz_window_frame_bottom = 713, - eCSSKeyword__moz_window_button_close = 714, - eCSSKeyword__moz_window_button_minimize = 715, - eCSSKeyword__moz_window_button_maximize = 716, - eCSSKeyword__moz_window_button_restore = 717, - eCSSKeyword__moz_window_button_box = 718, - eCSSKeyword__moz_window_button_box_maximized = 719, - eCSSKeyword__moz_mac_help_button = 720, - eCSSKeyword__moz_win_exclude_glass = 721, - eCSSKeyword__moz_mac_vibrancy_light = 722, - eCSSKeyword__moz_mac_vibrancy_dark = 723, - eCSSKeyword__moz_mac_vibrant_titlebar_light = 724, - eCSSKeyword__moz_mac_vibrant_titlebar_dark = 725, - eCSSKeyword__moz_mac_disclosure_button_closed = 726, - eCSSKeyword__moz_mac_disclosure_button_open = 727, - eCSSKeyword__moz_mac_source_list = 728, - eCSSKeyword__moz_mac_source_list_selection = 729, - eCSSKeyword__moz_mac_active_source_list_selection = 730, - eCSSKeyword_alphabetic = 731, - eCSSKeyword_bevel = 732, - eCSSKeyword_butt = 733, - eCSSKeyword_central = 734, - eCSSKeyword_crispedges = 735, - eCSSKeyword_evenodd = 736, - eCSSKeyword_geometricprecision = 737, - eCSSKeyword_hanging = 738, - eCSSKeyword_ideographic = 739, - eCSSKeyword_linearrgb = 740, - eCSSKeyword_mathematical = 741, - eCSSKeyword_miter = 742, - eCSSKeyword_no_change = 743, - eCSSKeyword_non_scaling_stroke = 744, - eCSSKeyword_nonzero = 745, - eCSSKeyword_optimizelegibility = 746, - eCSSKeyword_optimizequality = 747, - eCSSKeyword_optimizespeed = 748, - eCSSKeyword_reset_size = 749, - eCSSKeyword_srgb = 750, - eCSSKeyword_symbolic = 751, - eCSSKeyword_symbols = 752, - eCSSKeyword_text_after_edge = 753, - eCSSKeyword_text_before_edge = 754, - eCSSKeyword_use_script = 755, - eCSSKeyword__moz_crisp_edges = 756, - eCSSKeyword_space = 757, - eCSSKeyword_COUNT = 758, - } - /// hashkey wrapper using nsAString KeyType - /// - /// @see nsTHashtable::EntryType for specification - #[repr(C)] - pub struct nsStringHashKey { - pub _base: root::PLDHashEntryHdr, - pub mStr: ::nsstring::nsStringRepr, - } - pub type nsStringHashKey_KeyType = *const root::nsAString; - pub type nsStringHashKey_KeyTypePointer = *const root::nsAString; - pub const nsStringHashKey_ALLOW_MEMMOVE: root::nsStringHashKey__bindgen_ty_1 = 1; - pub type nsStringHashKey__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsStringHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsStringHashKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStringHashKey)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStr as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStringHashKey), - "::", - stringify!(mStr) - ) - ); - } - /// hashkey wrapper using nsACString KeyType - /// - /// @see nsTHashtable::EntryType for specification - #[repr(C)] - #[derive(Debug)] - pub struct nsCStringHashKey { - pub _base: root::PLDHashEntryHdr, - pub mStr: root::nsCString, - } - pub type nsCStringHashKey_KeyType = *const root::nsACString; - pub type nsCStringHashKey_KeyTypePointer = *const root::nsACString; - pub const nsCStringHashKey_ALLOW_MEMMOVE: root::nsCStringHashKey__bindgen_ty_1 = 1; - pub type nsCStringHashKey__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsCStringHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsCStringHashKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCStringHashKey)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStr as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsCStringHashKey), - "::", - stringify!(mStr) - ) - ); - } - /// hashkey wrapper using refcounted * KeyType - /// - /// @see nsTHashtable::EntryType for specification - #[repr(C)] - #[derive(Debug)] - pub struct nsRefPtrHashKey { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::RefPtr, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsRefPtrHashKey_KeyType = *mut T; - pub type nsRefPtrHashKey_KeyTypePointer = *mut T; - pub const nsRefPtrHashKey_ALLOW_MEMMOVE: root::nsRefPtrHashKey__bindgen_ty_1 = 0; - pub type nsRefPtrHashKey__bindgen_ty_1 = i32; - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsCSSPropertyID { - eCSSProperty_UNKNOWN = -1, - eCSSProperty_align_content = 0, - eCSSProperty_align_items = 1, - eCSSProperty_align_self = 2, - eCSSProperty_animation_delay = 3, - eCSSProperty_animation_direction = 4, - eCSSProperty_animation_duration = 5, - eCSSProperty_animation_fill_mode = 6, - eCSSProperty_animation_iteration_count = 7, - eCSSProperty_animation_name = 8, - eCSSProperty_animation_play_state = 9, - eCSSProperty_animation_timing_function = 10, - eCSSProperty__moz_appearance = 11, - eCSSProperty_backface_visibility = 12, - eCSSProperty_background_attachment = 13, - eCSSProperty_background_blend_mode = 14, - eCSSProperty_background_clip = 15, - eCSSProperty_background_color = 16, - eCSSProperty_background_image = 17, - eCSSProperty_background_origin = 18, - eCSSProperty_background_position_x = 19, - eCSSProperty_background_position_y = 20, - eCSSProperty_background_repeat = 21, - eCSSProperty_background_size = 22, - eCSSProperty__moz_binding = 23, - eCSSProperty_block_size = 24, - eCSSProperty_border_block_end_color = 25, - eCSSProperty_border_block_end_style = 26, - eCSSProperty_border_block_end_width = 27, - eCSSProperty_border_block_start_color = 28, - eCSSProperty_border_block_start_style = 29, - eCSSProperty_border_block_start_width = 30, - eCSSProperty_border_bottom_color = 31, - eCSSProperty_border_bottom_left_radius = 32, - eCSSProperty_border_bottom_right_radius = 33, - eCSSProperty_border_bottom_style = 34, - eCSSProperty_border_bottom_width = 35, - eCSSProperty_border_collapse = 36, - eCSSProperty_border_image_outset = 37, - eCSSProperty_border_image_repeat = 38, - eCSSProperty_border_image_slice = 39, - eCSSProperty_border_image_source = 40, - eCSSProperty_border_image_width = 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_style = 49, - eCSSProperty_border_left_width = 50, - eCSSProperty_border_right_color = 51, - eCSSProperty_border_right_style = 52, - eCSSProperty_border_right_width = 53, - eCSSProperty_border_spacing = 54, - eCSSProperty_border_top_color = 55, - eCSSProperty_border_top_left_radius = 56, - eCSSProperty_border_top_right_radius = 57, - eCSSProperty_border_top_style = 58, - eCSSProperty_border_top_width = 59, - eCSSProperty_bottom = 60, - eCSSProperty__moz_box_align = 61, - eCSSProperty_box_decoration_break = 62, - eCSSProperty__moz_box_direction = 63, - eCSSProperty__moz_box_flex = 64, - eCSSProperty__moz_box_ordinal_group = 65, - eCSSProperty__moz_box_orient = 66, - eCSSProperty__moz_box_pack = 67, - eCSSProperty_box_shadow = 68, - eCSSProperty_box_sizing = 69, - eCSSProperty_caption_side = 70, - eCSSProperty_caret_color = 71, - eCSSProperty_clear = 72, - eCSSProperty_clip = 73, - eCSSProperty_clip_path = 74, - eCSSProperty_clip_rule = 75, - eCSSProperty_color = 76, - eCSSProperty_color_adjust = 77, - eCSSProperty_color_interpolation = 78, - eCSSProperty_color_interpolation_filters = 79, - eCSSProperty_column_count = 80, - eCSSProperty_column_fill = 81, - eCSSProperty_column_gap = 82, - eCSSProperty_column_rule_color = 83, - eCSSProperty_column_rule_style = 84, - eCSSProperty_column_rule_width = 85, - eCSSProperty_column_span = 86, - eCSSProperty_column_width = 87, - eCSSProperty_contain = 88, - eCSSProperty_content = 89, - eCSSProperty__moz_context_properties = 90, - eCSSProperty__moz_control_character_visibility = 91, - eCSSProperty_counter_increment = 92, - eCSSProperty_counter_reset = 93, - eCSSProperty_cursor = 94, - eCSSProperty_direction = 95, - eCSSProperty_display = 96, - eCSSProperty_dominant_baseline = 97, - eCSSProperty_empty_cells = 98, - eCSSProperty_fill = 99, - eCSSProperty_fill_opacity = 100, - eCSSProperty_fill_rule = 101, - eCSSProperty_filter = 102, - eCSSProperty_flex_basis = 103, - eCSSProperty_flex_direction = 104, - eCSSProperty_flex_grow = 105, - eCSSProperty_flex_shrink = 106, - eCSSProperty_flex_wrap = 107, - eCSSProperty_float = 108, - eCSSProperty__moz_float_edge = 109, - eCSSProperty_flood_color = 110, - eCSSProperty_flood_opacity = 111, - eCSSProperty_font_family = 112, - eCSSProperty_font_feature_settings = 113, - eCSSProperty_font_kerning = 114, - eCSSProperty_font_language_override = 115, - eCSSProperty_font_optical_sizing = 116, - eCSSProperty_font_size = 117, - eCSSProperty_font_size_adjust = 118, - eCSSProperty__moz_font_smoothing_background_color = 119, - eCSSProperty_font_stretch = 120, - eCSSProperty_font_style = 121, - eCSSProperty_font_synthesis = 122, - eCSSProperty_font_variant_alternates = 123, - eCSSProperty_font_variant_caps = 124, - eCSSProperty_font_variant_east_asian = 125, - eCSSProperty_font_variant_ligatures = 126, - eCSSProperty_font_variant_numeric = 127, - eCSSProperty_font_variant_position = 128, - eCSSProperty_font_variation_settings = 129, - eCSSProperty_font_weight = 130, - eCSSProperty__moz_force_broken_image_icon = 131, - eCSSProperty_grid_auto_columns = 132, - eCSSProperty_grid_auto_flow = 133, - eCSSProperty_grid_auto_rows = 134, - eCSSProperty_grid_column_end = 135, - eCSSProperty_grid_column_gap = 136, - eCSSProperty_grid_column_start = 137, - eCSSProperty_grid_row_end = 138, - eCSSProperty_grid_row_gap = 139, - eCSSProperty_grid_row_start = 140, - eCSSProperty_grid_template_areas = 141, - eCSSProperty_grid_template_columns = 142, - eCSSProperty_grid_template_rows = 143, - eCSSProperty_height = 144, - eCSSProperty_hyphens = 145, - eCSSProperty_image_orientation = 146, - eCSSProperty__moz_image_region = 147, - eCSSProperty_image_rendering = 148, - eCSSProperty_ime_mode = 149, - eCSSProperty_initial_letter = 150, - eCSSProperty_inline_size = 151, - eCSSProperty_isolation = 152, - eCSSProperty_justify_content = 153, - eCSSProperty_justify_items = 154, - eCSSProperty_justify_self = 155, - eCSSProperty__x_lang = 156, - eCSSProperty_left = 157, - eCSSProperty_letter_spacing = 158, - eCSSProperty_lighting_color = 159, - eCSSProperty_line_height = 160, - eCSSProperty_list_style_image = 161, - eCSSProperty_list_style_position = 162, - eCSSProperty_list_style_type = 163, - eCSSProperty_margin_block_end = 164, - eCSSProperty_margin_block_start = 165, - eCSSProperty_margin_bottom = 166, - eCSSProperty_margin_inline_end = 167, - eCSSProperty_margin_inline_start = 168, - eCSSProperty_margin_left = 169, - eCSSProperty_margin_right = 170, - eCSSProperty_margin_top = 171, - eCSSProperty_marker_end = 172, - eCSSProperty_marker_mid = 173, - eCSSProperty_marker_start = 174, - eCSSProperty_mask_clip = 175, - eCSSProperty_mask_composite = 176, - eCSSProperty_mask_image = 177, - eCSSProperty_mask_mode = 178, - eCSSProperty_mask_origin = 179, - eCSSProperty_mask_position_x = 180, - eCSSProperty_mask_position_y = 181, - eCSSProperty_mask_repeat = 182, - eCSSProperty_mask_size = 183, - eCSSProperty_mask_type = 184, - eCSSProperty__moz_math_display = 185, - eCSSProperty__moz_math_variant = 186, - eCSSProperty_max_block_size = 187, - eCSSProperty_max_height = 188, - eCSSProperty_max_inline_size = 189, - eCSSProperty_max_width = 190, - eCSSProperty_min_block_size = 191, - eCSSProperty__moz_min_font_size_ratio = 192, - eCSSProperty_min_height = 193, - eCSSProperty_min_inline_size = 194, - eCSSProperty_min_width = 195, - eCSSProperty_mix_blend_mode = 196, - eCSSProperty_object_fit = 197, - eCSSProperty_object_position = 198, - eCSSProperty_offset_block_end = 199, - eCSSProperty_offset_block_start = 200, - eCSSProperty_offset_inline_end = 201, - eCSSProperty_offset_inline_start = 202, - eCSSProperty_opacity = 203, - eCSSProperty_order = 204, - eCSSProperty__moz_orient = 205, - eCSSProperty__moz_osx_font_smoothing = 206, - eCSSProperty_outline_color = 207, - eCSSProperty_outline_offset = 208, - eCSSProperty__moz_outline_radius_bottomleft = 209, - eCSSProperty__moz_outline_radius_bottomright = 210, - eCSSProperty__moz_outline_radius_topleft = 211, - eCSSProperty__moz_outline_radius_topright = 212, - eCSSProperty_outline_style = 213, - eCSSProperty_outline_width = 214, - eCSSProperty_overflow_clip_box_block = 215, - eCSSProperty_overflow_clip_box_inline = 216, - eCSSProperty_overflow_wrap = 217, - eCSSProperty_overflow_x = 218, - eCSSProperty_overflow_y = 219, - eCSSProperty_overscroll_behavior_x = 220, - eCSSProperty_overscroll_behavior_y = 221, - eCSSProperty_padding_block_end = 222, - eCSSProperty_padding_block_start = 223, - eCSSProperty_padding_bottom = 224, - eCSSProperty_padding_inline_end = 225, - eCSSProperty_padding_inline_start = 226, - eCSSProperty_padding_left = 227, - eCSSProperty_padding_right = 228, - eCSSProperty_padding_top = 229, - eCSSProperty_page_break_after = 230, - eCSSProperty_page_break_before = 231, - eCSSProperty_page_break_inside = 232, - eCSSProperty_paint_order = 233, - eCSSProperty_perspective = 234, - eCSSProperty_perspective_origin = 235, - eCSSProperty_pointer_events = 236, - eCSSProperty_position = 237, - eCSSProperty_quotes = 238, - eCSSProperty_resize = 239, - eCSSProperty_right = 240, - eCSSProperty_rotate = 241, - eCSSProperty_ruby_align = 242, - eCSSProperty_ruby_position = 243, - eCSSProperty_scale = 244, - eCSSProperty__moz_script_level = 245, - eCSSProperty__moz_script_min_size = 246, - eCSSProperty__moz_script_size_multiplier = 247, - eCSSProperty_scroll_behavior = 248, - eCSSProperty_scroll_snap_coordinate = 249, - eCSSProperty_scroll_snap_destination = 250, - eCSSProperty_scroll_snap_points_x = 251, - eCSSProperty_scroll_snap_points_y = 252, - eCSSProperty_scroll_snap_type_x = 253, - eCSSProperty_scroll_snap_type_y = 254, - eCSSProperty_shape_image_threshold = 255, - eCSSProperty_shape_outside = 256, - eCSSProperty_shape_rendering = 257, - eCSSProperty__x_span = 258, - eCSSProperty__moz_stack_sizing = 259, - eCSSProperty_stop_color = 260, - eCSSProperty_stop_opacity = 261, - eCSSProperty_stroke = 262, - eCSSProperty_stroke_dasharray = 263, - eCSSProperty_stroke_dashoffset = 264, - eCSSProperty_stroke_linecap = 265, - eCSSProperty_stroke_linejoin = 266, - eCSSProperty_stroke_miterlimit = 267, - eCSSProperty_stroke_opacity = 268, - eCSSProperty_stroke_width = 269, - eCSSProperty__moz_tab_size = 270, - eCSSProperty_table_layout = 271, - eCSSProperty_text_align = 272, - eCSSProperty_text_align_last = 273, - eCSSProperty_text_anchor = 274, - eCSSProperty_text_combine_upright = 275, - eCSSProperty_text_decoration_color = 276, - eCSSProperty_text_decoration_line = 277, - eCSSProperty_text_decoration_style = 278, - eCSSProperty_text_emphasis_color = 279, - eCSSProperty_text_emphasis_position = 280, - eCSSProperty_text_emphasis_style = 281, - eCSSProperty__webkit_text_fill_color = 282, - eCSSProperty_text_indent = 283, - eCSSProperty_text_justify = 284, - eCSSProperty_text_orientation = 285, - eCSSProperty_text_overflow = 286, - eCSSProperty_text_rendering = 287, - eCSSProperty_text_shadow = 288, - eCSSProperty__moz_text_size_adjust = 289, - eCSSProperty__webkit_text_stroke_color = 290, - eCSSProperty__webkit_text_stroke_width = 291, - eCSSProperty_text_transform = 292, - eCSSProperty__x_text_zoom = 293, - eCSSProperty_top = 294, - eCSSProperty__moz_top_layer = 295, - eCSSProperty_touch_action = 296, - eCSSProperty_transform = 297, - eCSSProperty_transform_box = 298, - eCSSProperty_transform_origin = 299, - eCSSProperty_transform_style = 300, - eCSSProperty_transition_delay = 301, - eCSSProperty_transition_duration = 302, - eCSSProperty_transition_property = 303, - eCSSProperty_transition_timing_function = 304, - eCSSProperty_translate = 305, - eCSSProperty_unicode_bidi = 306, - eCSSProperty__moz_user_focus = 307, - eCSSProperty__moz_user_input = 308, - eCSSProperty__moz_user_modify = 309, - eCSSProperty__moz_user_select = 310, - eCSSProperty_vector_effect = 311, - eCSSProperty_vertical_align = 312, - eCSSProperty_visibility = 313, - eCSSProperty_white_space = 314, - eCSSProperty_width = 315, - eCSSProperty_will_change = 316, - eCSSProperty__moz_window_dragging = 317, - eCSSProperty__moz_window_opacity = 318, - eCSSProperty__moz_window_shadow = 319, - eCSSProperty__moz_window_transform = 320, - eCSSProperty__moz_window_transform_origin = 321, - eCSSProperty_word_break = 322, - eCSSProperty_word_spacing = 323, - eCSSProperty_writing_mode = 324, - eCSSProperty_z_index = 325, - eCSSProperty_all = 326, - eCSSProperty_animation = 327, - eCSSProperty_background = 328, - eCSSProperty_background_position = 329, - eCSSProperty_border = 330, - eCSSProperty_border_block_end = 331, - eCSSProperty_border_block_start = 332, - eCSSProperty_border_bottom = 333, - eCSSProperty_border_color = 334, - eCSSProperty_border_image = 335, - eCSSProperty_border_inline_end = 336, - eCSSProperty_border_inline_start = 337, - eCSSProperty_border_left = 338, - eCSSProperty_border_radius = 339, - eCSSProperty_border_right = 340, - eCSSProperty_border_style = 341, - eCSSProperty_border_top = 342, - eCSSProperty_border_width = 343, - eCSSProperty_column_rule = 344, - eCSSProperty_columns = 345, - eCSSProperty_flex = 346, - eCSSProperty_flex_flow = 347, - eCSSProperty_font = 348, - eCSSProperty_font_variant = 349, - eCSSProperty_grid = 350, - eCSSProperty_grid_area = 351, - eCSSProperty_grid_column = 352, - eCSSProperty_grid_gap = 353, - eCSSProperty_grid_row = 354, - eCSSProperty_grid_template = 355, - eCSSProperty_list_style = 356, - eCSSProperty_margin = 357, - eCSSProperty_marker = 358, - eCSSProperty_mask = 359, - eCSSProperty_mask_position = 360, - eCSSProperty_outline = 361, - eCSSProperty__moz_outline_radius = 362, - eCSSProperty_overflow = 363, - eCSSProperty_overflow_clip_box = 364, - eCSSProperty_overscroll_behavior = 365, - eCSSProperty_padding = 366, - eCSSProperty_place_content = 367, - eCSSProperty_place_items = 368, - eCSSProperty_place_self = 369, - eCSSProperty_scroll_snap_type = 370, - eCSSProperty_text_decoration = 371, - eCSSProperty_text_emphasis = 372, - eCSSProperty__webkit_text_stroke = 373, - eCSSProperty_transition = 374, - eCSSPropertyAlias__moz_animation = 375, - eCSSPropertyAlias__moz_animation_delay = 376, - eCSSPropertyAlias__moz_animation_direction = 377, - eCSSPropertyAlias__moz_animation_duration = 378, - eCSSPropertyAlias__moz_animation_fill_mode = 379, - eCSSPropertyAlias__moz_animation_iteration_count = 380, - eCSSPropertyAlias__moz_animation_name = 381, - eCSSPropertyAlias__moz_animation_play_state = 382, - eCSSPropertyAlias__moz_animation_timing_function = 383, - eCSSPropertyAlias__moz_backface_visibility = 384, - eCSSPropertyAlias__moz_border_end = 385, - eCSSPropertyAlias__moz_border_end_color = 386, - eCSSPropertyAlias__moz_border_end_style = 387, - eCSSPropertyAlias__moz_border_end_width = 388, - eCSSPropertyAlias__moz_border_image = 389, - eCSSPropertyAlias__moz_border_start = 390, - eCSSPropertyAlias__moz_border_start_color = 391, - eCSSPropertyAlias__moz_border_start_style = 392, - eCSSPropertyAlias__moz_border_start_width = 393, - eCSSPropertyAlias__moz_box_sizing = 394, - eCSSPropertyAlias__moz_column_count = 395, - eCSSPropertyAlias__moz_column_fill = 396, - eCSSPropertyAlias__moz_column_gap = 397, - eCSSPropertyAlias__moz_column_rule = 398, - eCSSPropertyAlias__moz_column_rule_color = 399, - eCSSPropertyAlias__moz_column_rule_style = 400, - eCSSPropertyAlias__moz_column_rule_width = 401, - eCSSPropertyAlias__moz_column_span = 402, - eCSSPropertyAlias__moz_column_width = 403, - eCSSPropertyAlias__moz_columns = 404, - eCSSPropertyAlias__moz_font_feature_settings = 405, - eCSSPropertyAlias__moz_font_language_override = 406, - eCSSPropertyAlias__moz_hyphens = 407, - eCSSPropertyAlias__moz_margin_end = 408, - eCSSPropertyAlias__moz_margin_start = 409, - eCSSPropertyAlias__moz_padding_end = 410, - eCSSPropertyAlias__moz_padding_start = 411, - eCSSPropertyAlias__moz_perspective = 412, - eCSSPropertyAlias__moz_perspective_origin = 413, - eCSSPropertyAlias__moz_transform = 414, - eCSSPropertyAlias__moz_transform_origin = 415, - eCSSPropertyAlias__moz_transform_style = 416, - eCSSPropertyAlias__moz_transition = 417, - eCSSPropertyAlias__moz_transition_delay = 418, - eCSSPropertyAlias__moz_transition_duration = 419, - eCSSPropertyAlias__moz_transition_property = 420, - eCSSPropertyAlias__moz_transition_timing_function = 421, - eCSSPropertyAlias__webkit_align_content = 422, - eCSSPropertyAlias__webkit_align_items = 423, - eCSSPropertyAlias__webkit_align_self = 424, - eCSSPropertyAlias__webkit_animation = 425, - eCSSPropertyAlias__webkit_animation_delay = 426, - eCSSPropertyAlias__webkit_animation_direction = 427, - eCSSPropertyAlias__webkit_animation_duration = 428, - eCSSPropertyAlias__webkit_animation_fill_mode = 429, - eCSSPropertyAlias__webkit_animation_iteration_count = 430, - eCSSPropertyAlias__webkit_animation_name = 431, - eCSSPropertyAlias__webkit_animation_play_state = 432, - eCSSPropertyAlias__webkit_animation_timing_function = 433, - eCSSPropertyAlias__webkit_backface_visibility = 434, - eCSSPropertyAlias__webkit_background_clip = 435, - eCSSPropertyAlias__webkit_background_origin = 436, - eCSSPropertyAlias__webkit_background_size = 437, - eCSSPropertyAlias__webkit_border_bottom_left_radius = 438, - eCSSPropertyAlias__webkit_border_bottom_right_radius = 439, - eCSSPropertyAlias__webkit_border_image = 440, - eCSSPropertyAlias__webkit_border_radius = 441, - eCSSPropertyAlias__webkit_border_top_left_radius = 442, - eCSSPropertyAlias__webkit_border_top_right_radius = 443, - eCSSPropertyAlias__webkit_box_align = 444, - eCSSPropertyAlias__webkit_box_direction = 445, - eCSSPropertyAlias__webkit_box_flex = 446, - eCSSPropertyAlias__webkit_box_ordinal_group = 447, - eCSSPropertyAlias__webkit_box_orient = 448, - eCSSPropertyAlias__webkit_box_pack = 449, - eCSSPropertyAlias__webkit_box_shadow = 450, - eCSSPropertyAlias__webkit_box_sizing = 451, - eCSSPropertyAlias__webkit_filter = 452, - eCSSPropertyAlias__webkit_flex = 453, - eCSSPropertyAlias__webkit_flex_basis = 454, - eCSSPropertyAlias__webkit_flex_direction = 455, - eCSSPropertyAlias__webkit_flex_flow = 456, - eCSSPropertyAlias__webkit_flex_grow = 457, - eCSSPropertyAlias__webkit_flex_shrink = 458, - eCSSPropertyAlias__webkit_flex_wrap = 459, - eCSSPropertyAlias__webkit_justify_content = 460, - eCSSPropertyAlias__webkit_mask = 461, - eCSSPropertyAlias__webkit_mask_clip = 462, - eCSSPropertyAlias__webkit_mask_composite = 463, - eCSSPropertyAlias__webkit_mask_image = 464, - eCSSPropertyAlias__webkit_mask_origin = 465, - eCSSPropertyAlias__webkit_mask_position = 466, - eCSSPropertyAlias__webkit_mask_position_x = 467, - eCSSPropertyAlias__webkit_mask_position_y = 468, - eCSSPropertyAlias__webkit_mask_repeat = 469, - eCSSPropertyAlias__webkit_mask_size = 470, - eCSSPropertyAlias__webkit_order = 471, - eCSSPropertyAlias__webkit_perspective = 472, - eCSSPropertyAlias__webkit_perspective_origin = 473, - eCSSPropertyAlias__webkit_text_size_adjust = 474, - eCSSPropertyAlias__webkit_transform = 475, - eCSSPropertyAlias__webkit_transform_origin = 476, - eCSSPropertyAlias__webkit_transform_style = 477, - eCSSPropertyAlias__webkit_transition = 478, - eCSSPropertyAlias__webkit_transition_delay = 479, - eCSSPropertyAlias__webkit_transition_duration = 480, - eCSSPropertyAlias__webkit_transition_property = 481, - eCSSPropertyAlias__webkit_transition_timing_function = 482, - eCSSPropertyAlias__webkit_user_select = 483, - eCSSPropertyAlias_word_wrap = 484, - eCSSPropertyExtra_no_properties = 485, - eCSSPropertyExtra_all_properties = 486, - eCSSPropertyExtra_variable = 487, - } - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - 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_FontVariationSettings = 7, - eCSSFontDesc_FontLanguageOverride = 8, - eCSSFontDesc_Display = 9, - eCSSFontDesc_COUNT = 10, - } - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - 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(C)] - #[derive(Debug, Copy)] - pub struct nsIObserver { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIObserver_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIObserver)) - ); - } - impl Clone for nsIObserver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIWeakReference { - pub _base: root::nsISupports, - pub mObject: *mut root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIWeakReference_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIWeakReference() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsIWeakReference)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIWeakReference)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mObject as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIWeakReference), - "::", - stringify!(mObject) - ) - ); - } - impl Clone for nsIWeakReference { - fn clone(&self) -> Self { - *self - } - } - pub type nsWeakPtr = root::nsCOMPtr; - pub const nsStyleAnimType_eStyleAnimType_Custom: root::nsStyleAnimType = 0; - pub const nsStyleAnimType_eStyleAnimType_Coord: root::nsStyleAnimType = 1; - pub const nsStyleAnimType_eStyleAnimType_Sides_Top: root::nsStyleAnimType = 2; - pub const nsStyleAnimType_eStyleAnimType_Sides_Right: root::nsStyleAnimType = 3; - pub const nsStyleAnimType_eStyleAnimType_Sides_Bottom: root::nsStyleAnimType = 4; - pub const nsStyleAnimType_eStyleAnimType_Sides_Left: root::nsStyleAnimType = 5; - pub const nsStyleAnimType_eStyleAnimType_Corner_TopLeft: root::nsStyleAnimType = 6; - pub const nsStyleAnimType_eStyleAnimType_Corner_TopRight: root::nsStyleAnimType = 7; - pub const nsStyleAnimType_eStyleAnimType_Corner_BottomRight: root::nsStyleAnimType = 8; - pub const nsStyleAnimType_eStyleAnimType_Corner_BottomLeft: root::nsStyleAnimType = 9; - pub const nsStyleAnimType_eStyleAnimType_nscoord: root::nsStyleAnimType = 10; - pub const nsStyleAnimType_eStyleAnimType_float: root::nsStyleAnimType = 11; - pub const nsStyleAnimType_eStyleAnimType_Color: root::nsStyleAnimType = 12; - pub const nsStyleAnimType_eStyleAnimType_ComplexColor: root::nsStyleAnimType = 13; - pub const nsStyleAnimType_eStyleAnimType_PaintServer: root::nsStyleAnimType = 14; - pub const nsStyleAnimType_eStyleAnimType_Shadow: root::nsStyleAnimType = 15; - pub const nsStyleAnimType_eStyleAnimType_Discrete: root::nsStyleAnimType = 16; - pub const nsStyleAnimType_eStyleAnimType_None: root::nsStyleAnimType = 17; - /// Types of animatable values. - pub type nsStyleAnimType = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCSSProps { - pub _address: u8, - } - pub use self::super::root::mozilla::CSSEnabledState as nsCSSProps_EnabledState; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCSSProps_KTableEntry { - pub mKeyword: root::nsCSSKeyword, - pub mValue: i16, - } - #[test] - fn bindgen_test_layout_nsCSSProps_KTableEntry() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!("Size of: ", stringify!(nsCSSProps_KTableEntry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(nsCSSProps_KTableEntry)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKeyword as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSProps_KTableEntry), - "::", - stringify!(mKeyword) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(nsCSSProps_KTableEntry), - "::", - stringify!(mValue) - ) - ); - } - impl Clone for nsCSSProps_KTableEntry { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kKeywordTableTableE"] - pub static mut nsCSSProps_kKeywordTableTable: - [*const root::nsCSSProps_KTableEntry; 326usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kAnimTypeTableE"] - pub static mut nsCSSProps_kAnimTypeTable: [root::nsStyleAnimType; 326usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps11kFlagsTableE"] - pub static mut nsCSSProps_kFlagsTable: [u32; 375usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kParserVariantTableE"] - pub static mut nsCSSProps_kParserVariantTable: [u32; 326usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kSubpropertyTableE"] - pub static mut nsCSSProps_kSubpropertyTable: [*const root::nsCSSPropertyID; 49usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16gPropertyEnabledE"] - pub static mut nsCSSProps_gPropertyEnabled: [bool; 485usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps13kIDLNameTableE"] - pub static mut nsCSSProps_kIDLNameTable: [*const ::std::os::raw::c_char; 375usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kIDLNameSortPositionTableE"] - pub static mut nsCSSProps_kIDLNameSortPositionTable: [i32; 375usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19gPropertyUseCounterE"] - pub static mut nsCSSProps_gPropertyUseCounter: [root::mozilla::UseCounter; 326usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kAnimationDirectionKTableE"] - pub static mut nsCSSProps_kAnimationDirectionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps24kAnimationFillModeKTableE"] - pub static mut nsCSSProps_kAnimationFillModeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps30kAnimationIterationCountKTableE"] - pub static mut nsCSSProps_kAnimationIterationCountKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kAnimationPlayStateKTableE"] - pub static mut nsCSSProps_kAnimationPlayStateKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps30kAnimationTimingFunctionKTableE"] - pub static mut nsCSSProps_kAnimationTimingFunctionKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kAppearanceKTableE"] - pub static mut nsCSSProps_kAppearanceKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kAzimuthKTableE"] - pub static mut nsCSSProps_kAzimuthKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kBackfaceVisibilityKTableE"] - pub static mut nsCSSProps_kBackfaceVisibilityKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kTransformStyleKTableE"] - pub static mut nsCSSProps_kTransformStyleKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kImageLayerAttachmentKTableE"] - pub static mut nsCSSProps_kImageLayerAttachmentKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kBackgroundOriginKTableE"] - pub static mut nsCSSProps_kBackgroundOriginKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kMaskOriginKTableE"] - pub static mut nsCSSProps_kMaskOriginKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kImageLayerPositionKTableE"] - pub static mut nsCSSProps_kImageLayerPositionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kImageLayerRepeatKTableE"] - pub static mut nsCSSProps_kImageLayerRepeatKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kImageLayerRepeatPartKTableE"] - pub static mut nsCSSProps_kImageLayerRepeatPartKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kImageLayerSizeKTableE"] - pub static mut nsCSSProps_kImageLayerSizeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps26kImageLayerCompositeKTableE"] - pub static mut nsCSSProps_kImageLayerCompositeKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kImageLayerModeKTableE"] - pub static mut nsCSSProps_kImageLayerModeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kBackgroundClipKTableE"] - pub static mut nsCSSProps_kBackgroundClipKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kMaskClipKTableE"] - pub static mut nsCSSProps_kMaskClipKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kBlendModeKTableE"] - pub static mut nsCSSProps_kBlendModeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kBorderCollapseKTableE"] - pub static mut nsCSSProps_kBorderCollapseKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps24kBorderImageRepeatKTableE"] - pub static mut nsCSSProps_kBorderImageRepeatKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kBorderImageSliceKTableE"] - pub static mut nsCSSProps_kBorderImageSliceKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kBorderStyleKTableE"] - pub static mut nsCSSProps_kBorderStyleKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kBorderWidthKTableE"] - pub static mut nsCSSProps_kBorderWidthKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kBoxAlignKTableE"] - pub static mut nsCSSProps_kBoxAlignKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kBoxDecorationBreakKTableE"] - pub static mut nsCSSProps_kBoxDecorationBreakKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kBoxDirectionKTableE"] - pub static mut nsCSSProps_kBoxDirectionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kBoxOrientKTableE"] - pub static mut nsCSSProps_kBoxOrientKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kBoxPackKTableE"] - pub static mut nsCSSProps_kBoxPackKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps26kClipPathGeometryBoxKTableE"] - pub static mut nsCSSProps_kClipPathGeometryBoxKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kCounterRangeKTableE"] - pub static mut nsCSSProps_kCounterRangeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kCounterSpeakAsKTableE"] - pub static mut nsCSSProps_kCounterSpeakAsKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kCounterSymbolsSystemKTableE"] - pub static mut nsCSSProps_kCounterSymbolsSystemKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kCounterSystemKTableE"] - pub static mut nsCSSProps_kCounterSystemKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kDominantBaselineKTableE"] - pub static mut nsCSSProps_kDominantBaselineKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kShapeRadiusKTableE"] - pub static mut nsCSSProps_kShapeRadiusKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kFillRuleKTableE"] - pub static mut nsCSSProps_kFillRuleKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kFilterFunctionKTableE"] - pub static mut nsCSSProps_kFilterFunctionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kImageRenderingKTableE"] - pub static mut nsCSSProps_kImageRenderingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kShapeOutsideShapeBoxKTableE"] - pub static mut nsCSSProps_kShapeOutsideShapeBoxKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kShapeRenderingKTableE"] - pub static mut nsCSSProps_kShapeRenderingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kStrokeLinecapKTableE"] - pub static mut nsCSSProps_kStrokeLinecapKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kStrokeLinejoinKTableE"] - pub static mut nsCSSProps_kStrokeLinejoinKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kStrokeContextValueKTableE"] - pub static mut nsCSSProps_kStrokeContextValueKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kVectorEffectKTableE"] - pub static mut nsCSSProps_kVectorEffectKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kTextAnchorKTableE"] - pub static mut nsCSSProps_kTextAnchorKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kTextRenderingKTableE"] - pub static mut nsCSSProps_kTextRenderingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kColorAdjustKTableE"] - pub static mut nsCSSProps_kColorAdjustKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kColorInterpolationKTableE"] - pub static mut nsCSSProps_kColorInterpolationKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kColumnFillKTableE"] - pub static mut nsCSSProps_kColumnFillKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kColumnSpanKTableE"] - pub static mut nsCSSProps_kColumnSpanKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kBoxPropSourceKTableE"] - pub static mut nsCSSProps_kBoxPropSourceKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kBoxShadowTypeKTableE"] - pub static mut nsCSSProps_kBoxShadowTypeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kBoxSizingKTableE"] - pub static mut nsCSSProps_kBoxSizingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kCaptionSideKTableE"] - pub static mut nsCSSProps_kCaptionSideKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kClearKTableE"] - pub static mut nsCSSProps_kClearKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kColorKTableE"] - pub static mut nsCSSProps_kColorKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kContentKTableE"] - pub static mut nsCSSProps_kContentKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps33kControlCharacterVisibilityKTableE"] - pub static mut nsCSSProps_kControlCharacterVisibilityKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps13kCursorKTableE"] - pub static mut nsCSSProps_kCursorKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kDirectionKTableE"] - pub static mut nsCSSProps_kDirectionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kDisplayKTableE"] - pub static mut nsCSSProps_kDisplayKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kElevationKTableE"] - pub static mut nsCSSProps_kElevationKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kEmptyCellsKTableE"] - pub static mut nsCSSProps_kEmptyCellsKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kAlignAllKeywordsE"] - pub static mut nsCSSProps_kAlignAllKeywords: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps22kAlignOverflowPositionE"] - pub static mut nsCSSProps_kAlignOverflowPosition: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kAlignSelfPositionE"] - pub static mut nsCSSProps_kAlignSelfPosition: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kAlignLegacyE"] - pub static mut nsCSSProps_kAlignLegacy: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kAlignLegacyPositionE"] - pub static mut nsCSSProps_kAlignLegacyPosition: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps31kAlignAutoNormalStretchBaselineE"] - pub static mut nsCSSProps_kAlignAutoNormalStretchBaseline: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kAlignNormalStretchBaselineE"] - pub static mut nsCSSProps_kAlignNormalStretchBaseline: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kAlignNormalBaselineE"] - pub static mut nsCSSProps_kAlignNormalBaseline: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kAlignContentDistributionE"] - pub static mut nsCSSProps_kAlignContentDistribution: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kAlignContentPositionE"] - pub static mut nsCSSProps_kAlignContentPosition: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps31kAutoCompletionAlignJustifySelfE"] - pub static mut nsCSSProps_kAutoCompletionAlignJustifySelf: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kAutoCompletionAlignItemsE"] - pub static mut nsCSSProps_kAutoCompletionAlignItems: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps34kAutoCompletionAlignJustifyContentE"] - pub static mut nsCSSProps_kAutoCompletionAlignJustifyContent: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kFlexDirectionKTableE"] - pub static mut nsCSSProps_kFlexDirectionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kFlexWrapKTableE"] - pub static mut nsCSSProps_kFlexWrapKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kFloatKTableE"] - pub static mut nsCSSProps_kFloatKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kFloatEdgeKTableE"] - pub static mut nsCSSProps_kFloatEdgeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kFontDisplayKTableE"] - pub static mut nsCSSProps_kFontDisplayKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps11kFontKTableE"] - pub static mut nsCSSProps_kFontKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kFontKerningKTableE"] - pub static mut nsCSSProps_kFontKerningKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps24kFontOpticalSizingKTableE"] - pub static mut nsCSSProps_kFontOpticalSizingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kFontSizeKTableE"] - pub static mut nsCSSProps_kFontSizeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kFontSmoothingKTableE"] - pub static mut nsCSSProps_kFontSmoothingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kFontStretchKTableE"] - pub static mut nsCSSProps_kFontStretchKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kFontStyleKTableE"] - pub static mut nsCSSProps_kFontStyleKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kFontSynthesisKTableE"] - pub static mut nsCSSProps_kFontSynthesisKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kFontVariantKTableE"] - pub static mut nsCSSProps_kFontVariantKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps28kFontVariantAlternatesKTableE"] - pub static mut nsCSSProps_kFontVariantAlternatesKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps33kFontVariantAlternatesFuncsKTableE"] - pub static mut nsCSSProps_kFontVariantAlternatesFuncsKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps22kFontVariantCapsKTableE"] - pub static mut nsCSSProps_kFontVariantCapsKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kFontVariantEastAsianKTableE"] - pub static mut nsCSSProps_kFontVariantEastAsianKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kFontVariantLigaturesKTableE"] - pub static mut nsCSSProps_kFontVariantLigaturesKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kFontVariantNumericKTableE"] - pub static mut nsCSSProps_kFontVariantNumericKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps26kFontVariantPositionKTableE"] - pub static mut nsCSSProps_kFontVariantPositionKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kFontWeightKTableE"] - pub static mut nsCSSProps_kFontWeightKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kGridAutoFlowKTableE"] - pub static mut nsCSSProps_kGridAutoFlowKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kGridTrackBreadthKTableE"] - pub static mut nsCSSProps_kGridTrackBreadthKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kHyphensKTableE"] - pub static mut nsCSSProps_kHyphensKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kImageOrientationKTableE"] - pub static mut nsCSSProps_kImageOrientationKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kImageOrientationFlipKTableE"] - pub static mut nsCSSProps_kImageOrientationFlipKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kIsolationKTableE"] - pub static mut nsCSSProps_kIsolationKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kIMEModeKTableE"] - pub static mut nsCSSProps_kIMEModeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kLineHeightKTableE"] - pub static mut nsCSSProps_kLineHeightKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps24kListStylePositionKTableE"] - pub static mut nsCSSProps_kListStylePositionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kMaskTypeKTableE"] - pub static mut nsCSSProps_kMaskTypeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kMathVariantKTableE"] - pub static mut nsCSSProps_kMathVariantKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kMathDisplayKTableE"] - pub static mut nsCSSProps_kMathDisplayKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps14kContainKTableE"] - pub static mut nsCSSProps_kContainKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kContextOpacityKTableE"] - pub static mut nsCSSProps_kContextOpacityKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kContextPatternKTableE"] - pub static mut nsCSSProps_kContextPatternKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kObjectFitKTableE"] - pub static mut nsCSSProps_kObjectFitKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps13kOrientKTableE"] - pub static mut nsCSSProps_kOrientKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kOutlineStyleKTableE"] - pub static mut nsCSSProps_kOutlineStyleKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kOverflowKTableE"] - pub static mut nsCSSProps_kOverflowKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kOverflowSubKTableE"] - pub static mut nsCSSProps_kOverflowSubKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps22kOverflowClipBoxKTableE"] - pub static mut nsCSSProps_kOverflowClipBoxKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kOverflowWrapKTableE"] - pub static mut nsCSSProps_kOverflowWrapKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kPageBreakKTableE"] - pub static mut nsCSSProps_kPageBreakKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps22kPageBreakInsideKTableE"] - pub static mut nsCSSProps_kPageBreakInsideKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kPageMarksKTableE"] - pub static mut nsCSSProps_kPageMarksKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kPageSizeKTableE"] - pub static mut nsCSSProps_kPageSizeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kPitchKTableE"] - pub static mut nsCSSProps_kPitchKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kPointerEventsKTableE"] - pub static mut nsCSSProps_kPointerEventsKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kPositionKTableE"] - pub static mut nsCSSProps_kPositionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps26kRadialGradientShapeKTableE"] - pub static mut nsCSSProps_kRadialGradientShapeKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kRadialGradientSizeKTableE"] - pub static mut nsCSSProps_kRadialGradientSizeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps31kRadialGradientLegacySizeKTableE"] - pub static mut nsCSSProps_kRadialGradientLegacySizeKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps13kResizeKTableE"] - pub static mut nsCSSProps_kResizeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kRubyAlignKTableE"] - pub static mut nsCSSProps_kRubyAlignKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kRubyPositionKTableE"] - pub static mut nsCSSProps_kRubyPositionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kScrollBehaviorKTableE"] - pub static mut nsCSSProps_kScrollBehaviorKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kOverscrollBehaviorKTableE"] - pub static mut nsCSSProps_kOverscrollBehaviorKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kScrollSnapTypeKTableE"] - pub static mut nsCSSProps_kScrollSnapTypeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kSpeakKTableE"] - pub static mut nsCSSProps_kSpeakKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kSpeakHeaderKTableE"] - pub static mut nsCSSProps_kSpeakHeaderKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kSpeakNumeralKTableE"] - pub static mut nsCSSProps_kSpeakNumeralKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps23kSpeakPunctuationKTableE"] - pub static mut nsCSSProps_kSpeakPunctuationKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kSpeechRateKTableE"] - pub static mut nsCSSProps_kSpeechRateKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kStackSizingKTableE"] - pub static mut nsCSSProps_kStackSizingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kTableLayoutKTableE"] - pub static mut nsCSSProps_kTableLayoutKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kTextAlignKTableE"] - pub static mut nsCSSProps_kTextAlignKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kTextAlignLastKTableE"] - pub static mut nsCSSProps_kTextAlignLastKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kTextCombineUprightKTableE"] - pub static mut nsCSSProps_kTextCombineUprightKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps25kTextDecorationLineKTableE"] - pub static mut nsCSSProps_kTextDecorationLineKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps26kTextDecorationStyleKTableE"] - pub static mut nsCSSProps_kTextDecorationStyleKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps27kTextEmphasisPositionKTableE"] - pub static mut nsCSSProps_kTextEmphasisPositionKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps28kTextEmphasisStyleFillKTableE"] - pub static mut nsCSSProps_kTextEmphasisStyleFillKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps29kTextEmphasisStyleShapeKTableE"] - pub static mut nsCSSProps_kTextEmphasisStyleShapeKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kTextJustifyKTableE"] - pub static mut nsCSSProps_kTextJustifyKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps22kTextOrientationKTableE"] - pub static mut nsCSSProps_kTextOrientationKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kTextOverflowKTableE"] - pub static mut nsCSSProps_kTextOverflowKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kTextSizeAdjustKTableE"] - pub static mut nsCSSProps_kTextSizeAdjustKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kTextTransformKTableE"] - pub static mut nsCSSProps_kTextTransformKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kTouchActionKTableE"] - pub static mut nsCSSProps_kTouchActionKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps15kTopLayerKTableE"] - pub static mut nsCSSProps_kTopLayerKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kTransformBoxKTableE"] - pub static mut nsCSSProps_kTransformBoxKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps31kTransitionTimingFunctionKTableE"] - pub static mut nsCSSProps_kTransitionTimingFunctionKTable: - [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kUnicodeBidiKTableE"] - pub static mut nsCSSProps_kUnicodeBidiKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kUserFocusKTableE"] - pub static mut nsCSSProps_kUserFocusKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kUserInputKTableE"] - pub static mut nsCSSProps_kUserInputKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kUserModifyKTableE"] - pub static mut nsCSSProps_kUserModifyKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kUserSelectKTableE"] - pub static mut nsCSSProps_kUserSelectKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps20kVerticalAlignKTableE"] - pub static mut nsCSSProps_kVerticalAlignKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kVisibilityKTableE"] - pub static mut nsCSSProps_kVisibilityKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps13kVolumeKTableE"] - pub static mut nsCSSProps_kVolumeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps17kWhitespaceKTableE"] - pub static mut nsCSSProps_kWhitespaceKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps12kWidthKTableE"] - pub static mut nsCSSProps_kWidthKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kFlexBasisKTableE"] - pub static mut nsCSSProps_kFlexBasisKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps21kWindowDraggingKTableE"] - pub static mut nsCSSProps_kWindowDraggingKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps19kWindowShadowKTableE"] - pub static mut nsCSSProps_kWindowShadowKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps16kWordBreakKTableE"] - pub static mut nsCSSProps_kWordBreakKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsCSSProps18kWritingModeKTableE"] - pub static mut nsCSSProps_kWritingModeKTable: [root::nsCSSProps_KTableEntry; 0usize]; - } - #[test] - fn bindgen_test_layout_nsCSSProps() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(nsCSSProps)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(nsCSSProps)) - ); - } - impl Clone for nsCSSProps { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIRunnable { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIRunnable_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIRunnable() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIRunnable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIRunnable)) - ); - } - impl Clone for nsIRunnable { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIEventTarget { - pub _base: root::nsISupports, - pub mVirtualThread: *mut root::PRThread, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIEventTarget_COMTypeInfo { - pub _address: u8, - } - pub const nsIEventTarget_DISPATCH_NORMAL: root::nsIEventTarget__bindgen_ty_1 = 0; - pub const nsIEventTarget_DISPATCH_SYNC: root::nsIEventTarget__bindgen_ty_1 = 1; - pub const nsIEventTarget_DISPATCH_AT_END: root::nsIEventTarget__bindgen_ty_1 = 2; - pub type nsIEventTarget__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsIEventTarget() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsIEventTarget)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIEventTarget)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mVirtualThread as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIEventTarget), - "::", - stringify!(mVirtualThread) - ) - ); - } - impl Clone for nsIEventTarget { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsISerialEventTarget { - pub _base: root::nsIEventTarget, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsISerialEventTarget_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsISerialEventTarget() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsISerialEventTarget)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISerialEventTarget)) - ); - } - impl Clone for nsISerialEventTarget { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsICancelableRunnable { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsICancelableRunnable_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsICancelableRunnable() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsICancelableRunnable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsICancelableRunnable)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsINamed { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsINamed_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsINamed() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsINamed)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsINamed)) - ); - } - impl Clone for nsINamed { - fn clone(&self) -> Self { - *self - } - } - /// The signature of the timer callback function passed to initWithFuncCallback. - /// This is the function that will get called when the timer expires if the - /// timer is initialized via initWithFuncCallback. - /// - /// @param aTimer the timer which has expired - /// @param aClosure opaque parameter passed to initWithFuncCallback - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsITimer { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsITimer_COMTypeInfo { - pub _address: u8, - } - pub const nsITimer_TYPE_ONE_SHOT: root::nsITimer__bindgen_ty_1 = 0; - pub const nsITimer_TYPE_REPEATING_SLACK: root::nsITimer__bindgen_ty_1 = 1; - pub const nsITimer_TYPE_REPEATING_PRECISE: root::nsITimer__bindgen_ty_1 = 2; - pub const nsITimer_TYPE_REPEATING_PRECISE_CAN_SKIP: root::nsITimer__bindgen_ty_1 = 3; - pub const nsITimer_TYPE_REPEATING_SLACK_LOW_PRIORITY: root::nsITimer__bindgen_ty_1 = 4; - pub const nsITimer_TYPE_ONE_SHOT_LOW_PRIORITY: root::nsITimer__bindgen_ty_1 = 5; - pub type nsITimer__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsITimer() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsITimer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsITimer)) - ); - } - impl Clone for nsITimer { - fn clone(&self) -> Self { - *self - } - } - pub type nsRunnableMethod_BaseType = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsRunnableMethod_ReturnTypeEnforcer { - pub _address: u8, - } - pub type nsRunnableMethod_ReturnTypeEnforcer_ReturnTypeIsSafe = ::std::os::raw::c_int; - pub type nsRunnableMethod_check = root::nsRunnableMethod_ReturnTypeEnforcer; - #[repr(C)] - #[derive(Debug)] - pub struct nsRevocableEventPtr { - pub mEvent: root::RefPtr, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - /// the private nsTHashtable::EntryType class used by nsBaseHashtable - /// @see nsTHashtable for the specification of this class - /// @see nsBaseHashtable for template parameters - #[repr(C)] - #[derive(Debug)] - pub struct nsBaseHashtableET { - pub _base: KeyClass, - pub mData: DataType, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - pub type nsBaseHashtableET_KeyType = [u8; 0usize]; - pub type nsBaseHashtableET_KeyTypePointer = [u8; 0usize]; - /// templated hashtable for simple data types - /// This class manages simple data types that do not need construction or - /// destruction. - /// - /// @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h - /// for a complete specification. - /// @param DataType the datatype stored in the hashtable, - /// for example, uint32_t or nsCOMPtr. If UserDataType is not the same, - /// DataType must implicitly cast to UserDataType - /// @param UserDataType the user sees, for example uint32_t or nsISupports* - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsBaseHashtable { - pub _address: u8, - } - pub type nsBaseHashtable_fallible_t = root::mozilla::fallible_t; - pub type nsBaseHashtable_KeyType = [u8; 0usize]; - pub type nsBaseHashtable_EntryType = - root::nsBaseHashtableET; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsBaseHashtable_LookupResult { - pub mEntry: *mut root::nsBaseHashtable_EntryType, - pub mTable: *mut u8, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - #[repr(C)] - #[derive(Debug)] - pub struct nsBaseHashtable_EntryPtr { - pub mEntry: *mut root::nsBaseHashtable_EntryType, - pub mExistingEntry: bool, - pub mTable: *mut u8, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - #[repr(C)] - #[derive(Debug)] - pub struct nsBaseHashtable_Iterator { - pub _base: root::PLDHashTable_Iterator, - } - pub type nsBaseHashtable_Iterator_Base = root::PLDHashTable_Iterator; - /// templated hashtable class maps keys to reference pointers. - /// See nsBaseHashtable for complete declaration. - /// @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h - /// for a complete specification. - /// @param PtrType the reference-type being wrapped - /// @see nsDataHashtable, nsClassHashtable - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsRefPtrHashtable { - pub _address: u8, - } - pub type nsRefPtrHashtable_KeyType = [u8; 0usize]; - pub type nsRefPtrHashtable_UserDataType = *mut PtrType; - pub type nsRefPtrHashtable_base_type = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RustString { - _unused: [u8; 0], - } - impl Clone for RustString { - fn clone(&self) -> Self { - *self - } - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - 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_GridTemplateAreas = 44, - eCSSUnit_Pair = 50, - eCSSUnit_List = 53, - eCSSUnit_ListDep = 54, - eCSSUnit_SharedList = 55, - eCSSUnit_PairList = 56, - eCSSUnit_PairListDep = 57, - eCSSUnit_FontFamilyList = 58, - eCSSUnit_AtomIdent = 60, - eCSSUnit_Integer = 70, - eCSSUnit_Enumerated = 71, - eCSSUnit_Percent = 100, - eCSSUnit_Number = 101, - 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_Quarter = 905, - eCSSUnit_Pixel = 906, - 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, - eCSSUnit_FontWeight = 5000, - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValue { - pub mUnit: root::nsCSSUnit, - pub mValue: root::nsCSSValue__bindgen_ty_1, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCSSValue__bindgen_ty_1 { - pub mInt: root::__BindgenUnionField, - pub mFloat: root::__BindgenUnionField, - pub mString: root::__BindgenUnionField<*mut root::nsStringBuffer>, - pub mAtom: root::__BindgenUnionField<*mut root::nsAtom>, - pub mArray: root::__BindgenUnionField<*mut root::nsCSSValue_Array>, - pub mURL: root::__BindgenUnionField<*mut root::mozilla::css::URLValue>, - pub mImage: root::__BindgenUnionField<*mut root::mozilla::css::ImageValue>, - pub mGridTemplateAreas: - root::__BindgenUnionField<*mut root::mozilla::css::GridTemplateAreasValue>, - pub mPair: root::__BindgenUnionField<*mut root::nsCSSValuePair_heap>, - pub mList: root::__BindgenUnionField<*mut root::nsCSSValueList_heap>, - pub mListDependent: root::__BindgenUnionField<*mut root::nsCSSValueList>, - pub mSharedList: root::__BindgenUnionField<*mut root::nsCSSValueSharedList>, - pub mPairList: root::__BindgenUnionField<*mut root::nsCSSValuePairList_heap>, - pub mPairListDependent: root::__BindgenUnionField<*mut root::nsCSSValuePairList>, - pub mFontFamilyList: root::__BindgenUnionField<*mut root::mozilla::SharedFontList>, - pub mFontWeight: root::__BindgenUnionField, - pub bindgen_union_field: u64, - } - #[test] - fn bindgen_test_layout_nsCSSValue__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsCSSValue__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValue__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInt as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mInt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFloat as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mFloat) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mString as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mString) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAtom as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mAtom) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mArray as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mArray) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mURL as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mURL) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImage as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mImage) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mGridTemplateAreas as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mGridTemplateAreas) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPair as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mPair) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mList as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mListDependent as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mListDependent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSharedList as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mSharedList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPairList as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mPairList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPairListDependent as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mPairListDependent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontFamilyList as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mFontFamilyList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontWeight as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue__bindgen_ty_1), - "::", - stringify!(mFontWeight) - ) - ); - } - impl Clone for nsCSSValue__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsCSSValue() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsCSSValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValue)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mUnit as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue), - "::", - stringify!(mUnit) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue), - "::", - stringify!(mValue) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValue_Array { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mCount: usize, - pub mArray: [root::nsCSSValue; 1usize], - } - pub type nsCSSValue_Array_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_nsCSSValue_Array() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(nsCSSValue_Array)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValue_Array)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue_Array), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mCount as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue_Array), - "::", - stringify!(mCount) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mArray as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValue_Array), - "::", - stringify!(mArray) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValueList { - pub mValue: root::nsCSSValue, - pub mNext: *mut root::nsCSSValueList, - } - #[test] - fn bindgen_test_layout_nsCSSValueList() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsCSSValueList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValueList)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValueList), - "::", - stringify!(mValue) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNext as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValueList), - "::", - stringify!(mNext) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValueList_heap { - pub _base: root::nsCSSValueList, - pub mRefCnt: root::nsAutoRefCnt, - } - pub type nsCSSValueList_heap_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsCSSValueList_heap() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(nsCSSValueList_heap)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValueList_heap)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValueList_heap), - "::", - stringify!(mRefCnt) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValueSharedList { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mHead: *mut root::nsCSSValueList, - } - pub type nsCSSValueSharedList_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_nsCSSValueSharedList() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsCSSValueSharedList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValueSharedList)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValueSharedList), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mHead as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValueSharedList), - "::", - stringify!(mHead) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValuePair { - pub mXValue: root::nsCSSValue, - pub mYValue: root::nsCSSValue, - } - #[test] - fn bindgen_test_layout_nsCSSValuePair() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(nsCSSValuePair)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValuePair)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mXValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePair), - "::", - stringify!(mXValue) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mYValue as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePair), - "::", - stringify!(mYValue) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValuePair_heap { - pub _base: root::nsCSSValuePair, - pub mRefCnt: root::nsAutoRefCnt, - } - pub type nsCSSValuePair_heap_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsCSSValuePair_heap() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsCSSValuePair_heap)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValuePair_heap)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePair_heap), - "::", - stringify!(mRefCnt) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValuePairList { - pub mXValue: root::nsCSSValue, - pub mYValue: root::nsCSSValue, - pub mNext: *mut root::nsCSSValuePairList, - } - #[test] - fn bindgen_test_layout_nsCSSValuePairList() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsCSSValuePairList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValuePairList)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mXValue as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePairList), - "::", - stringify!(mXValue) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mYValue as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePairList), - "::", - stringify!(mYValue) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNext as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePairList), - "::", - stringify!(mNext) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsCSSValuePairList_heap { - pub _base: root::nsCSSValuePairList, - pub mRefCnt: root::nsAutoRefCnt, - } - pub type nsCSSValuePairList_heap_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsCSSValuePairList_heap() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(nsCSSValuePairList_heap)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsCSSValuePairList_heap)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsCSSValuePairList_heap), - "::", - stringify!(mRefCnt) - ) - ); - } - pub type nsLoadFlags = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIRequest { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIRequest_COMTypeInfo { - pub _address: u8, - } - pub const nsIRequest_LOAD_REQUESTMASK: root::nsIRequest__bindgen_ty_1 = 65535; - pub const nsIRequest_LOAD_NORMAL: root::nsIRequest__bindgen_ty_1 = 0; - pub const nsIRequest_LOAD_BACKGROUND: root::nsIRequest__bindgen_ty_1 = 1; - pub const nsIRequest_LOAD_HTML_OBJECT_DATA: root::nsIRequest__bindgen_ty_1 = 2; - pub const nsIRequest_LOAD_DOCUMENT_NEEDS_COOKIE: root::nsIRequest__bindgen_ty_1 = 4; - pub const nsIRequest_INHIBIT_CACHING: root::nsIRequest__bindgen_ty_1 = 128; - pub const nsIRequest_INHIBIT_PERSISTENT_CACHING: root::nsIRequest__bindgen_ty_1 = 256; - pub const nsIRequest_LOAD_BYPASS_CACHE: root::nsIRequest__bindgen_ty_1 = 512; - pub const nsIRequest_LOAD_FROM_CACHE: root::nsIRequest__bindgen_ty_1 = 1024; - pub const nsIRequest_VALIDATE_ALWAYS: root::nsIRequest__bindgen_ty_1 = 2048; - pub const nsIRequest_VALIDATE_NEVER: root::nsIRequest__bindgen_ty_1 = 4096; - pub const nsIRequest_VALIDATE_ONCE_PER_SESSION: root::nsIRequest__bindgen_ty_1 = 8192; - pub const nsIRequest_LOAD_ANONYMOUS: root::nsIRequest__bindgen_ty_1 = 16384; - pub const nsIRequest_LOAD_FRESH_CONNECTION: root::nsIRequest__bindgen_ty_1 = 32768; - pub type nsIRequest__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsIRequest() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIRequest)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIRequest)) - ); - } - impl Clone for nsIRequest { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct imgIContainer { - _unused: [u8; 0], - } - impl Clone for imgIContainer { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct imgIRequest { - pub _base: root::nsIRequest, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct imgIRequest_COMTypeInfo { - pub _address: u8, - } - pub const imgIRequest_STATUS_NONE: root::imgIRequest__bindgen_ty_1 = 0; - pub const imgIRequest_STATUS_SIZE_AVAILABLE: root::imgIRequest__bindgen_ty_1 = 1; - pub const imgIRequest_STATUS_LOAD_COMPLETE: root::imgIRequest__bindgen_ty_1 = 2; - pub const imgIRequest_STATUS_ERROR: root::imgIRequest__bindgen_ty_1 = 4; - pub const imgIRequest_STATUS_FRAME_COMPLETE: root::imgIRequest__bindgen_ty_1 = 8; - pub const imgIRequest_STATUS_DECODE_COMPLETE: root::imgIRequest__bindgen_ty_1 = 16; - pub const imgIRequest_STATUS_IS_ANIMATED: root::imgIRequest__bindgen_ty_1 = 32; - pub const imgIRequest_STATUS_HAS_TRANSPARENCY: root::imgIRequest__bindgen_ty_1 = 64; - pub type imgIRequest__bindgen_ty_1 = u32; - pub const imgIRequest_CORS_NONE: root::imgIRequest__bindgen_ty_2 = 1; - pub const imgIRequest_CORS_ANONYMOUS: root::imgIRequest__bindgen_ty_2 = 2; - pub const imgIRequest_CORS_USE_CREDENTIALS: root::imgIRequest__bindgen_ty_2 = 3; - pub type imgIRequest__bindgen_ty_2 = u32; - pub const imgIRequest_CATEGORY_FRAME_INIT: root::imgIRequest__bindgen_ty_3 = 1; - pub const imgIRequest_CATEGORY_SIZE_QUERY: root::imgIRequest__bindgen_ty_3 = 2; - pub const imgIRequest_CATEGORY_DISPLAY: root::imgIRequest__bindgen_ty_3 = 4; - pub type imgIRequest__bindgen_ty_3 = u32; - #[test] - fn bindgen_test_layout_imgIRequest() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(imgIRequest)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(imgIRequest)) - ); - } - impl Clone for imgIRequest { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsISecurityInfoProvider { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsISecurityInfoProvider_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsISecurityInfoProvider() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsISecurityInfoProvider)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISecurityInfoProvider)) - ); - } - impl Clone for nsISecurityInfoProvider { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsILoadGroup { - pub _base: root::nsIRequest, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsILoadGroup_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsILoadGroup() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsILoadGroup)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsILoadGroup)) - ); - } - impl Clone for nsILoadGroup { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsISupportsPriority { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsISupportsPriority_COMTypeInfo { - pub _address: u8, - } - pub const nsISupportsPriority_PRIORITY_HIGHEST: root::nsISupportsPriority__bindgen_ty_1 = -20; - pub const nsISupportsPriority_PRIORITY_HIGH: root::nsISupportsPriority__bindgen_ty_1 = -10; - pub const nsISupportsPriority_PRIORITY_NORMAL: root::nsISupportsPriority__bindgen_ty_1 = 0; - pub const nsISupportsPriority_PRIORITY_LOW: root::nsISupportsPriority__bindgen_ty_1 = 10; - pub const nsISupportsPriority_PRIORITY_LOWEST: root::nsISupportsPriority__bindgen_ty_1 = 20; - pub type nsISupportsPriority__bindgen_ty_1 = i32; - #[test] - fn bindgen_test_layout_nsISupportsPriority() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsISupportsPriority)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISupportsPriority)) - ); - } - impl Clone for nsISupportsPriority { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsITimedChannel { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsITimedChannel_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsITimedChannel() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsITimedChannel)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsITimedChannel)) - ); - } - impl Clone for nsITimedChannel { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIChannelEventSink { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIChannelEventSink_COMTypeInfo { - pub _address: u8, - } - pub const nsIChannelEventSink_REDIRECT_TEMPORARY: root::nsIChannelEventSink__bindgen_ty_1 = 1; - pub const nsIChannelEventSink_REDIRECT_PERMANENT: root::nsIChannelEventSink__bindgen_ty_1 = 2; - pub const nsIChannelEventSink_REDIRECT_INTERNAL: root::nsIChannelEventSink__bindgen_ty_1 = 4; - pub const nsIChannelEventSink_REDIRECT_STS_UPGRADE: root::nsIChannelEventSink__bindgen_ty_1 = 8; - pub type nsIChannelEventSink__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsIChannelEventSink() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIChannelEventSink)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIChannelEventSink)) - ); - } - impl Clone for nsIChannelEventSink { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIInterfaceRequestor { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIInterfaceRequestor_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIInterfaceRequestor() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIInterfaceRequestor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIInterfaceRequestor)) - ); - } - impl Clone for nsIInterfaceRequestor { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIRequestObserver { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIRequestObserver_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIRequestObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIRequestObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIRequestObserver)) - ); - } - impl Clone for nsIRequestObserver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIStreamListener { - pub _base: root::nsIRequestObserver, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIStreamListener_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIStreamListener() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIStreamListener)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIStreamListener)) - ); - } - impl Clone for nsIStreamListener { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIContentPolicy { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIContentPolicy_COMTypeInfo { - pub _address: u8, - } - pub const nsIContentPolicy_TYPE_INVALID: root::nsIContentPolicy__bindgen_ty_1 = 0; - pub const nsIContentPolicy_TYPE_OTHER: root::nsIContentPolicy__bindgen_ty_1 = 1; - pub const nsIContentPolicy_TYPE_SCRIPT: root::nsIContentPolicy__bindgen_ty_1 = 2; - pub const nsIContentPolicy_TYPE_IMAGE: root::nsIContentPolicy__bindgen_ty_1 = 3; - pub const nsIContentPolicy_TYPE_STYLESHEET: root::nsIContentPolicy__bindgen_ty_1 = 4; - pub const nsIContentPolicy_TYPE_OBJECT: root::nsIContentPolicy__bindgen_ty_1 = 5; - pub const nsIContentPolicy_TYPE_DOCUMENT: root::nsIContentPolicy__bindgen_ty_1 = 6; - pub const nsIContentPolicy_TYPE_SUBDOCUMENT: root::nsIContentPolicy__bindgen_ty_1 = 7; - pub const nsIContentPolicy_TYPE_REFRESH: root::nsIContentPolicy__bindgen_ty_1 = 8; - pub const nsIContentPolicy_TYPE_XBL: root::nsIContentPolicy__bindgen_ty_1 = 9; - pub const nsIContentPolicy_TYPE_PING: root::nsIContentPolicy__bindgen_ty_1 = 10; - pub const nsIContentPolicy_TYPE_XMLHTTPREQUEST: root::nsIContentPolicy__bindgen_ty_1 = 11; - pub const nsIContentPolicy_TYPE_DATAREQUEST: root::nsIContentPolicy__bindgen_ty_1 = 11; - pub const nsIContentPolicy_TYPE_OBJECT_SUBREQUEST: root::nsIContentPolicy__bindgen_ty_1 = 12; - pub const nsIContentPolicy_TYPE_DTD: root::nsIContentPolicy__bindgen_ty_1 = 13; - pub const nsIContentPolicy_TYPE_FONT: root::nsIContentPolicy__bindgen_ty_1 = 14; - pub const nsIContentPolicy_TYPE_MEDIA: root::nsIContentPolicy__bindgen_ty_1 = 15; - pub const nsIContentPolicy_TYPE_WEBSOCKET: root::nsIContentPolicy__bindgen_ty_1 = 16; - pub const nsIContentPolicy_TYPE_CSP_REPORT: root::nsIContentPolicy__bindgen_ty_1 = 17; - pub const nsIContentPolicy_TYPE_XSLT: root::nsIContentPolicy__bindgen_ty_1 = 18; - pub const nsIContentPolicy_TYPE_BEACON: root::nsIContentPolicy__bindgen_ty_1 = 19; - pub const nsIContentPolicy_TYPE_FETCH: root::nsIContentPolicy__bindgen_ty_1 = 20; - pub const nsIContentPolicy_TYPE_IMAGESET: root::nsIContentPolicy__bindgen_ty_1 = 21; - pub const nsIContentPolicy_TYPE_WEB_MANIFEST: root::nsIContentPolicy__bindgen_ty_1 = 22; - pub const nsIContentPolicy_TYPE_INTERNAL_SCRIPT: root::nsIContentPolicy__bindgen_ty_1 = 23; - pub const nsIContentPolicy_TYPE_INTERNAL_WORKER: root::nsIContentPolicy__bindgen_ty_1 = 24; - pub const nsIContentPolicy_TYPE_INTERNAL_SHARED_WORKER: root::nsIContentPolicy__bindgen_ty_1 = - 25; - pub const nsIContentPolicy_TYPE_INTERNAL_EMBED: root::nsIContentPolicy__bindgen_ty_1 = 26; - pub const nsIContentPolicy_TYPE_INTERNAL_OBJECT: root::nsIContentPolicy__bindgen_ty_1 = 27; - pub const nsIContentPolicy_TYPE_INTERNAL_FRAME: root::nsIContentPolicy__bindgen_ty_1 = 28; - pub const nsIContentPolicy_TYPE_INTERNAL_IFRAME: root::nsIContentPolicy__bindgen_ty_1 = 29; - pub const nsIContentPolicy_TYPE_INTERNAL_AUDIO: root::nsIContentPolicy__bindgen_ty_1 = 30; - pub const nsIContentPolicy_TYPE_INTERNAL_VIDEO: root::nsIContentPolicy__bindgen_ty_1 = 31; - pub const nsIContentPolicy_TYPE_INTERNAL_TRACK: root::nsIContentPolicy__bindgen_ty_1 = 32; - pub const nsIContentPolicy_TYPE_INTERNAL_XMLHTTPREQUEST: root::nsIContentPolicy__bindgen_ty_1 = - 33; - pub const nsIContentPolicy_TYPE_INTERNAL_EVENTSOURCE: root::nsIContentPolicy__bindgen_ty_1 = 34; - pub const nsIContentPolicy_TYPE_INTERNAL_SERVICE_WORKER: root::nsIContentPolicy__bindgen_ty_1 = - 35; - pub const nsIContentPolicy_TYPE_INTERNAL_SCRIPT_PRELOAD: root::nsIContentPolicy__bindgen_ty_1 = - 36; - pub const nsIContentPolicy_TYPE_INTERNAL_IMAGE: root::nsIContentPolicy__bindgen_ty_1 = 37; - pub const nsIContentPolicy_TYPE_INTERNAL_IMAGE_PRELOAD: root::nsIContentPolicy__bindgen_ty_1 = - 38; - pub const nsIContentPolicy_TYPE_INTERNAL_STYLESHEET: root::nsIContentPolicy__bindgen_ty_1 = 39; - pub const nsIContentPolicy_TYPE_INTERNAL_STYLESHEET_PRELOAD: - root::nsIContentPolicy__bindgen_ty_1 = 40; - pub const nsIContentPolicy_TYPE_INTERNAL_IMAGE_FAVICON: root::nsIContentPolicy__bindgen_ty_1 = - 41; - pub const nsIContentPolicy_TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS: - root::nsIContentPolicy__bindgen_ty_1 = 42; - pub const nsIContentPolicy_TYPE_SAVEAS_DOWNLOAD: root::nsIContentPolicy__bindgen_ty_1 = 43; - pub const nsIContentPolicy_TYPE_SPECULATIVE: root::nsIContentPolicy__bindgen_ty_1 = 44; - pub const nsIContentPolicy_REJECT_REQUEST: root::nsIContentPolicy__bindgen_ty_1 = -1; - pub const nsIContentPolicy_REJECT_TYPE: root::nsIContentPolicy__bindgen_ty_1 = -2; - pub const nsIContentPolicy_REJECT_SERVER: root::nsIContentPolicy__bindgen_ty_1 = -3; - pub const nsIContentPolicy_REJECT_OTHER: root::nsIContentPolicy__bindgen_ty_1 = -4; - pub const nsIContentPolicy_ACCEPT: root::nsIContentPolicy__bindgen_ty_1 = 1; - pub type nsIContentPolicy__bindgen_ty_1 = i32; - #[test] - fn bindgen_test_layout_nsIContentPolicy() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIContentPolicy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIContentPolicy)) - ); - } - impl Clone for nsIContentPolicy { - fn clone(&self) -> Self { - *self - } - } - /// Base class that implements parts shared by JSErrorReport and - /// JSErrorNotes::Note. - #[repr(C)] - #[derive(Debug)] - pub struct JSErrorBase { - pub message_: root::JS::ConstUTF8CharsZ, - pub filename: *const ::std::os::raw::c_char, - pub lineno: ::std::os::raw::c_uint, - pub column: ::std::os::raw::c_uint, - pub errorNumber: ::std::os::raw::c_uint, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 1usize], u8>, - pub __bindgen_padding_0: [u8; 3usize], - } - #[test] - fn bindgen_test_layout_JSErrorBase() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(JSErrorBase)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(JSErrorBase)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).message_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(JSErrorBase), - "::", - stringify!(message_) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).filename as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(JSErrorBase), - "::", - stringify!(filename) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).lineno as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(JSErrorBase), - "::", - stringify!(lineno) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).column as *const _ as usize }, - 20usize, - concat!( - "Offset of field: ", - stringify!(JSErrorBase), - "::", - stringify!(column) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).errorNumber as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(JSErrorBase), - "::", - stringify!(errorNumber) - ) - ); - } - impl JSErrorBase { - #[inline] - pub fn ownsMessage_(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) } - } - #[inline] - pub fn set_ownsMessage_(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1(ownsMessage_: bool) -> root::__BindgenBitfieldUnit<[u8; 1usize], u8> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 1usize], - u8, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 1u8, { - let ownsMessage_: u8 = unsafe { ::std::mem::transmute(ownsMessage_) }; - ownsMessage_ as u64 - }); - __bindgen_bitfield_unit - } - } - /// Notes associated with JSErrorReport. - #[repr(C)] - #[derive(Debug)] - pub struct JSErrorNotes { - pub notes_: [u64; 4usize], - } - #[repr(C)] - #[derive(Debug)] - pub struct JSErrorNotes_Note { - pub _base: root::JSErrorBase, - } - #[test] - fn bindgen_test_layout_JSErrorNotes_Note() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(JSErrorNotes_Note)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(JSErrorNotes_Note)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct JSErrorNotes_iterator { - pub note_: *mut root::mozilla::UniquePtr, - } - #[test] - fn bindgen_test_layout_JSErrorNotes_iterator() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(JSErrorNotes_iterator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(JSErrorNotes_iterator)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).note_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(JSErrorNotes_iterator), - "::", - stringify!(note_) - ) - ); - } - #[test] - fn bindgen_test_layout_JSErrorNotes() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(JSErrorNotes)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(JSErrorNotes)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).notes_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(JSErrorNotes), - "::", - stringify!(notes_) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ProfilerBacktrace { - _unused: [u8; 0], - } - impl Clone for ProfilerBacktrace { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ProfilerMarkerPayload { - _unused: [u8; 0], - } - impl Clone for ProfilerMarkerPayload { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ProfilerBacktraceDestructor { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_ProfilerBacktraceDestructor() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(ProfilerBacktraceDestructor)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(ProfilerBacktraceDestructor)) - ); - } - impl Clone for ProfilerBacktraceDestructor { - fn clone(&self) -> Self { - *self - } - } - pub type UniqueProfilerBacktrace = root::mozilla::UniquePtr; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDocShell { - _unused: [u8; 0], - } - impl Clone for nsIDocShell { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIScriptSecurityManager { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIScriptSecurityManager_COMTypeInfo { - pub _address: u8, - } - pub const nsIScriptSecurityManager_STANDARD: root::nsIScriptSecurityManager__bindgen_ty_1 = 0; - pub const nsIScriptSecurityManager_LOAD_IS_AUTOMATIC_DOCUMENT_REPLACEMENT: - root::nsIScriptSecurityManager__bindgen_ty_1 = 1; - pub const nsIScriptSecurityManager_ALLOW_CHROME: root::nsIScriptSecurityManager__bindgen_ty_1 = - 2; - pub const nsIScriptSecurityManager_DISALLOW_INHERIT_PRINCIPAL: - root::nsIScriptSecurityManager__bindgen_ty_1 = 4; - pub const nsIScriptSecurityManager_DISALLOW_SCRIPT_OR_DATA: - root::nsIScriptSecurityManager__bindgen_ty_1 = 4; - pub const nsIScriptSecurityManager_DISALLOW_SCRIPT: - root::nsIScriptSecurityManager__bindgen_ty_1 = 8; - pub const nsIScriptSecurityManager_DONT_REPORT_ERRORS: - root::nsIScriptSecurityManager__bindgen_ty_1 = 16; - pub type nsIScriptSecurityManager__bindgen_ty_1 = u32; - pub const nsIScriptSecurityManager_NO_APP_ID: root::nsIScriptSecurityManager__bindgen_ty_2 = 0; - pub const nsIScriptSecurityManager_UNKNOWN_APP_ID: - root::nsIScriptSecurityManager__bindgen_ty_2 = 4294967295; - pub const nsIScriptSecurityManager_DEFAULT_USER_CONTEXT_ID: - root::nsIScriptSecurityManager__bindgen_ty_2 = 0; - pub type nsIScriptSecurityManager__bindgen_ty_2 = u32; - #[test] - fn bindgen_test_layout_nsIScriptSecurityManager() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIScriptSecurityManager)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIScriptSecurityManager)) - ); - } - impl Clone for nsIScriptSecurityManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIChannel { - pub _base: root::nsIRequest, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIChannel_COMTypeInfo { - pub _address: u8, - } - pub const nsIChannel_LOAD_DOCUMENT_URI: root::nsIChannel__bindgen_ty_1 = 65536; - pub const nsIChannel_LOAD_RETARGETED_DOCUMENT_URI: root::nsIChannel__bindgen_ty_1 = 131072; - pub const nsIChannel_LOAD_REPLACE: root::nsIChannel__bindgen_ty_1 = 262144; - pub const nsIChannel_LOAD_INITIAL_DOCUMENT_URI: root::nsIChannel__bindgen_ty_1 = 524288; - pub const nsIChannel_LOAD_TARGETED: root::nsIChannel__bindgen_ty_1 = 1048576; - pub const nsIChannel_LOAD_CALL_CONTENT_SNIFFERS: root::nsIChannel__bindgen_ty_1 = 2097152; - pub const nsIChannel_LOAD_CLASSIFY_URI: root::nsIChannel__bindgen_ty_1 = 4194304; - pub const nsIChannel_LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE: root::nsIChannel__bindgen_ty_1 = - 8388608; - pub const nsIChannel_LOAD_EXPLICIT_CREDENTIALS: root::nsIChannel__bindgen_ty_1 = 16777216; - pub const nsIChannel_LOAD_BYPASS_SERVICE_WORKER: root::nsIChannel__bindgen_ty_1 = 33554432; - pub type nsIChannel__bindgen_ty_1 = u32; - pub const nsIChannel_DISPOSITION_INLINE: root::nsIChannel__bindgen_ty_2 = 0; - pub const nsIChannel_DISPOSITION_ATTACHMENT: root::nsIChannel__bindgen_ty_2 = 1; - pub type nsIChannel__bindgen_ty_2 = u32; - #[test] - fn bindgen_test_layout_nsIChannel() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIChannel)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIChannel)) - ); - } - impl Clone for nsIChannel { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct ProxyBehaviour { - _unused: [u8; 0], - } - impl Clone for ProxyBehaviour { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct imgRequestProxy { - pub _base: root::imgIRequest, - pub _base_1: root::mozilla::image::IProgressObserver, - pub _base_2: root::nsISupportsPriority, - pub _base_3: root::nsISecurityInfoProvider, - pub _base_4: root::nsITimedChannel, - pub mRefCnt: root::nsAutoRefCnt, - pub mBehaviour: root::mozilla::UniquePtr, - pub mURI: root::RefPtr, - pub mListener: *mut root::imgINotificationObserver, - pub mLoadGroup: root::nsCOMPtr, - pub mTabGroup: root::RefPtr, - pub mEventTarget: root::nsCOMPtr, - pub mLoadFlags: root::nsLoadFlags, - pub mLockCount: u32, - pub mAnimationConsumers: u32, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 2usize], u8>, - pub __bindgen_padding_0: u16, - } - pub type imgRequestProxy_Image = root::mozilla::image::Image; - pub type imgRequestProxy_ImageURL = root::mozilla::image::ImageURL; - pub type imgRequestProxy_ProgressTracker = root::mozilla::image::ProgressTracker; - pub type imgRequestProxy_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug)] - pub struct imgRequestProxy_imgCancelRunnable { - pub _base: root::mozilla::Runnable, - pub mOwner: root::RefPtr, - pub mStatus: root::nsresult, - } - #[test] - fn bindgen_test_layout_imgRequestProxy_imgCancelRunnable() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(imgRequestProxy_imgCancelRunnable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(imgRequestProxy_imgCancelRunnable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOwner as *const _ - as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(imgRequestProxy_imgCancelRunnable), - "::", - stringify!(mOwner) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStatus as *const _ - as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(imgRequestProxy_imgCancelRunnable), - "::", - stringify!(mStatus) - ) - ); - } - #[test] - fn bindgen_test_layout_imgRequestProxy() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(imgRequestProxy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(imgRequestProxy)) - ); - } - impl imgRequestProxy { - #[inline] - pub fn mCanceled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) } - } - #[inline] - pub fn set_mCanceled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsInLoadGroup(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsInLoadGroup(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(1usize, 1u8, val as u64) - } - } - #[inline] - pub fn mForceDispatchLoadGroup(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) } - } - #[inline] - pub fn set_mForceDispatchLoadGroup(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(2usize, 1u8, val as u64) - } - } - #[inline] - pub fn mListenerIsStrongRef(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) } - } - #[inline] - pub fn set_mListenerIsStrongRef(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(3usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDecodeRequested(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDecodeRequested(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPendingNotify(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) } - } - #[inline] - pub fn set_mPendingNotify(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(5usize, 1u8, val as u64) - } - } - #[inline] - pub fn mValidating(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) } - } - #[inline] - pub fn set_mValidating(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(6usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHadListener(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHadListener(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(7usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHadDispatch(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHadDispatch(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(8usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mCanceled: bool, - mIsInLoadGroup: bool, - mForceDispatchLoadGroup: bool, - mListenerIsStrongRef: bool, - mDecodeRequested: bool, - mPendingNotify: bool, - mValidating: bool, - mHadListener: bool, - mHadDispatch: bool, - ) -> root::__BindgenBitfieldUnit<[u8; 2usize], u8> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 2usize], - u8, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 1u8, { - let mCanceled: u8 = unsafe { ::std::mem::transmute(mCanceled) }; - mCanceled as u64 - }); - __bindgen_bitfield_unit.set(1usize, 1u8, { - let mIsInLoadGroup: u8 = unsafe { ::std::mem::transmute(mIsInLoadGroup) }; - mIsInLoadGroup as u64 - }); - __bindgen_bitfield_unit.set(2usize, 1u8, { - let mForceDispatchLoadGroup: u8 = - unsafe { ::std::mem::transmute(mForceDispatchLoadGroup) }; - mForceDispatchLoadGroup as u64 - }); - __bindgen_bitfield_unit.set(3usize, 1u8, { - let mListenerIsStrongRef: u8 = - unsafe { ::std::mem::transmute(mListenerIsStrongRef) }; - mListenerIsStrongRef as u64 - }); - __bindgen_bitfield_unit.set(4usize, 1u8, { - let mDecodeRequested: u8 = unsafe { ::std::mem::transmute(mDecodeRequested) }; - mDecodeRequested as u64 - }); - __bindgen_bitfield_unit.set(5usize, 1u8, { - let mPendingNotify: u8 = unsafe { ::std::mem::transmute(mPendingNotify) }; - mPendingNotify as u64 - }); - __bindgen_bitfield_unit.set(6usize, 1u8, { - let mValidating: u8 = unsafe { ::std::mem::transmute(mValidating) }; - mValidating as u64 - }); - __bindgen_bitfield_unit.set(7usize, 1u8, { - let mHadListener: u8 = unsafe { ::std::mem::transmute(mHadListener) }; - mHadListener as u64 - }); - __bindgen_bitfield_unit.set(8usize, 1u8, { - let mHadDispatch: u8 = unsafe { ::std::mem::transmute(mHadDispatch) }; - mHadDispatch as u64 - }); - __bindgen_bitfield_unit - } - } - /// templated hashtable class maps keys to simple datatypes. - /// See nsBaseHashtable for complete declaration - /// @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h - /// for a complete specification. - /// @param DataType the simple datatype being wrapped - /// @see nsInterfaceHashtable, nsClassHashtable - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsDataHashtable { - pub _address: u8, - } - pub type nsDataHashtable_BaseClass = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIFrame { - _unused: [u8; 0], - } - impl Clone for nsIFrame { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct nsStyleFont { - pub mFont: root::nsFont, - pub mSize: root::nscoord, - pub mFontSizeFactor: f32, - pub mFontSizeOffset: root::nscoord, - pub mFontSizeKeyword: u8, - pub mGenericID: u8, - pub mScriptLevel: i8, - pub mMathVariant: u8, - pub mMathDisplay: u8, - pub mMinFontSizeRatio: u8, - pub mExplicitLanguage: bool, - pub mAllowZoom: bool, - pub mScriptUnconstrainedSize: root::nscoord, - pub mScriptMinSize: root::nscoord, - pub mScriptSizeMultiplier: f32, - pub mLanguage: root::RefPtr, - } - pub const nsStyleFont_kHasFinishStyle: bool = false; - #[test] - fn bindgen_test_layout_nsStyleFont() { - assert_eq!( - ::std::mem::size_of::(), - 136usize, - concat!("Size of: ", stringify!(nsStyleFont)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleFont)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFont as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mFont) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSize as *const _ as usize }, - 96usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mSize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFontSizeFactor as *const _ as usize }, - 100usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mFontSizeFactor) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFontSizeOffset as *const _ as usize }, - 104usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mFontSizeOffset) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeKeyword as *const _ as usize - }, - 108usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mFontSizeKeyword) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mGenericID as *const _ as usize }, - 109usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mGenericID) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mScriptLevel as *const _ as usize }, - 110usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mScriptLevel) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMathVariant as *const _ as usize }, - 111usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mMathVariant) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMathDisplay as *const _ as usize }, - 112usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mMathDisplay) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMinFontSizeRatio as *const _ as usize - }, - 113usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mMinFontSizeRatio) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mExplicitLanguage as *const _ as usize - }, - 114usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mExplicitLanguage) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mAllowZoom as *const _ as usize }, - 115usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mAllowZoom) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScriptUnconstrainedSize as *const _ - as usize - }, - 116usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mScriptUnconstrainedSize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mScriptMinSize as *const _ as usize }, - 120usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mScriptMinSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScriptSizeMultiplier as *const _ as usize - }, - 124usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mScriptSizeMultiplier) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLanguage as *const _ as usize }, - 128usize, - concat!( - "Offset of field: ", - stringify!(nsStyleFont), - "::", - stringify!(mLanguage) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsStyleGradientStop { - pub mLocation: root::nsStyleCoord, - pub mColor: root::nscolor, - pub mIsInterpolationHint: bool, - } - #[test] - fn bindgen_test_layout_nsStyleGradientStop() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsStyleGradientStop)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleGradientStop)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLocation as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradientStop), - "::", - stringify!(mLocation) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mColor as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradientStop), - "::", - stringify!(mColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsInterpolationHint as *const _ - as usize - }, - 20usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradientStop), - "::", - stringify!(mIsInterpolationHint) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsStyleGradient { - pub mShape: u8, - pub mSize: u8, - pub mRepeating: bool, - pub mLegacySyntax: bool, - pub mMozLegacySyntax: bool, - pub mBgPosX: root::nsStyleCoord, - pub mBgPosY: root::nsStyleCoord, - pub mAngle: root::nsStyleCoord, - pub mRadiusX: root::nsStyleCoord, - pub mRadiusY: root::nsStyleCoord, - pub mStops: root::nsTArray, - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - } - pub type nsStyleGradient_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_nsStyleGradient() { - assert_eq!( - ::std::mem::size_of::(), - 104usize, - concat!("Size of: ", stringify!(nsStyleGradient)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleGradient)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mShape as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mShape) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSize as *const _ as usize }, - 1usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mSize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRepeating as *const _ as usize }, - 2usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mRepeating) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLegacySyntax as *const _ as usize - }, - 3usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mLegacySyntax) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMozLegacySyntax as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mMozLegacySyntax) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBgPosX as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mBgPosX) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBgPosY as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mBgPosY) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mAngle as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mAngle) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRadiusX as *const _ as usize }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mRadiusX) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRadiusY as *const _ as usize }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mRadiusY) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStops as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mStops) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 96usize, - concat!( - "Offset of field: ", - stringify!(nsStyleGradient), - "::", - stringify!(mRefCnt) - ) - ); - } - /// A wrapper for an imgRequestProxy that supports off-main-thread creation - /// and equality comparison. - /// - /// An nsStyleImageRequest can be created in two ways: - /// - /// 1. Using the constructor that takes an imgRequestProxy. This must - /// be called from the main thread. The nsStyleImageRequest is - /// immediately considered "resolved", and the get() method that - /// returns the imgRequestProxy can be called. - /// - /// 2. Using the constructor that takes the URL, base URI, referrer - /// and principal that can be used to inititiate an image load and - /// produce an imgRequestProxy later. This can be called from - /// any thread. The nsStyleImageRequest is not considered "resolved" - /// at this point, and the Resolve() method must be called later - /// to initiate the image load and make calls to get() valid. - /// - /// Calls to TrackImage(), UntrackImage(), LockImage(), UnlockImage() and - /// RequestDiscard() are made to the imgRequestProxy and ImageTracker as - /// appropriate, according to the mode flags passed in to the constructor. - /// - /// The main thread constructor takes a pointer to the css::ImageValue that - /// is the specified url() value, while the off-main-thread constructor - /// creates a new css::ImageValue to represent the url() information passed - /// to the constructor. This ImageValue is held on to for the comparisons done - /// in DefinitelyEquals(), so that we don't need to call into the non-OMT-safe - /// Equals() on the nsIURI objects returned from imgRequestProxy::GetURI(). - #[repr(C)] - pub struct nsStyleImageRequest { - pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, - pub mRequestProxy: root::RefPtr, - pub mImageValue: root::RefPtr, - pub mImageTracker: root::RefPtr, - pub mDocGroup: root::RefPtr, - pub mModeFlags: root::nsStyleImageRequest_Mode, - pub mResolved: bool, - } - pub type nsStyleImageRequest_URLValueData = root::mozilla::css::URLValueData; - pub const nsStyleImageRequest_Mode_Track: root::nsStyleImageRequest_Mode = 1; - pub const nsStyleImageRequest_Mode_Discard: root::nsStyleImageRequest_Mode = 2; - pub type nsStyleImageRequest_Mode = u8; - pub type nsStyleImageRequest_HasThreadSafeRefCnt = root::mozilla::TrueType; - #[test] - fn bindgen_test_layout_nsStyleImageRequest() { - assert_eq!( - ::std::mem::size_of::(), - 48usize, - concat!("Size of: ", stringify!(nsStyleImageRequest)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyleImageRequest)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRequestProxy as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mRequestProxy) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImageValue as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mImageValue) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImageTracker as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mImageTracker) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocGroup as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mDocGroup) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mModeFlags as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mModeFlags) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mResolved as *const _ as usize - }, - 41usize, - concat!( - "Offset of field: ", - stringify!(nsStyleImageRequest), - "::", - stringify!(mResolved) - ) - ); - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsStyleImageType { - eStyleImageType_Null = 0, - eStyleImageType_Image = 1, - eStyleImageType_Gradient = 2, - eStyleImageType_Element = 3, - eStyleImageType_URL = 4, - } - #[repr(C)] - #[derive(Debug)] - pub struct CachedBorderImageData { - pub mCachedSVGViewportSize: [u32; 3usize], - pub mSubImages: root::nsCOMArray, - } - #[test] - fn bindgen_test_layout_CachedBorderImageData() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(CachedBorderImageData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CachedBorderImageData)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCachedSVGViewportSize as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CachedBorderImageData), - "::", - stringify!(mCachedSVGViewportSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSubImages as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(CachedBorderImageData), - "::", - stringify!(mSubImages) - ) - ); - } - /// 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 ,
- #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsPoint { - pub x: root::nscoord, - pub y: root::nscoord, - } - #[test] - fn bindgen_test_layout_nsPoint() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsPoint)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsPoint)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).x as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsPoint), - "::", - stringify!(x) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).y as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsPoint), - "::", - stringify!(y) - ) - ); - } - impl Clone for nsPoint { - fn clone(&self) -> Self { - *self - } - } - ///
- #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsMargin { - pub top: root::nscoord, - pub right: root::nscoord, - pub bottom: root::nscoord, - pub left: root::nscoord, - } - #[test] - fn bindgen_test_layout_nsMargin() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsMargin)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsMargin)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).top as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsMargin), - "::", - stringify!(top) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).right as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsMargin), - "::", - stringify!(right) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).bottom as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsMargin), - "::", - stringify!(bottom) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).left as *const _ as usize }, - 12usize, - concat!( - "Offset of field: ", - stringify!(nsMargin), - "::", - stringify!(left) - ) - ); - } - impl Clone for nsMargin { - fn clone(&self) -> Self { - *self - } - } - ///
- #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsRect { - pub x: root::nscoord, - pub y: root::nscoord, - pub width: root::nscoord, - pub height: root::nscoord, - } - #[test] - fn bindgen_test_layout_nsRect() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsRect)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsRect)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).x as *const _ as usize }, - 0usize, - concat!("Offset of field: ", stringify!(nsRect), "::", stringify!(x)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).y as *const _ as usize }, - 4usize, - concat!("Offset of field: ", stringify!(nsRect), "::", stringify!(y)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).width as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsRect), - "::", - stringify!(width) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).height as *const _ as usize }, - 12usize, - concat!( - "Offset of field: ", - stringify!(nsRect), - "::", - stringify!(height) - ) - ); - } - impl Clone for nsRect { - fn clone(&self) -> Self { - *self - } - } - ///
- #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsSize { - pub width: root::nscoord, - pub height: root::nscoord, - } - #[test] - fn bindgen_test_layout_nsSize() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsSize)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsSize)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).width as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsSize), - "::", - stringify!(width) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).height as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsSize), - "::", - stringify!(height) - ) - ); - } - impl Clone for nsSize { - fn clone(&self) -> Self { - *self - } - } - ///
- #[repr(C)] - #[derive(Debug)] - pub struct nsTArray { - pub mBuffer: *mut T, - pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell>, - } - ///
- /// - /// mozilla::ArrayIterator doesn't work well with bindgen. - #[repr(C)] - #[derive(Debug)] - pub struct nsCOMArray { - pub mBuffer: root::nsTArray<*mut root::nsISupports>, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoAuthorStyles { - _unused: [u8; 0], - } - impl Clone for RawServoAuthorStyles { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoStyleSet { - _unused: [u8; 0], - } - impl Clone for RawServoStyleSet { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoSelectorList { - _unused: [u8; 0], - } - impl Clone for RawServoSelectorList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoSourceSizeList { - _unused: [u8; 0], - } - impl Clone for RawServoSourceSizeList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoStyleSheetContents { - _unused: [u8; 0], - } - impl Clone for RawServoStyleSheetContents { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoDeclarationBlock { - _unused: [u8; 0], - } - impl Clone for RawServoDeclarationBlock { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoStyleRule { - _unused: [u8; 0], - } - impl Clone for RawServoStyleRule { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoAnimationValue { - _unused: [u8; 0], - } - impl Clone for RawServoAnimationValue { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoMediaList { - _unused: [u8; 0], - } - impl Clone for RawServoMediaList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct RawServoFontFaceRule { - _unused: [u8; 0], - } - impl Clone for RawServoFontFaceRule { - fn clone(&self) -> Self { - *self - } - } - pub mod nsStyleTransformMatrix { - #[allow(unused_imports)] - use self::super::super::root; - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum MatrixTransformOperator { - Interpolate = 0, - Accumulate = 1, - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCSSPropertyIDSet { - _unused: [u8; 0], - } - impl Clone for nsCSSPropertyIDSet { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsSimpleContentList { - _unused: [u8; 0], - } - impl Clone for nsSimpleContentList { - fn clone(&self) -> Self { - *self - } - } - pub type RawGeckoNode = root::nsINode; - pub type RawGeckoElement = root::mozilla::dom::Element; - pub type RawGeckoDocument = root::nsIDocument; - pub type RawGeckoPresContext = root::nsPresContext; - pub type RawGeckoXBLBinding = root::nsXBLBinding; - pub type RawGeckoURLExtraData = root::mozilla::URLExtraData; - pub type RawGeckoServoAnimationValueList = - root::nsTArray>; - pub type RawGeckoKeyframeList = root::nsTArray; - pub type RawGeckoPropertyValuePairList = root::nsTArray; - pub type RawGeckoComputedKeyframeValuesList = - root::nsTArray; - pub type RawGeckoStyleAnimationList = root::nsStyleAutoArray; - pub type RawGeckoFontFaceRuleList = root::nsTArray; - pub type RawGeckoAnimationPropertySegment = root::mozilla::AnimationPropertySegment; - pub type RawGeckoComputedTiming = root::mozilla::ComputedTiming; - pub type RawGeckoServoStyleRuleList = root::nsTArray<*const root::RawServoStyleRule>; - pub type RawGeckoCSSPropertyIDList = root::nsTArray; - pub type RawGeckoGfxMatrix4x4 = [root::mozilla::gfx::Float; 16usize]; - pub type RawGeckoStyleChildrenIterator = root::mozilla::dom::StyleChildrenIterator; - pub type ComputedStyleBorrowed = *const root::mozilla::ComputedStyle; - pub type ComputedStyleBorrowedOrNull = *const root::mozilla::ComputedStyle; - pub type ServoComputedDataBorrowed = *const root::ServoComputedData; - pub type RawGeckoNodeBorrowed = *const root::RawGeckoNode; - pub type RawGeckoNodeBorrowedOrNull = *const root::RawGeckoNode; - pub type RawGeckoElementBorrowed = *const root::RawGeckoElement; - pub type RawGeckoElementBorrowedOrNull = *const root::RawGeckoElement; - pub type RawGeckoDocumentBorrowed = *const root::RawGeckoDocument; - pub type RawGeckoDocumentBorrowedOrNull = *const root::RawGeckoDocument; - pub type RawGeckoXBLBindingBorrowed = *const root::RawGeckoXBLBinding; - pub type RawGeckoXBLBindingBorrowedOrNull = *const root::RawGeckoXBLBinding; - pub type RawGeckoPresContextOwned = *mut root::RawGeckoPresContext; - pub type RawGeckoPresContextBorrowed = *const root::RawGeckoPresContext; - pub type RawGeckoPresContextBorrowedMut = *mut root::RawGeckoPresContext; - pub type RawGeckoServoAnimationValueListBorrowedMut = - *mut root::RawGeckoServoAnimationValueList; - pub type RawGeckoServoAnimationValueListBorrowed = *const root::RawGeckoServoAnimationValueList; - pub type RawGeckoKeyframeListBorrowedMut = *mut root::RawGeckoKeyframeList; - pub type RawGeckoKeyframeListBorrowed = *const root::RawGeckoKeyframeList; - pub type RawGeckoPropertyValuePairListBorrowedMut = *mut root::RawGeckoPropertyValuePairList; - pub type RawGeckoPropertyValuePairListBorrowed = *const root::RawGeckoPropertyValuePairList; - pub type RawGeckoComputedKeyframeValuesListBorrowedMut = - *mut root::RawGeckoComputedKeyframeValuesList; - pub type RawGeckoStyleAnimationListBorrowedMut = *mut root::RawGeckoStyleAnimationList; - pub type RawGeckoStyleAnimationListBorrowed = *const root::RawGeckoStyleAnimationList; - pub type RawGeckoFontFaceRuleListBorrowedMut = *mut root::RawGeckoFontFaceRuleList; - pub type RawGeckoAnimationPropertySegmentBorrowed = - *const root::RawGeckoAnimationPropertySegment; - pub type RawGeckoComputedTimingBorrowed = *const root::RawGeckoComputedTiming; - pub type RawGeckoServoStyleRuleListBorrowedMut = *mut root::RawGeckoServoStyleRuleList; - pub type RawGeckoCSSPropertyIDListBorrowed = *const root::RawGeckoCSSPropertyIDList; - pub type RawGeckoStyleChildrenIteratorBorrowedMut = *mut root::RawGeckoStyleChildrenIterator; - #[repr(C)] - #[derive(Debug)] - pub struct nsFontFaceRuleContainer { - pub mRule: root::RefPtr, - pub mSheetType: root::mozilla::SheetType, - } - #[test] - fn bindgen_test_layout_nsFontFaceRuleContainer() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsFontFaceRuleContainer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsFontFaceRuleContainer)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRule as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsFontFaceRuleContainer), - "::", - stringify!(mRule) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSheetType as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsFontFaceRuleContainer), - "::", - stringify!(mSheetType) - ) - ); - } - pub type gfxSize = [u64; 2usize]; - pub const ThemeWidgetType_NS_THEME_NONE: root::ThemeWidgetType = 0; - pub const ThemeWidgetType_NS_THEME_BUTTON: root::ThemeWidgetType = 1; - pub const ThemeWidgetType_NS_THEME_RADIO: root::ThemeWidgetType = 2; - pub const ThemeWidgetType_NS_THEME_CHECKBOX: root::ThemeWidgetType = 3; - pub const ThemeWidgetType_NS_THEME_BUTTON_BEVEL: root::ThemeWidgetType = 4; - pub const ThemeWidgetType_NS_THEME_FOCUS_OUTLINE: root::ThemeWidgetType = 5; - pub const ThemeWidgetType_NS_THEME_TOOLBOX: root::ThemeWidgetType = 6; - pub const ThemeWidgetType_NS_THEME_TOOLBAR: root::ThemeWidgetType = 7; - pub const ThemeWidgetType_NS_THEME_TOOLBARBUTTON: root::ThemeWidgetType = 8; - pub const ThemeWidgetType_NS_THEME_DUALBUTTON: root::ThemeWidgetType = 9; - pub const ThemeWidgetType_NS_THEME_TOOLBARBUTTON_DROPDOWN: root::ThemeWidgetType = 10; - pub const ThemeWidgetType_NS_THEME_BUTTON_ARROW_UP: root::ThemeWidgetType = 11; - pub const ThemeWidgetType_NS_THEME_BUTTON_ARROW_DOWN: root::ThemeWidgetType = 12; - pub const ThemeWidgetType_NS_THEME_BUTTON_ARROW_NEXT: root::ThemeWidgetType = 13; - pub const ThemeWidgetType_NS_THEME_BUTTON_ARROW_PREVIOUS: root::ThemeWidgetType = 14; - pub const ThemeWidgetType_NS_THEME_SEPARATOR: root::ThemeWidgetType = 15; - pub const ThemeWidgetType_NS_THEME_TOOLBARGRIPPER: root::ThemeWidgetType = 16; - pub const ThemeWidgetType_NS_THEME_SPLITTER: root::ThemeWidgetType = 17; - pub const ThemeWidgetType_NS_THEME_STATUSBAR: root::ThemeWidgetType = 18; - pub const ThemeWidgetType_NS_THEME_STATUSBARPANEL: root::ThemeWidgetType = 19; - pub const ThemeWidgetType_NS_THEME_RESIZERPANEL: root::ThemeWidgetType = 20; - pub const ThemeWidgetType_NS_THEME_RESIZER: root::ThemeWidgetType = 21; - pub const ThemeWidgetType_NS_THEME_LISTBOX: root::ThemeWidgetType = 22; - pub const ThemeWidgetType_NS_THEME_LISTITEM: root::ThemeWidgetType = 23; - pub const ThemeWidgetType_NS_THEME_TREEVIEW: root::ThemeWidgetType = 24; - pub const ThemeWidgetType_NS_THEME_TREEITEM: root::ThemeWidgetType = 25; - pub const ThemeWidgetType_NS_THEME_TREETWISTY: root::ThemeWidgetType = 26; - pub const ThemeWidgetType_NS_THEME_TREELINE: root::ThemeWidgetType = 27; - pub const ThemeWidgetType_NS_THEME_TREEHEADER: root::ThemeWidgetType = 28; - pub const ThemeWidgetType_NS_THEME_TREEHEADERCELL: root::ThemeWidgetType = 29; - pub const ThemeWidgetType_NS_THEME_TREEHEADERSORTARROW: root::ThemeWidgetType = 30; - pub const ThemeWidgetType_NS_THEME_TREETWISTYOPEN: root::ThemeWidgetType = 31; - pub const ThemeWidgetType_NS_THEME_PROGRESSBAR: root::ThemeWidgetType = 32; - pub const ThemeWidgetType_NS_THEME_PROGRESSCHUNK: root::ThemeWidgetType = 33; - pub const ThemeWidgetType_NS_THEME_PROGRESSBAR_VERTICAL: root::ThemeWidgetType = 34; - pub const ThemeWidgetType_NS_THEME_PROGRESSCHUNK_VERTICAL: root::ThemeWidgetType = 35; - pub const ThemeWidgetType_NS_THEME_METERBAR: root::ThemeWidgetType = 36; - pub const ThemeWidgetType_NS_THEME_METERCHUNK: root::ThemeWidgetType = 37; - pub const ThemeWidgetType_NS_THEME_TAB: root::ThemeWidgetType = 38; - pub const ThemeWidgetType_NS_THEME_TABPANEL: root::ThemeWidgetType = 39; - pub const ThemeWidgetType_NS_THEME_TABPANELS: root::ThemeWidgetType = 40; - pub const ThemeWidgetType_NS_THEME_TAB_SCROLL_ARROW_BACK: root::ThemeWidgetType = 41; - pub const ThemeWidgetType_NS_THEME_TAB_SCROLL_ARROW_FORWARD: root::ThemeWidgetType = 42; - pub const ThemeWidgetType_NS_THEME_TOOLTIP: root::ThemeWidgetType = 43; - pub const ThemeWidgetType_NS_THEME_INNER_SPIN_BUTTON: root::ThemeWidgetType = 44; - pub const ThemeWidgetType_NS_THEME_SPINNER: root::ThemeWidgetType = 45; - pub const ThemeWidgetType_NS_THEME_SPINNER_UPBUTTON: root::ThemeWidgetType = 46; - pub const ThemeWidgetType_NS_THEME_SPINNER_DOWNBUTTON: root::ThemeWidgetType = 47; - pub const ThemeWidgetType_NS_THEME_SPINNER_TEXTFIELD: root::ThemeWidgetType = 48; - pub const ThemeWidgetType_NS_THEME_NUMBER_INPUT: root::ThemeWidgetType = 49; - pub const ThemeWidgetType_NS_THEME_SCROLLBAR: root::ThemeWidgetType = 50; - pub const ThemeWidgetType_NS_THEME_SCROLLBAR_SMALL: root::ThemeWidgetType = 51; - pub const ThemeWidgetType_NS_THEME_SCROLLBAR_HORIZONTAL: root::ThemeWidgetType = 52; - pub const ThemeWidgetType_NS_THEME_SCROLLBAR_VERTICAL: root::ThemeWidgetType = 53; - pub const ThemeWidgetType_NS_THEME_SCROLLBARBUTTON_UP: root::ThemeWidgetType = 54; - pub const ThemeWidgetType_NS_THEME_SCROLLBARBUTTON_DOWN: root::ThemeWidgetType = 55; - pub const ThemeWidgetType_NS_THEME_SCROLLBARBUTTON_LEFT: root::ThemeWidgetType = 56; - pub const ThemeWidgetType_NS_THEME_SCROLLBARBUTTON_RIGHT: root::ThemeWidgetType = 57; - pub const ThemeWidgetType_NS_THEME_SCROLLBARTRACK_HORIZONTAL: root::ThemeWidgetType = 58; - pub const ThemeWidgetType_NS_THEME_SCROLLBARTRACK_VERTICAL: root::ThemeWidgetType = 59; - pub const ThemeWidgetType_NS_THEME_SCROLLBARTHUMB_HORIZONTAL: root::ThemeWidgetType = 60; - pub const ThemeWidgetType_NS_THEME_SCROLLBARTHUMB_VERTICAL: root::ThemeWidgetType = 61; - pub const ThemeWidgetType_NS_THEME_SCROLLBAR_NON_DISAPPEARING: root::ThemeWidgetType = 62; - pub const ThemeWidgetType_NS_THEME_TEXTFIELD: root::ThemeWidgetType = 63; - pub const ThemeWidgetType_NS_THEME_CARET: root::ThemeWidgetType = 64; - pub const ThemeWidgetType_NS_THEME_TEXTFIELD_MULTILINE: root::ThemeWidgetType = 65; - pub const ThemeWidgetType_NS_THEME_SEARCHFIELD: root::ThemeWidgetType = 66; - pub const ThemeWidgetType_NS_THEME_MENULIST: root::ThemeWidgetType = 67; - pub const ThemeWidgetType_NS_THEME_MENULIST_BUTTON: root::ThemeWidgetType = 68; - pub const ThemeWidgetType_NS_THEME_MENULIST_TEXT: root::ThemeWidgetType = 69; - pub const ThemeWidgetType_NS_THEME_MENULIST_TEXTFIELD: root::ThemeWidgetType = 70; - pub const ThemeWidgetType_NS_THEME_SCALE_HORIZONTAL: root::ThemeWidgetType = 71; - pub const ThemeWidgetType_NS_THEME_SCALE_VERTICAL: root::ThemeWidgetType = 72; - pub const ThemeWidgetType_NS_THEME_SCALETHUMB_HORIZONTAL: root::ThemeWidgetType = 73; - pub const ThemeWidgetType_NS_THEME_SCALETHUMB_VERTICAL: root::ThemeWidgetType = 74; - pub const ThemeWidgetType_NS_THEME_SCALETHUMBSTART: root::ThemeWidgetType = 75; - pub const ThemeWidgetType_NS_THEME_SCALETHUMBEND: root::ThemeWidgetType = 76; - pub const ThemeWidgetType_NS_THEME_SCALETHUMBTICK: root::ThemeWidgetType = 77; - pub const ThemeWidgetType_NS_THEME_RANGE: root::ThemeWidgetType = 78; - pub const ThemeWidgetType_NS_THEME_RANGE_THUMB: root::ThemeWidgetType = 79; - pub const ThemeWidgetType_NS_THEME_GROUPBOX: root::ThemeWidgetType = 80; - pub const ThemeWidgetType_NS_THEME_CHECKBOX_CONTAINER: root::ThemeWidgetType = 81; - pub const ThemeWidgetType_NS_THEME_RADIO_CONTAINER: root::ThemeWidgetType = 82; - pub const ThemeWidgetType_NS_THEME_CHECKBOX_LABEL: root::ThemeWidgetType = 83; - pub const ThemeWidgetType_NS_THEME_RADIO_LABEL: root::ThemeWidgetType = 84; - pub const ThemeWidgetType_NS_THEME_BUTTON_FOCUS: root::ThemeWidgetType = 85; - pub const ThemeWidgetType_NS_THEME_WINDOW: root::ThemeWidgetType = 86; - pub const ThemeWidgetType_NS_THEME_DIALOG: root::ThemeWidgetType = 87; - pub const ThemeWidgetType_NS_THEME_MENUBAR: root::ThemeWidgetType = 88; - pub const ThemeWidgetType_NS_THEME_MENUPOPUP: root::ThemeWidgetType = 89; - pub const ThemeWidgetType_NS_THEME_MENUITEM: root::ThemeWidgetType = 90; - pub const ThemeWidgetType_NS_THEME_CHECKMENUITEM: root::ThemeWidgetType = 91; - pub const ThemeWidgetType_NS_THEME_RADIOMENUITEM: root::ThemeWidgetType = 92; - pub const ThemeWidgetType_NS_THEME_MENUCHECKBOX: root::ThemeWidgetType = 93; - pub const ThemeWidgetType_NS_THEME_MENURADIO: root::ThemeWidgetType = 94; - pub const ThemeWidgetType_NS_THEME_MENUSEPARATOR: root::ThemeWidgetType = 95; - pub const ThemeWidgetType_NS_THEME_MENUARROW: root::ThemeWidgetType = 96; - pub const ThemeWidgetType_NS_THEME_MENUIMAGE: root::ThemeWidgetType = 97; - pub const ThemeWidgetType_NS_THEME_MENUITEMTEXT: root::ThemeWidgetType = 98; - pub const ThemeWidgetType_NS_THEME_WIN_COMMUNICATIONS_TOOLBOX: root::ThemeWidgetType = 99; - pub const ThemeWidgetType_NS_THEME_WIN_MEDIA_TOOLBOX: root::ThemeWidgetType = 100; - pub const ThemeWidgetType_NS_THEME_WIN_BROWSERTABBAR_TOOLBOX: root::ThemeWidgetType = 101; - pub const ThemeWidgetType_NS_THEME_MAC_FULLSCREEN_BUTTON: root::ThemeWidgetType = 102; - pub const ThemeWidgetType_NS_THEME_MAC_HELP_BUTTON: root::ThemeWidgetType = 103; - pub const ThemeWidgetType_NS_THEME_WIN_BORDERLESS_GLASS: root::ThemeWidgetType = 104; - pub const ThemeWidgetType_NS_THEME_WIN_GLASS: root::ThemeWidgetType = 105; - pub const ThemeWidgetType_NS_THEME_WINDOW_TITLEBAR: root::ThemeWidgetType = 106; - pub const ThemeWidgetType_NS_THEME_WINDOW_TITLEBAR_MAXIMIZED: root::ThemeWidgetType = 107; - pub const ThemeWidgetType_NS_THEME_WINDOW_FRAME_LEFT: root::ThemeWidgetType = 108; - pub const ThemeWidgetType_NS_THEME_WINDOW_FRAME_RIGHT: root::ThemeWidgetType = 109; - pub const ThemeWidgetType_NS_THEME_WINDOW_FRAME_BOTTOM: root::ThemeWidgetType = 110; - pub const ThemeWidgetType_NS_THEME_WINDOW_BUTTON_CLOSE: root::ThemeWidgetType = 111; - pub const ThemeWidgetType_NS_THEME_WINDOW_BUTTON_MINIMIZE: root::ThemeWidgetType = 112; - pub const ThemeWidgetType_NS_THEME_WINDOW_BUTTON_MAXIMIZE: root::ThemeWidgetType = 113; - pub const ThemeWidgetType_NS_THEME_WINDOW_BUTTON_RESTORE: root::ThemeWidgetType = 114; - pub const ThemeWidgetType_NS_THEME_WINDOW_BUTTON_BOX: root::ThemeWidgetType = 115; - pub const ThemeWidgetType_NS_THEME_WINDOW_BUTTON_BOX_MAXIMIZED: root::ThemeWidgetType = 116; - pub const ThemeWidgetType_NS_THEME_WIN_EXCLUDE_GLASS: root::ThemeWidgetType = 117; - pub const ThemeWidgetType_NS_THEME_MAC_VIBRANCY_LIGHT: root::ThemeWidgetType = 118; - pub const ThemeWidgetType_NS_THEME_MAC_VIBRANCY_DARK: root::ThemeWidgetType = 119; - pub const ThemeWidgetType_NS_THEME_MAC_VIBRANT_TITLEBAR_LIGHT: root::ThemeWidgetType = 120; - pub const ThemeWidgetType_NS_THEME_MAC_VIBRANT_TITLEBAR_DARK: root::ThemeWidgetType = 121; - pub const ThemeWidgetType_NS_THEME_MAC_DISCLOSURE_BUTTON_OPEN: root::ThemeWidgetType = 122; - pub const ThemeWidgetType_NS_THEME_MAC_DISCLOSURE_BUTTON_CLOSED: root::ThemeWidgetType = 123; - pub const ThemeWidgetType_NS_THEME_GTK_INFO_BAR: root::ThemeWidgetType = 124; - pub const ThemeWidgetType_NS_THEME_MAC_SOURCE_LIST: root::ThemeWidgetType = 125; - pub const ThemeWidgetType_NS_THEME_MAC_SOURCE_LIST_SELECTION: root::ThemeWidgetType = 126; - pub const ThemeWidgetType_NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION: root::ThemeWidgetType = - 127; - pub const ThemeWidgetType_ThemeWidgetType_COUNT: root::ThemeWidgetType = 128; - pub type ThemeWidgetType = u8; - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsCompatibility { - eCompatibility_FullStandards = 1, - eCompatibility_AlmostStandards = 2, - eCompatibility_NavQuirks = 3, - } - pub type nsTObserverArray_base_index_type = usize; - pub type nsTObserverArray_base_size_type = usize; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTObserverArray_base_Iterator_base { - pub mPosition: root::nsTObserverArray_base_index_type, - pub mNext: *mut root::nsTObserverArray_base_Iterator_base, - } - #[test] - fn bindgen_test_layout_nsTObserverArray_base_Iterator_base() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsTObserverArray_base_Iterator_base)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsTObserverArray_base_Iterator_base) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPosition - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsTObserverArray_base_Iterator_base), - "::", - stringify!(mPosition) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNext as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsTObserverArray_base_Iterator_base), - "::", - stringify!(mNext) - ) - ); - } - impl Clone for nsTObserverArray_base_Iterator_base { - fn clone(&self) -> Self { - *self - } - } - pub type nsAutoTObserverArray_elem_type = T; - pub type nsAutoTObserverArray_array_type = root::nsTArray; - #[repr(C)] - #[derive(Debug)] - pub struct nsAutoTObserverArray_Iterator { - pub _base: root::nsTObserverArray_base_Iterator_base, - pub mArray: *mut root::nsAutoTObserverArray_Iterator_array_type, - } - pub type nsAutoTObserverArray_Iterator_array_type = u8; - #[repr(C)] - #[derive(Debug)] - pub struct nsAutoTObserverArray_ForwardIterator { - pub _base: root::nsAutoTObserverArray_Iterator, - } - pub type nsAutoTObserverArray_ForwardIterator_array_type = u8; - pub type nsAutoTObserverArray_ForwardIterator_base_type = root::nsAutoTObserverArray_Iterator; - #[repr(C)] - #[derive(Debug)] - pub struct nsAutoTObserverArray_EndLimitedIterator { - pub _base: root::nsAutoTObserverArray_ForwardIterator, - pub mEnd: root::nsAutoTObserverArray_ForwardIterator, - } - pub type nsAutoTObserverArray_EndLimitedIterator_array_type = u8; - pub type nsAutoTObserverArray_EndLimitedIterator_base_type = - root::nsAutoTObserverArray_Iterator; - #[repr(C)] - #[derive(Debug)] - pub struct nsAutoTObserverArray_BackwardIterator { - pub _base: root::nsAutoTObserverArray_Iterator, - } - pub type nsAutoTObserverArray_BackwardIterator_array_type = u8; - pub type nsAutoTObserverArray_BackwardIterator_base_type = root::nsAutoTObserverArray_Iterator; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsTObserverArray { - pub _address: u8, - } - pub type nsTObserverArray_base_type = u8; - pub type nsTObserverArray_size_type = root::nsTObserverArray_base_size_type; - /// Hashtable key class to use with nsTHashtable/nsBaseHashtable - #[repr(C)] - #[derive(Debug)] - pub struct nsURIHashKey { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::nsCOMPtr, - } - pub type nsURIHashKey_KeyType = *mut root::nsIURI; - pub type nsURIHashKey_KeyTypePointer = *const root::nsIURI; - pub const nsURIHashKey_ALLOW_MEMMOVE: root::nsURIHashKey__bindgen_ty_1 = 1; - pub type nsURIHashKey__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsURIHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsURIHashKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsURIHashKey)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mKey as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsURIHashKey), - "::", - stringify!(mKey) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIConsoleReportCollector { - _unused: [u8; 0], - } - impl Clone for nsIConsoleReportCollector { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsICSSLoaderObserver { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsICSSLoaderObserver_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsICSSLoaderObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsICSSLoaderObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsICSSLoaderObserver)) - ); - } - impl Clone for nsICSSLoaderObserver { - fn clone(&self) -> Self { - *self - } - } - pub type DOMHighResTimeStamp = f64; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDOMNode { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIDOMNode_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIDOMNode() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIDOMNode)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDOMNode)) - ); - } - impl Clone for nsIDOMNode { - fn clone(&self) -> Self { - *self - } - } - pub const kNameSpaceID_None: i32 = 0; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIVariant { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIVariant_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIVariant() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIVariant)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIVariant)) - ); - } - impl Clone for nsIVariant { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsBindingManager { - _unused: [u8; 0], - } - impl Clone for nsBindingManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsNodeInfoManager { - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mNodeInfoHash: [u64; 4usize], - pub mDocument: *mut root::nsIDocument, - pub mNonDocumentNodeInfos: u32, - pub mPrincipal: root::nsCOMPtr, - pub mDefaultPrincipal: root::nsCOMPtr, - pub mTextNodeInfo: *mut root::mozilla::dom::NodeInfo, - pub mCommentNodeInfo: *mut root::mozilla::dom::NodeInfo, - pub mDocumentNodeInfo: *mut root::mozilla::dom::NodeInfo, - pub mBindingManager: root::RefPtr, - pub mRecentlyUsedNodeInfos: [*mut root::mozilla::dom::NodeInfo; 31usize], - pub mSVGEnabled: root::nsNodeInfoManager_Tri, - pub mMathMLEnabled: root::nsNodeInfoManager_Tri, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsNodeInfoManager_cycleCollection { - pub _base: root::nsCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_nsNodeInfoManager_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsNodeInfoManager_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsNodeInfoManager_cycleCollection) - ) - ); - } - impl Clone for nsNodeInfoManager_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - pub type nsNodeInfoManager_HasThreadSafeRefCnt = root::mozilla::FalseType; - pub const nsNodeInfoManager_Tri_eTriUnset: root::nsNodeInfoManager_Tri = 0; - pub const nsNodeInfoManager_Tri_eTriFalse: root::nsNodeInfoManager_Tri = 1; - pub const nsNodeInfoManager_Tri_eTriTrue: root::nsNodeInfoManager_Tri = 2; - pub type nsNodeInfoManager_Tri = u32; - #[repr(C)] - #[derive(Debug)] - pub struct nsNodeInfoManager_NodeInfoInnerKey { - pub _base: root::nsPtrHashKey, - } - #[test] - fn bindgen_test_layout_nsNodeInfoManager_NodeInfoInnerKey() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsNodeInfoManager_NodeInfoInnerKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsNodeInfoManager_NodeInfoInnerKey) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN17nsNodeInfoManager21_cycleCollectorGlobalE"] - pub static mut nsNodeInfoManager__cycleCollectorGlobal: - root::nsNodeInfoManager_cycleCollection; - } - #[test] - fn bindgen_test_layout_nsNodeInfoManager() { - assert_eq!( - ::std::mem::size_of::(), - 360usize, - concat!("Size of: ", stringify!(nsNodeInfoManager)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsNodeInfoManager)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNodeInfoHash as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mNodeInfoHash) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNonDocumentNodeInfos as *const _ - as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mNonDocumentNodeInfos) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrincipal as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mPrincipal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultPrincipal as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mDefaultPrincipal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTextNodeInfo as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mTextNodeInfo) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCommentNodeInfo as *const _ as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mCommentNodeInfo) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocumentNodeInfo as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mDocumentNodeInfo) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBindingManager as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mBindingManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRecentlyUsedNodeInfos as *const _ - as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mRecentlyUsedNodeInfos) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSVGEnabled as *const _ as usize - }, - 352usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mSVGEnabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMathMLEnabled as *const _ as usize - }, - 356usize, - concat!( - "Offset of field: ", - stringify!(nsNodeInfoManager), - "::", - stringify!(mMathMLEnabled) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsPropertyTable { - pub mPropertyList: *mut root::nsPropertyTable_PropertyList, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsPropertyTable_PropertyList { - _unused: [u8; 0], - } - impl Clone for nsPropertyTable_PropertyList { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsPropertyTable() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsPropertyTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPropertyTable)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPropertyList as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsPropertyTable), - "::", - stringify!(mPropertyList) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDOMEventTarget { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIDOMEventTarget_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIDOMEventTarget() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIDOMEventTarget)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDOMEventTarget)) - ); - } - impl Clone for nsIDOMEventTarget { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAttrChildContentList { - _unused: [u8; 0], - } - impl Clone for nsAttrChildContentList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsRange { - _unused: [u8; 0], - } - impl Clone for nsRange { - fn clone(&self) -> Self { - *self - } - } - pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_29 = 4; - pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_29 = 8; - pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_29 = 16; - pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_29 = 32; - pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_29 = 64; - pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_29 = 128; - pub const NODE_IS_EDITABLE: root::_bindgen_ty_29 = 256; - pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_29 = 512; - pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_29 = 1024; - pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_29 = 2048; - pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_29 = 4096; - pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_29 = 8192; - pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_29 = 16384; - pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_29 = 30720; - pub const NODE_NEEDS_FRAME: root::_bindgen_ty_29 = 32768; - pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_29 = 65536; - pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_29 = 131072; - pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_29 = 262144; - pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_29 = 524288; - pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_29 = 786432; - pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_29 = 1048576; - pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_29 = 2097152; - pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_29 = 20; - pub type _bindgen_ty_29 = u32; - /// A class that implements nsIWeakReference - #[repr(C)] - #[derive(Debug)] - pub struct nsNodeWeakReference { - pub _base: root::nsIWeakReference, - pub mRefCnt: root::nsAutoRefCnt, - } - pub type nsNodeWeakReference_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsNodeWeakReference() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsNodeWeakReference)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsNodeWeakReference)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsNodeWeakReference), - "::", - stringify!(mRefCnt) - ) - ); - } - /// An internal interface that abstracts some DOMNode-related parts that both - /// nsIContent and nsIDocument share. An instance of this interface has a list - /// of nsIContent children and provides access to them. - #[repr(C)] - pub struct nsINode { - pub _base: root::mozilla::dom::EventTarget, - pub mNodeInfo: root::RefPtr, - pub mParent: *mut root::nsINode, - pub mNextSibling: *mut root::nsIContent, - pub mPreviousSibling: *mut root::nsIContent, - pub mFirstChild: *mut root::nsIContent, - pub __bindgen_anon_1: root::nsINode__bindgen_ty_2, - pub mSlots: *mut root::nsINode_nsSlots, - } - pub type nsINode_BoxQuadOptions = root::mozilla::dom::BoxQuadOptions; - pub type nsINode_ConvertCoordinateOptions = root::mozilla::dom::ConvertCoordinateOptions; - pub type nsINode_DocGroup = root::mozilla::dom::DocGroup; - pub type nsINode_DOMPoint = root::mozilla::dom::DOMPoint; - pub type nsINode_DOMPointInit = root::mozilla::dom::DOMPointInit; - pub type nsINode_DOMQuad = root::mozilla::dom::DOMQuad; - pub type nsINode_DOMRectReadOnly = root::mozilla::dom::DOMRectReadOnly; - pub type nsINode_OwningNodeOrString = root::mozilla::dom::OwningNodeOrString; - pub type nsINode_TextOrElementOrDocument = root::mozilla::dom::TextOrElementOrDocument; - pub use self::super::root::mozilla::dom::CallerType as nsINode_CallerType; - pub type nsINode_Sequence = u8; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsINode_COMTypeInfo { - pub _address: u8, - } - /// nsIDocument nodes - pub const nsINode_eDOCUMENT: root::nsINode__bindgen_ty_1 = 2; - /// nsIAttribute nodes - pub const nsINode_eATTRIBUTE: root::nsINode__bindgen_ty_1 = 4; - /// xml processing instructions - pub const nsINode_ePROCESSING_INSTRUCTION: root::nsINode__bindgen_ty_1 = 16; - /// comment nodes - pub const nsINode_eCOMMENT: root::nsINode__bindgen_ty_1 = 32; - /// form control elements - pub const nsINode_eHTML_FORM_CONTROL: root::nsINode__bindgen_ty_1 = 64; - /// document fragments - pub const nsINode_eDOCUMENT_FRAGMENT: root::nsINode__bindgen_ty_1 = 128; - /// character data nodes (comments, PIs, text). - pub const nsINode_eDATA_NODE: root::nsINode__bindgen_ty_1 = 256; - /// HTMLMediaElement - pub const nsINode_eMEDIA: root::nsINode__bindgen_ty_1 = 512; - /// animation elements - pub const nsINode_eANIMATION: root::nsINode__bindgen_ty_1 = 1024; - /// filter elements that implement SVGFilterPrimitiveStandardAttributes - pub const nsINode_eFILTER: root::nsINode__bindgen_ty_1 = 2048; - /// SVGGeometryElement - pub const nsINode_eSHAPE: root::nsINode__bindgen_ty_1 = 4096; - /// Bit-flags to pass (or'ed together) to IsNodeOfType() - pub type nsINode__bindgen_ty_1 = u32; - pub const nsINode_FlattenedParentType_eNotForStyle: root::nsINode_FlattenedParentType = 0; - pub const nsINode_FlattenedParentType_eForStyle: root::nsINode_FlattenedParentType = 1; - pub type nsINode_FlattenedParentType = u32; - #[repr(C)] - pub struct nsINode_nsSlots__bindgen_vtable(::std::os::raw::c_void); - #[repr(C)] - #[derive(Debug)] - pub struct nsINode_nsSlots { - pub vtable_: *const nsINode_nsSlots__bindgen_vtable, - /// A list of mutation observers - pub mMutationObservers: [u64; 4usize], - /// An object implementing nsIDOMNodeList for this content (childNodes) - /// @see nsIDOMNodeList - /// @see nsGenericHTMLElement::GetChildNodes - pub mChildNodes: root::RefPtr, - /// Weak reference to this node. This is cleared by the destructor of - /// nsNodeWeakReference. - pub mWeakReference: *mut root::nsNodeWeakReference, - /// A set of ranges which are in the selection and which have this node as - /// their endpoints' common ancestor. This is a UniquePtr instead of just a - /// LinkedList, because that prevents us from pushing DOMSlots up to the next - /// allocation bucket size, at the cost of some complexity. - pub mCommonAncestorRanges: root::mozilla::UniquePtr, - /// Number of descendant nodes in the uncomposed document that have been - /// explicitly set as editable. - pub mEditableDescendantCount: u32, - } - #[test] - fn bindgen_test_layout_nsINode_nsSlots() { - assert_eq!( - ::std::mem::size_of::(), - 72usize, - concat!("Size of: ", stringify!(nsINode_nsSlots)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsINode_nsSlots)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMutationObservers as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsINode_nsSlots), - "::", - stringify!(mMutationObservers) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mChildNodes as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsINode_nsSlots), - "::", - stringify!(mChildNodes) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mWeakReference as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsINode_nsSlots), - "::", - stringify!(mWeakReference) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCommonAncestorRanges as *const _ - as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsINode_nsSlots), - "::", - stringify!(mCommonAncestorRanges) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEditableDescendantCount as *const _ - as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsINode_nsSlots), - "::", - stringify!(mEditableDescendantCount) - ) - ); - } - #[repr(u32)] - /// Boolean flags - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsINode_BooleanFlag { - NodeHasRenderingObservers = 0, - IsInDocument = 1, - ParentIsContent = 2, - NodeIsElement = 3, - ElementHasID = 4, - ElementMayHaveClass = 5, - ElementMayHaveStyle = 6, - ElementHasName = 7, - ElementMayHaveContentEditableAttr = 8, - NodeIsCommonAncestorForRangeInSelection = 9, - NodeIsDescendantOfCommonAncestorForRangeInSelection = 10, - NodeIsCCMarkedRoot = 11, - NodeIsCCBlackTree = 12, - NodeIsPurpleRoot = 13, - ElementHasLockedStyleStates = 14, - ElementHasPointerLock = 15, - NodeMayHaveDOMMutationObserver = 16, - NodeIsContent = 17, - ElementHasAnimations = 18, - NodeHasValidDirAttribute = 19, - NodeHasDirAutoSet = 20, - NodeHasTextNodeDirectionalityMap = 21, - NodeAncestorHasDirAuto = 22, - NodeHandlingClick = 23, - NodeHasRelevantHoverRules = 24, - ElementHasWeirdParserInsertionMode = 25, - ParserHasNotified = 26, - MayBeApzAware = 27, - ElementMayHaveAnonymousChildren = 28, - BooleanFlagCount = 29, - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsINode__bindgen_ty_2 { - pub mPrimaryFrame: root::__BindgenUnionField<*mut root::nsIFrame>, - pub mSubtreeRoot: root::__BindgenUnionField<*mut root::nsINode>, - pub bindgen_union_field: u64, - } - #[test] - fn bindgen_test_layout_nsINode__bindgen_ty_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsINode__bindgen_ty_2)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsINode__bindgen_ty_2)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrimaryFrame as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsINode__bindgen_ty_2), - "::", - stringify!(mPrimaryFrame) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSubtreeRoot as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsINode__bindgen_ty_2), - "::", - stringify!(mSubtreeRoot) - ) - ); - } - impl Clone for nsINode__bindgen_ty_2 { - fn clone(&self) -> Self { - *self - } - } - pub const nsINode_ELEMENT_NODE: ::std::os::raw::c_ushort = 1; - pub const nsINode_ATTRIBUTE_NODE: ::std::os::raw::c_ushort = 2; - pub const nsINode_TEXT_NODE: ::std::os::raw::c_ushort = 3; - pub const nsINode_CDATA_SECTION_NODE: ::std::os::raw::c_ushort = 4; - pub const nsINode_ENTITY_REFERENCE_NODE: ::std::os::raw::c_ushort = 5; - pub const nsINode_ENTITY_NODE: ::std::os::raw::c_ushort = 6; - pub const nsINode_PROCESSING_INSTRUCTION_NODE: ::std::os::raw::c_ushort = 7; - pub const nsINode_COMMENT_NODE: ::std::os::raw::c_ushort = 8; - pub const nsINode_DOCUMENT_NODE: ::std::os::raw::c_ushort = 9; - pub const nsINode_DOCUMENT_TYPE_NODE: ::std::os::raw::c_ushort = 10; - pub const nsINode_DOCUMENT_FRAGMENT_NODE: ::std::os::raw::c_ushort = 11; - pub const nsINode_NOTATION_NODE: ::std::os::raw::c_ushort = 12; - #[test] - fn bindgen_test_layout_nsINode() { - assert_eq!( - ::std::mem::size_of::(), - 88usize, - concat!("Size of: ", stringify!(nsINode)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsINode)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNodeInfo as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsINode), - "::", - stringify!(mNodeInfo) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mParent as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsINode), - "::", - stringify!(mParent) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNextSibling as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsINode), - "::", - stringify!(mNextSibling) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPreviousSibling as *const _ as usize }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsINode), - "::", - stringify!(mPreviousSibling) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFirstChild as *const _ as usize }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsINode), - "::", - stringify!(mFirstChild) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSlots as *const _ as usize }, - 80usize, - concat!( - "Offset of field: ", - stringify!(nsINode), - "::", - stringify!(mSlots) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIStyleSheetLinkingElement { - _unused: [u8; 0], - } - impl Clone for nsIStyleSheetLinkingElement { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIThreadObserver { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIThreadObserver_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIThreadObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIThreadObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIThreadObserver)) - ); - } - impl Clone for nsIThreadObserver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsIGlobalObject { - pub _base: root::nsISupports, - pub _base_1: root::mozilla::dom::DispatcherTrait, - pub mHostObjectURIs: root::nsTArray, - pub mEventTargetObjects: [u64; 4usize], - pub mIsDying: bool, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIGlobalObject_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIGlobalObject() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(nsIGlobalObject)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIGlobalObject)) - ); - } - /// The global object which keeps a script context for each supported script - /// language. This often used to store per-window global state. - /// This is a heavyweight interface implemented only by DOM globals, and - /// it might go away some time in the future. - #[repr(C)] - #[derive(Debug)] - pub struct nsIScriptGlobalObject { - pub _base: root::nsIGlobalObject, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIScriptGlobalObject_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIScriptGlobalObject() { - assert_eq!( - ::std::mem::size_of::(), - 64usize, - concat!("Size of: ", stringify!(nsIScriptGlobalObject)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIScriptGlobalObject)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIXPConnect { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIXPConnect_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIXPConnect() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIXPConnect)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIXPConnect)) - ); - } - impl Clone for nsIXPConnect { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIControllers { - _unused: [u8; 0], - } - impl Clone for nsIControllers { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct mozIDOMWindow { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct mozIDOMWindow_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_mozIDOMWindow() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(mozIDOMWindow)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(mozIDOMWindow)) - ); - } - impl Clone for mozIDOMWindow { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct mozIDOMWindowProxy { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct mozIDOMWindowProxy_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_mozIDOMWindowProxy() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(mozIDOMWindowProxy)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(mozIDOMWindowProxy)) - ); - } - impl Clone for mozIDOMWindowProxy { - fn clone(&self) -> Self { - *self - } - } - pub type SuspendTypes = u32; - pub const PopupControlState_openAllowed: root::PopupControlState = 0; - pub const PopupControlState_openControlled: root::PopupControlState = 1; - pub const PopupControlState_openBlocked: root::PopupControlState = 2; - pub const PopupControlState_openAbused: root::PopupControlState = 3; - pub const PopupControlState_openOverridden: root::PopupControlState = 4; - pub type PopupControlState = u32; - #[repr(C)] - pub struct nsPIDOMWindowInner { - pub _base: root::mozIDOMWindow, - pub mChromeEventHandler: root::nsCOMPtr, - pub mDoc: root::nsCOMPtr, - pub mDocumentURI: root::nsCOMPtr, - pub mDocBaseURI: root::nsCOMPtr, - pub mParentTarget: root::nsCOMPtr, - pub mPerformance: root::RefPtr, - pub mTimeoutManager: root::mozilla::UniquePtr, - pub mNavigator: root::RefPtr, - pub mMutationBits: u32, - pub mActivePeerConnections: u32, - pub mIsDocumentLoaded: bool, - pub mIsHandlingResizeEvent: bool, - pub mMayHavePaintEventListener: bool, - pub mMayHaveTouchEventListener: bool, - pub mMayHaveSelectionChangeEventListener: bool, - pub mMayHaveMouseEnterLeaveEventListener: bool, - pub mMayHavePointerEnterLeaveEventListener: bool, - pub mAudioCaptured: bool, - pub mOuterWindow: root::nsCOMPtr, - pub mFocusedNode: root::nsCOMPtr, - pub mAudioContexts: root::nsTArray<*mut root::mozilla::dom::AudioContext>, - pub mTabGroup: root::RefPtr, - pub mWindowID: u64, - pub mHasNotifiedGlobalCreated: bool, - pub mMarkedCCGeneration: u32, - pub mTopInnerWindow: root::nsCOMPtr, - pub mHasTriedToCacheTopInnerWindow: bool, - pub mNumOfIndexedDBDatabases: u32, - pub mNumOfOpenWebSockets: u32, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsPIDOMWindowInner_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsPIDOMWindowInner() { - assert_eq!( - ::std::mem::size_of::(), - 160usize, - concat!("Size of: ", stringify!(nsPIDOMWindowInner)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPIDOMWindowInner)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChromeEventHandler as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mChromeEventHandler) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDoc as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mDoc) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocumentURI as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mDocumentURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocBaseURI as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mDocBaseURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mParentTarget as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mParentTarget) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPerformance as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mPerformance) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTimeoutManager as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mTimeoutManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNavigator as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mNavigator) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMutationBits as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMutationBits) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mActivePeerConnections as *const _ - as usize - }, - 76usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mActivePeerConnections) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsDocumentLoaded as *const _ - as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mIsDocumentLoaded) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsHandlingResizeEvent as *const _ - as usize - }, - 81usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mIsHandlingResizeEvent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMayHavePaintEventListener - as *const _ as usize - }, - 82usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMayHavePaintEventListener) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMayHaveTouchEventListener - as *const _ as usize - }, - 83usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMayHaveTouchEventListener) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMayHaveSelectionChangeEventListener - as *const _ as usize - }, - 84usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMayHaveSelectionChangeEventListener) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMayHaveMouseEnterLeaveEventListener - as *const _ as usize - }, - 85usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMayHaveMouseEnterLeaveEventListener) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mMayHavePointerEnterLeaveEventListener as *const _ as usize - }, - 86usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMayHavePointerEnterLeaveEventListener) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAudioCaptured as *const _ as usize - }, - 87usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mAudioCaptured) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOuterWindow as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mOuterWindow) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFocusedNode as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mFocusedNode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAudioContexts as *const _ as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mAudioContexts) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTabGroup as *const _ as usize - }, - 112usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mTabGroup) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mWindowID as *const _ as usize - }, - 120usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mWindowID) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHasNotifiedGlobalCreated as *const _ - as usize - }, - 128usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mHasNotifiedGlobalCreated) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMarkedCCGeneration as *const _ - as usize - }, - 132usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mMarkedCCGeneration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTopInnerWindow as *const _ as usize - }, - 136usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mTopInnerWindow) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHasTriedToCacheTopInnerWindow - as *const _ as usize - }, - 144usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mHasTriedToCacheTopInnerWindow) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNumOfIndexedDBDatabases as *const _ - as usize - }, - 148usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mNumOfIndexedDBDatabases) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNumOfOpenWebSockets as *const _ - as usize - }, - 152usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowInner), - "::", - stringify!(mNumOfOpenWebSockets) - ) - ); - } - #[repr(C)] - pub struct nsPIDOMWindowOuter { - pub _base: root::mozIDOMWindowProxy, - pub mChromeEventHandler: root::nsCOMPtr, - pub mDoc: root::nsCOMPtr, - pub mDocumentURI: root::nsCOMPtr, - pub mDocBaseURI: root::nsCOMPtr, - pub mParentTarget: root::nsCOMPtr, - pub mFrameElement: root::nsCOMPtr, - pub mDocShell: root::nsCOMPtr, - pub mModalStateDepth: u32, - pub mIsActive: bool, - pub mIsBackground: bool, - /// The suspended types can be "disposable" or "permanent". This varable only - /// stores the value about permanent suspend. - /// - disposable - /// To pause all playing media in that window, but doesn't affect the media - /// which starts after that. - /// - /// - permanent - /// To pause all media in that window, and also affect the media which starts - /// after that. - pub mMediaSuspend: root::SuspendTypes, - pub mAudioMuted: bool, - pub mAudioVolume: f32, - pub mDesktopModeViewport: bool, - pub mIsRootOuterWindow: bool, - pub mInnerWindow: *mut root::nsPIDOMWindowInner, - pub mTabGroup: root::RefPtr, - pub mWindowID: u64, - pub mMarkedCCGeneration: u32, - pub mServiceWorkersTestingEnabled: bool, - pub mLargeAllocStatus: root::mozilla::dom::LargeAllocStatus, - pub mOpenerForInitialContentBrowser: root::nsCOMPtr, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsPIDOMWindowOuter_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsPIDOMWindowOuter() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(nsPIDOMWindowOuter)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPIDOMWindowOuter)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChromeEventHandler as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mChromeEventHandler) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDoc as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mDoc) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocumentURI as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mDocumentURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocBaseURI as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mDocBaseURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mParentTarget as *const _ as usize - }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mParentTarget) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFrameElement as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mFrameElement) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocShell as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mDocShell) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mModalStateDepth as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mModalStateDepth) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsActive as *const _ as usize - }, - 68usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mIsActive) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsBackground as *const _ as usize - }, - 69usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mIsBackground) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMediaSuspend as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mMediaSuspend) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAudioMuted as *const _ as usize - }, - 76usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mAudioMuted) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAudioVolume as *const _ as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mAudioVolume) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDesktopModeViewport as *const _ - as usize - }, - 84usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mDesktopModeViewport) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsRootOuterWindow as *const _ - as usize - }, - 85usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mIsRootOuterWindow) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInnerWindow as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mInnerWindow) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTabGroup as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mTabGroup) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mWindowID as *const _ as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mWindowID) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMarkedCCGeneration as *const _ - as usize - }, - 112usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mMarkedCCGeneration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mServiceWorkersTestingEnabled - as *const _ as usize - }, - 116usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mServiceWorkersTestingEnabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLargeAllocStatus as *const _ - as usize - }, - 117usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mLargeAllocStatus) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mOpenerForInitialContentBrowser - as *const _ as usize - }, - 120usize, - concat!( - "Offset of field: ", - stringify!(nsPIDOMWindowOuter), - "::", - stringify!(mOpenerForInitialContentBrowser) - ) - ); - } - pub mod xpc { - #[allow(unused_imports)] - use self::super::super::root; - } - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrName { - pub mBits: usize, - } - #[test] - fn bindgen_test_layout_nsAttrName() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAttrName)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrName)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrName), - "::", - stringify!(mBits) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrValue { - pub mBits: usize, - } - pub const nsAttrValue_ValueType_eString: root::nsAttrValue_ValueType = 0; - pub const nsAttrValue_ValueType_eAtom: root::nsAttrValue_ValueType = 2; - pub const nsAttrValue_ValueType_eInteger: root::nsAttrValue_ValueType = 3; - pub const nsAttrValue_ValueType_eColor: root::nsAttrValue_ValueType = 7; - pub const nsAttrValue_ValueType_eEnum: root::nsAttrValue_ValueType = 11; - pub const nsAttrValue_ValueType_ePercent: root::nsAttrValue_ValueType = 15; - pub const nsAttrValue_ValueType_eCSSDeclaration: root::nsAttrValue_ValueType = 16; - pub const nsAttrValue_ValueType_eURL: root::nsAttrValue_ValueType = 17; - pub const nsAttrValue_ValueType_eImage: root::nsAttrValue_ValueType = 18; - pub const nsAttrValue_ValueType_eAtomArray: root::nsAttrValue_ValueType = 19; - pub const nsAttrValue_ValueType_eDoubleValue: root::nsAttrValue_ValueType = 20; - pub const nsAttrValue_ValueType_eIntMarginValue: root::nsAttrValue_ValueType = 21; - pub const nsAttrValue_ValueType_eSVGAngle: root::nsAttrValue_ValueType = 22; - pub const nsAttrValue_ValueType_eSVGTypesBegin: root::nsAttrValue_ValueType = 22; - pub const nsAttrValue_ValueType_eSVGIntegerPair: root::nsAttrValue_ValueType = 23; - pub const nsAttrValue_ValueType_eSVGLength: root::nsAttrValue_ValueType = 24; - pub const nsAttrValue_ValueType_eSVGLengthList: root::nsAttrValue_ValueType = 25; - pub const nsAttrValue_ValueType_eSVGNumberList: root::nsAttrValue_ValueType = 26; - pub const nsAttrValue_ValueType_eSVGNumberPair: root::nsAttrValue_ValueType = 27; - pub const nsAttrValue_ValueType_eSVGPathData: root::nsAttrValue_ValueType = 28; - pub const nsAttrValue_ValueType_eSVGPointList: root::nsAttrValue_ValueType = 29; - pub const nsAttrValue_ValueType_eSVGPreserveAspectRatio: root::nsAttrValue_ValueType = 30; - pub const nsAttrValue_ValueType_eSVGStringList: root::nsAttrValue_ValueType = 31; - pub const nsAttrValue_ValueType_eSVGTransformList: root::nsAttrValue_ValueType = 32; - pub const nsAttrValue_ValueType_eSVGViewBox: root::nsAttrValue_ValueType = 33; - pub const nsAttrValue_ValueType_eSVGTypesEnd: root::nsAttrValue_ValueType = 33; - pub type nsAttrValue_ValueType = u32; - /// Structure for a mapping from int (enum) values to strings. When you use - /// it you generally create an array of them. - /// Instantiate like this: - /// EnumTable myTable[] = { - /// { "string1", 1 }, - /// { "string2", 2 }, - /// { nullptr, 0 } - /// } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAttrValue_EnumTable { - /// The string the value maps to - pub tag: *const ::std::os::raw::c_char, - /// The enum value that maps to this string - pub value: i16, - } - #[test] - fn bindgen_test_layout_nsAttrValue_EnumTable() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsAttrValue_EnumTable)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrValue_EnumTable)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tag as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrValue_EnumTable), - "::", - stringify!(tag) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).value as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrValue_EnumTable), - "::", - stringify!(value) - ) - ); - } - impl Clone for nsAttrValue_EnumTable { - fn clone(&self) -> Self { - *self - } - } - pub const nsAttrValue_ValueBaseType_eStringBase: root::nsAttrValue_ValueBaseType = 0; - pub const nsAttrValue_ValueBaseType_eOtherBase: root::nsAttrValue_ValueBaseType = 1; - pub const nsAttrValue_ValueBaseType_eAtomBase: root::nsAttrValue_ValueBaseType = 2; - pub const nsAttrValue_ValueBaseType_eIntegerBase: root::nsAttrValue_ValueBaseType = 3; - pub type nsAttrValue_ValueBaseType = u32; - extern "C" { - #[link_name = "\u{1}_ZN11nsAttrValue15sEnumTableArrayE"] - pub static mut nsAttrValue_sEnumTableArray: - *mut root::nsTArray<*const root::nsAttrValue_EnumTable>; - } - #[test] - fn bindgen_test_layout_nsAttrValue() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAttrValue)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrValue)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBits as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrValue), - "::", - stringify!(mBits) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsMappedAttributes { - _unused: [u8; 0], - } - impl Clone for nsMappedAttributes { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsHTMLStyleSheet { - _unused: [u8; 0], - } - impl Clone for nsHTMLStyleSheet { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrAndChildArray { - pub mImpl: *mut root::nsAttrAndChildArray_Impl, - } - pub type nsAttrAndChildArray_BorrowedAttrInfo = root::mozilla::dom::BorrowedAttrInfo; - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrAndChildArray_InternalAttr { - pub mName: root::nsAttrName, - pub mValue: root::nsAttrValue, - } - #[test] - fn bindgen_test_layout_nsAttrAndChildArray_InternalAttr() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsAttrAndChildArray_InternalAttr)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsAttrAndChildArray_InternalAttr) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mName as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_InternalAttr), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mValue as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_InternalAttr), - "::", - stringify!(mValue) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAttrAndChildArray_Impl { - pub mAttrAndChildCount: u32, - pub mBufferSize: u32, - pub mMappedAttrs: *mut root::nsMappedAttributes, - pub mBuffer: [*mut ::std::os::raw::c_void; 1usize], - } - #[test] - fn bindgen_test_layout_nsAttrAndChildArray_Impl() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsAttrAndChildArray_Impl)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrAndChildArray_Impl)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAttrAndChildCount as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mAttrAndChildCount) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBufferSize as *const _ - as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mBufferSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMappedAttrs as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mMappedAttrs) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBuffer as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray_Impl), - "::", - stringify!(mBuffer) - ) - ); - } - impl Clone for nsAttrAndChildArray_Impl { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsAttrAndChildArray() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsAttrAndChildArray)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrAndChildArray)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mImpl as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrAndChildArray), - "::", - stringify!(mImpl) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIApplicationCacheContainer { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIApplicationCacheContainer_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIApplicationCacheContainer() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIApplicationCacheContainer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIApplicationCacheContainer)) - ); - } - impl Clone for nsIApplicationCacheContainer { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIPrintSettings { - _unused: [u8; 0], - } - impl Clone for nsIPrintSettings { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDOMNavigationTiming { - _unused: [u8; 0], - } - impl Clone for nsDOMNavigationTiming { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIContentViewer { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIContentViewer_COMTypeInfo { - pub _address: u8, - } - pub const nsIContentViewer_ePrompt: root::nsIContentViewer__bindgen_ty_1 = 0; - pub const nsIContentViewer_eDontPromptAndDontUnload: root::nsIContentViewer__bindgen_ty_1 = 1; - pub const nsIContentViewer_eDontPromptAndUnload: root::nsIContentViewer__bindgen_ty_1 = 2; - pub type nsIContentViewer__bindgen_ty_1 = u32; - pub const nsIContentViewer_eDelayResize: root::nsIContentViewer__bindgen_ty_2 = 1; - pub type nsIContentViewer__bindgen_ty_2 = u32; - #[test] - fn bindgen_test_layout_nsIContentViewer() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIContentViewer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIContentViewer)) - ); - } - impl Clone for nsIContentViewer { - fn clone(&self) -> Self { - *self - } - } - /// Mutation observer interface - /// - /// See nsINode::AddMutationObserver, nsINode::RemoveMutationObserver for how to - /// attach or remove your observers. - /// - /// WARNING: During these notifications, you are not allowed to perform - /// any mutations to the current or any other document, or start a - /// network load. If you need to perform such operations do that - /// during the _last_ nsIDocumentObserver::EndUpdate notification. The - /// expection for this is ParentChainChanged, where mutations should be - /// done from an async event, as the notification might not be - /// surrounded by BeginUpdate/EndUpdate calls. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIMutationObserver { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIMutationObserver_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIMutationObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIMutationObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIMutationObserver)) - ); - } - impl Clone for nsIMutationObserver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDocumentObserver { - pub _base: root::nsIMutationObserver, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIDocumentObserver_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIDocumentObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIDocumentObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDocumentObserver)) - ); - } - impl Clone for nsIDocumentObserver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsILoadContext { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsILoadContext_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsILoadContext() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsILoadContext)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsILoadContext)) - ); - } - impl Clone for nsILoadContext { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsParserBase { - pub _base: root::nsISupports, - } - #[test] - fn bindgen_test_layout_nsParserBase() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsParserBase)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsParserBase)) - ); - } - impl Clone for nsParserBase { - fn clone(&self) -> Self { - *self - } - } - /// This GECKO-INTERNAL interface is on track to being REMOVED (or refactored - /// to the point of being near-unrecognizable). - /// - /// Please DO NOT #include this file in comm-central code, in your XULRunner - /// app or binary extensions. - /// - /// Please DO NOT #include this into new files even inside Gecko. It is more - /// likely than not that #including this header is the wrong thing to do. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIParser { - pub _base: root::nsParserBase, - } - pub type nsIParser_Encoding = root::mozilla::Encoding; - pub type nsIParser_NotNull = root::mozilla::NotNull; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIParser_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIParser() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIParser)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIParser)) - ); - } - impl Clone for nsIParser { - fn clone(&self) -> Self { - *self - } - } - pub type nsCSSAnonBoxes_NonInheritingBase = u8; - pub const nsCSSAnonBoxes_NonInheriting_oofPlaceholder: root::nsCSSAnonBoxes_NonInheriting = 0; - pub const nsCSSAnonBoxes_NonInheriting_horizontalFramesetBorder: - root::nsCSSAnonBoxes_NonInheriting = 1; - pub const nsCSSAnonBoxes_NonInheriting_verticalFramesetBorder: - root::nsCSSAnonBoxes_NonInheriting = 2; - pub const nsCSSAnonBoxes_NonInheriting_framesetBlank: root::nsCSSAnonBoxes_NonInheriting = 3; - pub const nsCSSAnonBoxes_NonInheriting_tableColGroup: root::nsCSSAnonBoxes_NonInheriting = 4; - pub const nsCSSAnonBoxes_NonInheriting_tableCol: root::nsCSSAnonBoxes_NonInheriting = 5; - pub const nsCSSAnonBoxes_NonInheriting_pageBreak: root::nsCSSAnonBoxes_NonInheriting = 6; - pub const nsCSSAnonBoxes_NonInheriting__Count: root::nsCSSAnonBoxes_NonInheriting = 7; - pub type nsCSSAnonBoxes_NonInheriting = u8; - /// A node of content in a document's content model. This interface - /// is supported by all content objects. - #[repr(C)] - pub struct nsIContent { - pub _base: root::nsINode, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - } - pub type nsIContent_IMEState = root::mozilla::widget::IMEState; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIContent_COMTypeInfo { - pub _address: u8, - } - pub type nsIContent_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIContent_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_nsIContent_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsIContent_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIContent_cycleCollection)) - ); - } - impl Clone for nsIContent_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - /// All XBL flattened tree children of the node, as well as :before and - /// :after anonymous content and native anonymous children. - /// - /// @note the result children order is - /// 1. :before generated node - /// 2. XBL flattened tree children of this node - /// 3. native anonymous nodes - /// 4. :after generated node - pub const nsIContent_eAllChildren: root::nsIContent__bindgen_ty_1 = 0; - /// All XBL explicit children of the node (see - /// http://www.w3.org/TR/xbl/#explicit3 ), as well as :before and :after - /// anonymous content and native anonymous children. - /// - /// @note the result children order is - /// 1. :before generated node - /// 2. XBL explicit children of the node - /// 3. native anonymous nodes - /// 4. :after generated node - pub const nsIContent_eAllButXBL: root::nsIContent__bindgen_ty_1 = 1; - /// Skip native anonymous content created for placeholder of HTML input, - /// used in conjunction with eAllChildren or eAllButXBL. - pub const nsIContent_eSkipPlaceholderContent: root::nsIContent__bindgen_ty_1 = 2; - /// Skip native anonymous content created by ancestor frames of the root - /// element's primary frame, such as scrollbar elements created by the root - /// scroll frame. - pub const nsIContent_eSkipDocumentLevelNativeAnonymousContent: root::nsIContent__bindgen_ty_1 = - 4; - pub type nsIContent__bindgen_ty_1 = u32; - #[repr(C)] - pub struct nsIContent_nsExtendedContentSlots__bindgen_vtable(::std::os::raw::c_void); - /// Lazily allocated extended slots to avoid - /// that may only be instantiated when a content object is accessed - /// through the DOM. Rather than burn actual slots in the content - /// objects for each of these instance variables, we put them off - /// in a side structure that's only allocated when the content is - /// accessed through the DOM. - #[repr(C)] - pub struct nsIContent_nsExtendedContentSlots { - pub vtable_: *const nsIContent_nsExtendedContentSlots__bindgen_vtable, - /// The nearest enclosing content node with a binding that created us. - /// TODO(emilio): This should be an Element*. - /// - /// @see nsIContent::GetBindingParent - pub mBindingParent: *mut root::nsIContent, - /// @see nsIContent::GetXBLInsertionPoint - pub mXBLInsertionPoint: root::nsCOMPtr, - /// @see nsIContent::GetContainingShadow - pub mContainingShadow: root::RefPtr, - /// @see nsIContent::GetAssignedSlot - pub mAssignedSlot: root::RefPtr, - } - #[test] - fn bindgen_test_layout_nsIContent_nsExtendedContentSlots() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsIContent_nsExtendedContentSlots)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsIContent_nsExtendedContentSlots) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBindingParent - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIContent_nsExtendedContentSlots), - "::", - stringify!(mBindingParent) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mXBLInsertionPoint - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsIContent_nsExtendedContentSlots), - "::", - stringify!(mXBLInsertionPoint) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mContainingShadow - as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsIContent_nsExtendedContentSlots), - "::", - stringify!(mContainingShadow) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAssignedSlot - as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsIContent_nsExtendedContentSlots), - "::", - stringify!(mAssignedSlot) - ) - ); - } - #[repr(C)] - pub struct nsIContent_nsContentSlots { - pub _base: root::nsINode_nsSlots, - pub mExtendedSlots: root::mozilla::UniquePtr, - } - #[test] - fn bindgen_test_layout_nsIContent_nsContentSlots() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(nsIContent_nsContentSlots)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIContent_nsContentSlots)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mExtendedSlots as *const _ - as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsIContent_nsContentSlots), - "::", - stringify!(mExtendedSlots) - ) - ); - } - pub const nsIContent_ETabFocusType_eTabFocus_textControlsMask: root::nsIContent_ETabFocusType = - 1; - pub const nsIContent_ETabFocusType_eTabFocus_formElementsMask: root::nsIContent_ETabFocusType = - 2; - pub const nsIContent_ETabFocusType_eTabFocus_linksMask: root::nsIContent_ETabFocusType = 4; - pub const nsIContent_ETabFocusType_eTabFocus_any: root::nsIContent_ETabFocusType = 7; - pub type nsIContent_ETabFocusType = u32; - extern "C" { - #[link_name = "\u{1}_ZN10nsIContent21_cycleCollectorGlobalE"] - pub static mut nsIContent__cycleCollectorGlobal: root::nsIContent_cycleCollection; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsIContent14sTabFocusModelE"] - pub static mut nsIContent_sTabFocusModel: i32; - } - extern "C" { - #[link_name = "\u{1}_ZN10nsIContent26sTabFocusModelAppliesToXULE"] - pub static mut nsIContent_sTabFocusModelAppliesToXUL: bool; - } - #[test] - fn bindgen_test_layout_nsIContent() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(nsIContent)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIContent)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsIContent), - "::", - stringify!(mRefCnt) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsILayoutHistoryState { - _unused: [u8; 0], - } - impl Clone for nsILayoutHistoryState { - fn clone(&self) -> Self { - *self - } - } - /// Frame manager interface. The frame manager serves one purpose: - ///
  • handles structural modifications to the frame model. If the frame model - /// lock can be acquired, then the changes are processed immediately; otherwise, - /// they're queued and processed later. - /// - /// FIXME(emilio): The comment above doesn't make any sense, there's no "frame - /// model lock" of any sort afaict. - #[repr(C)] - #[derive(Debug)] - pub struct nsFrameManager { - pub mPresShell: *mut root::nsIPresShell, - pub mRootFrame: *mut root::nsIFrame, - pub mIsDestroyingFrames: bool, - } - pub use self::super::root::mozilla::layout::FrameChildListID as nsFrameManager_ChildListID; - #[test] - fn bindgen_test_layout_nsFrameManager() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsFrameManager)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsFrameManager)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPresShell as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsFrameManager), - "::", - stringify!(mPresShell) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRootFrame as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsFrameManager), - "::", - stringify!(mRootFrame) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsDestroyingFrames as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsFrameManager), - "::", - stringify!(mIsDestroyingFrames) - ) - ); - } - /// templated hashtable class maps keys to C++ object pointers. - /// See nsBaseHashtable for complete declaration. - /// @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h - /// for a complete specification. - /// @param Class the class-type being wrapped - /// @see nsInterfaceHashtable, nsClassHashtable - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsClassHashtable { - pub _address: u8, - } - pub type nsClassHashtable_KeyType = [u8; 0usize]; - pub type nsClassHashtable_UserDataType = *mut T; - pub type nsClassHashtable_base_type = u8; - #[repr(C)] - pub struct nsPresArena { - pub mFreeLists: [root::nsPresArena_FreeList; 187usize], - pub mPool: [u64; 5usize], - pub mArenaRefPtrs: [u64; 4usize], - } - #[repr(C)] - #[derive(Debug)] - pub struct nsPresArena_FreeList { - pub mEntries: root::nsTArray<*mut ::std::os::raw::c_void>, - pub mEntrySize: usize, - pub mEntriesEverAllocated: usize, - } - #[test] - fn bindgen_test_layout_nsPresArena_FreeList() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsPresArena_FreeList)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPresArena_FreeList)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEntries as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsPresArena_FreeList), - "::", - stringify!(mEntries) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEntrySize as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsPresArena_FreeList), - "::", - stringify!(mEntrySize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEntriesEverAllocated as *const _ - as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsPresArena_FreeList), - "::", - stringify!(mEntriesEverAllocated) - ) - ); - } - #[test] - fn bindgen_test_layout_nsPresArena() { - assert_eq!( - ::std::mem::size_of::(), - 4560usize, - concat!("Size of: ", stringify!(nsPresArena)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPresArena)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFreeLists as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsPresArena), - "::", - stringify!(mFreeLists) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPool as *const _ as usize }, - 4488usize, - concat!( - "Offset of field: ", - stringify!(nsPresArena), - "::", - stringify!(mPool) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mArenaRefPtrs as *const _ as usize }, - 4528usize, - concat!( - "Offset of field: ", - stringify!(nsPresArena), - "::", - stringify!(mArenaRefPtrs) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct imgINotificationObserver { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct imgINotificationObserver_COMTypeInfo { - pub _address: u8, - } - pub const imgINotificationObserver_SIZE_AVAILABLE: - root::imgINotificationObserver__bindgen_ty_1 = 1; - pub const imgINotificationObserver_FRAME_UPDATE: root::imgINotificationObserver__bindgen_ty_1 = - 2; - pub const imgINotificationObserver_FRAME_COMPLETE: - root::imgINotificationObserver__bindgen_ty_1 = 3; - pub const imgINotificationObserver_LOAD_COMPLETE: root::imgINotificationObserver__bindgen_ty_1 = - 4; - pub const imgINotificationObserver_DECODE_COMPLETE: - root::imgINotificationObserver__bindgen_ty_1 = 5; - pub const imgINotificationObserver_DISCARD: root::imgINotificationObserver__bindgen_ty_1 = 6; - pub const imgINotificationObserver_UNLOCKED_DRAW: root::imgINotificationObserver__bindgen_ty_1 = - 7; - pub const imgINotificationObserver_IS_ANIMATED: root::imgINotificationObserver__bindgen_ty_1 = - 8; - pub const imgINotificationObserver_HAS_TRANSPARENCY: - root::imgINotificationObserver__bindgen_ty_1 = 9; - pub type imgINotificationObserver__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_imgINotificationObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(imgINotificationObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(imgINotificationObserver)) - ); - } - impl Clone for imgINotificationObserver { - fn clone(&self) -> Self { - *self - } - } - /// There are two advantages to inheriting from nsStubDocumentObserver - /// rather than directly from nsIDocumentObserver: - /// 1. smaller compiled code size (since there's no need for the code - /// for the empty virtual function implementations for every - /// nsIDocumentObserver implementation) - /// 2. the performance of document's loop over observers benefits from - /// the fact that more of the functions called are the same (which - /// can reduce instruction cache misses and perhaps improve branch - /// prediction) - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsStubDocumentObserver { - pub _base: root::nsIDocumentObserver, - } - #[test] - fn bindgen_test_layout_nsStubDocumentObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsStubDocumentObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStubDocumentObserver)) - ); - } - impl Clone for nsStubDocumentObserver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDocShell { - _unused: [u8; 0], - } - impl Clone for nsDocShell { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsViewManager { - _unused: [u8; 0], - } - impl Clone for nsViewManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsFrameSelection { - _unused: [u8; 0], - } - impl Clone for nsFrameSelection { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsCSSFrameConstructor { - _unused: [u8; 0], - } - impl Clone for nsCSSFrameConstructor { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct AutoWeakFrame { - _unused: [u8; 0], - } - impl Clone for AutoWeakFrame { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct WeakFrame { - _unused: [u8; 0], - } - impl Clone for WeakFrame { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsRefreshDriver { - _unused: [u8; 0], - } - impl Clone for nsRefreshDriver { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct CapturingContentInfo { - pub mAllowed: bool, - pub mPointerLock: bool, - pub mRetargetToElement: bool, - pub mPreventDrag: bool, - pub mContent: root::mozilla::StaticRefPtr, - } - #[test] - fn bindgen_test_layout_CapturingContentInfo() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(CapturingContentInfo)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(CapturingContentInfo)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAllowed as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(CapturingContentInfo), - "::", - stringify!(mAllowed) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPointerLock as *const _ as usize - }, - 1usize, - concat!( - "Offset of field: ", - stringify!(CapturingContentInfo), - "::", - stringify!(mPointerLock) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRetargetToElement as *const _ - as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(CapturingContentInfo), - "::", - stringify!(mRetargetToElement) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPreventDrag as *const _ as usize - }, - 3usize, - concat!( - "Offset of field: ", - stringify!(CapturingContentInfo), - "::", - stringify!(mPreventDrag) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mContent as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(CapturingContentInfo), - "::", - stringify!(mContent) - ) - ); - } - /// Presentation shell interface. Presentation shells are the - /// controlling point for managing the presentation of a document. The - /// presentation shell holds a live reference to the document, the - /// presentation context, the style manager, the style set and the root - /// frame.

    - /// - /// When this object is Release'd, it will release the document, the - /// presentation context, the style manager, the style set and the root - /// frame. - #[repr(C)] - pub struct nsIPresShell { - pub _base: root::nsStubDocumentObserver, - pub mDocument: root::nsCOMPtr, - pub mPresContext: root::RefPtr, - pub mStyleSet: root::mozilla::UniquePtr, - pub mFrameConstructor: *mut root::nsCSSFrameConstructor, - pub mViewManager: *mut root::nsViewManager, - pub mFrameArena: root::nsPresArena, - pub mSelection: root::RefPtr, - pub mFrameManager: *mut root::nsFrameManager, - pub mForwardingContainer: u64, - pub mDocAccessible: *mut root::mozilla::a11y::DocAccessible, - pub mReflowContinueTimer: root::nsCOMPtr, - pub mPaintCount: u64, - pub mScrollPositionClampingScrollPortSize: root::nsSize, - pub mAutoWeakFrames: *mut root::AutoWeakFrame, - pub mWeakFrames: [u64; 4usize], - pub mStyleCause: root::UniqueProfilerBacktrace, - pub mReflowCause: root::UniqueProfilerBacktrace, - pub mCanvasBackgroundColor: root::nscolor, - pub mResolution: [u32; 2usize], - pub mSelectionFlags: i16, - pub mChangeNestCount: u16, - pub mRenderFlags: root::nsIPresShell_RenderFlags, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 3usize], u8>, - pub mPresShellId: u32, - pub mFontSizeInflationEmPerLine: u32, - pub mFontSizeInflationMinTwips: u32, - pub mFontSizeInflationLineThreshold: u32, - pub mFontSizeInflationForceEnabled: bool, - pub mFontSizeInflationDisabledInMasterProcess: bool, - pub mFontSizeInflationEnabled: bool, - pub mFontSizeInflationEnabledIsDirty: bool, - pub mPaintingIsFrozen: bool, - pub mIsNeverPainting: bool, - pub mInFlush: bool, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIPresShell_COMTypeInfo { - pub _address: u8, - } - pub type nsIPresShell_LayerManager = root::mozilla::layers::LayerManager; - pub type nsIPresShell_SourceSurface = root::mozilla::gfx::SourceSurface; - pub const nsIPresShell_eRenderFlag_STATE_IGNORING_VIEWPORT_SCROLLING: - root::nsIPresShell_eRenderFlag = 1; - pub const nsIPresShell_eRenderFlag_STATE_DRAWWINDOW_NOT_FLUSHING: - root::nsIPresShell_eRenderFlag = 2; - pub type nsIPresShell_eRenderFlag = u32; - pub type nsIPresShell_RenderFlags = u8; - pub const nsIPresShell_ResizeReflowOptions_eBSizeExact: root::nsIPresShell_ResizeReflowOptions = - 0; - pub const nsIPresShell_ResizeReflowOptions_eBSizeLimit: root::nsIPresShell_ResizeReflowOptions = - 1; - pub type nsIPresShell_ResizeReflowOptions = u32; - pub const nsIPresShell_ScrollDirection_eHorizontal: root::nsIPresShell_ScrollDirection = 0; - pub const nsIPresShell_ScrollDirection_eVertical: root::nsIPresShell_ScrollDirection = 1; - pub const nsIPresShell_ScrollDirection_eEither: root::nsIPresShell_ScrollDirection = 2; - /// Gets nearest scrollable frame from the specified content node. The frame - /// is scrollable with overflow:scroll or overflow:auto in some direction when - /// aDirection is eEither. Otherwise, this returns a nearest frame that is - /// scrollable in the specified direction. - pub type nsIPresShell_ScrollDirection = u32; - pub const nsIPresShell_IntrinsicDirty_eResize: root::nsIPresShell_IntrinsicDirty = 0; - pub const nsIPresShell_IntrinsicDirty_eTreeChange: root::nsIPresShell_IntrinsicDirty = 1; - pub const nsIPresShell_IntrinsicDirty_eStyleChange: root::nsIPresShell_IntrinsicDirty = 2; - /// Tell the pres shell that a frame needs to be marked dirty and needs - /// Reflow. It's OK if this is an ancestor of the frame needing reflow as - /// long as the ancestor chain between them doesn't cross a reflow root. - /// - /// The bit to add should be NS_FRAME_IS_DIRTY, NS_FRAME_HAS_DIRTY_CHILDREN - /// or nsFrameState(0); passing 0 means that dirty bits won't be set on the - /// frame or its ancestors/descendants, but that intrinsic widths will still - /// be marked dirty. Passing aIntrinsicDirty = eResize and aBitToAdd = 0 - /// would result in no work being done, so don't do that. - pub type nsIPresShell_IntrinsicDirty = u32; - pub const nsIPresShell_ReflowRootHandling_ePositionOrSizeChange: - root::nsIPresShell_ReflowRootHandling = 0; - pub const nsIPresShell_ReflowRootHandling_eNoPositionOrSizeChange: - root::nsIPresShell_ReflowRootHandling = 1; - pub const nsIPresShell_ReflowRootHandling_eInferFromBitToAdd: - root::nsIPresShell_ReflowRootHandling = 2; - pub type nsIPresShell_ReflowRootHandling = u32; - pub const nsIPresShell_SCROLL_TOP: root::nsIPresShell__bindgen_ty_1 = 0; - pub const nsIPresShell_SCROLL_BOTTOM: root::nsIPresShell__bindgen_ty_1 = 100; - pub const nsIPresShell_SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 = 0; - pub const nsIPresShell_SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 = 100; - pub const nsIPresShell_SCROLL_CENTER: root::nsIPresShell__bindgen_ty_1 = 50; - pub const nsIPresShell_SCROLL_MINIMUM: root::nsIPresShell__bindgen_ty_1 = -1; - pub type nsIPresShell__bindgen_ty_1 = i32; - pub const nsIPresShell_WhenToScroll_SCROLL_ALWAYS: root::nsIPresShell_WhenToScroll = 0; - pub const nsIPresShell_WhenToScroll_SCROLL_IF_NOT_VISIBLE: root::nsIPresShell_WhenToScroll = 1; - pub const nsIPresShell_WhenToScroll_SCROLL_IF_NOT_FULLY_VISIBLE: - root::nsIPresShell_WhenToScroll = 2; - pub type nsIPresShell_WhenToScroll = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIPresShell_ScrollAxis { - pub _bindgen_opaque_blob: u32, - } - #[test] - fn bindgen_test_layout_nsIPresShell_ScrollAxis() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!("Size of: ", stringify!(nsIPresShell_ScrollAxis)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsIPresShell_ScrollAxis)) - ); - } - impl Clone for nsIPresShell_ScrollAxis { - fn clone(&self) -> Self { - *self - } - } - pub const nsIPresShell_SCROLL_FIRST_ANCESTOR_ONLY: root::nsIPresShell__bindgen_ty_2 = 1; - pub const nsIPresShell_SCROLL_OVERFLOW_HIDDEN: root::nsIPresShell__bindgen_ty_2 = 2; - pub const nsIPresShell_SCROLL_NO_PARENT_FRAMES: root::nsIPresShell__bindgen_ty_2 = 4; - pub const nsIPresShell_SCROLL_SMOOTH: root::nsIPresShell__bindgen_ty_2 = 8; - pub const nsIPresShell_SCROLL_SMOOTH_AUTO: root::nsIPresShell__bindgen_ty_2 = 16; - pub type nsIPresShell__bindgen_ty_2 = u32; - pub const nsIPresShell_RENDER_IS_UNTRUSTED: root::nsIPresShell__bindgen_ty_3 = 1; - pub const nsIPresShell_RENDER_IGNORE_VIEWPORT_SCROLLING: root::nsIPresShell__bindgen_ty_3 = 2; - pub const nsIPresShell_RENDER_CARET: root::nsIPresShell__bindgen_ty_3 = 4; - pub const nsIPresShell_RENDER_USE_WIDGET_LAYERS: root::nsIPresShell__bindgen_ty_3 = 8; - pub const nsIPresShell_RENDER_ASYNC_DECODE_IMAGES: root::nsIPresShell__bindgen_ty_3 = 16; - pub const nsIPresShell_RENDER_DOCUMENT_RELATIVE: root::nsIPresShell__bindgen_ty_3 = 32; - pub const nsIPresShell_RENDER_DRAWWINDOW_NOT_FLUSHING: root::nsIPresShell__bindgen_ty_3 = 64; - /// Render the document into an arbitrary gfxContext - /// Designed for getting a picture of a document or a piece of a document - /// Note that callers will generally want to call FlushPendingNotifications - /// to get an up-to-date view of the document - /// @param aRect is the region to capture into the offscreen buffer, in the - /// root frame's coordinate system (if aIgnoreViewportScrolling is false) - /// or in the root scrolled frame's coordinate system - /// (if aIgnoreViewportScrolling is true). The coordinates are in appunits. - /// @param aFlags see below; - /// set RENDER_IS_UNTRUSTED if the contents may be passed to malicious - /// agents. E.g. we might choose not to paint the contents of sensitive widgets - /// such as the file name in a file upload widget, and we might choose not - /// to paint themes. - /// set RENDER_IGNORE_VIEWPORT_SCROLLING to ignore - /// clipping and scrollbar painting due to scrolling in the viewport - /// set RENDER_CARET to draw the caret if one would be visible - /// (by default the caret is never drawn) - /// set RENDER_USE_LAYER_MANAGER to force rendering to go through - /// the layer manager for the window. This may be unexpectedly slow - /// (if the layer manager must read back data from the GPU) or low-quality - /// (if the layer manager reads back pixel data and scales it - /// instead of rendering using the appropriate scaling). It may also - /// slow everything down if the area rendered does not correspond to the - /// normal visible area of the window. - /// set RENDER_ASYNC_DECODE_IMAGES to avoid having images synchronously - /// decoded during rendering. - /// (by default images decode synchronously with RenderDocument) - /// set RENDER_DOCUMENT_RELATIVE to render the document as if there has been - /// no scrolling and interpret |aRect| relative to the document instead of the - /// CSS viewport. Only considered if RENDER_IGNORE_VIEWPORT_SCROLLING is set - /// or the document is in ignore viewport scrolling mode - /// (nsIPresShell::SetIgnoreViewportScrolling/IgnoringViewportScrolling). - /// @param aBackgroundColor a background color to render onto - /// @param aRenderedContext the gfxContext to render to. We render so that - /// one CSS pixel in the source document is rendered to one unit in the current - /// transform. - pub type nsIPresShell__bindgen_ty_3 = u32; - pub const nsIPresShell_RENDER_IS_IMAGE: root::nsIPresShell__bindgen_ty_4 = 256; - pub const nsIPresShell_RENDER_AUTO_SCALE: root::nsIPresShell__bindgen_ty_4 = 128; - pub type nsIPresShell__bindgen_ty_4 = u32; - pub const nsIPresShell_FORCE_DRAW: root::nsIPresShell__bindgen_ty_5 = 1; - pub const nsIPresShell_ADD_FOR_SUBDOC: root::nsIPresShell__bindgen_ty_5 = 2; - pub const nsIPresShell_APPEND_UNSCROLLED_ONLY: root::nsIPresShell__bindgen_ty_5 = 4; - /// Add a solid color item to the bottom of aList with frame aFrame and bounds - /// aBounds. Checks first if this needs to be done by checking if aFrame is a - /// canvas frame (if the FORCE_DRAW flag is passed then this check is skipped). - /// aBackstopColor is composed behind the background color of the canvas, it is - /// transparent by default. - /// We attempt to make the background color part of the scrolled canvas (to reduce - /// transparent layers), and if async scrolling is enabled (and the background - /// is opaque) then we add a second, unscrolled item to handle the checkerboarding - /// case. - /// ADD_FOR_SUBDOC shoud be specified when calling this for a subdocument, and - /// LayoutUseContainersForRootFrame might cause the whole list to be scrolled. In - /// that case the second unscrolled item will be elided. - /// APPEND_UNSCROLLED_ONLY only attempts to add the unscrolled item, so that we - /// can add it manually after LayoutUseContainersForRootFrame has built the - /// scrolling ContainerLayer. - pub type nsIPresShell__bindgen_ty_5 = u32; - pub const nsIPresShell_PaintFlags_PAINT_LAYERS: root::nsIPresShell_PaintFlags = 1; - pub const nsIPresShell_PaintFlags_PAINT_COMPOSITE: root::nsIPresShell_PaintFlags = 2; - pub const nsIPresShell_PaintFlags_PAINT_SYNC_DECODE_IMAGES: root::nsIPresShell_PaintFlags = 4; - pub type nsIPresShell_PaintFlags = u32; - pub const nsIPresShell_PaintType_PAINT_DEFAULT: root::nsIPresShell_PaintType = 0; - pub const nsIPresShell_PaintType_PAINT_DELAYED_COMPRESS: root::nsIPresShell_PaintType = 1; - /// Ensures that the refresh driver is running, and schedules a view - /// manager flush on the next tick. - /// - /// @param aType PAINT_DELAYED_COMPRESS : Schedule a paint to be executed after a delay, and - /// put FrameLayerBuilder in 'compressed' mode that avoids short cut optimizations. - pub type nsIPresShell_PaintType = u32; - extern "C" { - #[link_name = "\u{1}_ZN12nsIPresShell12gCaptureInfoE"] - pub static mut nsIPresShell_gCaptureInfo: root::CapturingContentInfo; - } - extern "C" { - #[link_name = "\u{1}_ZN12nsIPresShell14gKeyDownTargetE"] - pub static mut nsIPresShell_gKeyDownTarget: *mut root::nsIContent; - } - #[test] - fn bindgen_test_layout_nsIPresShell() { - assert_eq!( - ::std::mem::size_of::(), - 4768usize, - concat!("Size of: ", stringify!(nsIPresShell)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIPresShell)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPresContext as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mPresContext) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStyleSet as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mStyleSet) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFrameConstructor as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFrameConstructor) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mViewManager as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mViewManager) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFrameArena as *const _ as usize }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFrameArena) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mSelection as *const _ as usize }, - 4608usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mSelection) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFrameManager as *const _ as usize }, - 4616usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFrameManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mForwardingContainer as *const _ as usize - }, - 4624usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mForwardingContainer) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocAccessible as *const _ as usize }, - 4632usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mDocAccessible) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mReflowContinueTimer as *const _ as usize - }, - 4640usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mReflowContinueTimer) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPaintCount as *const _ as usize }, - 4648usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mPaintCount) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mScrollPositionClampingScrollPortSize - as *const _ as usize - }, - 4656usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mScrollPositionClampingScrollPortSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAutoWeakFrames as *const _ as usize - }, - 4664usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mAutoWeakFrames) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mWeakFrames as *const _ as usize }, - 4672usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mWeakFrames) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mStyleCause as *const _ as usize }, - 4704usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mStyleCause) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mReflowCause as *const _ as usize }, - 4712usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mReflowCause) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCanvasBackgroundColor as *const _ as usize - }, - 4720usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mCanvasBackgroundColor) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mResolution as *const _ as usize }, - 4724usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mResolution) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSelectionFlags as *const _ as usize - }, - 4732usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mSelectionFlags) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChangeNestCount as *const _ as usize - }, - 4734usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mChangeNestCount) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRenderFlags as *const _ as usize }, - 4736usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mRenderFlags) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPresShellId as *const _ as usize }, - 4740usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mPresShellId) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationEmPerLine as *const _ - as usize - }, - 4744usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationEmPerLine) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationMinTwips as *const _ - as usize - }, - 4748usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationMinTwips) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationLineThreshold as *const _ - as usize - }, - 4752usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationLineThreshold) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationForceEnabled as *const _ - as usize - }, - 4756usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationForceEnabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationDisabledInMasterProcess - as *const _ as usize - }, - 4757usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationDisabledInMasterProcess) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationEnabled as *const _ - as usize - }, - 4758usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationEnabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontSizeInflationEnabledIsDirty - as *const _ as usize - }, - 4759usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mFontSizeInflationEnabledIsDirty) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPaintingIsFrozen as *const _ as usize - }, - 4760usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mPaintingIsFrozen) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsNeverPainting as *const _ as usize - }, - 4761usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mIsNeverPainting) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mInFlush as *const _ as usize }, - 4762usize, - concat!( - "Offset of field: ", - stringify!(nsIPresShell), - "::", - stringify!(mInFlush) - ) - ); - } - impl nsIPresShell { - #[inline] - pub fn mDidInitialize(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDidInitialize(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsDestroying(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsDestroying(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(1usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsReflowing(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsReflowing(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(2usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsObservingDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsObservingDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(3usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsDocumentGone(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsDocumentGone(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPaintingSuppressed(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) } - } - #[inline] - pub fn set_mPaintingSuppressed(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(5usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsActive(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsActive(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(6usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFrozen(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) } - } - #[inline] - pub fn set_mFrozen(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(7usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsFirstPaint(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsFirstPaint(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(8usize, 1u8, val as u64) - } - } - #[inline] - pub fn mObservesMutationsForPrint(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u8) } - } - #[inline] - pub fn set_mObservesMutationsForPrint(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(9usize, 1u8, val as u64) - } - } - #[inline] - pub fn mWasLastReflowInterrupted(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u8) } - } - #[inline] - pub fn set_mWasLastReflowInterrupted(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(10usize, 1u8, val as u64) - } - } - #[inline] - pub fn mScrollPositionClampingScrollPortSizeSet(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u8) } - } - #[inline] - pub fn set_mScrollPositionClampingScrollPortSizeSet(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(11usize, 1u8, val as u64) - } - } - #[inline] - pub fn mNeedLayoutFlush(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u8) } - } - #[inline] - pub fn set_mNeedLayoutFlush(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(12usize, 1u8, val as u64) - } - } - #[inline] - pub fn mNeedStyleFlush(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u8) } - } - #[inline] - pub fn set_mNeedStyleFlush(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(13usize, 1u8, val as u64) - } - } - #[inline] - pub fn mObservingStyleFlushes(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u8) } - } - #[inline] - pub fn set_mObservingStyleFlushes(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(14usize, 1u8, val as u64) - } - } - #[inline] - pub fn mObservingLayoutFlushes(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u8) } - } - #[inline] - pub fn set_mObservingLayoutFlushes(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(15usize, 1u8, val as u64) - } - } - #[inline] - pub fn mResizeEventPending(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 1u8) as u8) } - } - #[inline] - pub fn set_mResizeEventPending(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 1u8, val as u64) - } - } - #[inline] - pub fn mNeedThrottledAnimationFlush(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(17usize, 1u8) as u8) } - } - #[inline] - pub fn set_mNeedThrottledAnimationFlush(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(17usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mDidInitialize: bool, - mIsDestroying: bool, - mIsReflowing: bool, - mIsObservingDocument: bool, - mIsDocumentGone: bool, - mPaintingSuppressed: bool, - mIsActive: bool, - mFrozen: bool, - mIsFirstPaint: bool, - mObservesMutationsForPrint: bool, - mWasLastReflowInterrupted: bool, - mScrollPositionClampingScrollPortSizeSet: bool, - mNeedLayoutFlush: bool, - mNeedStyleFlush: bool, - mObservingStyleFlushes: bool, - mObservingLayoutFlushes: bool, - mResizeEventPending: bool, - mNeedThrottledAnimationFlush: bool, - ) -> root::__BindgenBitfieldUnit<[u8; 3usize], u8> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 3usize], - u8, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 1u8, { - let mDidInitialize: u8 = unsafe { ::std::mem::transmute(mDidInitialize) }; - mDidInitialize as u64 - }); - __bindgen_bitfield_unit.set(1usize, 1u8, { - let mIsDestroying: u8 = unsafe { ::std::mem::transmute(mIsDestroying) }; - mIsDestroying as u64 - }); - __bindgen_bitfield_unit.set(2usize, 1u8, { - let mIsReflowing: u8 = unsafe { ::std::mem::transmute(mIsReflowing) }; - mIsReflowing as u64 - }); - __bindgen_bitfield_unit.set(3usize, 1u8, { - let mIsObservingDocument: u8 = - unsafe { ::std::mem::transmute(mIsObservingDocument) }; - mIsObservingDocument as u64 - }); - __bindgen_bitfield_unit.set(4usize, 1u8, { - let mIsDocumentGone: u8 = unsafe { ::std::mem::transmute(mIsDocumentGone) }; - mIsDocumentGone as u64 - }); - __bindgen_bitfield_unit.set(5usize, 1u8, { - let mPaintingSuppressed: u8 = unsafe { ::std::mem::transmute(mPaintingSuppressed) }; - mPaintingSuppressed as u64 - }); - __bindgen_bitfield_unit.set(6usize, 1u8, { - let mIsActive: u8 = unsafe { ::std::mem::transmute(mIsActive) }; - mIsActive as u64 - }); - __bindgen_bitfield_unit.set(7usize, 1u8, { - let mFrozen: u8 = unsafe { ::std::mem::transmute(mFrozen) }; - mFrozen as u64 - }); - __bindgen_bitfield_unit.set(8usize, 1u8, { - let mIsFirstPaint: u8 = unsafe { ::std::mem::transmute(mIsFirstPaint) }; - mIsFirstPaint as u64 - }); - __bindgen_bitfield_unit.set(9usize, 1u8, { - let mObservesMutationsForPrint: u8 = - unsafe { ::std::mem::transmute(mObservesMutationsForPrint) }; - mObservesMutationsForPrint as u64 - }); - __bindgen_bitfield_unit.set(10usize, 1u8, { - let mWasLastReflowInterrupted: u8 = - unsafe { ::std::mem::transmute(mWasLastReflowInterrupted) }; - mWasLastReflowInterrupted as u64 - }); - __bindgen_bitfield_unit.set(11usize, 1u8, { - let mScrollPositionClampingScrollPortSizeSet: u8 = - unsafe { ::std::mem::transmute(mScrollPositionClampingScrollPortSizeSet) }; - mScrollPositionClampingScrollPortSizeSet as u64 - }); - __bindgen_bitfield_unit.set(12usize, 1u8, { - let mNeedLayoutFlush: u8 = unsafe { ::std::mem::transmute(mNeedLayoutFlush) }; - mNeedLayoutFlush as u64 - }); - __bindgen_bitfield_unit.set(13usize, 1u8, { - let mNeedStyleFlush: u8 = unsafe { ::std::mem::transmute(mNeedStyleFlush) }; - mNeedStyleFlush as u64 - }); - __bindgen_bitfield_unit.set(14usize, 1u8, { - let mObservingStyleFlushes: u8 = - unsafe { ::std::mem::transmute(mObservingStyleFlushes) }; - mObservingStyleFlushes as u64 - }); - __bindgen_bitfield_unit.set(15usize, 1u8, { - let mObservingLayoutFlushes: u8 = - unsafe { ::std::mem::transmute(mObservingLayoutFlushes) }; - mObservingLayoutFlushes as u64 - }); - __bindgen_bitfield_unit.set(16usize, 1u8, { - let mResizeEventPending: u8 = unsafe { ::std::mem::transmute(mResizeEventPending) }; - mResizeEventPending as u64 - }); - __bindgen_bitfield_unit.set(17usize, 1u8, { - let mNeedThrottledAnimationFlush: u8 = - unsafe { ::std::mem::transmute(mNeedThrottledAnimationFlush) }; - mNeedThrottledAnimationFlush as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIProgressEventSink { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIProgressEventSink_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIProgressEventSink() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIProgressEventSink)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIProgressEventSink)) - ); - } - impl Clone for nsIProgressEventSink { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsISecurityEventSink { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsISecurityEventSink_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsISecurityEventSink() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsISecurityEventSink)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISecurityEventSink)) - ); - } - impl Clone for nsISecurityEventSink { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIUUIDGenerator { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIUUIDGenerator_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIUUIDGenerator() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIUUIDGenerator)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIUUIDGenerator)) - ); - } - impl Clone for nsIUUIDGenerator { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsContentList { - _unused: [u8; 0], - } - impl Clone for nsContentList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIIOService { - _unused: [u8; 0], - } - impl Clone for nsIIOService { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIStringBundleService { - _unused: [u8; 0], - } - impl Clone for nsIStringBundleService { - fn clone(&self) -> Self { - *self - } - } - /// Data used to track the expiration state of an object. We promise that this - /// is 32 bits so that objects that includes this as a field can pad and align - /// efficiently. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsExpirationState { - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 4usize], u32>, - pub __bindgen_align: [u32; 0usize], - } - pub const nsExpirationState_NOT_TRACKED: root::nsExpirationState__bindgen_ty_1 = 15; - pub const nsExpirationState_MAX_INDEX_IN_GENERATION: root::nsExpirationState__bindgen_ty_1 = - 268435455; - pub type nsExpirationState__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsExpirationState() { - assert_eq!( - ::std::mem::size_of::(), - 4usize, - concat!("Size of: ", stringify!(nsExpirationState)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(nsExpirationState)) - ); - } - impl Clone for nsExpirationState { - fn clone(&self) -> Self { - *self - } - } - impl nsExpirationState { - #[inline] - pub fn mGeneration(&self) -> u32 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u32) } - } - #[inline] - pub fn set_mGeneration(&mut self, val: u32) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 4u8, val as u64) - } - } - #[inline] - pub fn mIndexInGeneration(&self) -> u32 { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 28u8) as u32) } - } - #[inline] - pub fn set_mIndexInGeneration(&mut self, val: u32) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 28u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mGeneration: u32, - mIndexInGeneration: u32, - ) -> root::__BindgenBitfieldUnit<[u8; 4usize], u32> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 4usize], - u32, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 4u8, { - let mGeneration: u32 = unsafe { ::std::mem::transmute(mGeneration) }; - mGeneration as u64 - }); - __bindgen_bitfield_unit.set(4usize, 28u8, { - let mIndexInGeneration: u32 = unsafe { ::std::mem::transmute(mIndexInGeneration) }; - mIndexInGeneration as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsBaseContentList { - _unused: [u8; 0], - } - impl Clone for nsBaseContentList { - fn clone(&self) -> Self { - *self - } - } - /// Right now our identifier map entries contain information for 'name' - /// and 'id' mappings of a given string. This is so that - /// nsHTMLDocument::ResolveName only has to do one hash lookup instead - /// of two. It's not clear whether this still matters for performance. - /// - /// We also store the document.all result list here. This is mainly so that - /// when all elements with the given ID are removed and we remove - /// the ID's nsIdentifierMapEntry, the document.all result is released too. - /// Perhaps the document.all results should have their own hashtable - /// in nsHTMLDocument. - #[repr(C)] - pub struct nsIdentifierMapEntry { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::nsIdentifierMapEntry_AtomOrString, - pub mIdContentList: [u64; 3usize], - pub mNameContentList: root::RefPtr, - pub mChangeCallbacks: u64, - pub mImageElement: root::RefPtr, - } - pub type nsIdentifierMapEntry_Element = root::mozilla::dom::Element; - pub use self::super::root::mozilla::net::ReferrerPolicy as nsIdentifierMapEntry_ReferrerPolicy; - /// @see nsIDocument::IDTargetObserver, this is just here to avoid include - /// hell. - pub type nsIdentifierMapEntry_IDTargetObserver = ::std::option::Option< - unsafe extern "C" fn( - aOldElement: *mut root::nsIdentifierMapEntry_Element, - aNewelement: *mut root::nsIdentifierMapEntry_Element, - aData: *mut ::std::os::raw::c_void, - ) -> bool, - >; - #[repr(C)] - pub struct nsIdentifierMapEntry_AtomOrString { - pub mAtom: root::RefPtr, - pub mString: ::nsstring::nsStringRepr, - } - #[test] - fn bindgen_test_layout_nsIdentifierMapEntry_AtomOrString() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsIdentifierMapEntry_AtomOrString)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsIdentifierMapEntry_AtomOrString) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAtom as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry_AtomOrString), - "::", - stringify!(mAtom) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mString as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry_AtomOrString), - "::", - stringify!(mString) - ) - ); - } - pub type nsIdentifierMapEntry_KeyType = *const root::nsIdentifierMapEntry_AtomOrString; - pub type nsIdentifierMapEntry_KeyTypePointer = *const root::nsIdentifierMapEntry_AtomOrString; - pub const nsIdentifierMapEntry_ALLOW_MEMMOVE: root::nsIdentifierMapEntry__bindgen_ty_1 = 0; - pub type nsIdentifierMapEntry__bindgen_ty_1 = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIdentifierMapEntry_ChangeCallback { - pub mCallback: root::nsIdentifierMapEntry_IDTargetObserver, - pub mData: *mut ::std::os::raw::c_void, - pub mForImage: bool, - } - #[test] - fn bindgen_test_layout_nsIdentifierMapEntry_ChangeCallback() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsIdentifierMapEntry_ChangeCallback)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsIdentifierMapEntry_ChangeCallback) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCallback - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry_ChangeCallback), - "::", - stringify!(mCallback) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mData as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry_ChangeCallback), - "::", - stringify!(mData) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mForImage - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry_ChangeCallback), - "::", - stringify!(mForImage) - ) - ); - } - impl Clone for nsIdentifierMapEntry_ChangeCallback { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIdentifierMapEntry_ChangeCallbackEntry { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::nsIdentifierMapEntry_ChangeCallback, - } - pub type nsIdentifierMapEntry_ChangeCallbackEntry_KeyType = - root::nsIdentifierMapEntry_ChangeCallback; - pub type nsIdentifierMapEntry_ChangeCallbackEntry_KeyTypePointer = - *const root::nsIdentifierMapEntry_ChangeCallback; - pub const nsIdentifierMapEntry_ChangeCallbackEntry_ALLOW_MEMMOVE: - root::nsIdentifierMapEntry_ChangeCallbackEntry__bindgen_ty_1 = 1; - pub type nsIdentifierMapEntry_ChangeCallbackEntry__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsIdentifierMapEntry_ChangeCallbackEntry() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!( - "Size of: ", - stringify!(nsIdentifierMapEntry_ChangeCallbackEntry) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsIdentifierMapEntry_ChangeCallbackEntry) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKey - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry_ChangeCallbackEntry), - "::", - stringify!(mKey) - ) - ); - } - impl Clone for nsIdentifierMapEntry_ChangeCallbackEntry { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsIdentifierMapEntry() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(nsIdentifierMapEntry)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIdentifierMapEntry)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mKey as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry), - "::", - stringify!(mKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIdContentList as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry), - "::", - stringify!(mIdContentList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mNameContentList as *const _ - as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry), - "::", - stringify!(mNameContentList) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mChangeCallbacks as *const _ - as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry), - "::", - stringify!(mChangeCallbacks) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImageElement as *const _ as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsIdentifierMapEntry), - "::", - stringify!(mImageElement) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDOMStyleSheetSetList { - _unused: [u8; 0], - } - impl Clone for nsDOMStyleSheetSetList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsFrameLoader { - _unused: [u8; 0], - } - impl Clone for nsFrameLoader { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsHTMLCSSStyleSheet { - _unused: [u8; 0], - } - impl Clone for nsHTMLCSSStyleSheet { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIBFCacheEntry { - _unused: [u8; 0], - } - impl Clone for nsIBFCacheEntry { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDocumentEncoder { - _unused: [u8; 0], - } - impl Clone for nsIDocumentEncoder { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIObjectLoadingContent { - _unused: [u8; 0], - } - impl Clone for nsIObjectLoadingContent { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIStructuredCloneContainer { - _unused: [u8; 0], - } - impl Clone for nsIStructuredCloneContainer { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsSMILAnimationController { - _unused: [u8; 0], - } - impl Clone for nsSMILAnimationController { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsSVGElement { - _unused: [u8; 0], - } - impl Clone for nsSVGElement { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct nsDocHeaderData { - pub mField: root::RefPtr, - pub mData: ::nsstring::nsStringRepr, - pub mNext: *mut root::nsDocHeaderData, - } - #[test] - fn bindgen_test_layout_nsDocHeaderData() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(nsDocHeaderData)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsDocHeaderData)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mField as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsDocHeaderData), - "::", - stringify!(mField) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mData as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsDocHeaderData), - "::", - stringify!(mData) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNext as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsDocHeaderData), - "::", - stringify!(mNext) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap { - pub mMap: [u64; 4usize], - pub mPendingLoads: [u64; 4usize], - pub mHaveShutDown: bool, - } - pub type nsExternalResourceMap_nsSubDocEnumFunc = ::std::option::Option< - unsafe extern "C" fn(aDocument: *mut root::nsIDocument, aData: *mut ::std::os::raw::c_void) - -> bool, - >; - /// A class that represents an external resource load that has begun but - /// doesn't have a document yet. Observers can be registered on this object, - /// and will be notified after the document is created. Observers registered - /// after the document has been created will NOT be notified. When observers - /// are notified, the subject will be the newly-created document, the topic - /// will be "external-resource-document-created", and the data will be null. - /// If document creation fails for some reason, observers will still be - /// notified, with a null document pointer. - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_ExternalResourceLoad { - pub _base: root::nsISupports, - pub mObservers: [u64; 10usize], - } - #[test] - fn bindgen_test_layout_nsExternalResourceMap_ExternalResourceLoad() { - assert_eq!( - ::std::mem::size_of::(), - 88usize, - concat!( - "Size of: ", - stringify!(nsExternalResourceMap_ExternalResourceLoad) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_ExternalResourceLoad) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mObservers - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap_ExternalResourceLoad), - "::", - stringify!(mObservers) - ) - ); - } - #[repr(C)] - pub struct nsExternalResourceMap_ExternalResource { - pub mDocument: root::nsCOMPtr, - pub mViewer: root::nsCOMPtr, - pub mLoadGroup: root::nsCOMPtr, - } - #[test] - fn bindgen_test_layout_nsExternalResourceMap_ExternalResource() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!( - "Size of: ", - stringify!(nsExternalResourceMap_ExternalResource) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_ExternalResource) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocument - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap_ExternalResource), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mViewer - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap_ExternalResource), - "::", - stringify!(mViewer) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLoadGroup - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap_ExternalResource), - "::", - stringify!(mLoadGroup) - ) - ); - } - #[repr(C)] - pub struct nsExternalResourceMap_PendingLoad { - pub _base: root::nsExternalResourceMap_ExternalResourceLoad, - pub _base_1: root::nsIStreamListener, - pub mRefCnt: root::nsAutoRefCnt, - pub mDisplayDocument: root::nsCOMPtr, - pub mTargetListener: root::nsCOMPtr, - pub mURI: root::nsCOMPtr, - } - pub type nsExternalResourceMap_PendingLoad_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsExternalResourceMap_PendingLoad() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(nsExternalResourceMap_PendingLoad)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_PendingLoad) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_LoadgroupCallbacks { - pub _base: root::nsIInterfaceRequestor, - pub mRefCnt: root::nsAutoRefCnt, - pub mCallbacks: root::nsCOMPtr, - } - pub type nsExternalResourceMap_LoadgroupCallbacks_HasThreadSafeRefCnt = - root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim { - pub _base: root::nsIInterfaceRequestor, - pub _base_1: root::nsILoadContext, - pub mRefCnt: root::nsAutoRefCnt, - pub mIfReq: root::nsCOMPtr, - pub mRealPtr: root::nsCOMPtr, - } - pub type nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim_HasThreadSafeRefCnt = - root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!( - "Size of: ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsILoadContextShim) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim { - pub _base: root::nsIInterfaceRequestor, - pub _base_1: root::nsIProgressEventSink, - pub mRefCnt: root::nsAutoRefCnt, - pub mIfReq: root::nsCOMPtr, - pub mRealPtr: root::nsCOMPtr, - } - pub type nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim_HasThreadSafeRefCnt = - root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim() { - assert_eq!( - ::std::mem::size_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim, - >(), - 40usize, - concat!( - "Size of: ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim) - ) - ); - assert_eq!( - ::std::mem::align_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim, - >(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsIProgressEventSinkShim) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim { - pub _base: root::nsIInterfaceRequestor, - pub _base_1: root::nsIChannelEventSink, - pub mRefCnt: root::nsAutoRefCnt, - pub mIfReq: root::nsCOMPtr, - pub mRealPtr: root::nsCOMPtr, - } - pub type nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim_HasThreadSafeRefCnt = - root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim() { - assert_eq ! ( :: std :: mem :: size_of :: < nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim ) ) ); - assert_eq!( - ::std::mem::align_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim, - >(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsIChannelEventSinkShim) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim { - pub _base: root::nsIInterfaceRequestor, - pub _base_1: root::nsISecurityEventSink, - pub mRefCnt: root::nsAutoRefCnt, - pub mIfReq: root::nsCOMPtr, - pub mRealPtr: root::nsCOMPtr, - } - pub type nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim_HasThreadSafeRefCnt = - root::mozilla::FalseType; - #[test] - fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim() { - assert_eq!( - ::std::mem::size_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim, - >(), - 40usize, - concat!( - "Size of: ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim) - ) - ); - assert_eq!( - ::std::mem::align_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim, - >(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks_nsISecurityEventSinkShim) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim { - pub _base: root::nsIInterfaceRequestor, - pub _base_1: root::nsIApplicationCacheContainer, - pub mRefCnt: root::nsAutoRefCnt, - pub mIfReq: root::nsCOMPtr, - pub mRealPtr: root::nsCOMPtr, - } - pub type nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim_HasThreadSafeRefCnt = root :: mozilla :: FalseType ; - #[test] - fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim( -) { - assert_eq!( - ::std::mem::size_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim, - >(), - 40usize, - concat!( - "Size of: ", - stringify!( - nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim - ) - ) - ); - assert_eq!( - ::std::mem::align_of::< - nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim, - >(), - 8usize, - concat!( - "Alignment of ", - stringify!( - nsExternalResourceMap_LoadgroupCallbacks_nsIApplicationCacheContainerShim - ) - ) - ); - } - #[test] - fn bindgen_test_layout_nsExternalResourceMap_LoadgroupCallbacks() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!( - "Size of: ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefCnt - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCallbacks - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap_LoadgroupCallbacks), - "::", - stringify!(mCallbacks) - ) - ); - } - #[test] - fn bindgen_test_layout_nsExternalResourceMap() { - assert_eq!( - ::std::mem::size_of::(), - 72usize, - concat!("Size of: ", stringify!(nsExternalResourceMap)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsExternalResourceMap)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMap as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap), - "::", - stringify!(mMap) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPendingLoads as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap), - "::", - stringify!(mPendingLoads) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHaveShutDown as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsExternalResourceMap), - "::", - stringify!(mHaveShutDown) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct PrincipalFlashClassifier { - _unused: [u8; 0], - } - impl Clone for PrincipalFlashClassifier { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct nsIDocument { - pub _base: root::nsINode, - pub _base_1: root::mozilla::dom::DocumentOrShadowRoot, - pub _base_2: root::mozilla::dom::DispatcherTrait, - pub mDeprecationWarnedAbout: u64, - pub mDocWarningWarnedAbout: u64, - pub mSelectorCache: root::mozilla::UniquePtr, - pub mReferrer: root::nsCString, - pub mLastModified: ::nsstring::nsStringRepr, - pub mDocumentURI: root::nsCOMPtr, - pub mOriginalURI: root::nsCOMPtr, - pub mChromeXHRDocURI: root::nsCOMPtr, - pub mDocumentBaseURI: root::nsCOMPtr, - pub mChromeXHRDocBaseURI: root::nsCOMPtr, - pub mCachedURLData: root::RefPtr, - pub mDocumentLoadGroup: root::nsWeakPtr, - pub mReferrerPolicySet: bool, - pub mReferrerPolicy: root::nsIDocument_ReferrerPolicyEnum, - pub mBlockAllMixedContent: bool, - pub mBlockAllMixedContentPreloads: bool, - pub mUpgradeInsecureRequests: bool, - pub mUpgradeInsecurePreloads: bool, - pub mDocumentContainer: u64, - pub mCharacterSet: root::mozilla::NotNull<*const root::nsIDocument_Encoding>, - pub mCharacterSetSource: i32, - pub mParentDocument: *mut root::nsIDocument, - pub mCachedRootElement: *mut root::mozilla::dom::Element, - pub mNodeInfoManager: *mut root::nsNodeInfoManager, - pub mCSSLoader: root::RefPtr, - pub mStyleImageLoader: root::RefPtr, - pub mAttrStyleSheet: root::RefPtr, - pub mStyleAttrStyleSheet: root::RefPtr, - pub mImageTracker: root::RefPtr, - pub mComposedShadowRoots: root::nsIDocument_ShadowRootSet, - pub mActivityObservers: u64, - pub mStyledLinks: [u64; 4usize], - pub mLinksToUpdate: root::nsIDocument_LinksToUpdateList, - pub mAnimationController: root::RefPtr, - pub mPropertyTable: root::nsPropertyTable, - pub mChildrenCollection: root::nsCOMPtr, - pub mImages: root::RefPtr, - pub mEmbeds: root::RefPtr, - pub mLinks: root::RefPtr, - pub mForms: root::RefPtr, - pub mScripts: root::RefPtr, - pub mApplets: root::nsCOMPtr, - pub mAnchors: root::RefPtr, - pub mFontFaceSet: root::RefPtr, - pub mLastFocusTime: root::mozilla::TimeStamp, - pub mDocumentState: root::mozilla::EventStates, - pub mReadyForIdle: root::RefPtr, - pub mAboutCapabilities: root::RefPtr, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 10usize], u8>, - pub mPendingFullscreenRequests: u8, - pub mXMLDeclarationBits: u8, - pub mOnloadBlockCount: u32, - pub mAsyncOnloadBlockCount: u32, - pub mCompatMode: root::nsCompatibility, - pub mReadyState: root::nsIDocument_ReadyState, - pub mVisibilityState: root::mozilla::dom::VisibilityState, - pub mType: root::nsIDocument_Type, - pub mDefaultElementType: u8, - pub mAllowXULXBL: root::nsIDocument_Tri, - pub mScriptGlobalObject: root::nsCOMPtr, - pub mOriginalDocument: root::nsCOMPtr, - pub mBidiOptions: u32, - pub mSandboxFlags: u32, - pub mContentLanguage: root::nsCString, - pub mChannel: root::nsCOMPtr, - pub mContentType: root::nsCString, - pub mContentTypeForWriteCalls: root::nsCString, - pub mSecurityInfo: root::nsCOMPtr, - pub mFailedChannel: root::nsCOMPtr, - pub mPartID: u32, - pub mMarkedCCGeneration: u32, - pub mPresShell: *mut root::nsIPresShell, - pub mSubtreeModifiedTargets: root::nsCOMArray, - pub mSubtreeModifiedDepth: u32, - pub mPreloadingImages: [u64; 4usize], - pub mPreloadedPreconnects: [u64; 4usize], - pub mPreloadPictureDepth: u32, - pub mPreloadPictureFoundSource: ::nsstring::nsStringRepr, - pub mDisplayDocument: root::nsCOMPtr, - pub mEventsSuppressed: u32, - /// https://html.spec.whatwg.org/#ignore-destructive-writes-counter - pub mIgnoreDestructiveWritesCounter: u32, - /// The current frame request callback handle - pub mFrameRequestCallbackCounter: i32, - pub mStaticCloneCount: u32, - pub mBlockedTrackingNodes: root::nsTArray, - pub mWindow: *mut root::nsPIDOMWindowInner, - pub mCachedEncoder: root::nsCOMPtr, - pub mFrameRequestCallbacks: root::nsTArray, - pub mBFCacheEntry: *mut root::nsIBFCacheEntry, - pub mBaseTarget: ::nsstring::nsStringRepr, - pub mStateObjectContainer: root::nsCOMPtr, - pub mStateObjectCached: root::nsCOMPtr, - pub mInSyncOperationCount: u32, - pub mXPathEvaluator: root::mozilla::UniquePtr, - pub mAnonymousContents: root::nsTArray>, - pub mBlockDOMContentLoaded: u32, - pub mDOMMediaQueryLists: root::mozilla::LinkedList, - pub mObservers: [u64; 2usize], - pub mUseCounters: [u64; 2usize], - pub mChildDocumentUseCounters: [u64; 2usize], - pub mNotifiedPageForUseCounter: [u64; 2usize], - pub mIncCounters: u16, - pub mUserHasInteracted: bool, - pub mUserHasActivatedInteraction: bool, - pub mPageUnloadingEventTimeStamp: root::mozilla::TimeStamp, - pub mDocGroup: root::RefPtr, - pub mTrackingScripts: [u64; 4usize], - pub mAncestorPrincipals: root::nsTArray, - pub mAncestorOuterWindowIDs: root::nsTArray, - pub mParser: root::nsCOMPtr, - pub mStackRefCnt: root::nsrefcnt, - pub mWeakSink: root::nsWeakPtr, - pub mUpdateNestLevel: u32, - pub mViewportType: root::nsIDocument_ViewportType, - pub mSubDocuments: *mut root::PLDHashTable, - pub mHeaderData: *mut root::nsDocHeaderData, - pub mPrincipalFlashClassifier: root::RefPtr, - pub mFlashClassification: root::mozilla::dom::FlashClassification, - pub mIsThirdParty: [u8; 2usize], - pub mPendingTitleChangeEvent: u64, - pub mTiming: root::RefPtr, - pub mLoadingTimeStamp: root::mozilla::TimeStamp, - pub mAutoFocusElement: root::nsWeakPtr, - pub mScrollToRef: root::nsCString, - pub mScopeObject: root::nsWeakPtr, - pub mIntersectionObservers: [u64; 4usize], - pub mFullScreenStack: root::nsTArray, - pub mFullscreenRoot: root::nsWeakPtr, - pub mDOMImplementation: root::RefPtr, - pub mImageMaps: root::RefPtr, - pub mResponsiveContent: [u64; 4usize], - pub mPlugins: [u64; 4usize], - pub mChildren: root::nsAttrAndChildArray, - pub mDocumentTimeline: root::RefPtr, - pub mTimelines: root::mozilla::LinkedList, - pub mScriptLoader: root::RefPtr, - pub mBoxObjectTable: *mut u8, - pub mPendingAnimationTracker: root::RefPtr, - pub mTemplateContentsOwner: root::nsCOMPtr, - pub mExternalResourceMap: root::nsExternalResourceMap, - pub mOrientationPendingPromise: root::RefPtr, - pub mCurrentOrientationAngle: u16, - pub mCurrentOrientationType: root::mozilla::dom::OrientationType, - pub mInitializableFrameLoaders: root::nsTArray>, - pub mFrameLoaderFinalizers: root::nsTArray, - pub mFrameLoaderRunner: u64, - pub mLayoutHistoryState: root::nsCOMPtr, - pub mScaleMinFloat: root::mozilla::LayoutDeviceToScreenScale, - pub mScaleMaxFloat: root::mozilla::LayoutDeviceToScreenScale, - pub mScaleFloat: root::mozilla::LayoutDeviceToScreenScale, - pub mPixelRatio: root::mozilla::CSSToLayoutDeviceScale, - pub mViewportSize: root::mozilla::CSSSize, - pub mListenerManager: root::RefPtr, - pub mMaybeEndOutermostXBLUpdateRunner: root::nsCOMPtr, - pub mOnloadBlocker: root::nsCOMPtr, - pub mOnDemandBuiltInUASheets: root::nsTArray>, - pub mAdditionalSheets: [root::nsTArray>; 3usize], - pub mLastStyleSheetSet: ::nsstring::nsStringRepr, - pub mStyleSheetSetList: root::RefPtr, - pub mLazySVGPresElements: [u64; 4usize], - pub mServoRestyleRoot: root::nsCOMPtr, - pub mServoRestyleRootDirtyBits: u32, - pub mThrowOnDynamicMarkupInsertionCounter: u32, - pub mIgnoreOpensDuringUnloadCounter: u32, - } - pub type nsIDocument_GlobalObject = root::mozilla::dom::GlobalObject; - pub type nsIDocument_Encoding = root::mozilla::Encoding; - pub type nsIDocument_NotNull = root::mozilla::NotNull; - pub type nsIDocument_ExternalResourceLoad = root::nsExternalResourceMap_ExternalResourceLoad; - pub use self::super::root::mozilla::net::ReferrerPolicy as nsIDocument_ReferrerPolicyEnum; - pub type nsIDocument_Element = root::mozilla::dom::Element; - pub type nsIDocument_FullscreenRequest = root::mozilla::dom::FullscreenRequest; - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIDocument_COMTypeInfo { - pub _address: u8, - } - #[repr(C)] - pub struct nsIDocument_PageUnloadingEventTimeStamp { - pub mDocument: root::nsCOMPtr, - pub mSet: bool, - } - #[test] - fn bindgen_test_layout_nsIDocument_PageUnloadingEventTimeStamp() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(nsIDocument_PageUnloadingEventTimeStamp) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsIDocument_PageUnloadingEventTimeStamp) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDocument - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsIDocument_PageUnloadingEventTimeStamp), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSet as *const _ - as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsIDocument_PageUnloadingEventTimeStamp), - "::", - stringify!(mSet) - ) - ); - } - /// This gets fired when the element that an id refers to changes. - /// This fires at difficult times. It is generally not safe to do anything - /// which could modify the DOM in any way. Use - /// nsContentUtils::AddScriptRunner. - /// @return true to keep the callback in the callback set, false - /// to remove it. - pub type nsIDocument_IDTargetObserver = ::std::option::Option< - unsafe extern "C" fn( - aOldElement: *mut root::nsIDocument_Element, - aNewelement: *mut root::nsIDocument_Element, - aData: *mut ::std::os::raw::c_void, - ) -> bool, - >; - #[repr(C)] - pub struct nsIDocument_SelectorCacheKey { - pub mKey: ::nsstring::nsStringRepr, - pub mState: root::nsExpirationState, - } - #[test] - fn bindgen_test_layout_nsIDocument_SelectorCacheKey() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsIDocument_SelectorCacheKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDocument_SelectorCacheKey)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKey as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsIDocument_SelectorCacheKey), - "::", - stringify!(mKey) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mState as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsIDocument_SelectorCacheKey), - "::", - stringify!(mState) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDocument_SelectorCacheKeyDeleter { - _unused: [u8; 0], - } - impl Clone for nsIDocument_SelectorCacheKeyDeleter { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDocument_SelectorCache { - pub _bindgen_opaque_blob: [u64; 16usize], - } - pub type nsIDocument_SelectorCache_SelectorList = - root::mozilla::UniquePtr; - #[test] - fn bindgen_test_layout_nsIDocument_SelectorCache() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(nsIDocument_SelectorCache)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDocument_SelectorCache)) - ); - } - impl Clone for nsIDocument_SelectorCache { - fn clone(&self) -> Self { - *self - } - } - pub const nsIDocument_additionalSheetType_eAgentSheet: root::nsIDocument_additionalSheetType = - 0; - pub const nsIDocument_additionalSheetType_eUserSheet: root::nsIDocument_additionalSheetType = 1; - pub const nsIDocument_additionalSheetType_eAuthorSheet: root::nsIDocument_additionalSheetType = - 2; - pub const nsIDocument_additionalSheetType_AdditionalSheetTypeCount: - root::nsIDocument_additionalSheetType = 3; - pub type nsIDocument_additionalSheetType = u32; - pub const nsIDocument_ReadyState_READYSTATE_UNINITIALIZED: root::nsIDocument_ReadyState = 0; - pub const nsIDocument_ReadyState_READYSTATE_LOADING: root::nsIDocument_ReadyState = 1; - pub const nsIDocument_ReadyState_READYSTATE_INTERACTIVE: root::nsIDocument_ReadyState = 3; - pub const nsIDocument_ReadyState_READYSTATE_COMPLETE: root::nsIDocument_ReadyState = 4; - pub type nsIDocument_ReadyState = u32; - /// Enumerate all subdocuments. - /// The enumerator callback should return true to continue enumerating, or - /// false to stop. This will never get passed a null aDocument. - pub type nsIDocument_nsSubDocEnumFunc = ::std::option::Option< - unsafe extern "C" fn(aDocument: *mut root::nsIDocument, aData: *mut ::std::os::raw::c_void) - -> bool, - >; - /// Collect all the descendant documents for which |aCalback| returns true. - /// The callback function must not mutate any state for the given document. - pub type nsIDocument_nsDocTestFunc = - ::std::option::Option bool>; - pub type nsIDocument_ActivityObserverEnumerator = ::std::option::Option< - unsafe extern "C" fn(arg1: *mut root::nsISupports, arg2: *mut ::std::os::raw::c_void), - >; - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsIDocument_DocumentTheme { - Doc_Theme_Uninitialized = 0, - Doc_Theme_None = 1, - Doc_Theme_Neutral = 2, - Doc_Theme_Dark = 3, - Doc_Theme_Bright = 4, - } - pub type nsIDocument_FrameRequestCallbackList = - root::nsTArray>; - pub type nsIDocument_ShadowRootSet = [u64; 4usize]; - pub const nsIDocument_DeprecatedOperations_eEnablePrivilege: - root::nsIDocument_DeprecatedOperations = 0; - pub const nsIDocument_DeprecatedOperations_eMutationEvent: - root::nsIDocument_DeprecatedOperations = 1; - pub const nsIDocument_DeprecatedOperations_eComponents: root::nsIDocument_DeprecatedOperations = - 2; - pub const nsIDocument_DeprecatedOperations_ePrefixedVisibilityAPI: - root::nsIDocument_DeprecatedOperations = 3; - pub const nsIDocument_DeprecatedOperations_eNodeIteratorDetach: - root::nsIDocument_DeprecatedOperations = 4; - pub const nsIDocument_DeprecatedOperations_eLenientThis: - root::nsIDocument_DeprecatedOperations = 5; - pub const nsIDocument_DeprecatedOperations_eMozGetAsFile: - root::nsIDocument_DeprecatedOperations = 6; - pub const nsIDocument_DeprecatedOperations_eUseOfCaptureEvents: - root::nsIDocument_DeprecatedOperations = 7; - pub const nsIDocument_DeprecatedOperations_eUseOfReleaseEvents: - root::nsIDocument_DeprecatedOperations = 8; - pub const nsIDocument_DeprecatedOperations_eUseOfDOM3LoadMethod: - root::nsIDocument_DeprecatedOperations = 9; - pub const nsIDocument_DeprecatedOperations_eChromeUseOfDOM3LoadMethod: - root::nsIDocument_DeprecatedOperations = 10; - pub const nsIDocument_DeprecatedOperations_eShowModalDialog: - root::nsIDocument_DeprecatedOperations = 11; - pub const nsIDocument_DeprecatedOperations_eSyncXMLHttpRequest: - root::nsIDocument_DeprecatedOperations = 12; - pub const nsIDocument_DeprecatedOperations_eWindow_Cc_ontrollers: - root::nsIDocument_DeprecatedOperations = 13; - pub const nsIDocument_DeprecatedOperations_eImportXULIntoContent: - root::nsIDocument_DeprecatedOperations = 14; - pub const nsIDocument_DeprecatedOperations_ePannerNodeDoppler: - root::nsIDocument_DeprecatedOperations = 15; - pub const nsIDocument_DeprecatedOperations_eNavigatorGetUserMedia: - root::nsIDocument_DeprecatedOperations = 16; - pub const nsIDocument_DeprecatedOperations_eWebrtcDeprecatedPrefix: - root::nsIDocument_DeprecatedOperations = 17; - pub const nsIDocument_DeprecatedOperations_eRTCPeerConnectionGetStreams: - root::nsIDocument_DeprecatedOperations = 18; - pub const nsIDocument_DeprecatedOperations_eAppCache: root::nsIDocument_DeprecatedOperations = - 19; - pub const nsIDocument_DeprecatedOperations_eAppCacheInsecure: - root::nsIDocument_DeprecatedOperations = 20; - pub const nsIDocument_DeprecatedOperations_ePrefixedImageSmoothingEnabled: - root::nsIDocument_DeprecatedOperations = 21; - pub const nsIDocument_DeprecatedOperations_ePrefixedFullscreenAPI: - root::nsIDocument_DeprecatedOperations = 22; - pub const nsIDocument_DeprecatedOperations_eLenientSetter: - root::nsIDocument_DeprecatedOperations = 23; - pub const nsIDocument_DeprecatedOperations_eFileLastModifiedDate: - root::nsIDocument_DeprecatedOperations = 24; - pub const nsIDocument_DeprecatedOperations_eImageBitmapRenderingContext_TransferImageBitmap: - root::nsIDocument_DeprecatedOperations = 25; - pub const nsIDocument_DeprecatedOperations_eURLCreateObjectURL_MediaStream: - root::nsIDocument_DeprecatedOperations = 26; - pub const nsIDocument_DeprecatedOperations_eXMLBaseAttribute: - root::nsIDocument_DeprecatedOperations = 27; - pub const nsIDocument_DeprecatedOperations_eWindowContentUntrusted: - root::nsIDocument_DeprecatedOperations = 28; - pub const nsIDocument_DeprecatedOperations_eRegisterProtocolHandlerInsecure: - root::nsIDocument_DeprecatedOperations = 29; - pub const nsIDocument_DeprecatedOperations_eMixedDisplayObjectSubrequest: - root::nsIDocument_DeprecatedOperations = 30; - pub const nsIDocument_DeprecatedOperations_eMotionEvent: - root::nsIDocument_DeprecatedOperations = 31; - pub const nsIDocument_DeprecatedOperations_eOrientationEvent: - root::nsIDocument_DeprecatedOperations = 32; - pub const nsIDocument_DeprecatedOperations_eProximityEvent: - root::nsIDocument_DeprecatedOperations = 33; - pub const nsIDocument_DeprecatedOperations_eAmbientLightEvent: - root::nsIDocument_DeprecatedOperations = 34; - pub const nsIDocument_DeprecatedOperations_eIDBOpenDBOptions_StorageType: - root::nsIDocument_DeprecatedOperations = 35; - pub const nsIDocument_DeprecatedOperations_eGetPropertyCSSValue: - root::nsIDocument_DeprecatedOperations = 36; - pub const nsIDocument_DeprecatedOperations_eDeprecatedOperationCount: - root::nsIDocument_DeprecatedOperations = 37; - pub type nsIDocument_DeprecatedOperations = u32; - pub const nsIDocument_DocumentWarnings_eIgnoringWillChangeOverBudget: - root::nsIDocument_DocumentWarnings = 0; - pub const nsIDocument_DocumentWarnings_ePreventDefaultFromPassiveListener: - root::nsIDocument_DocumentWarnings = 1; - pub const nsIDocument_DocumentWarnings_eSVGRefLoop: root::nsIDocument_DocumentWarnings = 2; - pub const nsIDocument_DocumentWarnings_eSVGRefChainLengthExceeded: - root::nsIDocument_DocumentWarnings = 3; - pub const nsIDocument_DocumentWarnings_eDocumentWarningCount: - root::nsIDocument_DocumentWarnings = 4; - pub type nsIDocument_DocumentWarnings = u32; - pub const nsIDocument_ElementCallbackType_eConnected: root::nsIDocument_ElementCallbackType = 0; - pub const nsIDocument_ElementCallbackType_eDisconnected: root::nsIDocument_ElementCallbackType = - 1; - pub const nsIDocument_ElementCallbackType_eAdopted: root::nsIDocument_ElementCallbackType = 2; - pub const nsIDocument_ElementCallbackType_eAttributeChanged: - root::nsIDocument_ElementCallbackType = 3; - pub type nsIDocument_ElementCallbackType = u32; - pub const nsIDocument_UseCounterReportKind_eDefault: root::nsIDocument_UseCounterReportKind = 0; - pub const nsIDocument_UseCounterReportKind_eIncludeExternalResources: - root::nsIDocument_UseCounterReportKind = 1; - pub type nsIDocument_UseCounterReportKind = i32; - pub type nsIDocument_LinksToUpdateList = [u64; 3usize]; - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsIDocument_Type { - eUnknown = 0, - eHTML = 1, - eXHTML = 2, - eGenericXML = 3, - eSVG = 4, - eXUL = 5, - } - pub const nsIDocument_Tri_eTriUnset: root::nsIDocument_Tri = 0; - pub const nsIDocument_Tri_eTriFalse: root::nsIDocument_Tri = 1; - pub const nsIDocument_Tri_eTriTrue: root::nsIDocument_Tri = 2; - pub type nsIDocument_Tri = u32; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDocument_FrameRequest { - _unused: [u8; 0], - } - impl Clone for nsIDocument_FrameRequest { - fn clone(&self) -> Self { - *self - } - } - pub const nsIDocument_ViewportType_DisplayWidthHeight: root::nsIDocument_ViewportType = 0; - pub const nsIDocument_ViewportType_Specified: root::nsIDocument_ViewportType = 1; - pub const nsIDocument_ViewportType_Unknown: root::nsIDocument_ViewportType = 2; - pub type nsIDocument_ViewportType = u32; - pub const nsIDocument_kSegmentSize: usize = 128; - #[test] - fn bindgen_test_layout_nsIDocument() { - assert_eq!( - ::std::mem::size_of::(), - 1744usize, - concat!("Size of: ", stringify!(nsIDocument)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDocument)) - ); - } - impl nsIDocument { - #[inline] - pub fn mBidiEnabled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) } - } - #[inline] - pub fn set_mBidiEnabled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMathMLEnabled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMathMLEnabled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(1usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsInitialDocumentInWindow(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsInitialDocumentInWindow(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(2usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIgnoreDocGroupMismatches(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIgnoreDocGroupMismatches(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(3usize, 1u8, val as u64) - } - } - #[inline] - pub fn mLoadedAsData(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) } - } - #[inline] - pub fn set_mLoadedAsData(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 1u8, val as u64) - } - } - #[inline] - pub fn mLoadedAsInteractiveData(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) } - } - #[inline] - pub fn set_mLoadedAsInteractiveData(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(5usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMayStartLayout(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMayStartLayout(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(6usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHaveFiredTitleChange(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHaveFiredTitleChange(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(7usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsShowing(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsShowing(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(8usize, 1u8, val as u64) - } - } - #[inline] - pub fn mVisible(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u8) } - } - #[inline] - pub fn set_mVisible(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(9usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasReferrerPolicyCSP(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasReferrerPolicyCSP(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(10usize, 1u8, val as u64) - } - } - #[inline] - pub fn mRemovedFromDocShell(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u8) } - } - #[inline] - pub fn set_mRemovedFromDocShell(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(11usize, 1u8, val as u64) - } - } - #[inline] - pub fn mAllowDNSPrefetch(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u8) } - } - #[inline] - pub fn set_mAllowDNSPrefetch(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(12usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsStaticDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsStaticDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(13usize, 1u8, val as u64) - } - } - #[inline] - pub fn mCreatingStaticClone(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u8) } - } - #[inline] - pub fn set_mCreatingStaticClone(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(14usize, 1u8, val as u64) - } - } - #[inline] - pub fn mInUnlinkOrDeletion(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u8) } - } - #[inline] - pub fn set_mInUnlinkOrDeletion(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(15usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasHadScriptHandlingObject(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasHadScriptHandlingObject(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsBeingUsedAsImage(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(17usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsBeingUsedAsImage(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(17usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsSyntheticDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(18usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsSyntheticDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(18usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasLinksToUpdateRunnable(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasLinksToUpdateRunnable(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(19usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFlushingPendingLinkUpdates(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(20usize, 1u8) as u8) } - } - #[inline] - pub fn set_mFlushingPendingLinkUpdates(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(20usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMayHaveDOMMutationObservers(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(21usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMayHaveDOMMutationObservers(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(21usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMayHaveAnimationObservers(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(22usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMayHaveAnimationObservers(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(22usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasMixedActiveContentLoaded(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(23usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasMixedActiveContentLoaded(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(23usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasMixedActiveContentBlocked(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasMixedActiveContentBlocked(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(24usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasMixedDisplayContentLoaded(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(25usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasMixedDisplayContentLoaded(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(25usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasMixedDisplayContentBlocked(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(26usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasMixedDisplayContentBlocked(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(26usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasMixedContentObjectSubrequest(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(27usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasMixedContentObjectSubrequest(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(27usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasCSP(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(28usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasCSP(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(28usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasUnsafeEvalCSP(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(29usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasUnsafeEvalCSP(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(29usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasUnsafeInlineCSP(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(30usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasUnsafeInlineCSP(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(30usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasTrackingContentBlocked(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(31usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasTrackingContentBlocked(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(31usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasTrackingContentLoaded(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasTrackingContentLoaded(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(32usize, 1u8, val as u64) - } - } - #[inline] - pub fn mBFCacheDisallowed(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(33usize, 1u8) as u8) } - } - #[inline] - pub fn set_mBFCacheDisallowed(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(33usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasHadDefaultView(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(34usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasHadDefaultView(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(34usize, 1u8, val as u64) - } - } - #[inline] - pub fn mStyleSheetChangeEventsEnabled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(35usize, 1u8) as u8) } - } - #[inline] - pub fn set_mStyleSheetChangeEventsEnabled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(35usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsSrcdocDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(36usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsSrcdocDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(36usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDidDocumentOpen(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(37usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDidDocumentOpen(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(37usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasDisplayDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(38usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasDisplayDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(38usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFontFaceSetDirty(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(39usize, 1u8) as u8) } - } - #[inline] - pub fn set_mFontFaceSetDirty(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(39usize, 1u8, val as u64) - } - } - #[inline] - pub fn mGetUserFontSetCalled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(40usize, 1u8) as u8) } - } - #[inline] - pub fn set_mGetUserFontSetCalled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(40usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDidFireDOMContentLoaded(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(41usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDidFireDOMContentLoaded(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(41usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasScrollLinkedEffect(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(42usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasScrollLinkedEffect(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(42usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFrameRequestCallbacksScheduled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(43usize, 1u8) as u8) } - } - #[inline] - pub fn set_mFrameRequestCallbacksScheduled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(43usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsTopLevelContentDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(44usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsTopLevelContentDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(44usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsContentDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(45usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsContentDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(45usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDidCallBeginLoad(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(46usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDidCallBeginLoad(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(46usize, 1u8, val as u64) - } - } - #[inline] - pub fn mAllowPaymentRequest(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(47usize, 1u8) as u8) } - } - #[inline] - pub fn set_mAllowPaymentRequest(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(47usize, 1u8, val as u64) - } - } - #[inline] - pub fn mEncodingMenuDisabled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(48usize, 1u8) as u8) } - } - #[inline] - pub fn set_mEncodingMenuDisabled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(48usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsShadowDOMEnabled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(49usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsShadowDOMEnabled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(49usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsSVGGlyphsDocument(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(50usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsSVGGlyphsDocument(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(50usize, 1u8, val as u64) - } - } - #[inline] - pub fn mInDestructor(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(51usize, 1u8) as u8) } - } - #[inline] - pub fn set_mInDestructor(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(51usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsGoingAway(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(52usize, 1u8) as u8) } - } - #[inline] - pub fn set_mIsGoingAway(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(52usize, 1u8, val as u64) - } - } - #[inline] - pub fn mInXBLUpdate(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(53usize, 1u8) as u8) } - } - #[inline] - pub fn set_mInXBLUpdate(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(53usize, 1u8, val as u64) - } - } - #[inline] - pub fn mNeedsReleaseAfterStackRefCntRelease(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(54usize, 1u8) as u8) } - } - #[inline] - pub fn set_mNeedsReleaseAfterStackRefCntRelease(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(54usize, 1u8, val as u64) - } - } - #[inline] - pub fn mStyleSetFilled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(55usize, 1u8) as u8) } - } - #[inline] - pub fn set_mStyleSetFilled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(55usize, 1u8, val as u64) - } - } - #[inline] - pub fn mSSApplicableStateNotificationPending(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(56usize, 1u8) as u8) } - } - #[inline] - pub fn set_mSSApplicableStateNotificationPending(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(56usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMayHaveTitleElement(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(57usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMayHaveTitleElement(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(57usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDOMLoadingSet(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(58usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDOMLoadingSet(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(58usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDOMInteractiveSet(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(59usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDOMInteractiveSet(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(59usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDOMCompleteSet(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(60usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDOMCompleteSet(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(60usize, 1u8, val as u64) - } - } - #[inline] - pub fn mAutoFocusFired(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(61usize, 1u8) as u8) } - } - #[inline] - pub fn set_mAutoFocusFired(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(61usize, 1u8, val as u64) - } - } - #[inline] - pub fn mScrolledToRefAlready(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(62usize, 1u8) as u8) } - } - #[inline] - pub fn set_mScrolledToRefAlready(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(62usize, 1u8, val as u64) - } - } - #[inline] - pub fn mChangeScrollPosWhenScrollingToRef(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(63usize, 1u8) as u8) } - } - #[inline] - pub fn set_mChangeScrollPosWhenScrollingToRef(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(63usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasWarnedAboutBoxObjects(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(64usize, 1u8) as u8) } - } - #[inline] - pub fn set_mHasWarnedAboutBoxObjects(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(64usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDelayFrameLoaderInitialization(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(65usize, 1u8) as u8) } - } - #[inline] - pub fn set_mDelayFrameLoaderInitialization(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(65usize, 1u8, val as u64) - } - } - #[inline] - pub fn mSynchronousDOMContentLoaded(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(66usize, 1u8) as u8) } - } - #[inline] - pub fn set_mSynchronousDOMContentLoaded(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(66usize, 1u8, val as u64) - } - } - #[inline] - pub fn mMaybeServiceWorkerControlled(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(67usize, 1u8) as u8) } - } - #[inline] - pub fn set_mMaybeServiceWorkerControlled(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(67usize, 1u8, val as u64) - } - } - #[inline] - pub fn mValidWidth(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(68usize, 1u8) as u8) } - } - #[inline] - pub fn set_mValidWidth(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(68usize, 1u8, val as u64) - } - } - #[inline] - pub fn mValidHeight(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(69usize, 1u8) as u8) } - } - #[inline] - pub fn set_mValidHeight(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(69usize, 1u8, val as u64) - } - } - #[inline] - pub fn mAutoSize(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(70usize, 1u8) as u8) } - } - #[inline] - pub fn set_mAutoSize(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(70usize, 1u8, val as u64) - } - } - #[inline] - pub fn mAllowZoom(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(71usize, 1u8) as u8) } - } - #[inline] - pub fn set_mAllowZoom(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(71usize, 1u8, val as u64) - } - } - #[inline] - pub fn mAllowDoubleTapZoom(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(72usize, 1u8) as u8) } - } - #[inline] - pub fn set_mAllowDoubleTapZoom(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(72usize, 1u8, val as u64) - } - } - #[inline] - pub fn mValidScaleFloat(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(73usize, 1u8) as u8) } - } - #[inline] - pub fn set_mValidScaleFloat(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(73usize, 1u8, val as u64) - } - } - #[inline] - pub fn mValidMaxScale(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(74usize, 1u8) as u8) } - } - #[inline] - pub fn set_mValidMaxScale(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(74usize, 1u8, val as u64) - } - } - #[inline] - pub fn mScaleStrEmpty(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(75usize, 1u8) as u8) } - } - #[inline] - pub fn set_mScaleStrEmpty(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(75usize, 1u8, val as u64) - } - } - #[inline] - pub fn mWidthStrEmpty(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(76usize, 1u8) as u8) } - } - #[inline] - pub fn set_mWidthStrEmpty(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(76usize, 1u8, val as u64) - } - } - #[inline] - pub fn mParserAborted(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(77usize, 1u8) as u8) } - } - #[inline] - pub fn set_mParserAborted(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(77usize, 1u8, val as u64) - } - } - #[inline] - pub fn mReportedUseCounters(&self) -> bool { - unsafe { ::std::mem::transmute(self._bitfield_1.get(78usize, 1u8) as u8) } - } - #[inline] - pub fn set_mReportedUseCounters(&mut self, val: bool) { - unsafe { - let val: u8 = ::std::mem::transmute(val); - self._bitfield_1.set(78usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mBidiEnabled: bool, - mMathMLEnabled: bool, - mIsInitialDocumentInWindow: bool, - mIgnoreDocGroupMismatches: bool, - mLoadedAsData: bool, - mLoadedAsInteractiveData: bool, - mMayStartLayout: bool, - mHaveFiredTitleChange: bool, - mIsShowing: bool, - mVisible: bool, - mHasReferrerPolicyCSP: bool, - mRemovedFromDocShell: bool, - mAllowDNSPrefetch: bool, - mIsStaticDocument: bool, - mCreatingStaticClone: bool, - mInUnlinkOrDeletion: bool, - mHasHadScriptHandlingObject: bool, - mIsBeingUsedAsImage: bool, - mIsSyntheticDocument: bool, - mHasLinksToUpdateRunnable: bool, - mFlushingPendingLinkUpdates: bool, - mMayHaveDOMMutationObservers: bool, - mMayHaveAnimationObservers: bool, - mHasMixedActiveContentLoaded: bool, - mHasMixedActiveContentBlocked: bool, - mHasMixedDisplayContentLoaded: bool, - mHasMixedDisplayContentBlocked: bool, - mHasMixedContentObjectSubrequest: bool, - mHasCSP: bool, - mHasUnsafeEvalCSP: bool, - mHasUnsafeInlineCSP: bool, - mHasTrackingContentBlocked: bool, - mHasTrackingContentLoaded: bool, - mBFCacheDisallowed: bool, - mHasHadDefaultView: bool, - mStyleSheetChangeEventsEnabled: bool, - mIsSrcdocDocument: bool, - mDidDocumentOpen: bool, - mHasDisplayDocument: bool, - mFontFaceSetDirty: bool, - mGetUserFontSetCalled: bool, - mDidFireDOMContentLoaded: bool, - mHasScrollLinkedEffect: bool, - mFrameRequestCallbacksScheduled: bool, - mIsTopLevelContentDocument: bool, - mIsContentDocument: bool, - mDidCallBeginLoad: bool, - mAllowPaymentRequest: bool, - mEncodingMenuDisabled: bool, - mIsShadowDOMEnabled: bool, - mIsSVGGlyphsDocument: bool, - mInDestructor: bool, - mIsGoingAway: bool, - mInXBLUpdate: bool, - mNeedsReleaseAfterStackRefCntRelease: bool, - mStyleSetFilled: bool, - mSSApplicableStateNotificationPending: bool, - mMayHaveTitleElement: bool, - mDOMLoadingSet: bool, - mDOMInteractiveSet: bool, - mDOMCompleteSet: bool, - mAutoFocusFired: bool, - mScrolledToRefAlready: bool, - mChangeScrollPosWhenScrollingToRef: bool, - mHasWarnedAboutBoxObjects: bool, - mDelayFrameLoaderInitialization: bool, - mSynchronousDOMContentLoaded: bool, - mMaybeServiceWorkerControlled: bool, - mValidWidth: bool, - mValidHeight: bool, - mAutoSize: bool, - mAllowZoom: bool, - mAllowDoubleTapZoom: bool, - mValidScaleFloat: bool, - mValidMaxScale: bool, - mScaleStrEmpty: bool, - mWidthStrEmpty: bool, - mParserAborted: bool, - mReportedUseCounters: bool, - ) -> root::__BindgenBitfieldUnit<[u8; 10usize], u8> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 10usize], - u8, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 1u8, { - let mBidiEnabled: u8 = unsafe { ::std::mem::transmute(mBidiEnabled) }; - mBidiEnabled as u64 - }); - __bindgen_bitfield_unit.set(1usize, 1u8, { - let mMathMLEnabled: u8 = unsafe { ::std::mem::transmute(mMathMLEnabled) }; - mMathMLEnabled as u64 - }); - __bindgen_bitfield_unit.set(2usize, 1u8, { - let mIsInitialDocumentInWindow: u8 = - unsafe { ::std::mem::transmute(mIsInitialDocumentInWindow) }; - mIsInitialDocumentInWindow as u64 - }); - __bindgen_bitfield_unit.set(3usize, 1u8, { - let mIgnoreDocGroupMismatches: u8 = - unsafe { ::std::mem::transmute(mIgnoreDocGroupMismatches) }; - mIgnoreDocGroupMismatches as u64 - }); - __bindgen_bitfield_unit.set(4usize, 1u8, { - let mLoadedAsData: u8 = unsafe { ::std::mem::transmute(mLoadedAsData) }; - mLoadedAsData as u64 - }); - __bindgen_bitfield_unit.set(5usize, 1u8, { - let mLoadedAsInteractiveData: u8 = - unsafe { ::std::mem::transmute(mLoadedAsInteractiveData) }; - mLoadedAsInteractiveData as u64 - }); - __bindgen_bitfield_unit.set(6usize, 1u8, { - let mMayStartLayout: u8 = unsafe { ::std::mem::transmute(mMayStartLayout) }; - mMayStartLayout as u64 - }); - __bindgen_bitfield_unit.set(7usize, 1u8, { - let mHaveFiredTitleChange: u8 = - unsafe { ::std::mem::transmute(mHaveFiredTitleChange) }; - mHaveFiredTitleChange as u64 - }); - __bindgen_bitfield_unit.set(8usize, 1u8, { - let mIsShowing: u8 = unsafe { ::std::mem::transmute(mIsShowing) }; - mIsShowing as u64 - }); - __bindgen_bitfield_unit.set(9usize, 1u8, { - let mVisible: u8 = unsafe { ::std::mem::transmute(mVisible) }; - mVisible as u64 - }); - __bindgen_bitfield_unit.set(10usize, 1u8, { - let mHasReferrerPolicyCSP: u8 = - unsafe { ::std::mem::transmute(mHasReferrerPolicyCSP) }; - mHasReferrerPolicyCSP as u64 - }); - __bindgen_bitfield_unit.set(11usize, 1u8, { - let mRemovedFromDocShell: u8 = - unsafe { ::std::mem::transmute(mRemovedFromDocShell) }; - mRemovedFromDocShell as u64 - }); - __bindgen_bitfield_unit.set(12usize, 1u8, { - let mAllowDNSPrefetch: u8 = unsafe { ::std::mem::transmute(mAllowDNSPrefetch) }; - mAllowDNSPrefetch as u64 - }); - __bindgen_bitfield_unit.set(13usize, 1u8, { - let mIsStaticDocument: u8 = unsafe { ::std::mem::transmute(mIsStaticDocument) }; - mIsStaticDocument as u64 - }); - __bindgen_bitfield_unit.set(14usize, 1u8, { - let mCreatingStaticClone: u8 = - unsafe { ::std::mem::transmute(mCreatingStaticClone) }; - mCreatingStaticClone as u64 - }); - __bindgen_bitfield_unit.set(15usize, 1u8, { - let mInUnlinkOrDeletion: u8 = unsafe { ::std::mem::transmute(mInUnlinkOrDeletion) }; - mInUnlinkOrDeletion as u64 - }); - __bindgen_bitfield_unit.set(16usize, 1u8, { - let mHasHadScriptHandlingObject: u8 = - unsafe { ::std::mem::transmute(mHasHadScriptHandlingObject) }; - mHasHadScriptHandlingObject as u64 - }); - __bindgen_bitfield_unit.set(17usize, 1u8, { - let mIsBeingUsedAsImage: u8 = unsafe { ::std::mem::transmute(mIsBeingUsedAsImage) }; - mIsBeingUsedAsImage as u64 - }); - __bindgen_bitfield_unit.set(18usize, 1u8, { - let mIsSyntheticDocument: u8 = - unsafe { ::std::mem::transmute(mIsSyntheticDocument) }; - mIsSyntheticDocument as u64 - }); - __bindgen_bitfield_unit.set(19usize, 1u8, { - let mHasLinksToUpdateRunnable: u8 = - unsafe { ::std::mem::transmute(mHasLinksToUpdateRunnable) }; - mHasLinksToUpdateRunnable as u64 - }); - __bindgen_bitfield_unit.set(20usize, 1u8, { - let mFlushingPendingLinkUpdates: u8 = - unsafe { ::std::mem::transmute(mFlushingPendingLinkUpdates) }; - mFlushingPendingLinkUpdates as u64 - }); - __bindgen_bitfield_unit.set(21usize, 1u8, { - let mMayHaveDOMMutationObservers: u8 = - unsafe { ::std::mem::transmute(mMayHaveDOMMutationObservers) }; - mMayHaveDOMMutationObservers as u64 - }); - __bindgen_bitfield_unit.set(22usize, 1u8, { - let mMayHaveAnimationObservers: u8 = - unsafe { ::std::mem::transmute(mMayHaveAnimationObservers) }; - mMayHaveAnimationObservers as u64 - }); - __bindgen_bitfield_unit.set(23usize, 1u8, { - let mHasMixedActiveContentLoaded: u8 = - unsafe { ::std::mem::transmute(mHasMixedActiveContentLoaded) }; - mHasMixedActiveContentLoaded as u64 - }); - __bindgen_bitfield_unit.set(24usize, 1u8, { - let mHasMixedActiveContentBlocked: u8 = - unsafe { ::std::mem::transmute(mHasMixedActiveContentBlocked) }; - mHasMixedActiveContentBlocked as u64 - }); - __bindgen_bitfield_unit.set(25usize, 1u8, { - let mHasMixedDisplayContentLoaded: u8 = - unsafe { ::std::mem::transmute(mHasMixedDisplayContentLoaded) }; - mHasMixedDisplayContentLoaded as u64 - }); - __bindgen_bitfield_unit.set(26usize, 1u8, { - let mHasMixedDisplayContentBlocked: u8 = - unsafe { ::std::mem::transmute(mHasMixedDisplayContentBlocked) }; - mHasMixedDisplayContentBlocked as u64 - }); - __bindgen_bitfield_unit.set(27usize, 1u8, { - let mHasMixedContentObjectSubrequest: u8 = - unsafe { ::std::mem::transmute(mHasMixedContentObjectSubrequest) }; - mHasMixedContentObjectSubrequest as u64 - }); - __bindgen_bitfield_unit.set(28usize, 1u8, { - let mHasCSP: u8 = unsafe { ::std::mem::transmute(mHasCSP) }; - mHasCSP as u64 - }); - __bindgen_bitfield_unit.set(29usize, 1u8, { - let mHasUnsafeEvalCSP: u8 = unsafe { ::std::mem::transmute(mHasUnsafeEvalCSP) }; - mHasUnsafeEvalCSP as u64 - }); - __bindgen_bitfield_unit.set(30usize, 1u8, { - let mHasUnsafeInlineCSP: u8 = unsafe { ::std::mem::transmute(mHasUnsafeInlineCSP) }; - mHasUnsafeInlineCSP as u64 - }); - __bindgen_bitfield_unit.set(31usize, 1u8, { - let mHasTrackingContentBlocked: u8 = - unsafe { ::std::mem::transmute(mHasTrackingContentBlocked) }; - mHasTrackingContentBlocked as u64 - }); - __bindgen_bitfield_unit.set(32usize, 1u8, { - let mHasTrackingContentLoaded: u8 = - unsafe { ::std::mem::transmute(mHasTrackingContentLoaded) }; - mHasTrackingContentLoaded as u64 - }); - __bindgen_bitfield_unit.set(33usize, 1u8, { - let mBFCacheDisallowed: u8 = unsafe { ::std::mem::transmute(mBFCacheDisallowed) }; - mBFCacheDisallowed as u64 - }); - __bindgen_bitfield_unit.set(34usize, 1u8, { - let mHasHadDefaultView: u8 = unsafe { ::std::mem::transmute(mHasHadDefaultView) }; - mHasHadDefaultView as u64 - }); - __bindgen_bitfield_unit.set(35usize, 1u8, { - let mStyleSheetChangeEventsEnabled: u8 = - unsafe { ::std::mem::transmute(mStyleSheetChangeEventsEnabled) }; - mStyleSheetChangeEventsEnabled as u64 - }); - __bindgen_bitfield_unit.set(36usize, 1u8, { - let mIsSrcdocDocument: u8 = unsafe { ::std::mem::transmute(mIsSrcdocDocument) }; - mIsSrcdocDocument as u64 - }); - __bindgen_bitfield_unit.set(37usize, 1u8, { - let mDidDocumentOpen: u8 = unsafe { ::std::mem::transmute(mDidDocumentOpen) }; - mDidDocumentOpen as u64 - }); - __bindgen_bitfield_unit.set(38usize, 1u8, { - let mHasDisplayDocument: u8 = unsafe { ::std::mem::transmute(mHasDisplayDocument) }; - mHasDisplayDocument as u64 - }); - __bindgen_bitfield_unit.set(39usize, 1u8, { - let mFontFaceSetDirty: u8 = unsafe { ::std::mem::transmute(mFontFaceSetDirty) }; - mFontFaceSetDirty as u64 - }); - __bindgen_bitfield_unit.set(40usize, 1u8, { - let mGetUserFontSetCalled: u8 = - unsafe { ::std::mem::transmute(mGetUserFontSetCalled) }; - mGetUserFontSetCalled as u64 - }); - __bindgen_bitfield_unit.set(41usize, 1u8, { - let mDidFireDOMContentLoaded: u8 = - unsafe { ::std::mem::transmute(mDidFireDOMContentLoaded) }; - mDidFireDOMContentLoaded as u64 - }); - __bindgen_bitfield_unit.set(42usize, 1u8, { - let mHasScrollLinkedEffect: u8 = - unsafe { ::std::mem::transmute(mHasScrollLinkedEffect) }; - mHasScrollLinkedEffect as u64 - }); - __bindgen_bitfield_unit.set(43usize, 1u8, { - let mFrameRequestCallbacksScheduled: u8 = - unsafe { ::std::mem::transmute(mFrameRequestCallbacksScheduled) }; - mFrameRequestCallbacksScheduled as u64 - }); - __bindgen_bitfield_unit.set(44usize, 1u8, { - let mIsTopLevelContentDocument: u8 = - unsafe { ::std::mem::transmute(mIsTopLevelContentDocument) }; - mIsTopLevelContentDocument as u64 - }); - __bindgen_bitfield_unit.set(45usize, 1u8, { - let mIsContentDocument: u8 = unsafe { ::std::mem::transmute(mIsContentDocument) }; - mIsContentDocument as u64 - }); - __bindgen_bitfield_unit.set(46usize, 1u8, { - let mDidCallBeginLoad: u8 = unsafe { ::std::mem::transmute(mDidCallBeginLoad) }; - mDidCallBeginLoad as u64 - }); - __bindgen_bitfield_unit.set(47usize, 1u8, { - let mAllowPaymentRequest: u8 = - unsafe { ::std::mem::transmute(mAllowPaymentRequest) }; - mAllowPaymentRequest as u64 - }); - __bindgen_bitfield_unit.set(48usize, 1u8, { - let mEncodingMenuDisabled: u8 = - unsafe { ::std::mem::transmute(mEncodingMenuDisabled) }; - mEncodingMenuDisabled as u64 - }); - __bindgen_bitfield_unit.set(49usize, 1u8, { - let mIsShadowDOMEnabled: u8 = unsafe { ::std::mem::transmute(mIsShadowDOMEnabled) }; - mIsShadowDOMEnabled as u64 - }); - __bindgen_bitfield_unit.set(50usize, 1u8, { - let mIsSVGGlyphsDocument: u8 = - unsafe { ::std::mem::transmute(mIsSVGGlyphsDocument) }; - mIsSVGGlyphsDocument as u64 - }); - __bindgen_bitfield_unit.set(51usize, 1u8, { - let mInDestructor: u8 = unsafe { ::std::mem::transmute(mInDestructor) }; - mInDestructor as u64 - }); - __bindgen_bitfield_unit.set(52usize, 1u8, { - let mIsGoingAway: u8 = unsafe { ::std::mem::transmute(mIsGoingAway) }; - mIsGoingAway as u64 - }); - __bindgen_bitfield_unit.set(53usize, 1u8, { - let mInXBLUpdate: u8 = unsafe { ::std::mem::transmute(mInXBLUpdate) }; - mInXBLUpdate as u64 - }); - __bindgen_bitfield_unit.set(54usize, 1u8, { - let mNeedsReleaseAfterStackRefCntRelease: u8 = - unsafe { ::std::mem::transmute(mNeedsReleaseAfterStackRefCntRelease) }; - mNeedsReleaseAfterStackRefCntRelease as u64 - }); - __bindgen_bitfield_unit.set(55usize, 1u8, { - let mStyleSetFilled: u8 = unsafe { ::std::mem::transmute(mStyleSetFilled) }; - mStyleSetFilled as u64 - }); - __bindgen_bitfield_unit.set(56usize, 1u8, { - let mSSApplicableStateNotificationPending: u8 = - unsafe { ::std::mem::transmute(mSSApplicableStateNotificationPending) }; - mSSApplicableStateNotificationPending as u64 - }); - __bindgen_bitfield_unit.set(57usize, 1u8, { - let mMayHaveTitleElement: u8 = - unsafe { ::std::mem::transmute(mMayHaveTitleElement) }; - mMayHaveTitleElement as u64 - }); - __bindgen_bitfield_unit.set(58usize, 1u8, { - let mDOMLoadingSet: u8 = unsafe { ::std::mem::transmute(mDOMLoadingSet) }; - mDOMLoadingSet as u64 - }); - __bindgen_bitfield_unit.set(59usize, 1u8, { - let mDOMInteractiveSet: u8 = unsafe { ::std::mem::transmute(mDOMInteractiveSet) }; - mDOMInteractiveSet as u64 - }); - __bindgen_bitfield_unit.set(60usize, 1u8, { - let mDOMCompleteSet: u8 = unsafe { ::std::mem::transmute(mDOMCompleteSet) }; - mDOMCompleteSet as u64 - }); - __bindgen_bitfield_unit.set(61usize, 1u8, { - let mAutoFocusFired: u8 = unsafe { ::std::mem::transmute(mAutoFocusFired) }; - mAutoFocusFired as u64 - }); - __bindgen_bitfield_unit.set(62usize, 1u8, { - let mScrolledToRefAlready: u8 = - unsafe { ::std::mem::transmute(mScrolledToRefAlready) }; - mScrolledToRefAlready as u64 - }); - __bindgen_bitfield_unit.set(63usize, 1u8, { - let mChangeScrollPosWhenScrollingToRef: u8 = - unsafe { ::std::mem::transmute(mChangeScrollPosWhenScrollingToRef) }; - mChangeScrollPosWhenScrollingToRef as u64 - }); - __bindgen_bitfield_unit.set(64usize, 1u8, { - let mHasWarnedAboutBoxObjects: u8 = - unsafe { ::std::mem::transmute(mHasWarnedAboutBoxObjects) }; - mHasWarnedAboutBoxObjects as u64 - }); - __bindgen_bitfield_unit.set(65usize, 1u8, { - let mDelayFrameLoaderInitialization: u8 = - unsafe { ::std::mem::transmute(mDelayFrameLoaderInitialization) }; - mDelayFrameLoaderInitialization as u64 - }); - __bindgen_bitfield_unit.set(66usize, 1u8, { - let mSynchronousDOMContentLoaded: u8 = - unsafe { ::std::mem::transmute(mSynchronousDOMContentLoaded) }; - mSynchronousDOMContentLoaded as u64 - }); - __bindgen_bitfield_unit.set(67usize, 1u8, { - let mMaybeServiceWorkerControlled: u8 = - unsafe { ::std::mem::transmute(mMaybeServiceWorkerControlled) }; - mMaybeServiceWorkerControlled as u64 - }); - __bindgen_bitfield_unit.set(68usize, 1u8, { - let mValidWidth: u8 = unsafe { ::std::mem::transmute(mValidWidth) }; - mValidWidth as u64 - }); - __bindgen_bitfield_unit.set(69usize, 1u8, { - let mValidHeight: u8 = unsafe { ::std::mem::transmute(mValidHeight) }; - mValidHeight as u64 - }); - __bindgen_bitfield_unit.set(70usize, 1u8, { - let mAutoSize: u8 = unsafe { ::std::mem::transmute(mAutoSize) }; - mAutoSize as u64 - }); - __bindgen_bitfield_unit.set(71usize, 1u8, { - let mAllowZoom: u8 = unsafe { ::std::mem::transmute(mAllowZoom) }; - mAllowZoom as u64 - }); - __bindgen_bitfield_unit.set(72usize, 1u8, { - let mAllowDoubleTapZoom: u8 = unsafe { ::std::mem::transmute(mAllowDoubleTapZoom) }; - mAllowDoubleTapZoom as u64 - }); - __bindgen_bitfield_unit.set(73usize, 1u8, { - let mValidScaleFloat: u8 = unsafe { ::std::mem::transmute(mValidScaleFloat) }; - mValidScaleFloat as u64 - }); - __bindgen_bitfield_unit.set(74usize, 1u8, { - let mValidMaxScale: u8 = unsafe { ::std::mem::transmute(mValidMaxScale) }; - mValidMaxScale as u64 - }); - __bindgen_bitfield_unit.set(75usize, 1u8, { - let mScaleStrEmpty: u8 = unsafe { ::std::mem::transmute(mScaleStrEmpty) }; - mScaleStrEmpty as u64 - }); - __bindgen_bitfield_unit.set(76usize, 1u8, { - let mWidthStrEmpty: u8 = unsafe { ::std::mem::transmute(mWidthStrEmpty) }; - mWidthStrEmpty as u64 - }); - __bindgen_bitfield_unit.set(77usize, 1u8, { - let mParserAborted: u8 = unsafe { ::std::mem::transmute(mParserAborted) }; - mParserAborted as u64 - }); - __bindgen_bitfield_unit.set(78usize, 1u8, { - let mReportedUseCounters: u8 = - unsafe { ::std::mem::transmute(mReportedUseCounters) }; - mReportedUseCounters as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsXBLPrototypeBinding { - _unused: [u8; 0], - } - impl Clone for nsXBLPrototypeBinding { - fn clone(&self) -> Self { - *self - } - } - /// An internal interface - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIHTMLCollection { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIHTMLCollection_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIHTMLCollection() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIHTMLCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIHTMLCollection)) - ); - } - impl Clone for nsIHTMLCollection { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAnonymousContentList { - _unused: [u8; 0], - } - impl Clone for nsAnonymousContentList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct nsXBLBinding { - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mMarkedForDeath: bool, - pub mUsingContentXBLScope: bool, - pub mIsShadowRootBinding: bool, - pub mPrototypeBinding: *mut root::nsXBLPrototypeBinding, - pub mContent: root::nsCOMPtr, - pub mNextBinding: root::RefPtr, - pub mBoundElement: *mut root::mozilla::dom::Element, - pub mDefaultInsertionPoint: root::RefPtr, - pub mInsertionPoints: root::nsTArray>, - pub mAnonymousContentList: root::RefPtr, - } - pub type nsXBLBinding_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsXBLBinding_cycleCollection { - pub _base: root::nsCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_nsXBLBinding_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsXBLBinding_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsXBLBinding_cycleCollection)) - ); - } - impl Clone for nsXBLBinding_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN12nsXBLBinding21_cycleCollectorGlobalE"] - pub static mut nsXBLBinding__cycleCollectorGlobal: root::nsXBLBinding_cycleCollection; - } - #[test] - fn bindgen_test_layout_nsXBLBinding() { - assert_eq!( - ::std::mem::size_of::(), - 72usize, - concat!("Size of: ", stringify!(nsXBLBinding)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsXBLBinding)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMarkedForDeath as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mMarkedForDeath) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mUsingContentXBLScope as *const _ as usize - }, - 9usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mUsingContentXBLScope) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mIsShadowRootBinding as *const _ as usize - }, - 10usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mIsShadowRootBinding) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrototypeBinding as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mPrototypeBinding) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mContent as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mContent) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNextBinding as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mNextBinding) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBoundElement as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mBoundElement) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultInsertionPoint as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mDefaultInsertionPoint) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInsertionPoints as *const _ as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mInsertionPoints) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAnonymousContentList as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsXBLBinding), - "::", - stringify!(mAnonymousContentList) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsLabelsNodeList { - _unused: [u8; 0], - } - impl Clone for nsLabelsNodeList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDOMTokenList { - _unused: [u8; 0], - } - impl Clone for nsDOMTokenList { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDOMCSSAttributeDeclaration { - _unused: [u8; 0], - } - impl Clone for nsDOMCSSAttributeDeclaration { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDOMStringMap { - _unused: [u8; 0], - } - impl Clone for nsDOMStringMap { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDOMElement { - pub _base: root::nsIDOMNode, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIDOMElement_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIDOMElement() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIDOMElement)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDOMElement)) - ); - } - impl Clone for nsIDOMElement { - fn clone(&self) -> Self { - *self - } - } - /// Interface used for handling clicks on links - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsILinkHandler { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsILinkHandler_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsILinkHandler() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsILinkHandler)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsILinkHandler)) - ); - } - impl Clone for nsILinkHandler { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - pub struct nsIAttribute { - pub _base: root::nsINode, - pub mAttrMap: root::RefPtr, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIAttribute_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIAttribute() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(nsIAttribute)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIAttribute)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mAttrMap as *const _ as usize }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsIAttribute), - "::", - stringify!(mAttrMap) - ) - ); - } - /// There are two advantages to inheriting from nsStubMutationObserver - /// rather than directly from nsIMutationObserver: - /// 1. smaller compiled code size (since there's no need for the code - /// for the empty virtual function implementations for every - /// nsIMutationObserver implementation) - /// 2. the performance of document's loop over observers benefits from - /// the fact that more of the functions called are the same (which - /// can reduce instruction cache misses and perhaps improve branch - /// prediction) - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsStubMutationObserver { - pub _base: root::nsIMutationObserver, - } - #[test] - fn bindgen_test_layout_nsStubMutationObserver() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsStubMutationObserver)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStubMutationObserver)) - ); - } - impl Clone for nsStubMutationObserver { - fn clone(&self) -> Self { - *self - } - } - /// Structure used as a key for caching Attrs in nsDOMAttributeMap's mAttributeCache. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAttrKey { - /// The namespace of the attribute - pub mNamespaceID: i32, - /// The atom for attribute, stored as void*, to make sure that we only use it - /// for the hashcode, and we can never dereference it. - pub mLocalName: *mut ::std::os::raw::c_void, - } - #[test] - fn bindgen_test_layout_nsAttrKey() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsAttrKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrKey)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mNamespaceID as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsAttrKey), - "::", - stringify!(mNamespaceID) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLocalName as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrKey), - "::", - stringify!(mLocalName) - ) - ); - } - impl Clone for nsAttrKey { - fn clone(&self) -> Self { - *self - } - } - /// PLDHashEntryHdr implementation for nsAttrKey. - #[repr(C)] - #[derive(Debug)] - pub struct nsAttrHashKey { - pub _base: root::PLDHashEntryHdr, - pub mKey: root::nsAttrKey, - } - pub type nsAttrHashKey_KeyType = *const root::nsAttrKey; - pub type nsAttrHashKey_KeyTypePointer = *const root::nsAttrKey; - pub const nsAttrHashKey_ALLOW_MEMMOVE: root::nsAttrHashKey__bindgen_ty_1 = 1; - pub type nsAttrHashKey__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsAttrHashKey() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!("Size of: ", stringify!(nsAttrHashKey)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsAttrHashKey)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mKey as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsAttrHashKey), - "::", - stringify!(mKey) - ) - ); - } - #[repr(C)] - pub struct nsDOMAttributeMap { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mContent: root::nsCOMPtr, - /// Cache of Attrs. - pub mAttributeCache: root::nsDOMAttributeMap_AttrCache, - } - pub type nsDOMAttributeMap_Attr = root::mozilla::dom::Attr; - pub type nsDOMAttributeMap_DocGroup = root::mozilla::dom::DocGroup; - pub type nsDOMAttributeMap_Element = root::mozilla::dom::Element; - pub type nsDOMAttributeMap_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDOMAttributeMap_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_nsDOMAttributeMap_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsDOMAttributeMap_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsDOMAttributeMap_cycleCollection) - ) - ); - } - impl Clone for nsDOMAttributeMap_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - pub type nsDOMAttributeMap_AttrCache = [u64; 4usize]; - extern "C" { - #[link_name = "\u{1}_ZN17nsDOMAttributeMap21_cycleCollectorGlobalE"] - pub static mut nsDOMAttributeMap__cycleCollectorGlobal: - root::nsDOMAttributeMap_cycleCollection; - } - #[test] - fn bindgen_test_layout_nsDOMAttributeMap() { - assert_eq!( - ::std::mem::size_of::(), - 80usize, - concat!("Size of: ", stringify!(nsDOMAttributeMap)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsDOMAttributeMap)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsLanguageAtomService { - pub mLangToGroup: [u64; 4usize], - pub mLocaleLanguage: root::RefPtr, - } - pub type nsLanguageAtomService_Encoding = root::mozilla::Encoding; - pub type nsLanguageAtomService_NotNull = root::mozilla::NotNull; - #[test] - fn bindgen_test_layout_nsLanguageAtomService() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsLanguageAtomService)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsLanguageAtomService)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLangToGroup as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsLanguageAtomService), - "::", - stringify!(mLangToGroup) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLocaleLanguage as *const _ - as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsLanguageAtomService), - "::", - stringify!(mLocaleLanguage) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsBidi { - _unused: [u8; 0], - } - impl Clone for nsBidi { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct gfxTextPerfMetrics { - _unused: [u8; 0], - } - impl Clone for gfxTextPerfMetrics { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsTransitionManager { - _unused: [u8; 0], - } - impl Clone for nsTransitionManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsAnimationManager { - _unused: [u8; 0], - } - impl Clone for nsAnimationManager { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsDeviceContext { - _unused: [u8; 0], - } - impl Clone for nsDeviceContext { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct gfxMissingFontRecorder { - _unused: [u8; 0], - } - impl Clone for gfxMissingFontRecorder { - fn clone(&self) -> Self { - *self - } - } - pub const kPresContext_DefaultVariableFont_ID: u8 = 0; - pub const kPresContext_DefaultFixedFont_ID: u8 = 1; - #[repr(C)] - pub struct nsPresContext { - pub _base: root::nsISupports, - pub _base_1: u64, - pub mRefCnt: root::nsCycleCollectingAutoRefCnt, - pub mType: root::nsPresContext_nsPresContextType, - pub mShell: *mut root::nsIPresShell, - pub mDocument: root::nsCOMPtr, - pub mDeviceContext: root::RefPtr, - pub mEventManager: root::RefPtr, - pub mRefreshDriver: root::RefPtr, - pub mAnimationEventDispatcher: root::RefPtr, - pub mEffectCompositor: root::RefPtr, - pub mTransitionManager: root::RefPtr, - pub mAnimationManager: root::RefPtr, - pub mRestyleManager: root::RefPtr, - pub mCounterStyleManager: root::RefPtr, - pub mMedium: *mut root::nsAtom, - pub mMediaEmulated: root::RefPtr, - pub mFontFeatureValuesLookup: root::RefPtr, - pub mLinkHandler: *mut root::nsILinkHandler, - pub mLanguage: root::RefPtr, - pub mInflationDisabledForShrinkWrap: bool, - pub mContainer: u64, - pub mBaseMinFontSize: i32, - pub mSystemFontScale: f32, - pub mTextZoom: f32, - pub mEffectiveTextZoom: f32, - pub mFullZoom: f32, - pub mOverrideDPPX: f32, - pub mLastFontInflationScreenSize: root::gfxSize, - pub mCurAppUnitsPerDevPixel: i32, - pub mAutoQualityMinFontSizePixelsPref: i32, - pub mTheme: root::nsCOMPtr, - pub mLangService: *mut root::nsLanguageAtomService, - pub mPrintSettings: root::nsCOMPtr, - pub mBidiEngine: root::mozilla::UniquePtr, - pub mTransactions: [u64; 10usize], - pub mTextPerf: root::nsAutoPtr, - pub mMissingFonts: root::nsAutoPtr, - pub mVisibleArea: root::nsRect, - pub mLastResizeEventVisibleArea: root::nsRect, - pub mPageSize: root::nsSize, - pub mPageScale: f32, - pub mPPScale: f32, - pub mDefaultColor: root::nscolor, - pub mBackgroundColor: root::nscolor, - pub mLinkColor: root::nscolor, - pub mActiveLinkColor: root::nscolor, - pub mVisitedLinkColor: root::nscolor, - pub mFocusBackgroundColor: root::nscolor, - pub mFocusTextColor: root::nscolor, - pub mBodyTextColor: root::nscolor, - pub mViewportScrollbarOverrideElement: *mut root::mozilla::dom::Element, - pub mViewportStyleScrollbar: root::nsPresContext_ScrollbarStyles, - pub mFocusRingWidth: u8, - pub mExistThrottledUpdates: bool, - pub mImageAnimationMode: u16, - pub mImageAnimationModePref: u16, - pub mLangGroupFontPrefs: root::nsPresContext_LangGroupFontPrefs, - pub mFontGroupCacheDirty: bool, - pub mLanguagesUsed: [u64; 4usize], - pub mBorderWidthTable: [root::nscoord; 3usize], - pub mInterruptChecksToSkip: u32, - pub mElementsRestyled: u64, - pub mFramesConstructed: u64, - pub mFramesReflowed: u64, - pub mReflowStartTime: root::mozilla::TimeStamp, - pub mFirstNonBlankPaintTime: root::mozilla::TimeStamp, - pub mFirstClickTime: root::mozilla::TimeStamp, - pub mFirstKeyTime: root::mozilla::TimeStamp, - pub mFirstMouseMoveTime: root::mozilla::TimeStamp, - pub mFirstScrollTime: root::mozilla::TimeStamp, - pub mInteractionTimeEnabled: bool, - pub mLastStyleUpdateForAllAnimations: root::mozilla::TimeStamp, - pub mTelemetryScrollLastY: root::nscoord, - pub mTelemetryScrollMaxY: root::nscoord, - pub mTelemetryScrollTotalY: root::nscoord, - pub _bitfield_1: root::__BindgenBitfieldUnit<[u8; 6usize], u8>, - pub mPendingMediaFeatureValuesChange: [u32; 4usize], - } - pub type nsPresContext_Encoding = root::mozilla::Encoding; - pub type nsPresContext_NotNull = root::mozilla::NotNull; - pub type nsPresContext_LangGroupFontPrefs = root::mozilla::LangGroupFontPrefs; - pub type nsPresContext_ScrollbarStyles = root::mozilla::ScrollbarStyles; - pub type nsPresContext_StaticPresData = root::mozilla::StaticPresData; - pub type nsPresContext_HasThreadSafeRefCnt = root::mozilla::FalseType; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsPresContext_cycleCollection { - pub _base: root::nsXPCOMCycleCollectionParticipant, - } - #[test] - fn bindgen_test_layout_nsPresContext_cycleCollection() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsPresContext_cycleCollection)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPresContext_cycleCollection)) - ); - } - impl Clone for nsPresContext_cycleCollection { - fn clone(&self) -> Self { - *self - } - } - pub const nsPresContext_nsPresContextType_eContext_Galley: - root::nsPresContext_nsPresContextType = 0; - pub const nsPresContext_nsPresContextType_eContext_PrintPreview: - root::nsPresContext_nsPresContextType = 1; - pub const nsPresContext_nsPresContextType_eContext_Print: - root::nsPresContext_nsPresContextType = 2; - pub const nsPresContext_nsPresContextType_eContext_PageLayout: - root::nsPresContext_nsPresContextType = 3; - pub type nsPresContext_nsPresContextType = u32; - pub const nsPresContext_InteractionType_eClickInteraction: root::nsPresContext_InteractionType = - 0; - pub const nsPresContext_InteractionType_eKeyInteraction: root::nsPresContext_InteractionType = - 1; - pub const nsPresContext_InteractionType_eMouseMoveInteraction: - root::nsPresContext_InteractionType = 2; - pub const nsPresContext_InteractionType_eScrollInteraction: - root::nsPresContext_InteractionType = 3; - pub type nsPresContext_InteractionType = u32; - /// A class that can be used to temporarily disable reflow interruption. - #[repr(C)] - #[derive(Debug)] - pub struct nsPresContext_InterruptPreventer { - pub mCtx: *mut root::nsPresContext, - pub mInterruptsEnabled: bool, - pub mHasPendingInterrupt: bool, - } - #[test] - fn bindgen_test_layout_nsPresContext_InterruptPreventer() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(nsPresContext_InterruptPreventer)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsPresContext_InterruptPreventer) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCtx as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext_InterruptPreventer), - "::", - stringify!(mCtx) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInterruptsEnabled - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext_InterruptPreventer), - "::", - stringify!(mInterruptsEnabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mHasPendingInterrupt - as *const _ as usize - }, - 9usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext_InterruptPreventer), - "::", - stringify!(mHasPendingInterrupt) - ) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsPresContext_TransactionInvalidations { - pub mTransactionId: u64, - pub mInvalidations: root::nsTArray, - } - #[test] - fn bindgen_test_layout_nsPresContext_TransactionInvalidations() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!( - "Size of: ", - stringify!(nsPresContext_TransactionInvalidations) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsPresContext_TransactionInvalidations) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTransactionId - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext_TransactionInvalidations), - "::", - stringify!(mTransactionId) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInvalidations - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext_TransactionInvalidations), - "::", - stringify!(mInvalidations) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN13nsPresContext21_cycleCollectorGlobalE"] - pub static mut nsPresContext__cycleCollectorGlobal: root::nsPresContext_cycleCollection; - } - #[test] - fn bindgen_test_layout_nsPresContext() { - assert_eq!( - ::std::mem::size_of::(), - 1392usize, - concat!("Size of: ", stringify!(nsPresContext)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsPresContext)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mShell as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mShell) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDocument as *const _ as usize }, - 40usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mDocument) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDeviceContext as *const _ as usize - }, - 48usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mDeviceContext) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mEventManager as *const _ as usize }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mEventManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRefreshDriver as *const _ as usize - }, - 64usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mRefreshDriver) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAnimationEventDispatcher as *const _ - as usize - }, - 72usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mAnimationEventDispatcher) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEffectCompositor as *const _ as usize - }, - 80usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mEffectCompositor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTransitionManager as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTransitionManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAnimationManager as *const _ as usize - }, - 96usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mAnimationManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mRestyleManager as *const _ as usize - }, - 104usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mRestyleManager) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCounterStyleManager as *const _ as usize - }, - 112usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mCounterStyleManager) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMedium as *const _ as usize }, - 120usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mMedium) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMediaEmulated as *const _ as usize - }, - 128usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mMediaEmulated) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontFeatureValuesLookup as *const _ - as usize - }, - 136usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFontFeatureValuesLookup) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLinkHandler as *const _ as usize }, - 144usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLinkHandler) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLanguage as *const _ as usize }, - 152usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLanguage) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInflationDisabledForShrinkWrap - as *const _ as usize - }, - 160usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mInflationDisabledForShrinkWrap) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mContainer as *const _ as usize }, - 168usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mContainer) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBaseMinFontSize as *const _ as usize - }, - 176usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mBaseMinFontSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSystemFontScale as *const _ as usize - }, - 180usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mSystemFontScale) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mTextZoom as *const _ as usize }, - 184usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTextZoom) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEffectiveTextZoom as *const _ as usize - }, - 188usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mEffectiveTextZoom) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFullZoom as *const _ as usize }, - 192usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFullZoom) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mOverrideDPPX as *const _ as usize }, - 196usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mOverrideDPPX) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLastFontInflationScreenSize as *const _ - as usize - }, - 200usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLastFontInflationScreenSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCurAppUnitsPerDevPixel as *const _ - as usize - }, - 216usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mCurAppUnitsPerDevPixel) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAutoQualityMinFontSizePixelsPref - as *const _ as usize - }, - 220usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mAutoQualityMinFontSizePixelsPref) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mTheme as *const _ as usize }, - 224usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTheme) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLangService as *const _ as usize }, - 232usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLangService) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrintSettings as *const _ as usize - }, - 240usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mPrintSettings) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mBidiEngine as *const _ as usize }, - 248usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mBidiEngine) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mTransactions as *const _ as usize }, - 256usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTransactions) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mTextPerf as *const _ as usize }, - 336usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTextPerf) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMissingFonts as *const _ as usize }, - 344usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mMissingFonts) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mVisibleArea as *const _ as usize }, - 352usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mVisibleArea) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLastResizeEventVisibleArea as *const _ - as usize - }, - 368usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLastResizeEventVisibleArea) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPageSize as *const _ as usize }, - 384usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mPageSize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPageScale as *const _ as usize }, - 392usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mPageScale) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mPPScale as *const _ as usize }, - 396usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mPPScale) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mDefaultColor as *const _ as usize }, - 400usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mDefaultColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBackgroundColor as *const _ as usize - }, - 404usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mBackgroundColor) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mLinkColor as *const _ as usize }, - 408usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLinkColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mActiveLinkColor as *const _ as usize - }, - 412usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mActiveLinkColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mVisitedLinkColor as *const _ as usize - }, - 416usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mVisitedLinkColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFocusBackgroundColor as *const _ as usize - }, - 420usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFocusBackgroundColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFocusTextColor as *const _ as usize - }, - 424usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFocusTextColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBodyTextColor as *const _ as usize - }, - 428usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mBodyTextColor) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mViewportScrollbarOverrideElement - as *const _ as usize - }, - 432usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mViewportScrollbarOverrideElement) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mViewportStyleScrollbar as *const _ - as usize - }, - 440usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mViewportStyleScrollbar) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFocusRingWidth as *const _ as usize - }, - 504usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFocusRingWidth) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mExistThrottledUpdates as *const _ - as usize - }, - 505usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mExistThrottledUpdates) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImageAnimationMode as *const _ as usize - }, - 506usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mImageAnimationMode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mImageAnimationModePref as *const _ - as usize - }, - 508usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mImageAnimationModePref) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLangGroupFontPrefs as *const _ as usize - }, - 512usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLangGroupFontPrefs) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFontGroupCacheDirty as *const _ as usize - }, - 1208usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFontGroupCacheDirty) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLanguagesUsed as *const _ as usize - }, - 1216usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLanguagesUsed) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBorderWidthTable as *const _ as usize - }, - 1248usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mBorderWidthTable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInterruptChecksToSkip as *const _ - as usize - }, - 1260usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mInterruptChecksToSkip) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mElementsRestyled as *const _ as usize - }, - 1264usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mElementsRestyled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFramesConstructed as *const _ as usize - }, - 1272usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFramesConstructed) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFramesReflowed as *const _ as usize - }, - 1280usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFramesReflowed) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mReflowStartTime as *const _ as usize - }, - 1288usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mReflowStartTime) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFirstNonBlankPaintTime as *const _ - as usize - }, - 1296usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFirstNonBlankPaintTime) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFirstClickTime as *const _ as usize - }, - 1304usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFirstClickTime) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mFirstKeyTime as *const _ as usize }, - 1312usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFirstKeyTime) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFirstMouseMoveTime as *const _ as usize - }, - 1320usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFirstMouseMoveTime) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mFirstScrollTime as *const _ as usize - }, - 1328usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mFirstScrollTime) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInteractionTimeEnabled as *const _ - as usize - }, - 1336usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mInteractionTimeEnabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLastStyleUpdateForAllAnimations - as *const _ as usize - }, - 1344usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mLastStyleUpdateForAllAnimations) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTelemetryScrollLastY as *const _ as usize - }, - 1352usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTelemetryScrollLastY) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTelemetryScrollMaxY as *const _ as usize - }, - 1356usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTelemetryScrollMaxY) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mTelemetryScrollTotalY as *const _ - as usize - }, - 1360usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mTelemetryScrollTotalY) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPendingMediaFeatureValuesChange - as *const _ as usize - }, - 1372usize, - concat!( - "Offset of field: ", - stringify!(nsPresContext), - "::", - stringify!(mPendingMediaFeatureValuesChange) - ) - ); - } - impl nsPresContext { - #[inline] - pub fn mHasPendingInterrupt(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } - } - #[inline] - pub fn set_mHasPendingInterrupt(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPendingInterruptFromTest(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPendingInterruptFromTest(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(1usize, 1u8, val as u64) - } - } - #[inline] - pub fn mInterruptsEnabled(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) } - } - #[inline] - pub fn set_mInterruptsEnabled(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(2usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUseDocumentFonts(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) } - } - #[inline] - pub fn set_mUseDocumentFonts(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(3usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUseDocumentColors(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) } - } - #[inline] - pub fn set_mUseDocumentColors(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(4usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUnderlineLinks(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) } - } - #[inline] - pub fn set_mUnderlineLinks(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(5usize, 1u8, val as u64) - } - } - #[inline] - pub fn mSendAfterPaintToContent(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) } - } - #[inline] - pub fn set_mSendAfterPaintToContent(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(6usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUseFocusColors(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } - } - #[inline] - pub fn set_mUseFocusColors(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(7usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFocusRingOnAnything(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) } - } - #[inline] - pub fn set_mFocusRingOnAnything(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(8usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFocusRingStyle(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) } - } - #[inline] - pub fn set_mFocusRingStyle(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(9usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDrawImageBackground(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u32) } - } - #[inline] - pub fn set_mDrawImageBackground(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(10usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDrawColorBackground(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u32) } - } - #[inline] - pub fn set_mDrawColorBackground(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(11usize, 1u8, val as u64) - } - } - #[inline] - pub fn mNeverAnimate(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u32) } - } - #[inline] - pub fn set_mNeverAnimate(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(12usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsRenderingOnlySelection(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsRenderingOnlySelection(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(13usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPaginated(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPaginated(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(14usize, 1u8, val as u64) - } - } - #[inline] - pub fn mCanPaginatedScroll(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u32) } - } - #[inline] - pub fn set_mCanPaginatedScroll(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(15usize, 1u8, val as u64) - } - } - #[inline] - pub fn mDoScaledTwips(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 1u8) as u32) } - } - #[inline] - pub fn set_mDoScaledTwips(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsRootPaginatedDocument(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(17usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsRootPaginatedDocument(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(17usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPrefBidiDirection(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(18usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPrefBidiDirection(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(18usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPrefScrollbarSide(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 2u8) as u32) } - } - #[inline] - pub fn set_mPrefScrollbarSide(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(19usize, 2u8, val as u64) - } - } - #[inline] - pub fn mPendingSysColorChanged(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(21usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPendingSysColorChanged(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(21usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPendingThemeChanged(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(22usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPendingThemeChanged(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(22usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPendingUIResolutionChanged(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(23usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPendingUIResolutionChanged(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(23usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPrefChangePendingNeedsReflow(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPrefChangePendingNeedsReflow(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(24usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPostedPrefChangedRunnable(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(25usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPostedPrefChangedRunnable(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(25usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsEmulatingMedia(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(26usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsEmulatingMedia(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(26usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsGlyph(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(27usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsGlyph(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(27usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUsesRootEMUnits(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(28usize, 1u8) as u32) } - } - #[inline] - pub fn set_mUsesRootEMUnits(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(28usize, 1u8, val as u64) - } - } - #[inline] - pub fn mUsesExChUnits(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(29usize, 1u8) as u32) } - } - #[inline] - pub fn set_mUsesExChUnits(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(29usize, 1u8, val as u64) - } - } - #[inline] - pub fn mCounterStylesDirty(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(30usize, 1u8) as u32) } - } - #[inline] - pub fn set_mCounterStylesDirty(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(30usize, 1u8, val as u64) - } - } - #[inline] - pub fn mFontFeatureValuesDirty(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(31usize, 1u8) as u32) } - } - #[inline] - pub fn set_mFontFeatureValuesDirty(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(31usize, 1u8, val as u64) - } - } - #[inline] - pub fn mSuppressResizeReflow(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 1u8) as u32) } - } - #[inline] - pub fn set_mSuppressResizeReflow(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(32usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsVisual(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(33usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsVisual(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(33usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsChrome(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(34usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsChrome(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(34usize, 1u8, val as u64) - } - } - #[inline] - pub fn mIsChromeOriginImage(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(35usize, 1u8) as u32) } - } - #[inline] - pub fn set_mIsChromeOriginImage(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(35usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPaintFlashing(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(36usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPaintFlashing(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(36usize, 1u8, val as u64) - } - } - #[inline] - pub fn mPaintFlashingInitialized(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(37usize, 1u8) as u32) } - } - #[inline] - pub fn set_mPaintFlashingInitialized(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(37usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasWarnedAboutPositionedTableParts(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(38usize, 1u8) as u32) } - } - #[inline] - pub fn set_mHasWarnedAboutPositionedTableParts(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(38usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHasWarnedAboutTooLargeDashedOrDottedRadius(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(39usize, 1u8) as u32) } - } - #[inline] - pub fn set_mHasWarnedAboutTooLargeDashedOrDottedRadius( - &mut self, - val: ::std::os::raw::c_uint, - ) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(39usize, 1u8, val as u64) - } - } - #[inline] - pub fn mQuirkSheetAdded(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(40usize, 1u8) as u32) } - } - #[inline] - pub fn set_mQuirkSheetAdded(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(40usize, 1u8, val as u64) - } - } - #[inline] - pub fn mNeedsPrefUpdate(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(41usize, 1u8) as u32) } - } - #[inline] - pub fn set_mNeedsPrefUpdate(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(41usize, 1u8, val as u64) - } - } - #[inline] - pub fn mHadNonBlankPaint(&self) -> ::std::os::raw::c_uint { - unsafe { ::std::mem::transmute(self._bitfield_1.get(42usize, 1u8) as u32) } - } - #[inline] - pub fn set_mHadNonBlankPaint(&mut self, val: ::std::os::raw::c_uint) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(42usize, 1u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - mHasPendingInterrupt: ::std::os::raw::c_uint, - mPendingInterruptFromTest: ::std::os::raw::c_uint, - mInterruptsEnabled: ::std::os::raw::c_uint, - mUseDocumentFonts: ::std::os::raw::c_uint, - mUseDocumentColors: ::std::os::raw::c_uint, - mUnderlineLinks: ::std::os::raw::c_uint, - mSendAfterPaintToContent: ::std::os::raw::c_uint, - mUseFocusColors: ::std::os::raw::c_uint, - mFocusRingOnAnything: ::std::os::raw::c_uint, - mFocusRingStyle: ::std::os::raw::c_uint, - mDrawImageBackground: ::std::os::raw::c_uint, - mDrawColorBackground: ::std::os::raw::c_uint, - mNeverAnimate: ::std::os::raw::c_uint, - mIsRenderingOnlySelection: ::std::os::raw::c_uint, - mPaginated: ::std::os::raw::c_uint, - mCanPaginatedScroll: ::std::os::raw::c_uint, - mDoScaledTwips: ::std::os::raw::c_uint, - mIsRootPaginatedDocument: ::std::os::raw::c_uint, - mPrefBidiDirection: ::std::os::raw::c_uint, - mPrefScrollbarSide: ::std::os::raw::c_uint, - mPendingSysColorChanged: ::std::os::raw::c_uint, - mPendingThemeChanged: ::std::os::raw::c_uint, - mPendingUIResolutionChanged: ::std::os::raw::c_uint, - mPrefChangePendingNeedsReflow: ::std::os::raw::c_uint, - mPostedPrefChangedRunnable: ::std::os::raw::c_uint, - mIsEmulatingMedia: ::std::os::raw::c_uint, - mIsGlyph: ::std::os::raw::c_uint, - mUsesRootEMUnits: ::std::os::raw::c_uint, - mUsesExChUnits: ::std::os::raw::c_uint, - mCounterStylesDirty: ::std::os::raw::c_uint, - mFontFeatureValuesDirty: ::std::os::raw::c_uint, - mSuppressResizeReflow: ::std::os::raw::c_uint, - mIsVisual: ::std::os::raw::c_uint, - mIsChrome: ::std::os::raw::c_uint, - mIsChromeOriginImage: ::std::os::raw::c_uint, - mPaintFlashing: ::std::os::raw::c_uint, - mPaintFlashingInitialized: ::std::os::raw::c_uint, - mHasWarnedAboutPositionedTableParts: ::std::os::raw::c_uint, - mHasWarnedAboutTooLargeDashedOrDottedRadius: ::std::os::raw::c_uint, - mQuirkSheetAdded: ::std::os::raw::c_uint, - mNeedsPrefUpdate: ::std::os::raw::c_uint, - mHadNonBlankPaint: ::std::os::raw::c_uint, - ) -> root::__BindgenBitfieldUnit<[u8; 6usize], u8> { - let mut __bindgen_bitfield_unit: root::__BindgenBitfieldUnit< - [u8; 6usize], - u8, - > = Default::default(); - __bindgen_bitfield_unit.set(0usize, 1u8, { - let mHasPendingInterrupt: u32 = - unsafe { ::std::mem::transmute(mHasPendingInterrupt) }; - mHasPendingInterrupt as u64 - }); - __bindgen_bitfield_unit.set(1usize, 1u8, { - let mPendingInterruptFromTest: u32 = - unsafe { ::std::mem::transmute(mPendingInterruptFromTest) }; - mPendingInterruptFromTest as u64 - }); - __bindgen_bitfield_unit.set(2usize, 1u8, { - let mInterruptsEnabled: u32 = unsafe { ::std::mem::transmute(mInterruptsEnabled) }; - mInterruptsEnabled as u64 - }); - __bindgen_bitfield_unit.set(3usize, 1u8, { - let mUseDocumentFonts: u32 = unsafe { ::std::mem::transmute(mUseDocumentFonts) }; - mUseDocumentFonts as u64 - }); - __bindgen_bitfield_unit.set(4usize, 1u8, { - let mUseDocumentColors: u32 = unsafe { ::std::mem::transmute(mUseDocumentColors) }; - mUseDocumentColors as u64 - }); - __bindgen_bitfield_unit.set(5usize, 1u8, { - let mUnderlineLinks: u32 = unsafe { ::std::mem::transmute(mUnderlineLinks) }; - mUnderlineLinks as u64 - }); - __bindgen_bitfield_unit.set(6usize, 1u8, { - let mSendAfterPaintToContent: u32 = - unsafe { ::std::mem::transmute(mSendAfterPaintToContent) }; - mSendAfterPaintToContent as u64 - }); - __bindgen_bitfield_unit.set(7usize, 1u8, { - let mUseFocusColors: u32 = unsafe { ::std::mem::transmute(mUseFocusColors) }; - mUseFocusColors as u64 - }); - __bindgen_bitfield_unit.set(8usize, 1u8, { - let mFocusRingOnAnything: u32 = - unsafe { ::std::mem::transmute(mFocusRingOnAnything) }; - mFocusRingOnAnything as u64 - }); - __bindgen_bitfield_unit.set(9usize, 1u8, { - let mFocusRingStyle: u32 = unsafe { ::std::mem::transmute(mFocusRingStyle) }; - mFocusRingStyle as u64 - }); - __bindgen_bitfield_unit.set(10usize, 1u8, { - let mDrawImageBackground: u32 = - unsafe { ::std::mem::transmute(mDrawImageBackground) }; - mDrawImageBackground as u64 - }); - __bindgen_bitfield_unit.set(11usize, 1u8, { - let mDrawColorBackground: u32 = - unsafe { ::std::mem::transmute(mDrawColorBackground) }; - mDrawColorBackground as u64 - }); - __bindgen_bitfield_unit.set(12usize, 1u8, { - let mNeverAnimate: u32 = unsafe { ::std::mem::transmute(mNeverAnimate) }; - mNeverAnimate as u64 - }); - __bindgen_bitfield_unit.set(13usize, 1u8, { - let mIsRenderingOnlySelection: u32 = - unsafe { ::std::mem::transmute(mIsRenderingOnlySelection) }; - mIsRenderingOnlySelection as u64 - }); - __bindgen_bitfield_unit.set(14usize, 1u8, { - let mPaginated: u32 = unsafe { ::std::mem::transmute(mPaginated) }; - mPaginated as u64 - }); - __bindgen_bitfield_unit.set(15usize, 1u8, { - let mCanPaginatedScroll: u32 = - unsafe { ::std::mem::transmute(mCanPaginatedScroll) }; - mCanPaginatedScroll as u64 - }); - __bindgen_bitfield_unit.set(16usize, 1u8, { - let mDoScaledTwips: u32 = unsafe { ::std::mem::transmute(mDoScaledTwips) }; - mDoScaledTwips as u64 - }); - __bindgen_bitfield_unit.set(17usize, 1u8, { - let mIsRootPaginatedDocument: u32 = - unsafe { ::std::mem::transmute(mIsRootPaginatedDocument) }; - mIsRootPaginatedDocument as u64 - }); - __bindgen_bitfield_unit.set(18usize, 1u8, { - let mPrefBidiDirection: u32 = unsafe { ::std::mem::transmute(mPrefBidiDirection) }; - mPrefBidiDirection as u64 - }); - __bindgen_bitfield_unit.set(19usize, 2u8, { - let mPrefScrollbarSide: u32 = unsafe { ::std::mem::transmute(mPrefScrollbarSide) }; - mPrefScrollbarSide as u64 - }); - __bindgen_bitfield_unit.set(21usize, 1u8, { - let mPendingSysColorChanged: u32 = - unsafe { ::std::mem::transmute(mPendingSysColorChanged) }; - mPendingSysColorChanged as u64 - }); - __bindgen_bitfield_unit.set(22usize, 1u8, { - let mPendingThemeChanged: u32 = - unsafe { ::std::mem::transmute(mPendingThemeChanged) }; - mPendingThemeChanged as u64 - }); - __bindgen_bitfield_unit.set(23usize, 1u8, { - let mPendingUIResolutionChanged: u32 = - unsafe { ::std::mem::transmute(mPendingUIResolutionChanged) }; - mPendingUIResolutionChanged as u64 - }); - __bindgen_bitfield_unit.set(24usize, 1u8, { - let mPrefChangePendingNeedsReflow: u32 = - unsafe { ::std::mem::transmute(mPrefChangePendingNeedsReflow) }; - mPrefChangePendingNeedsReflow as u64 - }); - __bindgen_bitfield_unit.set(25usize, 1u8, { - let mPostedPrefChangedRunnable: u32 = - unsafe { ::std::mem::transmute(mPostedPrefChangedRunnable) }; - mPostedPrefChangedRunnable as u64 - }); - __bindgen_bitfield_unit.set(26usize, 1u8, { - let mIsEmulatingMedia: u32 = unsafe { ::std::mem::transmute(mIsEmulatingMedia) }; - mIsEmulatingMedia as u64 - }); - __bindgen_bitfield_unit.set(27usize, 1u8, { - let mIsGlyph: u32 = unsafe { ::std::mem::transmute(mIsGlyph) }; - mIsGlyph as u64 - }); - __bindgen_bitfield_unit.set(28usize, 1u8, { - let mUsesRootEMUnits: u32 = unsafe { ::std::mem::transmute(mUsesRootEMUnits) }; - mUsesRootEMUnits as u64 - }); - __bindgen_bitfield_unit.set(29usize, 1u8, { - let mUsesExChUnits: u32 = unsafe { ::std::mem::transmute(mUsesExChUnits) }; - mUsesExChUnits as u64 - }); - __bindgen_bitfield_unit.set(30usize, 1u8, { - let mCounterStylesDirty: u32 = - unsafe { ::std::mem::transmute(mCounterStylesDirty) }; - mCounterStylesDirty as u64 - }); - __bindgen_bitfield_unit.set(31usize, 1u8, { - let mFontFeatureValuesDirty: u32 = - unsafe { ::std::mem::transmute(mFontFeatureValuesDirty) }; - mFontFeatureValuesDirty as u64 - }); - __bindgen_bitfield_unit.set(32usize, 1u8, { - let mSuppressResizeReflow: u32 = - unsafe { ::std::mem::transmute(mSuppressResizeReflow) }; - mSuppressResizeReflow as u64 - }); - __bindgen_bitfield_unit.set(33usize, 1u8, { - let mIsVisual: u32 = unsafe { ::std::mem::transmute(mIsVisual) }; - mIsVisual as u64 - }); - __bindgen_bitfield_unit.set(34usize, 1u8, { - let mIsChrome: u32 = unsafe { ::std::mem::transmute(mIsChrome) }; - mIsChrome as u64 - }); - __bindgen_bitfield_unit.set(35usize, 1u8, { - let mIsChromeOriginImage: u32 = - unsafe { ::std::mem::transmute(mIsChromeOriginImage) }; - mIsChromeOriginImage as u64 - }); - __bindgen_bitfield_unit.set(36usize, 1u8, { - let mPaintFlashing: u32 = unsafe { ::std::mem::transmute(mPaintFlashing) }; - mPaintFlashing as u64 - }); - __bindgen_bitfield_unit.set(37usize, 1u8, { - let mPaintFlashingInitialized: u32 = - unsafe { ::std::mem::transmute(mPaintFlashingInitialized) }; - mPaintFlashingInitialized as u64 - }); - __bindgen_bitfield_unit.set(38usize, 1u8, { - let mHasWarnedAboutPositionedTableParts: u32 = - unsafe { ::std::mem::transmute(mHasWarnedAboutPositionedTableParts) }; - mHasWarnedAboutPositionedTableParts as u64 - }); - __bindgen_bitfield_unit.set(39usize, 1u8, { - let mHasWarnedAboutTooLargeDashedOrDottedRadius: u32 = - unsafe { ::std::mem::transmute(mHasWarnedAboutTooLargeDashedOrDottedRadius) }; - mHasWarnedAboutTooLargeDashedOrDottedRadius as u64 - }); - __bindgen_bitfield_unit.set(40usize, 1u8, { - let mQuirkSheetAdded: u32 = unsafe { ::std::mem::transmute(mQuirkSheetAdded) }; - mQuirkSheetAdded as u64 - }); - __bindgen_bitfield_unit.set(41usize, 1u8, { - let mNeedsPrefUpdate: u32 = unsafe { ::std::mem::transmute(mNeedsPrefUpdate) }; - mNeedsPrefUpdate as u64 - }); - __bindgen_bitfield_unit.set(42usize, 1u8, { - let mHadNonBlankPaint: u32 = unsafe { ::std::mem::transmute(mHadNonBlankPaint) }; - mHadNonBlankPaint as u64 - }); - __bindgen_bitfield_unit - } - } - #[repr(C)] - pub struct nsISMILAttr__bindgen_vtable(::std::os::raw::c_void); - /// - #[repr(C)] - #[derive(Debug)] - pub struct nsISMILAttr { - pub vtable_: *const nsISMILAttr__bindgen_vtable, - } - #[test] - fn bindgen_test_layout_nsISMILAttr() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsISMILAttr)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsISMILAttr)) - ); - } - /// nsITheme is a service that provides platform-specific native - /// rendering for widgets. In other words, it provides the necessary - /// operations to draw a rendering object (an nsIFrame) as a native - /// widget. - /// - /// All the methods on nsITheme take a rendering context or device - /// context, a frame (the rendering object), and a widget type (one of - /// the constants in nsThemeConstants.h). - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsITheme { - pub _base: root::nsISupports, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsITheme_COMTypeInfo { - pub _address: u8, - } - pub const nsITheme_Transparency_eOpaque: root::nsITheme_Transparency = 0; - pub const nsITheme_Transparency_eTransparent: root::nsITheme_Transparency = 1; - pub const nsITheme_Transparency_eUnknownTransparency: root::nsITheme_Transparency = 2; - pub type nsITheme_Transparency = u32; - /// ThemeGeometryType values are used for describing themed nsIFrames in - /// calls to nsIWidget::UpdateThemeGeometries. We don't simply pass the - /// -moz-appearance value ("widget type") of the frame because the widget may - /// want to treat different frames with the same -moz-appearance differently - /// based on other properties of the frame. So we give the theme a first look - /// at the frame in nsITheme::ThemeGeometryTypeForWidget and pass the - /// returned ThemeGeometryType along to the widget. - /// Each theme backend defines the ThemeGeometryType values it needs in its - /// own nsITheme subclass. eThemeGeometryTypeUnknown is the only value that's - /// shared between backends. - pub type nsITheme_ThemeGeometryType = u8; - pub const nsITheme_eThemeGeometryTypeUnknown: root::nsITheme__bindgen_ty_1 = 0; - pub type nsITheme__bindgen_ty_1 = u32; - #[test] - fn bindgen_test_layout_nsITheme() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsITheme)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsITheme)) - ); - } - impl Clone for nsITheme { - fn clone(&self) -> Self { - *self - } - } - pub type nsIWidget_LayoutDeviceIntPoint = root::mozilla::LayoutDeviceIntPoint; - #[repr(C)] - #[derive(Debug)] - pub struct nsIWidget_LongTapInfo { - pub mPointerId: i32, - pub mPosition: root::nsIWidget_LayoutDeviceIntPoint, - pub mDuration: root::mozilla::TimeDuration, - pub mObserver: root::nsCOMPtr, - pub mStamp: root::mozilla::TimeStamp, - } - #[test] - fn bindgen_test_layout_nsIWidget_LongTapInfo() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsIWidget_LongTapInfo)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIWidget_LongTapInfo)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPointerId as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsIWidget_LongTapInfo), - "::", - stringify!(mPointerId) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPosition as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(nsIWidget_LongTapInfo), - "::", - stringify!(mPosition) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDuration as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsIWidget_LongTapInfo), - "::", - stringify!(mDuration) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mObserver as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsIWidget_LongTapInfo), - "::", - stringify!(mObserver) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mStamp as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsIWidget_LongTapInfo), - "::", - stringify!(mStamp) - ) - ); - } - pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_31 = 4194304; - pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_31 = - 8388608; - pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_31 = 16777216; - pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_31 = 33554432; - pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_31 = 24; - pub type _bindgen_ty_31 = u32; - pub type nsStyledElementBase = root::mozilla::dom::Element; - #[repr(C)] - pub struct nsStyledElement { - pub _base: root::nsStyledElementBase, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsStyledElement_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsStyledElement() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(nsStyledElement)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsStyledElement)) - ); - } - pub type nsMappedAttributeElementBase = root::nsStyledElement; - #[repr(C)] - pub struct nsMappedAttributeElement { - pub _base: root::nsMappedAttributeElementBase, - } - #[test] - fn bindgen_test_layout_nsMappedAttributeElement() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(nsMappedAttributeElement)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsMappedAttributeElement)) - ); - } - /// The Name Space Manager tracks the association between a NameSpace - /// URI and the int32_t runtime id. Mappings between NameSpaces and - /// NameSpace prefixes are managed by nsINameSpaces. - /// - /// All NameSpace URIs are stored in a global table so that IDs are - /// consistent accross the app. NameSpace IDs are only consistent at runtime - /// ie: they are not guaranteed to be consistent accross app sessions. - /// - /// The nsNameSpaceManager needs to have a live reference for as long as - /// the NameSpace IDs are needed. - /// - #[repr(C)] - #[derive(Debug)] - pub struct nsNameSpaceManager { - pub _base: root::nsIObserver, - pub mRefCnt: root::nsAutoRefCnt, - pub mMathMLDisabled: bool, - pub mSVGDisabled: bool, - pub mURIToIDTable: [u64; 4usize], - pub mDisabledURIToIDTable: [u64; 4usize], - pub mURIArray: root::nsTArray>, - } - pub type nsNameSpaceManager_HasThreadSafeRefCnt = root::mozilla::FalseType; - extern "C" { - #[link_name = "\u{1}_ZN18nsNameSpaceManager9sInstanceE"] - pub static mut nsNameSpaceManager_sInstance: - root::mozilla::StaticRefPtr; - } - #[test] - fn bindgen_test_layout_nsNameSpaceManager() { - assert_eq!( - ::std::mem::size_of::(), - 96usize, - concat!("Size of: ", stringify!(nsNameSpaceManager)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsNameSpaceManager)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRefCnt as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsNameSpaceManager), - "::", - stringify!(mRefCnt) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMathMLDisabled as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsNameSpaceManager), - "::", - stringify!(mMathMLDisabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSVGDisabled as *const _ as usize - }, - 17usize, - concat!( - "Offset of field: ", - stringify!(nsNameSpaceManager), - "::", - stringify!(mSVGDisabled) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mURIToIDTable as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsNameSpaceManager), - "::", - stringify!(mURIToIDTable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDisabledURIToIDTable as *const _ - as usize - }, - 56usize, - concat!( - "Offset of field: ", - stringify!(nsNameSpaceManager), - "::", - stringify!(mDisabledURIToIDTable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mURIArray as *const _ as usize - }, - 88usize, - concat!( - "Offset of field: ", - stringify!(nsNameSpaceManager), - "::", - stringify!(mURIArray) - ) - ); - } - pub type nsGenericHTMLElementBase = root::nsMappedAttributeElement; - /// A common superclass for HTML elements - #[repr(C)] - pub struct nsGenericHTMLElement { - pub _base: root::nsGenericHTMLElementBase, - pub _base_1: root::nsIDOMElement, - } - pub const nsGenericHTMLElement_PresContextFor_eForComposedDoc: - root::nsGenericHTMLElement_PresContextFor = 0; - pub const nsGenericHTMLElement_PresContextFor_eForUncomposedDoc: - root::nsGenericHTMLElement_PresContextFor = 1; - /// Get the presentation context for this content node. - /// @return the presentation context - pub type nsGenericHTMLElement_PresContextFor = u32; - pub const nsGenericHTMLElement_ContentEditableTristate_eInherit: - root::nsGenericHTMLElement_ContentEditableTristate = -1; - pub const nsGenericHTMLElement_ContentEditableTristate_eFalse: - root::nsGenericHTMLElement_ContentEditableTristate = 0; - pub const nsGenericHTMLElement_ContentEditableTristate_eTrue: - root::nsGenericHTMLElement_ContentEditableTristate = 1; - pub type nsGenericHTMLElement_ContentEditableTristate = i32; - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement19sCommonAttributeMapE"] - pub static mut nsGenericHTMLElement_sCommonAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement28sImageMarginSizeAttributeMapE"] - pub static mut nsGenericHTMLElement_sImageMarginSizeAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement24sImageBorderAttributeMapE"] - pub static mut nsGenericHTMLElement_sImageBorderAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement23sImageAlignAttributeMapE"] - pub static mut nsGenericHTMLElement_sImageAlignAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement21sDivAlignAttributeMapE"] - pub static mut nsGenericHTMLElement_sDivAlignAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement23sBackgroundAttributeMapE"] - pub static mut nsGenericHTMLElement_sBackgroundAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN20nsGenericHTMLElement28sBackgroundColorAttributeMapE"] - pub static mut nsGenericHTMLElement_sBackgroundColorAttributeMap: - [root::mozilla::dom::Element_MappedAttributeEntry; 0usize]; - } - #[test] - fn bindgen_test_layout_nsGenericHTMLElement() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(nsGenericHTMLElement)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsGenericHTMLElement)) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIDOMDocumentFragment { - pub _base: root::nsIDOMNode, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsIDOMDocumentFragment_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsIDOMDocumentFragment() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsIDOMDocumentFragment)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsIDOMDocumentFragment)) - ); - } - impl Clone for nsIDOMDocumentFragment { - fn clone(&self) -> Self { - *self - } - } - /// Shared superclass for mozilla::css::StyleRule and mozilla::ServoStyleRule, - /// for use from bindings code. - #[repr(C)] - #[derive(Debug)] - pub struct nsICSSDeclaration { - pub _base: root::nsISupports, - pub _base_1: root::nsWrapperCache, - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] - pub struct nsICSSDeclaration_COMTypeInfo { - pub _address: u8, - } - #[test] - fn bindgen_test_layout_nsICSSDeclaration() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(nsICSSDeclaration)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsICSSDeclaration)) - ); - } - #[repr(C)] - #[derive(Debug)] - pub struct nsDOMCSSDeclaration { - pub _base: root::nsICSSDeclaration, - } - #[repr(C)] - #[derive(Debug)] - pub struct nsDOMCSSDeclaration_ServoCSSParsingEnvironment { - pub mUrlExtraData: root::RefPtr, - pub mCompatMode: root::nsCompatibility, - pub mLoader: *mut root::mozilla::css::Loader, - } - #[test] - fn bindgen_test_layout_nsDOMCSSDeclaration_ServoCSSParsingEnvironment() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!( - "Size of: ", - stringify!(nsDOMCSSDeclaration_ServoCSSParsingEnvironment) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsDOMCSSDeclaration_ServoCSSParsingEnvironment) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mUrlExtraData as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_ServoCSSParsingEnvironment), - "::", - stringify!(mUrlExtraData) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())) - .mCompatMode as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_ServoCSSParsingEnvironment), - "::", - stringify!(mCompatMode) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mLoader - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_ServoCSSParsingEnvironment), - "::", - stringify!(mLoader) - ) - ); - } - pub const nsDOMCSSDeclaration_Operation_eOperation_Read: root::nsDOMCSSDeclaration_Operation = - 0; - pub const nsDOMCSSDeclaration_Operation_eOperation_Modify: root::nsDOMCSSDeclaration_Operation = - 1; - pub const nsDOMCSSDeclaration_Operation_eOperation_RemoveProperty: - root::nsDOMCSSDeclaration_Operation = 2; - pub type nsDOMCSSDeclaration_Operation = u32; - #[repr(C)] - #[derive(Debug)] - pub struct nsDOMCSSDeclaration_CSSParsingEnvironment { - pub mSheetURI: *mut root::nsIURI, - pub mBaseURI: root::nsCOMPtr, - pub mPrincipal: *mut root::nsIPrincipal, - pub mCSSLoader: *mut root::mozilla::css::Loader, - } - #[test] - fn bindgen_test_layout_nsDOMCSSDeclaration_CSSParsingEnvironment() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!( - "Size of: ", - stringify!(nsDOMCSSDeclaration_CSSParsingEnvironment) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of ", - stringify!(nsDOMCSSDeclaration_CSSParsingEnvironment) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSheetURI - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_CSSParsingEnvironment), - "::", - stringify!(mSheetURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mBaseURI - as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_CSSParsingEnvironment), - "::", - stringify!(mBaseURI) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mPrincipal - as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_CSSParsingEnvironment), - "::", - stringify!(mPrincipal) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mCSSLoader - as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsDOMCSSDeclaration_CSSParsingEnvironment), - "::", - stringify!(mCSSLoader) - ) - ); - } - #[test] - fn bindgen_test_layout_nsDOMCSSDeclaration() { - assert_eq!( - ::std::mem::size_of::(), - 32usize, - concat!("Size of: ", stringify!(nsDOMCSSDeclaration)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsDOMCSSDeclaration)) - ); - } - /// Utility class to provide scaling defined in a keySplines element. - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsSMILKeySpline { - pub mX1: f64, - pub mY1: f64, - pub mX2: f64, - pub mY2: f64, - pub mSampleValues: [f64; 11usize], - } - pub const nsSMILKeySpline_kSplineTableSize: root::nsSMILKeySpline__bindgen_ty_1 = 11; - pub type nsSMILKeySpline__bindgen_ty_1 = u32; - extern "C" { - #[link_name = "\u{1}_ZN15nsSMILKeySpline15kSampleStepSizeE"] - pub static mut nsSMILKeySpline_kSampleStepSize: f64; - } - #[test] - fn bindgen_test_layout_nsSMILKeySpline() { - assert_eq!( - ::std::mem::size_of::(), - 120usize, - concat!("Size of: ", stringify!(nsSMILKeySpline)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsSMILKeySpline)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mX1 as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsSMILKeySpline), - "::", - stringify!(mX1) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mY1 as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsSMILKeySpline), - "::", - stringify!(mY1) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mX2 as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsSMILKeySpline), - "::", - stringify!(mX2) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mY2 as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsSMILKeySpline), - "::", - stringify!(mY2) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mSampleValues as *const _ as usize - }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsSMILKeySpline), - "::", - stringify!(mSampleValues) - ) - ); - } - impl Clone for nsSMILKeySpline { - fn clone(&self) -> Self { - *self - } - } - pub const GECKO_IS_NIGHTLY: bool = true; - #[repr(C)] - pub struct ServoBundledURI { - pub mURLString: ::gecko_bindings::structs::ServoRawOffsetArc, - pub mExtraData: *mut root::mozilla::URLExtraData, - } - #[test] - fn bindgen_test_layout_ServoBundledURI() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(ServoBundledURI)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(ServoBundledURI)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mURLString as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(ServoBundledURI), - "::", - stringify!(mURLString) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mExtraData as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(ServoBundledURI), - "::", - stringify!(mExtraData) - ) - ); - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct FontSizePrefs { - pub mDefaultVariableSize: root::nscoord, - pub mDefaultFixedSize: root::nscoord, - pub mDefaultSerifSize: root::nscoord, - pub mDefaultSansSerifSize: root::nscoord, - pub mDefaultMonospaceSize: root::nscoord, - pub mDefaultCursiveSize: root::nscoord, - pub mDefaultFantasySize: root::nscoord, - } - #[test] - fn bindgen_test_layout_FontSizePrefs() { - assert_eq!( - ::std::mem::size_of::(), - 28usize, - concat!("Size of: ", stringify!(FontSizePrefs)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(FontSizePrefs)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultVariableSize as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultVariableSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultFixedSize as *const _ as usize - }, - 4usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultFixedSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultSerifSize as *const _ as usize - }, - 8usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultSerifSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultSansSerifSize as *const _ as usize - }, - 12usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultSansSerifSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultMonospaceSize as *const _ as usize - }, - 16usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultMonospaceSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultCursiveSize as *const _ as usize - }, - 20usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultCursiveSize) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mDefaultFantasySize as *const _ as usize - }, - 24usize, - concat!( - "Offset of field: ", - stringify!(FontSizePrefs), - "::", - stringify!(mDefaultFantasySize) - ) - ); - } - impl Clone for FontSizePrefs { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct MediumFeaturesChangedResult { - pub mAffectsDocumentRules: bool, - pub mAffectsNonDocumentRules: bool, - pub mUsesViewportUnits: bool, - } - #[test] - fn bindgen_test_layout_MediumFeaturesChangedResult() { - assert_eq!( - ::std::mem::size_of::(), - 3usize, - concat!("Size of: ", stringify!(MediumFeaturesChangedResult)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(MediumFeaturesChangedResult)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAffectsDocumentRules - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(MediumFeaturesChangedResult), - "::", - stringify!(mAffectsDocumentRules) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mAffectsNonDocumentRules - as *const _ as usize - }, - 1usize, - concat!( - "Offset of field: ", - stringify!(MediumFeaturesChangedResult), - "::", - stringify!(mAffectsNonDocumentRules) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mUsesViewportUnits - as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(MediumFeaturesChangedResult), - "::", - stringify!(mUsesViewportUnits) - ) - ); - } - impl Clone for MediumFeaturesChangedResult { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct GeckoFontMetrics { - pub mChSize: root::nscoord, - pub mXSize: root::nscoord, - } - #[test] - fn bindgen_test_layout_GeckoFontMetrics() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(GeckoFontMetrics)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(GeckoFontMetrics)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mChSize as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(GeckoFontMetrics), - "::", - stringify!(mChSize) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mXSize as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(GeckoFontMetrics), - "::", - stringify!(mXSize) - ) - ); - } - impl Clone for GeckoFontMetrics { - fn clone(&self) -> Self { - *self - } - } - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_after: u32 = 129; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_before: u32 = 129; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_backdrop: u32 = 0; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_cue: u32 = 68; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_firstLetter: u32 = 3; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_firstLine: u32 = 3; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozSelection: u32 = 2; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozFocusInner: u32 = 0; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozFocusOuter: u32 = 0; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozListBullet: u32 = 0; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozListNumber: u32 = 0; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozMathAnonymous: u32 = 16; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberWrapper: u32 = 56; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberText: u32 = 56; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberSpinBox: u32 = 56; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberSpinUp: u32 = 56; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozNumberSpinDown: u32 = 56; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozProgressBar: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozRangeTrack: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozRangeProgress: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozRangeThumb: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozMeterBar: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozPlaceholder: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_placeholder: u32 = 8; - pub const SERVO_CSS_PSEUDO_ELEMENT_FLAGS_mozColorSwatch: u32 = 12; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsHtml5StringParser { - _unused: [u8; 0], - } - impl Clone for nsHtml5StringParser { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIConsoleService { - _unused: [u8; 0], - } - impl Clone for nsIConsoleService { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIFragmentContentSink { - _unused: [u8; 0], - } - impl Clone for nsIFragmentContentSink { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIStringBundle { - _unused: [u8; 0], - } - impl Clone for nsIStringBundle { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsIBidiKeyboard { - _unused: [u8; 0], - } - impl Clone for nsIBidiKeyboard { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct EventNameMapping { - pub mAtom: *mut root::nsAtom, - pub mType: i32, - pub mMessage: root::mozilla::EventMessage, - pub mEventClassID: root::mozilla::EventClassID, - pub mMaybeSpecialSVGorSMILEvent: bool, - } - #[test] - fn bindgen_test_layout_EventNameMapping() { - assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(EventNameMapping)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(EventNameMapping)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mAtom as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(EventNameMapping), - "::", - stringify!(mAtom) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mType as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(EventNameMapping), - "::", - stringify!(mType) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mMessage as *const _ as usize }, - 12usize, - concat!( - "Offset of field: ", - stringify!(EventNameMapping), - "::", - stringify!(mMessage) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mEventClassID as *const _ as usize - }, - 14usize, - concat!( - "Offset of field: ", - stringify!(EventNameMapping), - "::", - stringify!(mEventClassID) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMaybeSpecialSVGorSMILEvent as *const _ - as usize - }, - 15usize, - concat!( - "Offset of field: ", - stringify!(EventNameMapping), - "::", - stringify!(mMaybeSpecialSVGorSMILEvent) - ) - ); - } - impl Clone for EventNameMapping { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils10sXPConnectE"] - pub static mut nsContentUtils_sXPConnect: *mut root::nsIXPConnect; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils16sSecurityManagerE"] - pub static mut nsContentUtils_sSecurityManager: *mut root::nsIScriptSecurityManager; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils16sSystemPrincipalE"] - pub static mut nsContentUtils_sSystemPrincipal: *mut root::nsIPrincipal; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sNullSubjectPrincipalE"] - pub static mut nsContentUtils_sNullSubjectPrincipal: *mut root::nsIPrincipal; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils17sNameSpaceManagerE"] - pub static mut nsContentUtils_sNameSpaceManager: *mut root::nsNameSpaceManager; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils10sIOServiceE"] - pub static mut nsContentUtils_sIOService: *mut root::nsIIOService; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils14sUUIDGeneratorE"] - pub static mut nsContentUtils_sUUIDGenerator: *mut root::nsIUUIDGenerator; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils15sConsoleServiceE"] - pub static mut nsContentUtils_sConsoleService: *mut root::nsIConsoleService; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils15sAtomEventTableE"] - pub static mut nsContentUtils_sAtomEventTable: *mut u8; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils17sStringEventTableE"] - pub static mut nsContentUtils_sStringEventTable: *mut u8; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sUserDefinedEventsE"] - pub static mut nsContentUtils_sUserDefinedEvents: - *mut root::nsTArray>; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils20sStringBundleServiceE"] - pub static mut nsContentUtils_sStringBundleService: *mut root::nsIStringBundleService; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils14sStringBundlesE"] - pub static mut nsContentUtils_sStringBundles: [*mut root::nsIStringBundle; 14usize]; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sContentPolicyServiceE"] - pub static mut nsContentUtils_sContentPolicyService: *mut root::nsIContentPolicy; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils24sTriedToGetContentPolicyE"] - pub static mut nsContentUtils_sTriedToGetContentPolicy: bool; - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_LineBreaker_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils12sLineBreakerE"] - pub static mut nsContentUtils_sLineBreaker: root::RefPtr; - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_WordBreaker_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils12sWordBreakerE"] - pub static mut nsContentUtils_sWordBreaker: root::RefPtr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils13sBidiKeyboardE"] - pub static mut nsContentUtils_sBidiKeyboard: *mut root::nsIBidiKeyboard; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils12sInitializedE"] - pub static mut nsContentUtils_sInitialized: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils19sScriptBlockerCountE"] - pub static mut nsContentUtils_sScriptBlockerCount: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils28sDOMNodeRemovedSuppressCountE"] - pub static mut nsContentUtils_sDOMNodeRemovedSuppressCount: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sBlockedScriptRunnersE"] - pub static mut nsContentUtils_sBlockedScriptRunners: *mut u8; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils27sRunnersCountAtFirstBlockerE"] - pub static mut nsContentUtils_sRunnersCountAtFirstBlocker: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils40sScriptBlockerCountWhereRunnersPreventedE"] - pub static mut nsContentUtils_sScriptBlockerCountWhereRunnersPrevented: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sSameOriginCheckerE"] - pub static mut nsContentUtils_sSameOriginChecker: *mut root::nsIInterfaceRequestor; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils24sIsHandlingKeyBoardEventE"] - pub static mut nsContentUtils_sIsHandlingKeyBoardEvent: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sAllowXULXBL_for_fileE"] - pub static mut nsContentUtils_sAllowXULXBL_for_file: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils23sIsFullScreenApiEnabledE"] - pub static mut nsContentUtils_sIsFullScreenApiEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils33sIsUnprefixedFullscreenApiEnabledE"] - pub static mut nsContentUtils_sIsUnprefixedFullscreenApiEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils22sTrustedFullScreenOnlyE"] - pub static mut nsContentUtils_sTrustedFullScreenOnly: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils17sIsCutCopyAllowedE"] - pub static mut nsContentUtils_sIsCutCopyAllowed: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sHandlingInputTimeoutE"] - pub static mut nsContentUtils_sHandlingInputTimeout: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils27sIsPerformanceTimingEnabledE"] - pub static mut nsContentUtils_sIsPerformanceTimingEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils24sIsResourceTimingEnabledE"] - pub static mut nsContentUtils_sIsResourceTimingEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils37sIsPerformanceNavigationTimingEnabledE"] - pub static mut nsContentUtils_sIsPerformanceNavigationTimingEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils38sIsUpgradableDisplayContentPrefEnabledE"] - pub static mut nsContentUtils_sIsUpgradableDisplayContentPrefEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils25sIsFrameTimingPrefEnabledE"] - pub static mut nsContentUtils_sIsFrameTimingPrefEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils34sIsFormAutofillAutocompleteEnabledE"] - pub static mut nsContentUtils_sIsFormAutofillAutocompleteEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils19sIsShadowDOMEnabledE"] - pub static mut nsContentUtils_sIsShadowDOMEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils24sIsCustomElementsEnabledE"] - pub static mut nsContentUtils_sIsCustomElementsEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils35sSendPerformanceTimingNotificationsE"] - pub static mut nsContentUtils_sSendPerformanceTimingNotifications: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sUseActivityCursorE"] - pub static mut nsContentUtils_sUseActivityCursor: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils25sAnimationsAPICoreEnabledE"] - pub static mut nsContentUtils_sAnimationsAPICoreEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils35sAnimationsAPIElementAnimateEnabledE"] - pub static mut nsContentUtils_sAnimationsAPIElementAnimateEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils19sGetBoxQuadsEnabledE"] - pub static mut nsContentUtils_sGetBoxQuadsEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils30sSkipCursorMoveForSameValueSetE"] - pub static mut nsContentUtils_sSkipCursorMoveForSameValueSet: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils27sRequestIdleCallbackEnabledE"] - pub static mut nsContentUtils_sRequestIdleCallbackEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sLowerNetworkPriorityE"] - pub static mut nsContentUtils_sLowerNetworkPriority: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils15sTailingEnabledE"] - pub static mut nsContentUtils_sTailingEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils28sShowInputPlaceholderOnFocusE"] - pub static mut nsContentUtils_sShowInputPlaceholderOnFocus: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils17sAutoFocusEnabledE"] - pub static mut nsContentUtils_sAutoFocusEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils23sBypassCSSOMOriginCheckE"] - pub static mut nsContentUtils_sBypassCSSOMOriginCheck: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils23sIsBytecodeCacheEnabledE"] - pub static mut nsContentUtils_sIsBytecodeCacheEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils22sBytecodeCacheStrategyE"] - pub static mut nsContentUtils_sBytecodeCacheStrategy: i32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils22sCookiesLifetimePolicyE"] - pub static mut nsContentUtils_sCookiesLifetimePolicy: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils16sCookiesBehaviorE"] - pub static mut nsContentUtils_sCookiesBehavior: u32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils20sShortcutsCustomizedE"] - pub static mut nsContentUtils_sShortcutsCustomized: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils21sPrivacyMaxInnerWidthE"] - pub static mut nsContentUtils_sPrivacyMaxInnerWidth: i32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils22sPrivacyMaxInnerHeightE"] - pub static mut nsContentUtils_sPrivacyMaxInnerHeight: i32; - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsContentUtils_UserInteractionObserver { - _unused: [u8; 0], - } - impl Clone for nsContentUtils_UserInteractionObserver { - fn clone(&self) -> Self { - *self - } - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils24sUserInteractionObserverE"] - pub static mut nsContentUtils_sUserInteractionObserver: - *mut root::nsContentUtils_UserInteractionObserver; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils19sHTMLFragmentParserE"] - pub static mut nsContentUtils_sHTMLFragmentParser: *mut root::nsHtml5StringParser; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sXMLFragmentParserE"] - pub static mut nsContentUtils_sXMLFragmentParser: *mut root::nsIParser; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils16sXMLFragmentSinkE"] - pub static mut nsContentUtils_sXMLFragmentSink: *mut root::nsIFragmentContentSink; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils22sFragmentParsingActiveE"] - pub static mut nsContentUtils_sFragmentParsingActive: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils10sShiftTextE"] - pub static mut nsContentUtils_sShiftText: *mut ::nsstring::nsStringRepr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils12sControlTextE"] - pub static mut nsContentUtils_sControlText: *mut ::nsstring::nsStringRepr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils9sMetaTextE"] - pub static mut nsContentUtils_sMetaText: *mut ::nsstring::nsStringRepr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils7sOSTextE"] - pub static mut nsContentUtils_sOSText: *mut ::nsstring::nsStringRepr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils8sAltTextE"] - pub static mut nsContentUtils_sAltText: *mut ::nsstring::nsStringRepr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sModifierSeparatorE"] - pub static mut nsContentUtils_sModifierSeparator: *mut ::nsstring::nsStringRepr; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils19sJSBytecodeMimeTypeE"] - pub static mut nsContentUtils_sJSBytecodeMimeType: *mut root::nsCString; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sDoNotTrackEnabledE"] - pub static mut nsContentUtils_sDoNotTrackEnabled: bool; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils11sDOMDumpLogE"] - pub static mut nsContentUtils_sDOMDumpLog: root::mozilla::LazyLogModule; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils18sPopupControlStateE"] - pub static mut nsContentUtils_sPopupControlState: root::PopupControlState; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils24sInnerOrOuterWindowCountE"] - pub static mut nsContentUtils_sInnerOrOuterWindowCount: i32; - } - extern "C" { - #[link_name = "\u{1}_ZN14nsContentUtils32sInnerOrOuterWindowSerialCounterE"] - pub static mut nsContentUtils_sInnerOrOuterWindowSerialCounter: u32; - } - pub type nsMediaFeatureValueGetter = ::std::option::Option< - unsafe extern "C" fn( - aDocument: *mut root::nsIDocument, - aFeature: *const root::nsMediaFeature, - aResult: *mut root::nsCSSValue, - ), - >; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsMediaFeature { - pub mName: *mut *mut root::nsStaticAtom, - pub mRangeType: root::nsMediaFeature_RangeType, - pub mValueType: root::nsMediaFeature_ValueType, - pub mReqFlags: u8, - pub mData: root::nsMediaFeature__bindgen_ty_1, - pub mGetter: root::nsMediaFeatureValueGetter, - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsMediaFeature_RangeType { - eMinMaxAllowed = 0, - eMinMaxNotAllowed = 1, - } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum nsMediaFeature_ValueType { - eLength = 0, - eInteger = 1, - eFloat = 2, - eBoolInteger = 3, - eIntRatio = 4, - eResolution = 5, - eEnumerated = 6, - eIdent = 7, - } - pub const nsMediaFeature_RequirementFlags_eNoRequirements: - root::nsMediaFeature_RequirementFlags = 0; - pub const nsMediaFeature_RequirementFlags_eHasWebkitPrefix: - root::nsMediaFeature_RequirementFlags = 1; - pub const nsMediaFeature_RequirementFlags_eWebkitDevicePixelRatioPrefEnabled: - root::nsMediaFeature_RequirementFlags = 2; - pub const nsMediaFeature_RequirementFlags_eUserAgentAndChromeOnly: - root::nsMediaFeature_RequirementFlags = 4; - pub type nsMediaFeature_RequirementFlags = u8; - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsMediaFeature__bindgen_ty_1 { - pub mInitializer_: root::__BindgenUnionField<*const ::std::os::raw::c_void>, - pub mKeywordTable: root::__BindgenUnionField<*const root::nsCSSProps_KTableEntry>, - pub mMetric: root::__BindgenUnionField<*const *const root::nsAtom>, - pub bindgen_union_field: u64, - } - #[test] - fn bindgen_test_layout_nsMediaFeature__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(nsMediaFeature__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsMediaFeature__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mInitializer_ as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature__bindgen_ty_1), - "::", - stringify!(mInitializer_) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mKeywordTable as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature__bindgen_ty_1), - "::", - stringify!(mKeywordTable) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).mMetric as *const _ - as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature__bindgen_ty_1), - "::", - stringify!(mMetric) - ) - ); - } - impl Clone for nsMediaFeature__bindgen_ty_1 { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn bindgen_test_layout_nsMediaFeature() { - assert_eq!( - ::std::mem::size_of::(), - 40usize, - concat!("Size of: ", stringify!(nsMediaFeature)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(nsMediaFeature)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mName as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature), - "::", - stringify!(mName) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mRangeType as *const _ as usize }, - 8usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature), - "::", - stringify!(mRangeType) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mValueType as *const _ as usize }, - 12usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature), - "::", - stringify!(mValueType) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mReqFlags as *const _ as usize }, - 16usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature), - "::", - stringify!(mReqFlags) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mData as *const _ as usize }, - 24usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature), - "::", - stringify!(mData) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).mGetter as *const _ as usize }, - 32usize, - concat!( - "Offset of field: ", - stringify!(nsMediaFeature), - "::", - stringify!(mGetter) - ) - ); - } - impl Clone for nsMediaFeature { - fn clone(&self) -> Self { - *self - } - } - #[repr(C)] - #[derive(Debug, Copy)] - pub struct nsMediaFeatures { - pub _address: u8, - } - extern "C" { - #[link_name = "\u{1}_ZN15nsMediaFeatures8featuresE"] - pub static mut nsMediaFeatures_features: [root::nsMediaFeature; 0usize]; - } - #[test] - fn bindgen_test_layout_nsMediaFeatures() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!("Size of: ", stringify!(nsMediaFeatures)) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!("Alignment of ", stringify!(nsMediaFeatures)) - ); - } - impl Clone for nsMediaFeatures { - fn clone(&self) -> Self { - *self - } - } - #[test] - fn __bindgen_test_layout_nsTSubstring_open0_char16_t_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTSubstring) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTSubstring) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char16_t_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::<::nsstring::nsStringRepr>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(::nsstring::nsStringRepr) - ) - ); - assert_eq!( - ::std::mem::align_of::<::nsstring::nsStringRepr>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(::nsstring::nsStringRepr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTSubstring_open0_char_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTSubstring<::std::os::raw::c_char>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTSubstring<::std::os::raw::c_char>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTString_open0_char_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTString<::std::os::raw::c_char>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTString<::std::os::raw::c_char>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_FontFamilyName_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_NotNull_open0_RefPtr_open1_SharedFontList_close1_close0_instantiation() - { - assert_eq!( - ::std::mem::size_of::< - root::mozilla::NotNull>, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::NotNull>) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::mozilla::NotNull>, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::NotNull>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_SharedFontList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_gfxFontFeatureValueSet_ValueList_close0_instantiation() - { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_uint32_t_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_gfxAlternateValue_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_gfxFontFeatureValueSet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_gfxFontFeature_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_gfxFontVariation_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_open0_TimeDurationValueCalculator_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::BaseTimeDuration) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::BaseTimeDuration) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_URLParams_Param_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_URLParams_DefaultDelete_open1_URLParams_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_URLParams_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIWeakReference_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_const_char_FreePolicy_open1_const_char_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr<::std::os::raw::c_char>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr<::std::os::raw::c_char>) - ) - ); - } - #[test] - fn __bindgen_test_layout_FreePolicy_open0_const_char_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::detail::FreePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::detail::FreePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLExtraData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_nsIDocument_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_GridNamedArea_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_Note_DeletePolicy_open1_JSErrorNotes_Note_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_Note_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_DeletePolicy_open1_JSErrorNotes_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long_ptr_UniquePtr_ref_UniquePtr_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::std::iterator) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::std::iterator) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_Note_DeletePolicy_open1_JSErrorNotes_Note_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_Note_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_Note_DeletePolicy_open1_JSErrorNotes_Note_close1_close0_instantiation_2( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_Note_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_Note_DeletePolicy_open1_JSErrorNotes_Note_close1_close0_instantiation_3( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_Note_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_Note_DeletePolicy_open1_JSErrorNotes_Note_close1_close0_instantiation_4( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_Note_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_Note_DeletePolicy_open1_JSErrorNotes_Note_close1_close0_instantiation_5( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_Note_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_JSErrorNotes_DeletePolicy_open1_JSErrorNotes_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DeletePolicy_open0_JSErrorNotes_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::JS::DeletePolicy) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_ProfilerBacktrace_ProfilerBacktraceDestructor_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_imgRequestProxy_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_ProxyBehaviour_DefaultDelete_open1_ProxyBehaviour_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_ProxyBehaviour_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_imgRequestProxy_ImageURL_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadGroup_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_TabGroup_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIEventTarget_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_CounterStyle_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::CounterStyle>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::CounterStyle>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleGradientStop_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_imgRequestProxy_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ImageValue_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ImageTracker_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DocGroup_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMArray_open0_imgIContainer_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMArray) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleSides_DefaultDelete_open1_nsStyleSides_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleSides_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleSides_DefaultDelete_open1_nsStyleSides_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleSides_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_CachedBorderImageData_DefaultDelete_open1_CachedBorderImageData_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_CachedBorderImageData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleSides_DefaultDelete_open1_nsStyleSides_close1_close0_instantiation_2( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleSides_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsStyleAutoArray_open0_nsStyleImageLayers_Layer_close0_instantiation() - { - assert_eq!( - ::std::mem::size_of::>(), - 104usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_pair_open1_nsString_nsString_close1_close0_instantiation( -) { - assert_eq ! ( :: std :: mem :: size_of :: < root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > > ( ) , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > ) ) ); - assert_eq ! ( :: std :: mem :: align_of :: < root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsTArray < root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > > ) ) ); - } - #[test] - fn __bindgen_test_layout_pair_open0_nsString_nsString_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 32usize, - concat!( - "Size of template specialization: ", - stringify ! ( root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > ) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify ! ( root :: std :: pair < ::nsstring::nsStringRepr , ::nsstring::nsStringRepr > ) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsStyleImageRequest_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsStyleQuoteValues_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsTArray_open1_nsString_close1_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<::nsstring::nsStringRepr>) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleGridTemplate_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleGridTemplate_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_GridTemplateAreasValue_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSShadowArray_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleImage_DefaultDelete_open1_nsStyleImage_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleImage_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleImage_DefaultDelete_open1_nsStyleImage_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleImage_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_StyleBasicShape_DefaultDelete_open1_StyleBasicShape_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_StyleBasicShape_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_StyleBasicShape_DefaultDelete_open1_StyleBasicShape_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_StyleBasicShape_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_StyleBasicShape_DefaultDelete_open1_StyleBasicShape_close1_close0_instantiation_2( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_StyleBasicShape_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleImage_DefaultDelete_open1_nsStyleImage_close1_close0_instantiation_2( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleImage_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLValue_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_Position_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSValueSharedList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSValueSharedList_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSValueSharedList_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSValueSharedList_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSValueSharedList_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsStyleAutoArray_open0_StyleTransition_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 48usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsStyleAutoArray_open0_StyleAnimation_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 56usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleContentData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleCounterData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleCounterData_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSValueSharedList_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsStyleImageRequest_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCursorImage_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLValue_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLValue_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLValue_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_6() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsStyleFilter_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsCSSShadowArray_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_nsISupports_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut root::nsISupports>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut root::nsISupports>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoAnimationValue_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_PropertyValuePair_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsStyleAutoArray_open0_StyleAnimation_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 56usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsStyleAutoArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoFontFaceRule_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoAnimationValue_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_6() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsISerialEventTarget_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_MediaList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_ServoStyleSet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::ServoStyleSet>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::ServoStyleSet>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoStyleSheetContents_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLExtraData_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ServoCSSRuleList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_MozPromiseHolder_open0_StyleSheetParsePromise_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::< - root::mozilla::MozPromiseHolder, - >(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::MozPromiseHolder) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::mozilla::MozPromiseHolder, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::MozPromiseHolder) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsNodeInfoManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_NodeInfo_NodeInfoInner_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq ! ( :: std :: mem :: align_of :: < root :: nsPtrHashKey < root :: mozilla :: dom :: NodeInfo_NodeInfoInner > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsPtrHashKey < root :: mozilla :: dom :: NodeInfo_NodeInfoInner > ) ) ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsBindingManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAttrChildContentList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_LinkedList_open1_nsRange_close1_DefaultDelete_open1_LinkedList_open2_nsRange_close2_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_LinkedList_open1_nsRange_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_LinkedList_open1_nsRange_close1_DefaultDelete_open1_LinkedList_open2_nsRange_close2_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_LinkedList_open1_nsRange_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_NodeInfo_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_SheetLoadData_close1_close0_instantiation() - { - assert_eq ! ( :: std :: mem :: size_of :: < root :: nsTArray < root :: RefPtr < root :: mozilla :: css :: SheetLoadData > > > ( ) , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( root :: nsTArray < root :: RefPtr < root :: mozilla :: css :: SheetLoadData > > ) ) ); - assert_eq ! ( :: std :: mem :: align_of :: < root :: nsTArray < root :: RefPtr < root :: mozilla :: css :: SheetLoadData > > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsTArray < root :: RefPtr < root :: mozilla :: css :: SheetLoadData > > ) ) ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_SheetLoadData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_Loader_Sheets_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsICSSLoaderObserver_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DocGroup_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIConsoleReportCollector_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_Decoder_DefaultDelete_open1_Decoder_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_Decoder_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_Decoder_DefaultDelete_open1_Decoder_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_Decoder_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_Decoder_DefaultDelete_open1_Decoder_close1_close0_instantiation_2( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_Decoder_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_Encoder_DefaultDelete_open1_Encoder_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_Encoder_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Loader_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_7() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_SheetLoadData_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIStyleSheetLinkingElement_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsICSSLoaderObserver_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsINode_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_IPCClientInfo_DefaultDelete_open1_IPCClientInfo_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_IPCClientInfo_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_IPCServiceWorkerDescriptor_DefaultDelete_open1_IPCServiceWorkerDescriptor_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::< - root::mozilla::UniquePtr, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr< - root::mozilla::dom::IPCServiceWorkerDescriptor, - >) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::mozilla::UniquePtr, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr< - root::mozilla::dom::IPCServiceWorkerDescriptor, - >) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_IPCServiceWorkerDescriptor_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCString_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_DOMEventTargetHelper_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_EventTarget_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_8() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_9() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_EventTarget_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Performance_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_TimeoutManager_DefaultDelete_open1_TimeoutManager_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_TimeoutManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Navigator_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsPIDOMWindowOuter_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIContent_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_AudioContext_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::dom::AudioContext>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::dom::AudioContext>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_TabGroup_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsPIDOMWindowInner_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_EventTarget_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_10() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_11() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_EventTarget_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_Element_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocShell_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_TabGroup_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsPIDOMWindowOuter_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_7() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_RawServoStyleSet_DefaultDelete_open1_RawServoStyleSet_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoStyleSet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_ServoStyleSheet_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ComputedStyle_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_PostTraversalTask_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_ServoStyleRuleMap_DefaultDelete_open1_ServoStyleRuleMap_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_ServoStyleRuleMap_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIContent_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ShadowRoot_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_HTMLSlotElement_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsIContent_nsExtendedContentSlots_DefaultDelete_open1_nsIContent_nsExtendedContentSlots_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::< - root::mozilla::UniquePtr, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::mozilla::UniquePtr, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsIContent_nsExtendedContentSlots_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_void_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut ::std::os::raw::c_void>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut ::std::os::raw::c_void>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_void_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey<::std::os::raw::c_void>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey<::std::os::raw::c_void>) - ) - ); - } - #[test] - fn __bindgen_test_layout_StaticRefPtr_open0_nsIContent_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::StaticRefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::StaticRefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsPresContext_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_ServoStyleSet_DefaultDelete_open1_ServoStyleSet_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_ServoStyleSet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsFrameSelection_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsITimer_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_WeakFrame_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_8() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsBaseContentList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_nsTHashtable_open1_nsIdentifierMapEntry_ChangeCallbackEntry_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of template specialization: ", stringify!(u64)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of template specialization: ", stringify!(u64)) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsIdentifierMapEntry_Element_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_1() - { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_6() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheetList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_9() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIObserver_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIContentViewer_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadGroup_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIStreamListener_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_12() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsILoadContext_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIProgressEventSink_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIChannelEventSink_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsISecurityEventSink_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIInterfaceRequestor_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIApplicationCacheContainer_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_ServoStyleSet_DefaultDelete_open1_ServoStyleSet_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_ServoStyleSet_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_RawServoSelectorList_DefaultDelete_open1_RawServoSelectorList_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoSelectorList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_ShadowRoot_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsIDocument_SelectorCache_DefaultDelete_open1_nsIDocument_SelectorCache_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsIDocument_SelectorCache_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_13() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_14() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_15() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_16() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_17() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLExtraData_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_NotNull_open0_ptr_const_nsIDocument__Encoding_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::NotNull<*const root::nsIDocument_Encoding>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::NotNull<*const root::nsIDocument_Encoding>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Loader_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ImageLoader_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsHTMLStyleSheet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsHTMLCSSStyleSheet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ImageTracker_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsISupports_close2_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of template specialization: ", stringify!(u64)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of template specialization: ", stringify!(u64)) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_Link_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_Link_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsSMILAnimationController_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIHTMLCollection_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIHTMLCollection_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_FontFaceSet_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Promise_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_AboutCapabilities_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIScriptGlobalObject_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_6() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIChannel_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsISupports_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIChannel_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMArray_open0_nsINode_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMArray) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_7() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsWeakPtr_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocumentEncoder_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsIDocument_FrameRequest_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIStructuredCloneContainer_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIVariant_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_XPathEvaluator_DefaultDelete_open1_XPathEvaluator_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_XPathEvaluator_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_AnonymousContent_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_LinkedList_open0_MediaQueryList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::LinkedList) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::LinkedList) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DocGroup_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCOMPtr_open1_nsIPrincipal_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_6() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_uint64_t_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIParser_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_PrincipalFlashClassifier_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRevocableEventPtr_open0_nsRunnableMethod_open1_nsIDocument_void_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of template specialization: ", stringify!(u64)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of template specialization: ", stringify!(u64)) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDOMNavigationTiming_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_DOMIntersectionObserver_close0_instantiation() { - assert_eq ! ( :: std :: mem :: size_of :: < root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > > ( ) , 16usize , concat ! ( "Size of template specialization: " , stringify ! ( root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > ) ) ); - assert_eq ! ( :: std :: mem :: align_of :: < root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: nsPtrHashKey < root :: mozilla :: dom :: DOMIntersectionObserver > ) ) ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsWeakPtr_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DOMImplementation_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_6() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_HTMLImageElement_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_nsIObjectLoadingContent_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DocumentTimeline_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_LinkedList_open0_DocumentTimeline_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 24usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::LinkedList) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::LinkedList) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ScriptLoader_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_PendingAnimationTracker_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_8() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Promise_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsFrameLoader_close1_close0_instantiation() - { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsCOMPtr_open1_nsIRunnable_close1_close0_instantiation() - { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsRunnableMethod_open1_nsIDocument_void_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of template specialization: ", stringify!(u64)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of template specialization: ", stringify!(u64)) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsILayoutHistoryState_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_EventListenerManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIRequest_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_2() - { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_7() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_StyleSheet_close1_close0_instantiation_3() - { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_StyleSheet_close0_instantiation_8() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDOMStyleSheetSetList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_nsSVGElement_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsINode_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIContent_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsXBLBinding_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_XBLChildrenElement_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_XBLChildrenElement_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_XBLChildrenElement_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAnonymousContentList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDOMCSSAttributeDeclaration_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DeclarationBlock_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIControllers_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsLabelsNodeList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ShadowRoot_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsXBLBinding_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_CustomElementData_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsISupports_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsICSSDeclaration_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDOMAttributeMap_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsContentList_close0_instantiation_7() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDOMTokenList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDOMAttributeMap_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsDOMAttributeMap_Element_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_10() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_11() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_LangGroupFontPrefs_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_nsRect_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIDocument_close0_instantiation_9() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsDeviceContext_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_EventStateManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsRefreshDriver_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_AnimationEventDispatcher_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_EffectCompositor_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsTransitionManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAnimationManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RestyleManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_CounterStyleManager_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_12() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_gfxFontFeatureValueSet_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_13() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsITheme_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrintSettings_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsBidi_DefaultDelete_open1_nsBidi_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsBidi_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_gfxTextPerfMetrics_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsAutoPtr_open0_gfxMissingFontRecorder_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsAutoPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsISupports_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIObserver_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsIWidget_LongTapInfo_DefaultDelete_open1_nsIWidget_LongTapInfo_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsIWidget_LongTapInfo_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsISupports_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DOMRect_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DOMRect_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DOMRect_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsPIDOMWindowInner_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsIDocument_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_IntersectionCallback_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_double_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_Element_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::dom::Element>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut root::mozilla::dom::Element>) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_DOMIntersectionObserverEntry_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray< - root::RefPtr, - >) - ) - ); - assert_eq!( - ::std::mem::align_of::< - root::nsTArray>, - >(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray< - root::RefPtr, - >) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_DOMIntersectionObserverEntry_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq ! ( :: std :: mem :: align_of :: < root :: RefPtr < root :: mozilla :: dom :: DOMIntersectionObserverEntry > > ( ) , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( root :: RefPtr < root :: mozilla :: dom :: DOMIntersectionObserverEntry > ) ) ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsISMILAttr_DefaultDelete_open1_nsISMILAttr_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsISMILAttr_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_14() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsINode_close1_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsINode_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_URLExtraData_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIURI_close0_instantiation_18() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ServoDeclarationBlock_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoStyleRule_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsPtrHashKey_open0_RawServoStyleRule_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_RawServoAuthorStyles_DefaultDelete_open1_RawServoAuthorStyles_close1_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_RawServoAuthorStyles_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_ServoStyleRuleMap_DefaultDelete_open1_ServoStyleRuleMap_close1_close0_instantiation_1( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_ServoStyleRuleMap_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_BaseTimeDuration_open0_StickyTimeDurationValueCalculator_close0_instantiation( -) { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::BaseTimeDuration) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::BaseTimeDuration) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoDeclarationBlock_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_PropertyValuePair_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ServoAttrSnapshot_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_Element_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_ptr_nsIContent_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray<*mut root::nsIContent>) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray<*mut root::nsIContent>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_Element_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation_2( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleGridTemplate_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation_3( -) { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::UniquePtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_DefaultDelete_open0_nsStyleGridTemplate_close0_instantiation_3() { - assert_eq!( - ::std::mem::size_of::(), - 1usize, - concat!( - "Size of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 1usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::mozilla::DefaultDelete) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoMediaList_close0_instantiation() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_ComputedStyle_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_15() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_RawServoDeclarationBlock_close0_instantiation_1() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_5() { - assert_eq!( - ::std::mem::size_of::>(), - 16usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsRefPtrHashKey) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation_4() { - assert_eq!( - ::std::mem::size_of::>>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - assert_eq!( - ::std::mem::align_of::>>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsTArray>) - ) - ); - } - #[test] - fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_16() { - assert_eq!( - ::std::mem::size_of::>(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::RefPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::>(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::RefPtr) - ) - ); - } - #[test] - fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_2() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!( - "Size of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!( - "Alignment of template specialization: ", - stringify!(root::nsCOMPtr) - ) - ); - } -} diff --git a/docs/ORGANIZATION.md b/docs/ORGANIZATION.md index 8aa97f69eb6..2ec15f28b1c 100644 --- a/docs/ORGANIZATION.md +++ b/docs/ORGANIZATION.md @@ -59,8 +59,6 @@ * mach * A command-line tool to help with developer tasks. * ports - * geckolib - * A static library to be linked into Gecko for the Stylo project. * glutin * Embedding implementation for the `glutin` windowing library. * python diff --git a/etc/ci/clean_build_artifacts.sh b/etc/ci/clean_build_artifacts.sh index f3d7d725060..d8b07e42e0a 100755 --- a/etc/ci/clean_build_artifacts.sh +++ b/etc/ci/clean_build_artifacts.sh @@ -8,4 +8,4 @@ set -o errexit set -o nounset set -o pipefail -rm -rf target/{debug,release,doc,geckolib} +rm -rf target/{debug,release,doc} diff --git a/etc/doc.servo.org/geckolib/index.html b/etc/doc.servo.org/geckolib/index.html deleted file mode 100644 index 66bcaff167b..00000000000 --- a/etc/doc.servo.org/geckolib/index.html +++ /dev/null @@ -1,6 +0,0 @@ - -Geckolib, a subset of Servo’s style system for Stylo project. - - -Documentation for Geckolib, a subset of Servo’s style system for Stylo project. -Start with the geckoservo crate diff --git a/geckolib-rust-toolchain b/geckolib-rust-toolchain deleted file mode 100644 index 53cc1a6f929..00000000000 --- a/geckolib-rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -1.24.0 diff --git a/moz.build b/moz.build deleted file mode 100644 index 510da4870b7..00000000000 --- a/moz.build +++ /dev/null @@ -1,26 +0,0 @@ -# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- -# vim: set filetype=python: -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -with Files("**"): - BUG_COMPONENT = ("Firefox", "General") - -with Files("components/style/**"): - BUG_COMPONENT = ("Core", "CSS Parsing and Computation") - -with Files("components/style_derive/**"): - BUG_COMPONENT = ("Core", "CSS Parsing and Computation") - -with Files("components/style_traits/**"): - BUG_COMPONENT = ("Core", "CSS Parsing and Computation") - -with Files("components/selectors/**"): - BUG_COMPONENT = ("Core", "CSS Parsing and Computation") - -with Files("ports/geckolib/**"): - BUG_COMPONENT = ("Core", "CSS Parsing and Computation") - -with Files("tests/unit/style/**"): - BUG_COMPONENT = ("Core", "CSS Parsing and Computation") diff --git a/ports/geckolib/Cargo.toml b/ports/geckolib/Cargo.toml deleted file mode 100644 index 8703128ab03..00000000000 --- a/ports/geckolib/Cargo.toml +++ /dev/null @@ -1,29 +0,0 @@ -[package] -name = "geckoservo" -version = "0.0.1" -authors = ["The Servo Project Developers"] -license = "MPL-2.0" - -[lib] -name = "geckoservo" -path = "lib.rs" -crate-type = ["staticlib", "rlib"] - -[features] -bindgen = ["style/use_bindgen"] -gecko_debug = ["style/gecko_debug"] - -[dependencies] -atomic_refcell = "0.1" -cssparser = "0.23.0" -cstr = "0.1.2" -libc = "0.2" -log = {version = "0.4", features = ["release_max_level_info"]} -malloc_size_of = {path = "../../components/malloc_size_of"} -nsstring = {path = "../../support/gecko/nsstring"} -parking_lot = "0.5" -selectors = {path = "../../components/selectors"} -servo_arc = {path = "../../components/servo_arc"} -smallvec = "0.6" -style = {path = "../../components/style", features = ["gecko"]} -style_traits = {path = "../../components/style_traits"} diff --git a/ports/geckolib/error_reporter.rs b/ports/geckolib/error_reporter.rs deleted file mode 100644 index 3faddf7dcd2..00000000000 --- a/ports/geckolib/error_reporter.rs +++ /dev/null @@ -1,436 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -//! Wrapper around Gecko's CSS error reporting mechanism. - -#![allow(unsafe_code)] - -use cssparser::{CowRcStr, serialize_identifier, ToCss}; -use cssparser::{SourceLocation, ParseError, ParseErrorKind, Token, BasicParseErrorKind}; -use selectors::parser::SelectorParseErrorKind; -use std::ffi::CStr; -use std::ptr; -use style::error_reporting::{ParseErrorReporter, ContextualParseError}; -use style::gecko_bindings::bindings::{Gecko_CreateCSSErrorReporter, Gecko_DestroyCSSErrorReporter}; -use style::gecko_bindings::bindings::Gecko_ReportUnexpectedCSSError; -use style::gecko_bindings::structs::{Loader, StyleSheet as DomStyleSheet, nsIURI}; -use style::gecko_bindings::structs::ErrorReporter as GeckoErrorReporter; -use style::gecko_bindings::structs::URLExtraData as RawUrlExtraData; -use style::stylesheets::UrlExtraData; -use style_traits::{StyleParseErrorKind, ValueParseErrorKind}; - -pub type ErrorKind<'i> = ParseErrorKind<'i, StyleParseErrorKind<'i>>; - -/// Wrapper around an instance of Gecko's CSS error reporter. -pub struct ErrorReporter(*mut GeckoErrorReporter); - -impl ErrorReporter { - /// Create a new instance of the Gecko error reporter. - pub fn new( - sheet: *mut DomStyleSheet, - loader: *mut Loader, - extra_data: *mut RawUrlExtraData, - ) -> Self { - unsafe { - let url = extra_data.as_ref() - .map(|d| d.mBaseURI.raw::()) - .unwrap_or(ptr::null_mut()); - ErrorReporter(Gecko_CreateCSSErrorReporter(sheet, loader, url)) - } - } -} - -impl Drop for ErrorReporter { - fn drop(&mut self) { - unsafe { - Gecko_DestroyCSSErrorReporter(self.0); - } - } -} - -enum ErrorString<'a> { - Snippet(CowRcStr<'a>), - Ident(CowRcStr<'a>), - UnexpectedToken(Token<'a>), -} - -impl<'a> ErrorString<'a> { - fn into_str(self) -> CowRcStr<'a> { - match self { - ErrorString::Snippet(s) => s, - ErrorString::UnexpectedToken(t) => t.to_css_string().into(), - ErrorString::Ident(i) => { - let mut s = String::new(); - serialize_identifier(&i, &mut s).unwrap(); - s.into() - } - } - } -} - -#[derive(Debug)] -enum Action { - Nothing, - Skip, - Drop, -} - -trait ErrorHelpers<'a> { - fn error_data(self) -> (CowRcStr<'a>, ErrorKind<'a>); - fn error_params(self) -> ErrorParams<'a>; - fn to_gecko_message(&self) -> (Option<&'static CStr>, &'static CStr, Action); -} - -fn extract_error_param<'a>(err: ErrorKind<'a>) -> Option> { - Some(match err { - ParseErrorKind::Basic(BasicParseErrorKind::UnexpectedToken(t)) => { - ErrorString::UnexpectedToken(t) - } - - ParseErrorKind::Basic(BasicParseErrorKind::AtRuleInvalid(i)) | - ParseErrorKind::Custom(StyleParseErrorKind::UnsupportedAtRule(i)) => { - let mut s = String::from("@"); - serialize_identifier(&i, &mut s).unwrap(); - ErrorString::Snippet(s.into()) - } - - ParseErrorKind::Custom(StyleParseErrorKind::OtherInvalidValue(property)) => { - ErrorString::Snippet(property) - } - - ParseErrorKind::Custom( - StyleParseErrorKind::SelectorError( - SelectorParseErrorKind::UnexpectedIdent(ident) - ) - ) => { - ErrorString::Ident(ident) - } - - ParseErrorKind::Custom(StyleParseErrorKind::UnknownProperty(property)) => { - ErrorString::Ident(property) - } - - ParseErrorKind::Custom( - StyleParseErrorKind::UnexpectedTokenWithinNamespace(token) - ) => { - ErrorString::UnexpectedToken(token) - } - - _ => return None, - }) -} - -struct ErrorParams<'a> { - prefix_param: Option>, - main_param: Option>, -} - -/// If an error parameter is present in the given error, return it. Additionally return -/// a second parameter if it exists, for use in the prefix for the eventual error message. -fn extract_error_params<'a>(err: ErrorKind<'a>) -> Option> { - let (main, prefix) = match err { - ParseErrorKind::Custom(StyleParseErrorKind::InvalidColor(property, token)) | - ParseErrorKind::Custom(StyleParseErrorKind::InvalidFilter(property, token)) => { - (Some(ErrorString::Snippet(property.into())), Some(ErrorString::UnexpectedToken(token))) - } - - ParseErrorKind::Custom( - StyleParseErrorKind::MediaQueryExpectedFeatureName(ident) - ) => { - (Some(ErrorString::Ident(ident)), None) - } - - ParseErrorKind::Custom( - StyleParseErrorKind::ExpectedIdentifier(token) - ) | - ParseErrorKind::Custom( - StyleParseErrorKind::ValueError(ValueParseErrorKind::InvalidColor(token)) - ) => { - (Some(ErrorString::UnexpectedToken(token)), None) - } - - ParseErrorKind::Custom(StyleParseErrorKind::SelectorError(err)) => match err { - SelectorParseErrorKind::UnexpectedTokenInAttributeSelector(t) | - SelectorParseErrorKind::BadValueInAttr(t) | - SelectorParseErrorKind::ExpectedBarInAttr(t) | - SelectorParseErrorKind::NoQualifiedNameInAttributeSelector(t) | - SelectorParseErrorKind::InvalidQualNameInAttr(t) | - SelectorParseErrorKind::ExplicitNamespaceUnexpectedToken(t) | - SelectorParseErrorKind::PseudoElementExpectedIdent(t) | - SelectorParseErrorKind::NoIdentForPseudo(t) | - SelectorParseErrorKind::ClassNeedsIdent(t) | - SelectorParseErrorKind::PseudoElementExpectedColon(t) => { - (None, Some(ErrorString::UnexpectedToken(t))) - } - SelectorParseErrorKind::ExpectedNamespace(namespace) => { - (None, Some(ErrorString::Ident(namespace))) - } - SelectorParseErrorKind::UnsupportedPseudoClassOrElement(p) => { - (None, Some(ErrorString::Ident(p))) - } - SelectorParseErrorKind::EmptySelector | - SelectorParseErrorKind::DanglingCombinator => { - (None, None) - } - SelectorParseErrorKind::EmptyNegation => { - (None, Some(ErrorString::Snippet(")".into()))) - } - err => match extract_error_param(ParseErrorKind::Custom(StyleParseErrorKind::SelectorError(err))) { - Some(e) => (Some(e), None), - None => return None, - } - }, - err => match extract_error_param(err) { - Some(e) => (Some(e), None), - None => return None, - } - }; - Some(ErrorParams { - main_param: main, - prefix_param: prefix, - }) -} - -impl<'a> ErrorHelpers<'a> for ContextualParseError<'a> { - fn error_data(self) -> (CowRcStr<'a>, ErrorKind<'a>) { - match self { - ContextualParseError::UnsupportedPropertyDeclaration(s, err) | - ContextualParseError::UnsupportedFontFaceDescriptor(s, err) | - ContextualParseError::UnsupportedFontFeatureValuesDescriptor(s, err) | - ContextualParseError::InvalidKeyframeRule(s, err) | - ContextualParseError::InvalidFontFeatureValuesRule(s, err) | - ContextualParseError::UnsupportedKeyframePropertyDeclaration(s, err) | - ContextualParseError::InvalidRule(s, err) | - ContextualParseError::UnsupportedRule(s, err) | - ContextualParseError::UnsupportedViewportDescriptorDeclaration(s, err) | - ContextualParseError::UnsupportedCounterStyleDescriptorDeclaration(s, err) | - ContextualParseError::InvalidMediaRule(s, err) | - ContextualParseError::UnsupportedValue(s, err) => { - (s.into(), err.kind) - } - ContextualParseError::InvalidCounterStyleWithoutSymbols(s) | - ContextualParseError::InvalidCounterStyleNotEnoughSymbols(s) => { - (s.into(), ParseErrorKind::Custom(StyleParseErrorKind::UnspecifiedError.into())) - } - ContextualParseError::InvalidCounterStyleWithoutAdditiveSymbols | - ContextualParseError::InvalidCounterStyleExtendsWithSymbols | - ContextualParseError::InvalidCounterStyleExtendsWithAdditiveSymbols => { - ("".into(), ParseErrorKind::Custom(StyleParseErrorKind::UnspecifiedError.into())) - } - } - } - - fn error_params(self) -> ErrorParams<'a> { - let (s, error) = self.error_data(); - extract_error_params(error).unwrap_or_else(|| ErrorParams { - main_param: Some(ErrorString::Snippet(s)), - prefix_param: None - }) - } - - fn to_gecko_message(&self) -> (Option<&'static CStr>, &'static CStr, Action) { - let (msg, action): (&CStr, Action) = match *self { - ContextualParseError::UnsupportedPropertyDeclaration( - _, ParseError { kind: ParseErrorKind::Basic(BasicParseErrorKind::UnexpectedToken(_)), .. } - ) | - ContextualParseError::UnsupportedPropertyDeclaration( - _, ParseError { kind: ParseErrorKind::Basic(BasicParseErrorKind::AtRuleInvalid(_)), .. } - ) => { - (cstr!("PEParseDeclarationDeclExpected"), Action::Skip) - } - ContextualParseError::UnsupportedPropertyDeclaration( - _, ParseError { kind: ParseErrorKind::Custom(ref err), .. } - ) => { - match *err { - StyleParseErrorKind::InvalidColor(_, _) => { - return (Some(cstr!("PEColorNotColor")), - cstr!("PEValueParsingError"), Action::Drop) - } - StyleParseErrorKind::InvalidFilter(_, _) => { - return (Some(cstr!("PEExpectedNoneOrURLOrFilterFunction")), - cstr!("PEValueParsingError"), Action::Drop) - } - StyleParseErrorKind::OtherInvalidValue(_) => { - (cstr!("PEValueParsingError"), Action::Drop) - } - _ => (cstr!("PEUnknownProperty"), Action::Drop) - } - } - ContextualParseError::UnsupportedPropertyDeclaration(..) => - (cstr!("PEUnknownProperty"), Action::Drop), - ContextualParseError::UnsupportedFontFaceDescriptor(..) => - (cstr!("PEUnknownFontDesc"), Action::Skip), - ContextualParseError::InvalidKeyframeRule(..) => - (cstr!("PEKeyframeBadName"), Action::Nothing), - ContextualParseError::UnsupportedKeyframePropertyDeclaration(..) => - (cstr!("PEBadSelectorKeyframeRuleIgnored"), Action::Nothing), - ContextualParseError::InvalidRule( - _, ParseError { kind: ParseErrorKind::Custom( - StyleParseErrorKind::UnexpectedTokenWithinNamespace(_) - ), .. } - ) => { - (cstr!("PEAtNSUnexpected"), Action::Nothing) - } - ContextualParseError::InvalidRule( - _, ParseError { kind: ParseErrorKind::Basic(BasicParseErrorKind::AtRuleInvalid(_)), .. } - ) | - ContextualParseError::InvalidRule( - _, ParseError { kind: ParseErrorKind::Custom( - StyleParseErrorKind::UnsupportedAtRule(_) - ), .. } - ) => { - (cstr!("PEUnknownAtRule"), Action::Nothing) - } - ContextualParseError::InvalidRule(_, ref err) => { - let prefix = match err.kind { - ParseErrorKind::Custom(StyleParseErrorKind::SelectorError(ref err)) => match *err { - SelectorParseErrorKind::UnexpectedTokenInAttributeSelector(_) => { - Some(cstr!("PEAttSelUnexpected")) - } - SelectorParseErrorKind::ExpectedBarInAttr(_) => { - Some(cstr!("PEAttSelNoBar")) - } - SelectorParseErrorKind::BadValueInAttr(_) => { - Some(cstr!("PEAttSelBadValue")) - } - SelectorParseErrorKind::NoQualifiedNameInAttributeSelector(_) => { - Some(cstr!("PEAttributeNameOrNamespaceExpected")) - } - SelectorParseErrorKind::InvalidQualNameInAttr(_) => { - Some(cstr!("PEAttributeNameExpected")) - } - SelectorParseErrorKind::ExplicitNamespaceUnexpectedToken(_) => { - Some(cstr!("PETypeSelNotType")) - } - SelectorParseErrorKind::ExpectedNamespace(_) => { - Some(cstr!("PEUnknownNamespacePrefix")) - } - SelectorParseErrorKind::EmptySelector => { - Some(cstr!("PESelectorGroupNoSelector")) - } - SelectorParseErrorKind::DanglingCombinator => { - Some(cstr!("PESelectorGroupExtraCombinator")) - } - SelectorParseErrorKind::UnsupportedPseudoClassOrElement(_) => { - Some(cstr!("PEPseudoSelUnknown")) - } - SelectorParseErrorKind::PseudoElementExpectedColon(_) => { - Some(cstr!("PEPseudoSelEndOrUserActionPC")) - } - SelectorParseErrorKind::NoIdentForPseudo(_) => { - Some(cstr!("PEPseudoClassArgNotIdent")) - } - SelectorParseErrorKind::PseudoElementExpectedIdent(_) => { - Some(cstr!("PEPseudoSelBadName")) - } - SelectorParseErrorKind::ClassNeedsIdent(_) => { - Some(cstr!("PEClassSelNotIdent")) - } - SelectorParseErrorKind::EmptyNegation => { - Some(cstr!("PENegationBadArg")) - } - _ => None, - }, - _ => None, - }; - return (prefix, cstr!("PEBadSelectorRSIgnored"), Action::Nothing); - } - ContextualParseError::InvalidMediaRule(_, ref err) => { - let err: &CStr = match err.kind { - ParseErrorKind::Custom(StyleParseErrorKind::ExpectedIdentifier(..)) => { - cstr!("PEGatherMediaNotIdent") - }, - ParseErrorKind::Custom(StyleParseErrorKind::MediaQueryExpectedFeatureName(..)) => { - cstr!("PEMQExpectedFeatureName") - }, - ParseErrorKind::Custom(StyleParseErrorKind::MediaQueryExpectedFeatureValue) => { - cstr!("PEMQExpectedFeatureValue") - }, - ParseErrorKind::Custom(StyleParseErrorKind::RangedExpressionWithNoValue) => { - cstr!("PEMQNoMinMaxWithoutValue") - }, - _ => { - cstr!("PEDeclDropped") - }, - }; - (err, Action::Nothing) - } - ContextualParseError::UnsupportedRule(..) => - (cstr!("PEDeclDropped"), Action::Nothing), - ContextualParseError::UnsupportedViewportDescriptorDeclaration(..) | - ContextualParseError::UnsupportedCounterStyleDescriptorDeclaration(..) | - ContextualParseError::InvalidCounterStyleWithoutSymbols(..) | - ContextualParseError::InvalidCounterStyleNotEnoughSymbols(..) | - ContextualParseError::InvalidCounterStyleWithoutAdditiveSymbols | - ContextualParseError::InvalidCounterStyleExtendsWithSymbols | - ContextualParseError::InvalidCounterStyleExtendsWithAdditiveSymbols | - ContextualParseError::UnsupportedFontFeatureValuesDescriptor(..) | - ContextualParseError::InvalidFontFeatureValuesRule(..) => - (cstr!("PEUnknownAtRule"), Action::Skip), - ContextualParseError::UnsupportedValue(_, ParseError { ref kind, .. }) => { - match *kind { - ParseErrorKind::Custom( - StyleParseErrorKind::ValueError( - ValueParseErrorKind::InvalidColor(..) - ) - ) => (cstr!("PEColorNotColor"), Action::Nothing), - _ => { - // Not the best error message, since we weren't parsing - // a declaration, just a value. But we don't produce - // UnsupportedValue errors other than InvalidColors - // currently. - debug_assert!(false, "should use a more specific error message"); - (cstr!("PEDeclDropped"), Action::Nothing) - } - } - } - }; - (None, msg, action) - } -} - -impl ErrorReporter { - pub fn report(&self, location: SourceLocation, error: ContextualParseError) { - let (pre, name, action) = error.to_gecko_message(); - let suffix = match action { - Action::Nothing => ptr::null(), - Action::Skip => cstr!("PEDeclSkipped").as_ptr(), - Action::Drop => cstr!("PEDeclDropped").as_ptr(), - }; - let params = error.error_params(); - let param = params.main_param; - let pre_param = params.prefix_param; - let param = param.map(|p| p.into_str()); - let pre_param = pre_param.map(|p| p.into_str()); - let param_ptr = param.as_ref().map_or(ptr::null(), |p| p.as_ptr()); - let pre_param_ptr = pre_param.as_ref().map_or(ptr::null(), |p| p.as_ptr()); - // The CSS source text is unused and will be removed in bug 1381188. - let source = ""; - unsafe { - Gecko_ReportUnexpectedCSSError(self.0, - name.as_ptr() as *const _, - param_ptr as *const _, - param.as_ref().map_or(0, |p| p.len()) as u32, - pre.map_or(ptr::null(), |p| p.as_ptr()) as *const _, - pre_param_ptr as *const _, - pre_param.as_ref().map_or(0, |p| p.len()) as u32, - suffix as *const _, - source.as_ptr() as *const _, - source.len() as u32, - location.line, - location.column); - } - } -} - -impl ParseErrorReporter for ErrorReporter { - fn report_error( - &self, - _url: &UrlExtraData, - location: SourceLocation, - error: ContextualParseError - ) { - self.report(location, error) - } -} diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs deleted file mode 100644 index 3b341cadbb5..00000000000 --- a/ports/geckolib/glue.rs +++ /dev/null @@ -1,5611 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -use cssparser::{ParseErrorKind, Parser, ParserInput, SourceLocation}; -use cssparser::ToCss as ParserToCss; -use malloc_size_of::MallocSizeOfOps; -use nsstring::{nsCString, nsStringRepr}; -use selectors::{NthIndexCache, SelectorList}; -use selectors::matching::{MatchingContext, MatchingMode, matches_selector}; -use servo_arc::{Arc, ArcBorrow, RawOffsetArc}; -use smallvec::SmallVec; -use std::cell::RefCell; -use std::collections::BTreeSet; -use std::fmt::Write; -use std::iter; -use std::mem; -use std::os::raw::c_void; -use std::ptr; -use style::applicable_declarations::ApplicableDeclarationBlock; -use style::author_styles::AuthorStyles; -use style::context::{CascadeInputs, QuirksMode, SharedStyleContext, StyleContext}; -use style::context::ThreadLocalStyleContext; -use style::counter_style; -use style::data::{ElementStyles, self}; -use style::dom::{ShowSubtreeData, TDocument, TElement, TNode}; -use style::driver; -use style::element_state::{DocumentState, ElementState}; -use style::error_reporting::{ContextualParseError, NullReporter, ParseErrorReporter}; -use style::font_metrics::{FontMetricsProvider, get_metrics_provider_for_product}; -use style::gecko::data::{GeckoStyleSheet, PerDocumentStyleData, PerDocumentStyleDataImpl}; -use style::gecko::global_style_data::{GLOBAL_STYLE_DATA, GlobalStyleData, STYLE_THREAD_POOL}; -use style::gecko::restyle_damage::GeckoRestyleDamage; -use style::gecko::selector_parser::{NonTSPseudoClass, PseudoElement}; -use style::gecko::traversal::RecalcStyleOnly; -use style::gecko::wrapper::{GeckoElement, GeckoNode}; -use style::gecko_bindings::bindings; -use style::gecko_bindings::bindings::{RawGeckoElementBorrowed, RawGeckoElementBorrowedOrNull, RawGeckoNodeBorrowed}; -use style::gecko_bindings::bindings::{RawGeckoKeyframeListBorrowed, RawGeckoKeyframeListBorrowedMut}; -use style::gecko_bindings::bindings::{RawServoAuthorStyles, RawServoAuthorStylesBorrowed}; -use style::gecko_bindings::bindings::{RawServoAuthorStylesBorrowedMut, RawServoAuthorStylesOwned}; -use style::gecko_bindings::bindings::{RawServoCounterStyleRule, RawServoCounterStyleRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoDeclarationBlockBorrowed, RawServoDeclarationBlockStrong}; -use style::gecko_bindings::bindings::{RawServoDocumentRule, RawServoDocumentRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoFontFaceRuleBorrowed, RawServoFontFaceRuleStrong}; -use style::gecko_bindings::bindings::{RawServoFontFeatureValuesRule, RawServoFontFeatureValuesRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoImportRule, RawServoImportRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoKeyframe, RawServoKeyframeBorrowed, RawServoKeyframeStrong}; -use style::gecko_bindings::bindings::{RawServoKeyframesRule, RawServoKeyframesRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoMediaListBorrowed, RawServoMediaListStrong}; -use style::gecko_bindings::bindings::{RawServoMediaRule, RawServoMediaRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoNamespaceRule, RawServoNamespaceRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoPageRule, RawServoPageRuleBorrowed}; -use style::gecko_bindings::bindings::{RawServoSelectorListBorrowed, RawServoSelectorListOwned}; -use style::gecko_bindings::bindings::{RawServoSourceSizeListBorrowedOrNull, RawServoSourceSizeListOwned}; -use style::gecko_bindings::bindings::{RawServoStyleSetBorrowed, RawServoStyleSetBorrowedOrNull, RawServoStyleSetOwned}; -use style::gecko_bindings::bindings::{RawServoStyleSheetContentsBorrowed, ServoComputedDataBorrowed}; -use style::gecko_bindings::bindings::{RawServoStyleSheetContentsStrong, ComputedStyleBorrowed}; -use style::gecko_bindings::bindings::{RawServoSupportsRule, RawServoSupportsRuleBorrowed}; -use style::gecko_bindings::bindings::{ServoCssRulesBorrowed, ServoCssRulesStrong}; -use style::gecko_bindings::bindings::{nsACString, nsAString, nsCSSPropertyIDSetBorrowedMut}; -use style::gecko_bindings::bindings::ComputedStyleBorrowedOrNull; -use style::gecko_bindings::bindings::Gecko_AddPropertyToSet; -use style::gecko_bindings::bindings::Gecko_AppendPropertyValuePair; -use style::gecko_bindings::bindings::Gecko_ConstructFontFeatureValueSet; -use style::gecko_bindings::bindings::Gecko_GetOrCreateFinalKeyframe; -use style::gecko_bindings::bindings::Gecko_GetOrCreateInitialKeyframe; -use style::gecko_bindings::bindings::Gecko_GetOrCreateKeyframeAtStart; -use style::gecko_bindings::bindings::Gecko_HaveSeenPtr; -use style::gecko_bindings::bindings::Gecko_NewNoneTransform; -use style::gecko_bindings::bindings::RawGeckoAnimationPropertySegmentBorrowed; -use style::gecko_bindings::bindings::RawGeckoCSSPropertyIDListBorrowed; -use style::gecko_bindings::bindings::RawGeckoComputedKeyframeValuesListBorrowedMut; -use style::gecko_bindings::bindings::RawGeckoComputedTimingBorrowed; -use style::gecko_bindings::bindings::RawGeckoFontFaceRuleListBorrowedMut; -use style::gecko_bindings::bindings::RawGeckoServoAnimationValueListBorrowedMut; -use style::gecko_bindings::bindings::RawGeckoServoStyleRuleListBorrowedMut; -use style::gecko_bindings::bindings::RawServoAnimationValueBorrowed; -use style::gecko_bindings::bindings::RawServoAnimationValueBorrowedOrNull; -use style::gecko_bindings::bindings::RawServoAnimationValueMapBorrowedMut; -use style::gecko_bindings::bindings::RawServoAnimationValueStrong; -use style::gecko_bindings::bindings::RawServoAnimationValueTableBorrowed; -use style::gecko_bindings::bindings::RawServoDeclarationBlockBorrowedOrNull; -use style::gecko_bindings::bindings::RawServoStyleRuleBorrowed; -use style::gecko_bindings::bindings::RawServoStyleSet; -use style::gecko_bindings::bindings::nsCSSValueBorrowedMut; -use style::gecko_bindings::bindings::nsTArrayBorrowed_uintptr_t; -use style::gecko_bindings::bindings::nsTimingFunctionBorrowed; -use style::gecko_bindings::bindings::nsTimingFunctionBorrowedMut; -use style::gecko_bindings::structs; -use style::gecko_bindings::structs::{CallerType, CSSPseudoElementType, CompositeOperation}; -use style::gecko_bindings::structs::{Loader, LoaderReusableStyleSheets}; -use style::gecko_bindings::structs::{RawServoStyleRule, ComputedStyleStrong, RustString}; -use style::gecko_bindings::structs::{SheetParsingMode, nsAtom, nsCSSPropertyID}; -use style::gecko_bindings::structs::{StyleSheet as DomStyleSheet, SheetLoadData, SheetLoadDataHolder}; -use style::gecko_bindings::structs::{nsCSSFontDesc, nsCSSCounterDesc}; -use style::gecko_bindings::structs::{nsRestyleHint, nsChangeHint, PropertyValuePair}; -use style::gecko_bindings::structs::AtomArray; -use style::gecko_bindings::structs::IterationCompositeOperation; -use style::gecko_bindings::structs::MallocSizeOf as GeckoMallocSizeOf; -use style::gecko_bindings::structs::OriginFlags; -use style::gecko_bindings::structs::OriginFlags_Author; -use style::gecko_bindings::structs::OriginFlags_User; -use style::gecko_bindings::structs::OriginFlags_UserAgent; -use style::gecko_bindings::structs::RawGeckoGfxMatrix4x4; -use style::gecko_bindings::structs::RawGeckoPresContextOwned; -use style::gecko_bindings::structs::RawServoFontFaceRule; -use style::gecko_bindings::structs::RawServoSelectorList; -use style::gecko_bindings::structs::RawServoSourceSizeList; -use style::gecko_bindings::structs::SeenPtrs; -use style::gecko_bindings::structs::ServoElementSnapshotTable; -use style::gecko_bindings::structs::ServoStyleSetSizes; -use style::gecko_bindings::structs::ServoTraversalFlags; -use style::gecko_bindings::structs::StyleRuleInclusion; -use style::gecko_bindings::structs::URLExtraData; -use style::gecko_bindings::structs::gfxFontFeatureValueSet; -use style::gecko_bindings::structs::nsCSSValueSharedList; -use style::gecko_bindings::structs::nsCompatibility; -use style::gecko_bindings::structs::nsIDocument; -use style::gecko_bindings::structs::nsStyleTransformMatrix::MatrixTransformOperator; -use style::gecko_bindings::structs::nsTArray; -use style::gecko_bindings::structs::nsresult; -use style::gecko_bindings::sugar::ownership::{FFIArcHelpers, HasFFI, HasArcFFI}; -use style::gecko_bindings::sugar::ownership::{HasSimpleFFI, Strong}; -use style::gecko_bindings::sugar::refptr::RefPtr; -use style::gecko_properties; -use style::invalidation::element::restyle_hints; -use style::media_queries::{MediaList, parse_media_query_list}; -use style::parser::{Parse, ParserContext, self}; -use style::properties::{ComputedValues, DeclarationSource, Importance}; -use style::properties::{LonghandId, LonghandIdSet, PropertyDeclarationBlock, PropertyId}; -use style::properties::{PropertyDeclarationId, ShorthandId}; -use style::properties::{SourcePropertyDeclaration, StyleBuilder}; -use style::properties::{parse_one_declaration_into, parse_style_attribute}; -use style::properties::animated_properties::AnimationValue; -use style::properties::animated_properties::compare_property_priority; -use style::rule_cache::RuleCacheConditions; -use style::rule_tree::{CascadeLevel, StrongRuleNode}; -use style::selector_parser::{PseudoElementCascadeType, SelectorImpl}; -use style::shared_lock::{SharedRwLockReadGuard, StylesheetGuards, ToCssWithGuard, Locked}; -use style::string_cache::{Atom, WeakAtom}; -use style::style_adjuster::StyleAdjuster; -use style::stylesheets::{CssRule, CssRules, CssRuleType, CssRulesHelpers, CounterStyleRule}; -use style::stylesheets::{DocumentRule, FontFaceRule, FontFeatureValuesRule, ImportRule}; -use style::stylesheets::{KeyframesRule, MediaRule, NamespaceRule, Origin, OriginSet, PageRule}; -use style::stylesheets::{StyleRule, StylesheetContents, SupportsRule}; -use style::stylesheets::StylesheetLoader as StyleStylesheetLoader; -use style::stylesheets::import_rule::ImportSheet; -use style::stylesheets::keyframes_rule::{Keyframe, KeyframeSelector, KeyframesStepValue}; -use style::stylesheets::supports_rule::parse_condition_or_declaration; -use style::stylist::{add_size_of_ua_cache, AuthorStylesEnabled, RuleInclusion, Stylist}; -use style::thread_state; -use style::timer::Timer; -use style::traversal::DomTraversal; -use style::traversal::resolve_style; -use style::traversal_flags::{self, TraversalFlags}; -use style::values::{CustomIdent, KeyframesName}; -use style::values::animated::{Animate, Procedure, ToAnimatedZero}; -use style::values::computed::{Context, ToComputedValue}; -use style::values::distance::ComputeSquaredDistance; -use style::values::generics::rect::Rect; -use style::values::specified; -use style::values::specified::gecko::{IntersectionObserverRootMargin, PixelOrPercentage}; -use style::values::specified::source_size_list::SourceSizeList; -use style_traits::{CssType, CssWriter, ParsingMode, StyleParseErrorKind, ToCss}; -use super::error_reporter::ErrorReporter; -use super::stylesheet_loader::{AsyncStylesheetParser, StylesheetLoader}; - -/* - * For Gecko->Servo function calls, we need to redeclare the same signature that was declared in - * the C header in Gecko. In order to catch accidental mismatches, we run rust-bindgen against - * those signatures as well, giving us a second declaration of all the Servo_* functions in this - * crate. If there's a mismatch, LLVM will assert and abort, which is a rather awful thing to - * depend on but good enough for our purposes. - */ - -// A dummy url data for where we don't pass url data in. -// We need to get rid of this sooner than later. -static mut DUMMY_URL_DATA: *mut URLExtraData = 0 as *mut URLExtraData; - -#[no_mangle] -pub extern "C" fn Servo_Initialize(dummy_url_data: *mut URLExtraData) { - use style::gecko_bindings::sugar::origin_flags; - - // Pretend that we're a Servo Layout thread, to make some assertions happy. - thread_state::initialize(thread_state::ThreadState::LAYOUT); - - // Perform some debug-only runtime assertions. - restyle_hints::assert_restyle_hints_match(); - origin_flags::assert_flags_match(); - parser::assert_parsing_mode_match(); - traversal_flags::assert_traversal_flags_match(); - specified::font::assert_variant_east_asian_matches(); - specified::font::assert_variant_ligatures_matches(); - specified::box_::assert_touch_action_matches(); - - // Initialize the dummy url data - unsafe { DUMMY_URL_DATA = dummy_url_data; } -} - -#[no_mangle] -pub extern "C" fn Servo_InitializeCooperativeThread() { - // Pretend that we're a Servo Layout thread to make some assertions happy. - thread_state::initialize(thread_state::ThreadState::LAYOUT); -} - -#[no_mangle] -pub extern "C" fn Servo_Shutdown() { - // The dummy url will be released after shutdown, so clear the - // reference to avoid use-after-free. - unsafe { DUMMY_URL_DATA = ptr::null_mut(); } - Stylist::shutdown(); -} - -unsafe fn dummy_url_data() -> &'static RefPtr { - RefPtr::from_ptr_ref(&DUMMY_URL_DATA) -} - -#[allow(dead_code)] -fn is_main_thread() -> bool { - unsafe { bindings::Gecko_IsMainThread() } -} - -#[allow(dead_code)] -fn is_in_servo_traversal() -> bool { - unsafe { bindings::Gecko_IsInServoTraversal() } -} - -fn create_shared_context<'a>( - global_style_data: &GlobalStyleData, - guard: &'a SharedRwLockReadGuard, - per_doc_data: &'a PerDocumentStyleDataImpl, - traversal_flags: TraversalFlags, - snapshot_map: &'a ServoElementSnapshotTable, -) -> SharedStyleContext<'a> { - SharedStyleContext { - stylist: &per_doc_data.stylist, - visited_styles_enabled: per_doc_data.visited_styles_enabled(), - options: global_style_data.options.clone(), - guards: StylesheetGuards::same(guard), - timer: Timer::new(), - traversal_flags, - snapshot_map, - } -} - -fn traverse_subtree( - element: GeckoElement, - global_style_data: &GlobalStyleData, - per_doc_data: &PerDocumentStyleDataImpl, - guard: &SharedRwLockReadGuard, - traversal_flags: TraversalFlags, - snapshots: &ServoElementSnapshotTable, -) { - let shared_style_context = create_shared_context( - &global_style_data, - &guard, - &per_doc_data, - traversal_flags, - snapshots, - ); - - let token = RecalcStyleOnly::pre_traverse( - element, - &shared_style_context, - ); - - if !token.should_traverse() { - return; - } - - debug!("Traversing subtree from {:?}", element); - - let thread_pool_holder = &*STYLE_THREAD_POOL; - let thread_pool = if traversal_flags.contains(TraversalFlags::ParallelTraversal) { - thread_pool_holder.style_thread_pool.as_ref() - } else { - None - }; - - let traversal = RecalcStyleOnly::new(shared_style_context); - driver::traverse_dom(&traversal, token, thread_pool); -} - -/// Traverses the subtree rooted at `root` for restyling. -/// -/// Returns whether the root was restyled. Whether anything else was restyled or -/// not can be inferred from the dirty bits in the rest of the tree. -#[no_mangle] -pub extern "C" fn Servo_TraverseSubtree( - root: RawGeckoElementBorrowed, - raw_data: RawServoStyleSetBorrowed, - snapshots: *const ServoElementSnapshotTable, - raw_flags: ServoTraversalFlags -) -> bool { - let traversal_flags = TraversalFlags::from_bits_truncate(raw_flags); - debug_assert!(!snapshots.is_null()); - - let element = GeckoElement(root); - - debug!("Servo_TraverseSubtree (flags={:?})", traversal_flags); - debug!("{:?}", ShowSubtreeData(element.as_node())); - - if cfg!(debug_assertions) { - if let Some(parent) = element.traversal_parent() { - let data = - parent.borrow_data().expect("Styling element with unstyled parent"); - assert!( - !data.styles.is_display_none(), - "Styling element with display: none parent" - ); - } - } - - let needs_animation_only_restyle = - element.has_animation_only_dirty_descendants() || - element.has_animation_restyle_hints(); - - let per_doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - debug_assert!(!per_doc_data.stylist.stylesheets_have_changed()); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - - let was_initial_style = element.get_data().is_none(); - - if needs_animation_only_restyle { - debug!("Servo_TraverseSubtree doing animation-only restyle (aodd={})", - element.has_animation_only_dirty_descendants()); - traverse_subtree( - element, - &global_style_data, - &per_doc_data, - &guard, - traversal_flags | TraversalFlags::AnimationOnly, - unsafe { &*snapshots }, - ); - } - - traverse_subtree( - element, - &global_style_data, - &per_doc_data, - &guard, - traversal_flags, - unsafe { &*snapshots }, - ); - - debug!("Servo_TraverseSubtree complete (dd={}, aodd={}, lfcd={}, lfc={}, data={:?})", - element.has_dirty_descendants(), - element.has_animation_only_dirty_descendants(), - element.descendants_need_frames(), - element.needs_frame(), - element.borrow_data().unwrap()); - - if was_initial_style { - debug_assert!(!element.borrow_data().unwrap().contains_restyle_data()); - false - } else { - let element_was_restyled = - element.borrow_data().unwrap().contains_restyle_data(); - element_was_restyled - } -} - -/// Checks whether the rule tree has crossed its threshold for unused nodes, and -/// if so, frees them. -#[no_mangle] -pub extern "C" fn Servo_MaybeGCRuleTree(raw_data: RawServoStyleSetBorrowed) { - let per_doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - unsafe { - per_doc_data.stylist.rule_tree().maybe_gc(); - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValues_Interpolate( - from: RawServoAnimationValueBorrowed, - to: RawServoAnimationValueBorrowed, - progress: f64, -) -> RawServoAnimationValueStrong { - let from_value = AnimationValue::as_arc(&from); - let to_value = AnimationValue::as_arc(&to); - if let Ok(value) = from_value.animate(to_value, Procedure::Interpolate { progress }) { - Arc::new(value).into_strong() - } else { - RawServoAnimationValueStrong::null() - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValues_IsInterpolable( - from: RawServoAnimationValueBorrowed, - to: RawServoAnimationValueBorrowed, -) -> bool { - let from_value = AnimationValue::as_arc(&from); - let to_value = AnimationValue::as_arc(&to); - from_value.animate(to_value, Procedure::Interpolate { progress: 0.5 }).is_ok() -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValues_Add( - a: RawServoAnimationValueBorrowed, - b: RawServoAnimationValueBorrowed, -) -> RawServoAnimationValueStrong { - let a_value = AnimationValue::as_arc(&a); - let b_value = AnimationValue::as_arc(&b); - if let Ok(value) = a_value.animate(b_value, Procedure::Add) { - Arc::new(value).into_strong() - } else { - RawServoAnimationValueStrong::null() - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValues_Accumulate( - a: RawServoAnimationValueBorrowed, - b: RawServoAnimationValueBorrowed, - count: u64, -) -> RawServoAnimationValueStrong { - let a_value = AnimationValue::as_arc(&a); - let b_value = AnimationValue::as_arc(&b); - if let Ok(value) = a_value.animate(b_value, Procedure::Accumulate { count }) { - Arc::new(value).into_strong() - } else { - RawServoAnimationValueStrong::null() - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValues_GetZeroValue( - value_to_match: RawServoAnimationValueBorrowed, -) -> RawServoAnimationValueStrong { - let value_to_match = AnimationValue::as_arc(&value_to_match); - if let Ok(zero_value) = value_to_match.to_animated_zero() { - Arc::new(zero_value).into_strong() - } else { - RawServoAnimationValueStrong::null() - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValues_ComputeDistance( - from: RawServoAnimationValueBorrowed, - to: RawServoAnimationValueBorrowed, -) -> f64 { - let from_value = AnimationValue::as_arc(&from); - let to_value = AnimationValue::as_arc(&to); - // If compute_squared_distance() failed, this function will return negative value - // in order to check whether we support the specified paced animation values. - from_value.compute_squared_distance(to_value).map(|d| d.sqrt()).unwrap_or(-1.0) -} - -/// Compute one of the endpoints for the interpolation interval, compositing it with the -/// underlying value if needed. -/// An None returned value means, "Just use endpoint_value as-is." -/// It is the responsibility of the caller to ensure that |underlying_value| is provided -/// when it will be used. -fn composite_endpoint( - endpoint_value: Option<&RawOffsetArc>, - composite: CompositeOperation, - underlying_value: Option<&AnimationValue>, -) -> Option { - match endpoint_value { - Some(endpoint_value) => { - match composite { - CompositeOperation::Add => { - underlying_value - .expect("We should have an underlying_value") - .animate(endpoint_value, Procedure::Add).ok() - }, - CompositeOperation::Accumulate => { - underlying_value - .expect("We should have an underlying value") - .animate(endpoint_value, Procedure::Accumulate { count: 1 }) - .ok() - }, - _ => None, - } - }, - None => underlying_value.map(|v| v.clone()), - } -} - -/// Accumulate one of the endpoints of the animation interval. -/// A returned value of None means, "Just use endpoint_value as-is." -fn accumulate_endpoint( - endpoint_value: Option<&RawOffsetArc>, - composited_value: Option, - last_value: &AnimationValue, - current_iteration: u64 -) -> Option { - debug_assert!(endpoint_value.is_some() || composited_value.is_some(), - "Should have a suitable value to use"); - - let count = current_iteration; - match composited_value { - Some(endpoint) => { - last_value - .animate(&endpoint, Procedure::Accumulate { count }) - .ok() - .or(Some(endpoint)) - }, - None => { - last_value - .animate(endpoint_value.unwrap(), Procedure::Accumulate { count }) - .ok() - }, - } -} - -/// Compose the animation segment. We composite it with the underlying_value and last_value if -/// needed. -/// The caller is responsible for providing an underlying value and last value -/// in all situations where there are needed. -fn compose_animation_segment( - segment: RawGeckoAnimationPropertySegmentBorrowed, - underlying_value: Option<&AnimationValue>, - last_value: Option<&AnimationValue>, - iteration_composite: IterationCompositeOperation, - current_iteration: u64, - total_progress: f64, - segment_progress: f64, -) -> AnimationValue { - // Extract keyframe values. - let raw_from_value; - let keyframe_from_value = if !segment.mFromValue.mServo.mRawPtr.is_null() { - raw_from_value = unsafe { &*segment.mFromValue.mServo.mRawPtr }; - Some(AnimationValue::as_arc(&raw_from_value)) - } else { - None - }; - - let raw_to_value; - let keyframe_to_value = if !segment.mToValue.mServo.mRawPtr.is_null() { - raw_to_value = unsafe { &*segment.mToValue.mServo.mRawPtr }; - Some(AnimationValue::as_arc(&raw_to_value)) - } else { - None - }; - - let mut composited_from_value = composite_endpoint(keyframe_from_value, - segment.mFromComposite, - underlying_value); - let mut composited_to_value = composite_endpoint(keyframe_to_value, - segment.mToComposite, - underlying_value); - - debug_assert!(keyframe_from_value.is_some() || composited_from_value.is_some(), - "Should have a suitable from value to use"); - debug_assert!(keyframe_to_value.is_some() || composited_to_value.is_some(), - "Should have a suitable to value to use"); - - // Apply iteration composite behavior. - if iteration_composite == IterationCompositeOperation::Accumulate && current_iteration > 0 { - let last_value = last_value.unwrap_or_else(|| { - underlying_value.expect("Should have a valid underlying value") - }); - - composited_from_value = accumulate_endpoint(keyframe_from_value, - composited_from_value, - last_value, - current_iteration); - composited_to_value = accumulate_endpoint(keyframe_to_value, - composited_to_value, - last_value, - current_iteration); - } - - // Use the composited value if there is one, otherwise, use the original keyframe value. - let from = composited_from_value.as_ref().unwrap_or_else(|| keyframe_from_value.unwrap()); - let to = composited_to_value.as_ref().unwrap_or_else(|| keyframe_to_value.unwrap()); - - if segment.mToKey == segment.mFromKey { - return if total_progress < 0. { from.clone() } else { to.clone() }; - } - - match from.animate(to, Procedure::Interpolate { progress: segment_progress }) { - Ok(value) => value, - _ => if segment_progress < 0.5 { from.clone() } else { to.clone() }, - } -} - -#[no_mangle] -pub extern "C" fn Servo_ComposeAnimationSegment( - segment: RawGeckoAnimationPropertySegmentBorrowed, - underlying_value: RawServoAnimationValueBorrowedOrNull, - last_value: RawServoAnimationValueBorrowedOrNull, - iteration_composite: IterationCompositeOperation, - progress: f64, - current_iteration: u64 -) -> RawServoAnimationValueStrong { - let underlying_value = AnimationValue::arc_from_borrowed(&underlying_value).map(|v| &**v); - let last_value = AnimationValue::arc_from_borrowed(&last_value).map(|v| &**v); - let result = compose_animation_segment( - segment, - underlying_value, - last_value, - iteration_composite, - current_iteration, - progress, - progress, - ); - Arc::new(result).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationCompose( - raw_value_map: RawServoAnimationValueMapBorrowedMut, - base_values: RawServoAnimationValueTableBorrowed, - css_property: nsCSSPropertyID, - segment: RawGeckoAnimationPropertySegmentBorrowed, - last_segment: RawGeckoAnimationPropertySegmentBorrowed, - computed_timing: RawGeckoComputedTimingBorrowed, - iteration_composite: IterationCompositeOperation, -) { - use style::gecko_bindings::bindings::Gecko_AnimationGetBaseStyle; - use style::gecko_bindings::bindings::Gecko_GetPositionInSegment; - use style::gecko_bindings::bindings::Gecko_GetProgressFromComputedTiming; - use style::properties::animated_properties::AnimationValueMap; - - let property = match LonghandId::from_nscsspropertyid(css_property) { - Ok(longhand) if longhand.is_animatable() => longhand, - _ => return, - }; - let value_map = AnimationValueMap::from_ffi_mut(raw_value_map); - - // We will need an underlying value if either of the endpoints is null... - let need_underlying_value = segment.mFromValue.mServo.mRawPtr.is_null() || - segment.mToValue.mServo.mRawPtr.is_null() || - // ... or if they have a non-replace composite mode ... - segment.mFromComposite != CompositeOperation::Replace || - segment.mToComposite != CompositeOperation::Replace || - // ... or if we accumulate onto the last value and it is null. - (iteration_composite == IterationCompositeOperation::Accumulate && - computed_timing.mCurrentIteration > 0 && - last_segment.mToValue.mServo.mRawPtr.is_null()); - - // If either of the segment endpoints are null, get the underlying value to - // use from the current value in the values map (set by a lower-priority - // effect), or, if there is no current value, look up the cached base value - // for this property. - let underlying_value = if need_underlying_value { - let previous_composed_value = value_map.get(&property).cloned(); - previous_composed_value.or_else(|| { - let raw_base_style = unsafe { Gecko_AnimationGetBaseStyle(base_values, css_property) }; - AnimationValue::arc_from_borrowed(&raw_base_style).map(|v| &**v).cloned() - }) - } else { - None - }; - - if need_underlying_value && underlying_value.is_none() { - warn!("Underlying value should be valid when we expect to use it"); - return; - } - - let raw_last_value; - let last_value = if !last_segment.mToValue.mServo.mRawPtr.is_null() { - raw_last_value = unsafe { &*last_segment.mToValue.mServo.mRawPtr }; - Some(&**AnimationValue::as_arc(&raw_last_value)) - } else { - None - }; - - let progress = unsafe { Gecko_GetProgressFromComputedTiming(computed_timing) }; - let position = if segment.mToKey == segment.mFromKey { - // Note: compose_animation_segment doesn't use this value - // if segment.mFromKey == segment.mToKey, so assigning |progress| directly is fine. - progress - } else { - unsafe { Gecko_GetPositionInSegment(segment, progress, computed_timing.mBeforeFlag) } - }; - - let result = compose_animation_segment( - segment, - underlying_value.as_ref(), - last_value, - iteration_composite, - computed_timing.mCurrentIteration, - progress, - position, - ); - value_map.insert(property, result); -} - -macro_rules! get_property_id_from_nscsspropertyid { - ($property_id: ident, $ret: expr) => {{ - match PropertyId::from_nscsspropertyid($property_id) { - Ok(property_id) => property_id, - Err(()) => { return $ret; } - } - }} -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_Serialize( - value: RawServoAnimationValueBorrowed, - property: nsCSSPropertyID, - buffer: *mut nsAString, -) { - let uncomputed_value = AnimationValue::as_arc(&value).uncompute(); - let buffer = unsafe { buffer.as_mut().unwrap() }; - let rv = PropertyDeclarationBlock::with_one(uncomputed_value, Importance::Normal) - .single_value_to_css(&get_property_id_from_nscsspropertyid!(property, ()), buffer, - None, None /* No extra custom properties */); - debug_assert!(rv.is_ok()); -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_GetOpacity( - value: RawServoAnimationValueBorrowed, -) -> f32 { - let value = AnimationValue::as_arc(&value); - if let AnimationValue::Opacity(opacity) = **value { - opacity - } else { - panic!("The AnimationValue should be Opacity"); - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_Opacity( - opacity: f32 -) -> RawServoAnimationValueStrong { - Arc::new(AnimationValue::Opacity(opacity)).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_GetTransform( - value: RawServoAnimationValueBorrowed, - list: *mut structs::RefPtr -) { - let value = AnimationValue::as_arc(&value); - if let AnimationValue::Transform(ref servo_list) = **value { - let list = unsafe { &mut *list }; - if servo_list.0.is_empty() { - unsafe { - list.set_move(RefPtr::from_addrefed(Gecko_NewNoneTransform())); - } - } else { - gecko_properties::convert_transform(&servo_list.0, list); - } - } else { - panic!("The AnimationValue should be transform"); - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_Transform( - list: *const nsCSSValueSharedList -) -> RawServoAnimationValueStrong { - let list = unsafe { (&*list).mHead.as_ref() }; - let transform = gecko_properties::clone_transform_from_list(list); - Arc::new(AnimationValue::Transform(transform)).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_DeepEqual( - this: RawServoAnimationValueBorrowed, - other: RawServoAnimationValueBorrowed, -) -> bool { - let this_value = AnimationValue::as_arc(&this); - let other_value = AnimationValue::as_arc(&other); - this_value == other_value -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_Uncompute( - value: RawServoAnimationValueBorrowed, -) -> RawServoDeclarationBlockStrong { - let value = AnimationValue::as_arc(&value); - let global_style_data = &*GLOBAL_STYLE_DATA; - Arc::new(global_style_data.shared_lock.wrap( - PropertyDeclarationBlock::with_one(value.uncompute(), Importance::Normal))).into_strong() -} - -// Return the ComputedValues by a base ComputedValues and the rules. -fn resolve_rules_for_element_with_context<'a>( - element: GeckoElement<'a>, - mut context: StyleContext>, - rules: StrongRuleNode -) -> Arc { - use style::style_resolver::{PseudoElementResolution, StyleResolverForElement}; - - // This currently ignores visited styles, which seems acceptable, as - // existing browsers don't appear to animate visited styles. - let inputs = - CascadeInputs { - rules: Some(rules), - visited_rules: None, - }; - - // Actually `PseudoElementResolution` doesn't matter. - StyleResolverForElement::new(element, - &mut context, - RuleInclusion::All, - PseudoElementResolution::IfApplicable) - .cascade_style_and_visited_with_default_parents(inputs).0 -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_GetBaseComputedValuesForElement( - raw_style_set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - computed_values: ComputedStyleBorrowed, - snapshots: *const ServoElementSnapshotTable, -) -> ComputedStyleStrong { - debug_assert!(!snapshots.is_null()); - let computed_values = unsafe { ArcBorrow::from_ref(computed_values) }; - - let rules = match computed_values.rules { - None => return computed_values.clone_arc().into(), - Some(ref rules) => rules, - }; - - let doc_data = PerDocumentStyleData::from_ffi(raw_style_set).borrow(); - let without_animations_rules = doc_data.stylist.rule_tree().remove_animation_rules(rules); - if without_animations_rules == *rules { - return computed_values.clone_arc().into(); - } - - let element = GeckoElement(element); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let shared = create_shared_context(&global_style_data, - &guard, - &doc_data, - TraversalFlags::empty(), - unsafe { &*snapshots }); - let mut tlc = ThreadLocalStyleContext::new(&shared); - let context = StyleContext { - shared: &shared, - thread_local: &mut tlc, - }; - - resolve_rules_for_element_with_context(element, context, without_animations_rules).into() -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_GetComputedValuesByAddingAnimation( - raw_style_set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - computed_values: ComputedStyleBorrowed, - snapshots: *const ServoElementSnapshotTable, - animation_value: RawServoAnimationValueBorrowed, -) -> ComputedStyleStrong { - debug_assert!(!snapshots.is_null()); - let computed_values = unsafe { ArcBorrow::from_ref(computed_values) }; - let rules = match computed_values.rules { - None => return ComputedStyleStrong::null(), - Some(ref rules) => rules, - }; - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let uncomputed_value = AnimationValue::as_arc(&animation_value).uncompute(); - let doc_data = PerDocumentStyleData::from_ffi(raw_style_set).borrow(); - - let with_animations_rules = { - let guards = StylesheetGuards::same(&guard); - let declarations = - Arc::new(global_style_data.shared_lock.wrap( - PropertyDeclarationBlock::with_one(uncomputed_value, Importance::Normal))); - doc_data.stylist - .rule_tree() - .add_animation_rules_at_transition_level(rules, declarations, &guards) - }; - - let element = GeckoElement(element); - if element.borrow_data().is_none() { - return ComputedStyleStrong::null(); - } - - let shared = create_shared_context(&global_style_data, - &guard, - &doc_data, - TraversalFlags::empty(), - unsafe { &*snapshots }); - let mut tlc: ThreadLocalStyleContext = ThreadLocalStyleContext::new(&shared); - let context = StyleContext { - shared: &shared, - thread_local: &mut tlc, - }; - - resolve_rules_for_element_with_context(element, context, with_animations_rules).into() -} - -#[no_mangle] -pub extern "C" fn Servo_ComputedValues_ExtractAnimationValue( - computed_values: ComputedStyleBorrowed, - property_id: nsCSSPropertyID, -) -> RawServoAnimationValueStrong { - let property = match LonghandId::from_nscsspropertyid(property_id) { - Ok(longhand) => longhand, - Err(()) => return Strong::null(), - }; - - match AnimationValue::from_computed_values(property, &computed_values) { - Some(v) => Arc::new(v).into_strong(), - None => Strong::null(), - } -} - -macro_rules! parse_enabled_property_name { - ($prop_name:ident, $found:ident, $default:expr) => {{ - let prop_name = $prop_name.as_ref().unwrap().as_str_unchecked(); - // XXX This can be simplified once Option::filter is stable. - let prop_id = PropertyId::parse(prop_name).ok().and_then(|p| { - if p.enabled_for_all_content() { - Some(p) - } else { - None - } - }); - match prop_id { - Some(p) => { - *$found = true; - p - } - None => { - *$found = false; - return $default; - } - } - }} -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_Property_IsShorthand( - prop_name: *const nsACString, - found: *mut bool -) -> bool { - let prop_id = parse_enabled_property_name!(prop_name, found, false); - prop_id.is_shorthand() -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_Property_IsInherited( - prop_name: *const nsACString, -) -> bool { - let prop_name = prop_name.as_ref().unwrap().as_str_unchecked(); - let prop_id = match PropertyId::parse(prop_name) { - Ok(id) => id, - Err(_) => return false, - }; - let longhand_id = match prop_id { - PropertyId::Custom(_) => return true, - PropertyId::Longhand(id) | - PropertyId::LonghandAlias(id, _) => id, - PropertyId::Shorthand(id) | - PropertyId::ShorthandAlias(id, _) => id.longhands().next().unwrap(), - }; - longhand_id.inherited() -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_Property_SupportsType( - prop_name: *const nsACString, - ty: u32, - found: *mut bool, -) -> bool { - let prop_id = parse_enabled_property_name!(prop_name, found, false); - // This should match the constants in InspectorUtils. - // (Let's don't bother importing InspectorUtilsBinding into bindings - // because it is not used anywhere else, and issue here would be - // caught by the property-db test anyway.) - let ty = match ty { - 1 => CssType::COLOR, - 2 => CssType::GRADIENT, - 3 => CssType::TIMING_FUNCTION, - _ => unreachable!("unknown CSS type {}", ty), - }; - prop_id.supports_type(ty) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_Property_GetCSSValuesForProperty( - prop_name: *const nsACString, - found: *mut bool, - result: *mut nsTArray, -) { - let prop_id = parse_enabled_property_name!(prop_name, found, ()); - // Use B-tree set for unique and sorted result. - let mut values = BTreeSet::<&'static str>::new(); - prop_id.collect_property_completion_keywords(&mut |list| values.extend(list.iter())); - - let mut extras = vec![]; - if values.contains("transparent") { - // This is a special value devtools use to avoid inserting the - // long list of color keywords. We need to prepend it to values. - extras.push("COLOR"); - } - - let result = result.as_mut().unwrap(); - let len = extras.len() + values.len(); - bindings::Gecko_ResizeTArrayForStrings(result, len as u32); - - for (src, dest) in extras.iter().chain(values.iter()).zip(result.iter_mut()) { - dest.write_str(src).unwrap(); - } -} - -#[no_mangle] -pub extern "C" fn Servo_Property_IsAnimatable(property: nsCSSPropertyID) -> bool { - use style::properties::animated_properties; - animated_properties::nscsspropertyid_is_animatable(property) -} - -#[no_mangle] -pub extern "C" fn Servo_Property_IsTransitionable(property: nsCSSPropertyID) -> bool { - use style::properties::animated_properties; - animated_properties::nscsspropertyid_is_transitionable(property) -} - -#[no_mangle] -pub extern "C" fn Servo_Property_IsDiscreteAnimatable(property: nsCSSPropertyID) -> bool { - match LonghandId::from_nscsspropertyid(property) { - Ok(longhand) => longhand.is_discrete_animatable(), - Err(()) => return false, - } -} - -#[no_mangle] -pub extern "C" fn Servo_StyleWorkerThreadCount() -> u32 { - STYLE_THREAD_POOL.num_threads as u32 -} - -#[no_mangle] -pub extern "C" fn Servo_Element_ClearData(element: RawGeckoElementBorrowed) { - unsafe { GeckoElement(element).clear_data() }; -} - -#[no_mangle] -pub extern "C" fn Servo_Element_SizeOfExcludingThisAndCVs( - malloc_size_of: GeckoMallocSizeOf, - malloc_enclosing_size_of: GeckoMallocSizeOf, - seen_ptrs: *mut SeenPtrs, - element: RawGeckoElementBorrowed, -) -> usize { - let element = GeckoElement(element); - let borrow = element.borrow_data(); - if let Some(data) = borrow { - let have_seen_ptr = move |ptr| { unsafe { Gecko_HaveSeenPtr(seen_ptrs, ptr) } }; - let mut ops = MallocSizeOfOps::new( - malloc_size_of.unwrap(), - Some(malloc_enclosing_size_of.unwrap()), - Some(Box::new(have_seen_ptr)), - ); - (*data).size_of_excluding_cvs(&mut ops) - } else { - 0 - } -} - -#[no_mangle] -pub extern "C" fn Servo_Element_HasPrimaryComputedValues(element: RawGeckoElementBorrowed) -> bool -{ - let element = GeckoElement(element); - let data = element.borrow_data().expect("Looking for CVs on unstyled element"); - data.has_styles() -} - -#[no_mangle] -pub extern "C" fn Servo_Element_GetPrimaryComputedValues( - element: RawGeckoElementBorrowed, -) -> ComputedStyleStrong { - let element = GeckoElement(element); - let data = element.borrow_data().expect("Getting CVs on unstyled element"); - data.styles.primary().clone().into() -} - -#[no_mangle] -pub extern "C" fn Servo_Element_HasPseudoComputedValues( - element: RawGeckoElementBorrowed, - index: usize, -) -> bool { - let element = GeckoElement(element); - let data = element.borrow_data().expect("Looking for CVs on unstyled element"); - data.styles.pseudos.as_array()[index].is_some() -} - -#[no_mangle] -pub extern "C" fn Servo_Element_GetPseudoComputedValues( - element: RawGeckoElementBorrowed, - index: usize, -) -> ComputedStyleStrong { - let element = GeckoElement(element); - let data = element.borrow_data().expect("Getting CVs that aren't present"); - data.styles.pseudos.as_array()[index].as_ref().expect("Getting CVs that aren't present") - .clone().into() -} - -#[no_mangle] -pub extern "C" fn Servo_Element_IsDisplayNone( - element: RawGeckoElementBorrowed, -) -> bool { - let element = GeckoElement(element); - let data = element.get_data() - .expect("Invoking Servo_Element_IsDisplayNone on unstyled element"); - - // This function is hot, so we bypass the AtomicRefCell. - // - // It would be nice to also assert that we're not in the servo traversal, - // but this function is called at various intermediate checkpoints when - // managing the traversal on the Gecko side. - debug_assert!(is_main_thread()); - unsafe { &*data.as_ptr() }.styles.is_display_none() -} - -#[no_mangle] -pub extern "C" fn Servo_Element_IsDisplayContents( - element: RawGeckoElementBorrowed, -) -> bool { - let element = GeckoElement(element); - let data = element.get_data() - .expect("Invoking Servo_Element_IsDisplayContents on unstyled element"); - - debug_assert!(is_main_thread()); - unsafe { &*data.as_ptr() }.styles.primary().get_box().clone_display().is_contents() -} - -#[no_mangle] -pub extern "C" fn Servo_Element_IsPrimaryStyleReusedViaRuleNode(element: RawGeckoElementBorrowed) -> bool { - let element = GeckoElement(element); - let data = element.borrow_data() - .expect("Invoking Servo_Element_IsPrimaryStyleReusedViaRuleNode on unstyled element"); - data.flags.contains(data::ElementDataFlags::PRIMARY_STYLE_REUSED_VIA_RULE_NODE) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_Empty(mode: SheetParsingMode) -> RawServoStyleSheetContentsStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let origin = match mode { - SheetParsingMode::eAuthorSheetFeatures => Origin::Author, - SheetParsingMode::eUserSheetFeatures => Origin::User, - SheetParsingMode::eAgentSheetFeatures => Origin::UserAgent, - SheetParsingMode::eSafeAgentSheetFeatures => Origin::UserAgent, - }; - let shared_lock = &global_style_data.shared_lock; - Arc::new( - StylesheetContents::from_str( - "", - unsafe { dummy_url_data() }.clone(), - origin, - shared_lock, - /* loader = */ None, - &NullReporter, - QuirksMode::NoQuirks, - 0 - ) - ).into_strong() -} - -fn mode_to_origin(mode: SheetParsingMode) -> Origin { - match mode { - SheetParsingMode::eAuthorSheetFeatures => Origin::Author, - SheetParsingMode::eUserSheetFeatures => Origin::User, - SheetParsingMode::eAgentSheetFeatures => Origin::UserAgent, - SheetParsingMode::eSafeAgentSheetFeatures => Origin::UserAgent, - } -} - -/// Note: The load_data corresponds to this sheet, and is passed as the parent -/// load data for child sheet loads. It may be null for certain cases where we -/// know we won't have child loads. -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_FromUTF8Bytes( - loader: *mut Loader, - stylesheet: *mut DomStyleSheet, - load_data: *mut SheetLoadData, - bytes: *const nsACString, - mode: SheetParsingMode, - extra_data: *mut URLExtraData, - line_number_offset: u32, - quirks_mode: nsCompatibility, - reusable_sheets: *mut LoaderReusableStyleSheets, -) -> RawServoStyleSheetContentsStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let input: &str = unsafe { (*bytes).as_str_unchecked() }; - - let reporter = ErrorReporter::new(stylesheet, loader, extra_data); - let url_data = unsafe { RefPtr::from_ptr_ref(&extra_data) }; - let loader = if loader.is_null() { - None - } else { - Some(StylesheetLoader::new(loader, stylesheet, load_data, reusable_sheets)) - }; - - // FIXME(emilio): loader.as_ref() doesn't typecheck for some reason? - let loader: Option<&StyleStylesheetLoader> = match loader { - None => None, - Some(ref s) => Some(s), - }; - - - Arc::new(StylesheetContents::from_str( - input, url_data.clone(), mode_to_origin(mode), - &global_style_data.shared_lock, loader, &reporter, - quirks_mode.into(), line_number_offset) - ).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_FromUTF8BytesAsync( - load_data: *mut SheetLoadDataHolder, - extra_data: *mut URLExtraData, - bytes: *const nsACString, - mode: SheetParsingMode, - line_number_offset: u32, - quirks_mode: nsCompatibility, -) { - let (load_data, extra_data, bytes) = unsafe { - let mut b = nsCString::new(); - b.assign(&*bytes); - (RefPtr::new(load_data), RefPtr::new(extra_data), b) - }; - let async_parser = AsyncStylesheetParser::new( - load_data, - extra_data, - bytes, - mode_to_origin(mode), - quirks_mode.into(), - line_number_offset - ); - - if let Some(thread_pool) = STYLE_THREAD_POOL.style_thread_pool.as_ref() { - thread_pool.spawn(|| { - async_parser.parse(); - }); - } else { - async_parser.parse(); - } -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_AppendStyleSheet( - raw_data: RawServoStyleSetBorrowed, - sheet: *const DomStyleSheet, -) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let data = &mut *data; - let guard = global_style_data.shared_lock.read(); - let sheet = unsafe { GeckoStyleSheet::new(sheet) }; - data.stylist.append_stylesheet(sheet, &guard); -} - -#[no_mangle] -pub extern "C" fn Servo_AuthorStyles_Create() -> *mut RawServoAuthorStyles { - Box::into_raw(Box::new(AuthorStyles::::new())) as *mut _ -} - -#[no_mangle] -pub extern "C" fn Servo_AuthorStyles_Drop( - styles: RawServoAuthorStylesOwned, -) { - let _ = styles.into_box::>(); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_AuthorStyles_AppendStyleSheet( - styles: RawServoAuthorStylesBorrowedMut, - sheet: *const DomStyleSheet, -) { - let styles = AuthorStyles::::from_ffi_mut(styles); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let sheet = GeckoStyleSheet::new(sheet); - styles.stylesheets.append_stylesheet(None, sheet, &guard); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_AuthorStyles_InsertStyleSheetBefore( - styles: RawServoAuthorStylesBorrowedMut, - sheet: *const DomStyleSheet, - before_sheet: *const DomStyleSheet, -) { - let styles = AuthorStyles::::from_ffi_mut(styles); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - styles.stylesheets.insert_stylesheet_before( - None, - GeckoStyleSheet::new(sheet), - GeckoStyleSheet::new(before_sheet), - &guard, - ); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_AuthorStyles_RemoveStyleSheet( - styles: RawServoAuthorStylesBorrowedMut, - sheet: *const DomStyleSheet, -) { - let styles = AuthorStyles::::from_ffi_mut(styles); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - styles.stylesheets.remove_stylesheet( - None, - GeckoStyleSheet::new(sheet), - &guard, - ); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_AuthorStyles_ForceDirty( - styles: RawServoAuthorStylesBorrowedMut, -) { - let styles = AuthorStyles::::from_ffi_mut(styles); - styles.stylesheets.force_dirty(); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_AuthorStyles_Flush( - styles: RawServoAuthorStylesBorrowedMut, - document_set: RawServoStyleSetBorrowed, -) { - let styles = AuthorStyles::::from_ffi_mut(styles); - // Try to avoid the atomic borrow below if possible. - if !styles.stylesheets.dirty() { - return; - } - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - - let document_data = - PerDocumentStyleData::from_ffi(document_set).borrow(); - - let stylist = &document_data.stylist; - - // TODO(emilio): This is going to need an element or something to do proper - // invalidation in Shadow roots. - styles.flush::( - stylist.device(), - stylist.quirks_mode(), - &guard, - ); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_AuthorStyles_SizeOfIncludingThis( - malloc_size_of: GeckoMallocSizeOf, - malloc_enclosing_size_of: GeckoMallocSizeOf, - styles: RawServoAuthorStylesBorrowed, -) -> usize { - // We cannot `use` MallocSizeOf at the top level, otherwise the compiler - // would complain in `Servo_StyleSheet_SizeOfIncludingThis` for `size_of` - // there. - use malloc_size_of::MallocSizeOf; - let malloc_size_of = malloc_size_of.unwrap(); - let malloc_size_of_this = malloc_size_of(styles as *const RawServoAuthorStyles as *const c_void); - - let styles = AuthorStyles::::from_ffi(styles); - let mut ops = MallocSizeOfOps::new(malloc_size_of, - Some(malloc_enclosing_size_of.unwrap()), - None); - malloc_size_of_this + styles.size_of(&mut ops) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_StyleSet_MediumFeaturesChanged( - document_set: RawServoStyleSetBorrowed, - non_document_styles: *mut nsTArray, - may_affect_default_style: bool, -) -> structs::MediumFeaturesChangedResult { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - - // NOTE(emilio): We don't actually need to flush the stylist here and ensure - // it's up to date. - // - // In case it isn't we would trigger a rebuild + restyle as needed too. - // - // We need to ensure the default computed values are up to date though, - // because those can influence the result of media query evaluation. - let mut document_data = - PerDocumentStyleData::from_ffi(document_set).borrow_mut(); - - if may_affect_default_style { - document_data.stylist.device_mut().reset_computed_values(); - } - let guards = StylesheetGuards::same(&guard); - - let origins_in_which_rules_changed = - document_data.stylist.media_features_change_changed_style( - &guards, - document_data.stylist.device(), - ); - - let affects_document_rules = !origins_in_which_rules_changed.is_empty(); - if affects_document_rules { - document_data.stylist.force_stylesheet_origins_dirty(origins_in_which_rules_changed); - } - - let mut affects_non_document_rules = false; - for author_styles in &mut **non_document_styles { - let author_styles = - AuthorStyles::::from_ffi_mut(&mut *author_styles); - let affected_style = author_styles.stylesheets.iter().any(|sheet| { - !author_styles.data.media_feature_affected_matches( - sheet, - &guards.author, - document_data.stylist.device(), - document_data.stylist.quirks_mode(), - ) - }); - if affected_style { - affects_non_document_rules = true; - author_styles.stylesheets.force_dirty(); - } - } - - let uses_viewport_units = - document_data.stylist.device().used_viewport_size(); - - structs::MediumFeaturesChangedResult { - mAffectsDocumentRules: affects_document_rules, - mAffectsNonDocumentRules: affects_non_document_rules, - mUsesViewportUnits: uses_viewport_units, - } -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_PrependStyleSheet( - raw_data: RawServoStyleSetBorrowed, - sheet: *const DomStyleSheet, -) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let data = &mut *data; - let guard = global_style_data.shared_lock.read(); - let sheet = unsafe { GeckoStyleSheet::new(sheet) }; - data.stylist.prepend_stylesheet(sheet, &guard); -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_InsertStyleSheetBefore( - raw_data: RawServoStyleSetBorrowed, - sheet: *const DomStyleSheet, - before_sheet: *const DomStyleSheet -) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let data = &mut *data; - let guard = global_style_data.shared_lock.read(); - let sheet = unsafe { GeckoStyleSheet::new(sheet) }; - data.stylist.insert_stylesheet_before( - sheet, - unsafe { GeckoStyleSheet::new(before_sheet) }, - &guard, - ); -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_RemoveStyleSheet( - raw_data: RawServoStyleSetBorrowed, - sheet: *const DomStyleSheet -) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let data = &mut *data; - let guard = global_style_data.shared_lock.read(); - let sheet = unsafe { GeckoStyleSheet::new(sheet) }; - data.stylist.remove_stylesheet(sheet, &guard); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_StyleSet_FlushStyleSheets( - raw_data: RawServoStyleSetBorrowed, - doc_element: RawGeckoElementBorrowedOrNull, - snapshots: *const ServoElementSnapshotTable, -) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let doc_element = doc_element.map(GeckoElement); - - let have_invalidations = - data.flush_stylesheets(&guard, doc_element, snapshots.as_ref()); - - if have_invalidations && doc_element.is_some() { - // The invalidation machinery propagates the bits up, but we still need - // to tell the Gecko restyle root machinery about it. - bindings::Gecko_NoteDirtySubtreeForInvalidation(doc_element.unwrap().0); - } -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_NoteStyleSheetsChanged( - raw_data: RawServoStyleSetBorrowed, - changed_origins: OriginFlags, -) { - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - data.stylist.force_stylesheet_origins_dirty(OriginSet::from(changed_origins)); -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_SetAuthorStyleDisabled( - raw_data: RawServoStyleSetBorrowed, - author_style_disabled: bool, -) { - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let enabled = - if author_style_disabled { - AuthorStylesEnabled::No - } else { - AuthorStylesEnabled::Yes - }; - data.stylist.set_author_styles_enabled(enabled); -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_HasRules( - raw_contents: RawServoStyleSheetContentsBorrowed -) -> bool { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - !StylesheetContents::as_arc(&raw_contents) - .rules.read_with(&guard).0.is_empty() -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_GetRules( - sheet: RawServoStyleSheetContentsBorrowed -) -> ServoCssRulesStrong { - StylesheetContents::as_arc(&sheet).rules.clone().into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_Clone( - raw_sheet: RawServoStyleSheetContentsBorrowed, - reference_sheet: *const DomStyleSheet, -) -> RawServoStyleSheetContentsStrong { - use style::shared_lock::{DeepCloneParams, DeepCloneWithLock}; - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let contents = StylesheetContents::as_arc(&raw_sheet); - let params = DeepCloneParams { reference_sheet }; - - Arc::new(contents.deep_clone_with_lock( - &global_style_data.shared_lock, - &guard, - ¶ms, - )).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_SizeOfIncludingThis( - malloc_size_of: GeckoMallocSizeOf, - malloc_enclosing_size_of: GeckoMallocSizeOf, - sheet: RawServoStyleSheetContentsBorrowed -) -> usize { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let mut ops = MallocSizeOfOps::new(malloc_size_of.unwrap(), - Some(malloc_enclosing_size_of.unwrap()), - None); - StylesheetContents::as_arc(&sheet).size_of(&guard, &mut ops) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_GetOrigin( - sheet: RawServoStyleSheetContentsBorrowed, -) -> u8 { - let origin = match StylesheetContents::as_arc(&sheet).origin { - Origin::UserAgent => OriginFlags_UserAgent, - Origin::User => OriginFlags_User, - Origin::Author => OriginFlags_Author, - }; - // We'd like to return `OriginFlags` here, but bindgen bitfield enums don't - // work as return values with the Linux 32-bit ABI at the moment because - // they wrap the value in a struct, so for now just unwrap it. - origin.0 -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_GetSourceMapURL( - sheet: RawServoStyleSheetContentsBorrowed, - result: *mut nsAString -) { - let contents = StylesheetContents::as_arc(&sheet); - let url_opt = contents.source_map_url.read(); - if let Some(ref url) = *url_opt { - write!(unsafe { &mut *result }, "{}", url).unwrap(); - } -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSheet_GetSourceURL( - sheet: RawServoStyleSheetContentsBorrowed, - result: *mut nsAString -) { - let contents = StylesheetContents::as_arc(&sheet); - let url_opt = contents.source_url.read(); - if let Some(ref url) = *url_opt { - write!(unsafe { &mut *result }, "{}", url).unwrap(); - } -} - -fn read_locked_arc(raw: & as HasFFI>::FFIType, func: F) -> R - where Locked: HasArcFFI, F: FnOnce(&T) -> R -{ - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - func(Locked::::as_arc(&raw).read_with(&guard)) -} - -#[cfg(debug_assertions)] -unsafe fn read_locked_arc_unchecked(raw: & as HasFFI>::FFIType, func: F) -> R - where Locked: HasArcFFI, F: FnOnce(&T) -> R -{ - debug_assert!(is_main_thread() && !is_in_servo_traversal()); - read_locked_arc(raw, func) -} - -#[cfg(not(debug_assertions))] -unsafe fn read_locked_arc_unchecked(raw: & as HasFFI>::FFIType, func: F) -> R - where Locked: HasArcFFI, F: FnOnce(&T) -> R -{ - func(Locked::::as_arc(&raw).read_unchecked()) -} - -fn write_locked_arc(raw: & as HasFFI>::FFIType, func: F) -> R - where Locked: HasArcFFI, F: FnOnce(&mut T) -> R -{ - let global_style_data = &*GLOBAL_STYLE_DATA; - let mut guard = global_style_data.shared_lock.write(); - func(Locked::::as_arc(&raw).write_with(&mut guard)) -} - -#[no_mangle] -pub extern "C" fn Servo_CssRules_ListTypes( - rules: ServoCssRulesBorrowed, - result: nsTArrayBorrowed_uintptr_t, -) { - read_locked_arc(rules, |rules: &CssRules| { - let iter = rules.0.iter().map(|rule| rule.rule_type() as usize); - let (size, upper) = iter.size_hint(); - debug_assert_eq!(size, upper.unwrap()); - unsafe { result.set_len(size as u32) }; - result.iter_mut().zip(iter).fold((), |_, (r, v)| *r = v); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_CssRules_InsertRule( - rules: ServoCssRulesBorrowed, - contents: RawServoStyleSheetContentsBorrowed, - rule: *const nsACString, - index: u32, - nested: bool, - loader: *mut Loader, - gecko_stylesheet: *mut DomStyleSheet, - rule_type: *mut u16, -) -> nsresult { - let loader = if loader.is_null() { - None - } else { - Some(StylesheetLoader::new(loader, gecko_stylesheet, ptr::null_mut(), ptr::null_mut())) - }; - let loader = loader.as_ref().map(|loader| loader as &StyleStylesheetLoader); - let rule = unsafe { rule.as_ref().unwrap().as_str_unchecked() }; - - let global_style_data = &*GLOBAL_STYLE_DATA; - let contents = StylesheetContents::as_arc(&contents); - let result = Locked::::as_arc(&rules).insert_rule( - &global_style_data.shared_lock, - rule, - contents, - index as usize, - nested, - loader - ); - - match result { - Ok(new_rule) => { - *unsafe { rule_type.as_mut().unwrap() } = new_rule.rule_type() as u16; - nsresult::NS_OK - } - Err(err) => err.into(), - } -} - -#[no_mangle] -pub extern "C" fn Servo_CssRules_DeleteRule( - rules: ServoCssRulesBorrowed, - index: u32 -) -> nsresult { - write_locked_arc(rules, |rules: &mut CssRules| { - match rules.remove_rule(index as usize) { - Ok(_) => nsresult::NS_OK, - Err(err) => err.into() - } - }) -} - -macro_rules! impl_basic_rule_funcs_without_getter { - { ($rule_type:ty, $raw_type:ty), - debug: $debug:ident, - to_css: $to_css:ident, - } => { - #[cfg(debug_assertions)] - #[no_mangle] - pub extern "C" fn $debug(rule: &$raw_type, result: *mut nsACString) { - read_locked_arc(rule, |rule: &$rule_type| { - write!(unsafe { result.as_mut().unwrap() }, "{:?}", *rule).unwrap(); - }) - } - - #[cfg(not(debug_assertions))] - #[no_mangle] - pub extern "C" fn $debug(_: &$raw_type, _: *mut nsACString) { - unreachable!() - } - - #[no_mangle] - pub extern "C" fn $to_css(rule: &$raw_type, result: *mut nsAString) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let rule = Locked::<$rule_type>::as_arc(&rule); - rule.read_with(&guard).to_css(&guard, unsafe { result.as_mut().unwrap() }).unwrap(); - } - } -} - -macro_rules! impl_basic_rule_funcs { - { ($name:ident, $rule_type:ty, $raw_type:ty), - getter: $getter:ident, - debug: $debug:ident, - to_css: $to_css:ident, - } => { - #[no_mangle] - pub extern "C" fn $getter( - rules: ServoCssRulesBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, - ) -> Strong<$raw_type> { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let rules = Locked::::as_arc(&rules).read_with(&guard); - let index = index as usize; - - if index >= rules.0.len() { - return Strong::null(); - } - - match rules.0[index] { - CssRule::$name(ref rule) => { - let location = rule.read_with(&guard).source_location; - *unsafe { line.as_mut().unwrap() } = location.line as u32; - *unsafe { column.as_mut().unwrap() } = location.column as u32; - rule.clone().into_strong() - }, - _ => { - Strong::null() - } - } - } - - impl_basic_rule_funcs_without_getter! { ($rule_type, $raw_type), - debug: $debug, - to_css: $to_css, - } - } -} - -macro_rules! impl_group_rule_funcs { - { ($name:ident, $rule_type:ty, $raw_type:ty), - get_rules: $get_rules:ident, - $($basic:tt)+ - } => { - impl_basic_rule_funcs! { ($name, $rule_type, $raw_type), $($basic)+ } - - #[no_mangle] - pub extern "C" fn $get_rules(rule: &$raw_type) -> ServoCssRulesStrong { - read_locked_arc(rule, |rule: &$rule_type| { - rule.rules.clone().into_strong() - }) - } - } -} - -impl_basic_rule_funcs! { (Style, StyleRule, RawServoStyleRule), - getter: Servo_CssRules_GetStyleRuleAt, - debug: Servo_StyleRule_Debug, - to_css: Servo_StyleRule_GetCssText, -} - -impl_basic_rule_funcs! { (Import, ImportRule, RawServoImportRule), - getter: Servo_CssRules_GetImportRuleAt, - debug: Servo_ImportRule_Debug, - to_css: Servo_ImportRule_GetCssText, -} - -impl_basic_rule_funcs_without_getter! { (Keyframe, RawServoKeyframe), - debug: Servo_Keyframe_Debug, - to_css: Servo_Keyframe_GetCssText, -} - -impl_basic_rule_funcs! { (Keyframes, KeyframesRule, RawServoKeyframesRule), - getter: Servo_CssRules_GetKeyframesRuleAt, - debug: Servo_KeyframesRule_Debug, - to_css: Servo_KeyframesRule_GetCssText, -} - -impl_group_rule_funcs! { (Media, MediaRule, RawServoMediaRule), - get_rules: Servo_MediaRule_GetRules, - getter: Servo_CssRules_GetMediaRuleAt, - debug: Servo_MediaRule_Debug, - to_css: Servo_MediaRule_GetCssText, -} - -impl_basic_rule_funcs! { (Namespace, NamespaceRule, RawServoNamespaceRule), - getter: Servo_CssRules_GetNamespaceRuleAt, - debug: Servo_NamespaceRule_Debug, - to_css: Servo_NamespaceRule_GetCssText, -} - -impl_basic_rule_funcs! { (Page, PageRule, RawServoPageRule), - getter: Servo_CssRules_GetPageRuleAt, - debug: Servo_PageRule_Debug, - to_css: Servo_PageRule_GetCssText, -} - -impl_group_rule_funcs! { (Supports, SupportsRule, RawServoSupportsRule), - get_rules: Servo_SupportsRule_GetRules, - getter: Servo_CssRules_GetSupportsRuleAt, - debug: Servo_SupportsRule_Debug, - to_css: Servo_SupportsRule_GetCssText, -} - -impl_group_rule_funcs! { (Document, DocumentRule, RawServoDocumentRule), - get_rules: Servo_DocumentRule_GetRules, - getter: Servo_CssRules_GetDocumentRuleAt, - debug: Servo_DocumentRule_Debug, - to_css: Servo_DocumentRule_GetCssText, -} - -impl_basic_rule_funcs! { (FontFeatureValues, FontFeatureValuesRule, RawServoFontFeatureValuesRule), - getter: Servo_CssRules_GetFontFeatureValuesRuleAt, - debug: Servo_FontFeatureValuesRule_Debug, - to_css: Servo_FontFeatureValuesRule_GetCssText, -} - -impl_basic_rule_funcs! { (FontFace, FontFaceRule, RawServoFontFaceRule), - getter: Servo_CssRules_GetFontFaceRuleAt, - debug: Servo_FontFaceRule_Debug, - to_css: Servo_FontFaceRule_GetCssText, -} - -impl_basic_rule_funcs! { (CounterStyle, CounterStyleRule, RawServoCounterStyleRule), - getter: Servo_CssRules_GetCounterStyleRuleAt, - debug: Servo_CounterStyleRule_Debug, - to_css: Servo_CounterStyleRule_GetCssText, -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed) -> RawServoDeclarationBlockStrong { - read_locked_arc(rule, |rule: &StyleRule| { - rule.block.clone().into_strong() - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_SetStyle(rule: RawServoStyleRuleBorrowed, - declarations: RawServoDeclarationBlockBorrowed) { - let declarations = Locked::::as_arc(&declarations); - write_locked_arc(rule, |rule: &mut StyleRule| { - rule.block = declarations.clone_arc(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString) { - read_locked_arc(rule, |rule: &StyleRule| { - rule.selectors.to_css(unsafe { result.as_mut().unwrap() }).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_GetSelectorTextAtIndex( - rule: RawServoStyleRuleBorrowed, - index: u32, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &StyleRule| { - let index = index as usize; - if index >= rule.selectors.0.len() { - return; - } - rule.selectors.0[index].to_css(unsafe { result.as_mut().unwrap() }).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_GetSelectorCount(rule: RawServoStyleRuleBorrowed, count: *mut u32) { - read_locked_arc(rule, |rule: &StyleRule| { - *unsafe { count.as_mut().unwrap() } = rule.selectors.0.len() as u32; - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_GetSpecificityAtIndex( - rule: RawServoStyleRuleBorrowed, - index: u32, - specificity: *mut u64 -) { - read_locked_arc(rule, |rule: &StyleRule| { - let specificity = unsafe { specificity.as_mut().unwrap() }; - let index = index as usize; - if index >= rule.selectors.0.len() { - *specificity = 0; - return; - } - *specificity = rule.selectors.0[index].specificity() as u64; - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleRule_SelectorMatchesElement( - rule: RawServoStyleRuleBorrowed, - element: RawGeckoElementBorrowed, - index: u32, - pseudo_type: CSSPseudoElementType, -) -> bool { - read_locked_arc(rule, |rule: &StyleRule| { - let index = index as usize; - if index >= rule.selectors.0.len() { - return false; - } - - let selector = &rule.selectors.0[index]; - let mut matching_mode = MatchingMode::Normal; - - match PseudoElement::from_pseudo_type(pseudo_type) { - Some(pseudo) => { - // We need to make sure that the requested pseudo element type - // matches the selector pseudo element type before proceeding. - match selector.pseudo_element() { - Some(selector_pseudo) if *selector_pseudo == pseudo => { - matching_mode = MatchingMode::ForStatelessPseudoElement - }, - _ => return false, - }; - }, - None => { - // Do not attempt to match if a pseudo element is requested and - // this is not a pseudo element selector, or vice versa. - if selector.has_pseudo_element() { - return false; - } - }, - }; - - let element = GeckoElement(element); - let quirks_mode = element.as_node().owner_doc().quirks_mode(); - let mut ctx = - MatchingContext::new(matching_mode, None, None, quirks_mode); - matches_selector(selector, 0, None, &element, &mut ctx, &mut |_, _| {}) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_StyleRule_SetSelectorText( - sheet: RawServoStyleSheetContentsBorrowed, - rule: RawServoStyleRuleBorrowed, - text: *const nsAString, -) -> bool { - let value_str = (*text).to_string(); - - write_locked_arc(rule, |rule: &mut StyleRule| { - use style::selector_parser::SelectorParser; - - let contents = StylesheetContents::as_arc(&sheet); - let namespaces = contents.namespaces.read(); - let url_data = contents.url_data.read(); - let parser = SelectorParser { - stylesheet_origin: contents.origin, - namespaces: &namespaces, - url_data: Some(&url_data), - }; - - let mut parser_input = ParserInput::new(&value_str); - match SelectorList::parse(&parser, &mut Parser::new(&mut parser_input)) { - Ok(selectors) => { - rule.selectors = selectors; - true - } - Err(_) => false, - } - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SelectorList_Closest( - element: RawGeckoElementBorrowed, - selectors: RawServoSelectorListBorrowed, -) -> *const structs::RawGeckoElement { - use std::borrow::Borrow; - use style::dom_apis; - - let element = GeckoElement(element); - let quirks_mode = element.as_node().owner_doc().quirks_mode(); - let selectors = ::selectors::SelectorList::from_ffi(selectors).borrow(); - - dom_apis::element_closest(element, &selectors, quirks_mode) - .map_or(ptr::null(), |e| e.0) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SelectorList_Matches( - element: RawGeckoElementBorrowed, - selectors: RawServoSelectorListBorrowed, -) -> bool { - use std::borrow::Borrow; - use style::dom_apis; - - let element = GeckoElement(element); - let quirks_mode = element.as_node().owner_doc().quirks_mode(); - let selectors = ::selectors::SelectorList::from_ffi(selectors).borrow(); - dom_apis::element_matches( - &element, - &selectors, - quirks_mode, - ) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SelectorList_QueryFirst( - node: RawGeckoNodeBorrowed, - selectors: RawServoSelectorListBorrowed, - may_use_invalidation: bool, -) -> *const structs::RawGeckoElement { - use std::borrow::Borrow; - use style::dom_apis::{self, MayUseInvalidation, QueryFirst}; - - let node = GeckoNode(node); - let selectors = ::selectors::SelectorList::from_ffi(selectors).borrow(); - let mut result = None; - - let may_use_invalidation = - if may_use_invalidation { - MayUseInvalidation::Yes - } else { - MayUseInvalidation::No - }; - - dom_apis::query_selector::( - node, - &selectors, - &mut result, - may_use_invalidation, - ); - - result.map_or(ptr::null(), |e| e.0) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SelectorList_QueryAll( - node: RawGeckoNodeBorrowed, - selectors: RawServoSelectorListBorrowed, - content_list: *mut structs::nsSimpleContentList, - may_use_invalidation: bool, -) { - use std::borrow::Borrow; - use style::dom_apis::{self, MayUseInvalidation, QueryAll}; - - let node = GeckoNode(node); - let selectors = ::selectors::SelectorList::from_ffi(selectors).borrow(); - let mut result = SmallVec::new(); - - let may_use_invalidation = - if may_use_invalidation { - MayUseInvalidation::Yes - } else { - MayUseInvalidation::No - }; - - dom_apis::query_selector::( - node, - &selectors, - &mut result, - may_use_invalidation, - ); - - if !result.is_empty() { - // NOTE(emilio): This relies on a slice of GeckoElement having the same - // memory representation than a slice of element pointers. - bindings::Gecko_ContentList_AppendAll( - content_list, - result.as_ptr() as *mut *const _, - result.len(), - ) - } -} - -#[no_mangle] -pub extern "C" fn Servo_ImportRule_GetHref(rule: RawServoImportRuleBorrowed, result: *mut nsAString) { - read_locked_arc(rule, |rule: &ImportRule| { - write!(unsafe { &mut *result }, "{}", rule.url.as_str()).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_ImportRule_GetSheet( - rule: RawServoImportRuleBorrowed, -) -> *const DomStyleSheet { - read_locked_arc(rule, |rule: &ImportRule| { - rule.stylesheet.as_sheet().unwrap().raw() as *const DomStyleSheet - }) -} - -#[no_mangle] -pub extern "C" fn Servo_ImportRule_SetSheet( - rule: RawServoImportRuleBorrowed, - sheet: *mut DomStyleSheet, -) { - write_locked_arc(rule, |rule: &mut ImportRule| { - let sheet = unsafe { GeckoStyleSheet::new(sheet) }; - rule.stylesheet = ImportSheet::new(sheet); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_Keyframe_GetKeyText( - keyframe: RawServoKeyframeBorrowed, - result: *mut nsAString -) { - read_locked_arc(keyframe, |keyframe: &Keyframe| { - keyframe.selector.to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap() - }) -} - -#[no_mangle] -pub extern "C" fn Servo_Keyframe_SetKeyText(keyframe: RawServoKeyframeBorrowed, text: *const nsACString) -> bool { - let text = unsafe { text.as_ref().unwrap().as_str_unchecked() }; - let mut input = ParserInput::new(&text); - if let Ok(selector) = Parser::new(&mut input).parse_entirely(KeyframeSelector::parse) { - write_locked_arc(keyframe, |keyframe: &mut Keyframe| { - keyframe.selector = selector; - }); - true - } else { - false - } -} - -#[no_mangle] -pub extern "C" fn Servo_Keyframe_GetStyle(keyframe: RawServoKeyframeBorrowed) -> RawServoDeclarationBlockStrong { - read_locked_arc(keyframe, |keyframe: &Keyframe| keyframe.block.clone().into_strong()) -} - -#[no_mangle] -pub extern "C" fn Servo_Keyframe_SetStyle(keyframe: RawServoKeyframeBorrowed, - declarations: RawServoDeclarationBlockBorrowed) { - let declarations = Locked::::as_arc(&declarations); - write_locked_arc(keyframe, |keyframe: &mut Keyframe| { - keyframe.block = declarations.clone_arc(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_KeyframesRule_GetName(rule: RawServoKeyframesRuleBorrowed) -> *mut nsAtom { - read_locked_arc(rule, |rule: &KeyframesRule| rule.name.as_atom().as_ptr()) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_KeyframesRule_SetName(rule: RawServoKeyframesRuleBorrowed, name: *mut nsAtom) { - write_locked_arc(rule, |rule: &mut KeyframesRule| { - rule.name = KeyframesName::Ident(CustomIdent(Atom::from_addrefed(name))); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_KeyframesRule_GetCount(rule: RawServoKeyframesRuleBorrowed) -> u32 { - read_locked_arc(rule, |rule: &KeyframesRule| rule.keyframes.len() as u32) -} - -#[no_mangle] -pub extern "C" fn Servo_KeyframesRule_GetKeyframeAt( - rule: RawServoKeyframesRuleBorrowed, - index: u32, - line: *mut u32, - column: *mut u32, -) -> RawServoKeyframeStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let key = Locked::::as_arc(&rule).read_with(&guard) - .keyframes[index as usize].clone(); - let location = key.read_with(&guard).source_location; - *unsafe { line.as_mut().unwrap() } = location.line as u32; - *unsafe { column.as_mut().unwrap() } = location.column as u32; - key.into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_KeyframesRule_FindRule( - rule: RawServoKeyframesRuleBorrowed, - key: *const nsACString, -) -> u32 { - let key = unsafe { key.as_ref().unwrap().as_str_unchecked() }; - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - Locked::::as_arc(&rule).read_with(&guard) - .find_rule(&guard, key).map(|index| index as u32) - .unwrap_or(u32::max_value()) -} - -#[no_mangle] -pub extern "C" fn Servo_KeyframesRule_AppendRule( - rule: RawServoKeyframesRuleBorrowed, - contents: RawServoStyleSheetContentsBorrowed, - css: *const nsACString -) -> bool { - let css = unsafe { css.as_ref().unwrap().as_str_unchecked() }; - let contents = StylesheetContents::as_arc(&contents); - let global_style_data = &*GLOBAL_STYLE_DATA; - - match Keyframe::parse(css, &contents, &global_style_data.shared_lock) { - Ok(keyframe) => { - write_locked_arc(rule, |rule: &mut KeyframesRule| { - rule.keyframes.push(keyframe); - }); - true - } - Err(..) => false, - } -} - -#[no_mangle] -pub extern "C" fn Servo_KeyframesRule_DeleteRule(rule: RawServoKeyframesRuleBorrowed, index: u32) { - write_locked_arc(rule, |rule: &mut KeyframesRule| { - rule.keyframes.remove(index as usize); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaRule_GetMedia(rule: RawServoMediaRuleBorrowed) -> RawServoMediaListStrong { - read_locked_arc(rule, |rule: &MediaRule| { - rule.media_queries.clone().into_strong() - }) -} - -#[no_mangle] -pub extern "C" fn Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom { - read_locked_arc(rule, |rule: &NamespaceRule| { - rule.prefix.as_ref().unwrap_or(&atom!("")).as_ptr() - }) -} - -#[no_mangle] -pub extern "C" fn Servo_NamespaceRule_GetURI(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom { - read_locked_arc(rule, |rule: &NamespaceRule| rule.url.0.as_ptr()) -} - -#[no_mangle] -pub extern "C" fn Servo_PageRule_GetStyle(rule: RawServoPageRuleBorrowed) -> RawServoDeclarationBlockStrong { - read_locked_arc(rule, |rule: &PageRule| { - rule.block.clone().into_strong() - }) -} - -#[no_mangle] -pub extern "C" fn Servo_PageRule_SetStyle( - rule: RawServoPageRuleBorrowed, - declarations: RawServoDeclarationBlockBorrowed, -) { - let declarations = Locked::::as_arc(&declarations); - write_locked_arc(rule, |rule: &mut PageRule| { - rule.block = declarations.clone_arc(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_SupportsRule_GetConditionText( - rule: RawServoSupportsRuleBorrowed, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &SupportsRule| { - rule.condition.to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DocumentRule_GetConditionText( - rule: RawServoDocumentRuleBorrowed, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &DocumentRule| { - rule.condition.to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_FontFeatureValuesRule_GetFontFamily( - rule: RawServoFontFeatureValuesRuleBorrowed, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &FontFeatureValuesRule| { - rule.font_family_to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_FontFeatureValuesRule_GetValueText( - rule: RawServoFontFeatureValuesRuleBorrowed, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &FontFeatureValuesRule| { - rule.value_to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_FontFaceRule_CreateEmpty() -> RawServoFontFaceRuleStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - // XXX This is not great. We should split FontFace descriptor data - // from the rule, so that we don't need to create the rule like this - // and the descriptor data itself can be hold in UniquePtr from the - // Gecko side. See bug 1450904. - Arc::new(global_style_data.shared_lock.wrap(FontFaceRule::empty(SourceLocation { - line: 0, - column: 0, - }))).into_strong() -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_Clone( - rule: RawServoFontFaceRuleBorrowed, -) -> RawServoFontFaceRuleStrong { - let clone = read_locked_arc(rule, |rule: &FontFaceRule| rule.clone()); - let global_style_data = &*GLOBAL_STYLE_DATA; - Arc::new(global_style_data.shared_lock.wrap(clone)).into_strong() -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_GetSourceLocation( - rule: RawServoFontFaceRuleBorrowed, - line: *mut u32, - column: *mut u32, -) { - read_locked_arc(rule, |rule: &FontFaceRule| { - let location = rule.source_location; - *line.as_mut().unwrap() = location.line as u32; - *column.as_mut().unwrap() = location.column as u32; - }); -} - -macro_rules! apply_font_desc_list { - ($apply_macro:ident) => { - $apply_macro! { - valid: [ - eCSSFontDesc_Family => family, - eCSSFontDesc_Style => style, - eCSSFontDesc_Weight => weight, - eCSSFontDesc_Stretch => stretch, - eCSSFontDesc_Src => sources, - eCSSFontDesc_UnicodeRange => unicode_range, - eCSSFontDesc_FontFeatureSettings => feature_settings, - eCSSFontDesc_FontVariationSettings => variation_settings, - eCSSFontDesc_FontLanguageOverride => language_override, - eCSSFontDesc_Display => display, - ] - invalid: [ - eCSSFontDesc_UNKNOWN, - eCSSFontDesc_COUNT, - ] - } - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_Length( - rule: RawServoFontFaceRuleBorrowed, -) -> u32 { - read_locked_arc(rule, |rule: &FontFaceRule| { - let mut result = 0; - macro_rules! count_values { - ( - valid: [$($v_enum_name:ident => $field:ident,)*] - invalid: [$($i_enum_name:ident,)*] - ) => { - $(if rule.$field.is_some() { - result += 1; - })* - } - } - apply_font_desc_list!(count_values); - result - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_IndexGetter( - rule: RawServoFontFaceRuleBorrowed, - index: u32, -) -> nsCSSFontDesc { - read_locked_arc(rule, |rule: &FontFaceRule| { - let mut count = 0; - macro_rules! lookup_index { - ( - valid: [$($v_enum_name:ident => $field:ident,)*] - invalid: [$($i_enum_name:ident,)*] - ) => { - $(if rule.$field.is_some() { - count += 1; - if count - 1 == index { - return nsCSSFontDesc::$v_enum_name; - } - })* - } - } - apply_font_desc_list!(lookup_index); - return nsCSSFontDesc::eCSSFontDesc_UNKNOWN; - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_GetDeclCssText( - rule: RawServoFontFaceRuleBorrowed, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &FontFaceRule| { - rule.decl_to_css(result.as_mut().unwrap()).unwrap(); - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_GetDescriptor( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - result: nsCSSValueBorrowedMut, -) { - read_locked_arc(rule, |rule: &FontFaceRule| { - macro_rules! to_css_value { - ( - valid: [$($v_enum_name:ident => $field:ident,)*] - invalid: [$($i_enum_name:ident,)*] - ) => { - match desc { - $( - nsCSSFontDesc::$v_enum_name => { - if let Some(ref value) = rule.$field { - result.set_from(value); - } - } - )* - $( - nsCSSFontDesc::$i_enum_name => { - debug_assert!(false, "not a valid font descriptor"); - } - )* - } - } - } - apply_font_desc_list!(to_css_value) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_GetDescriptorCssText( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - result: *mut nsAString, -) { - read_locked_arc(rule, |rule: &FontFaceRule| { - let mut writer = CssWriter::new(result.as_mut().unwrap()); - macro_rules! to_css_text { - ( - valid: [$($v_enum_name:ident => $field:ident,)*] - invalid: [$($i_enum_name:ident,)*] - ) => { - match desc { - $( - nsCSSFontDesc::$v_enum_name => { - if let Some(ref value) = rule.$field { - value.to_css(&mut writer).unwrap(); - } - } - )* - $( - nsCSSFontDesc::$i_enum_name => { - debug_assert!(false, "not a valid font descriptor"); - } - )* - } - } - } - apply_font_desc_list!(to_css_text) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_SetDescriptor( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, - value: *const nsACString, - data: *mut URLExtraData, -) -> bool { - let value = value.as_ref().unwrap().as_str_unchecked(); - let mut input = ParserInput::new(&value); - let mut parser = Parser::new(&mut input); - let url_data = RefPtr::from_ptr_ref(&data); - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::FontFace), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - write_locked_arc(rule, |rule: &mut FontFaceRule| { - macro_rules! to_css_text { - ( - valid: [$($v_enum_name:ident => $field:ident,)*] - invalid: [$($i_enum_name:ident,)*] - ) => { - match desc { - $( - nsCSSFontDesc::$v_enum_name => { - if let Ok(value) = parser.parse_entirely(|i| Parse::parse(&context, i)) { - rule.$field = Some(value); - true - } else { - false - } - } - )* - $( - nsCSSFontDesc::$i_enum_name => { - debug_assert!(false, "not a valid font descriptor"); - false - } - )* - } - } - } - apply_font_desc_list!(to_css_text) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_FontFaceRule_ResetDescriptor( - rule: RawServoFontFaceRuleBorrowed, - desc: nsCSSFontDesc, -) { - write_locked_arc(rule, |rule: &mut FontFaceRule| { - macro_rules! reset_desc { - ( - valid: [$($v_enum_name:ident => $field:ident,)*] - invalid: [$($i_enum_name:ident,)*] - ) => { - match desc { - $(nsCSSFontDesc::$v_enum_name => rule.$field = None,)* - $(nsCSSFontDesc::$i_enum_name => debug_assert!(false, "not a valid font descriptor"),)* - } - } - } - apply_font_desc_list!(reset_desc) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_GetName( - rule: RawServoCounterStyleRuleBorrowed, -) -> *mut nsAtom { - read_locked_arc(rule, |rule: &CounterStyleRule| { - rule.name().0.as_ptr() - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_SetName( - rule: RawServoCounterStyleRuleBorrowed, - value: *const nsACString, -) -> bool { - let value = value.as_ref().unwrap().as_str_unchecked(); - let mut input = ParserInput::new(&value); - let mut parser = Parser::new(&mut input); - match parser.parse_entirely(counter_style::parse_counter_style_name_definition) { - Ok(name) => { - write_locked_arc(rule, |rule: &mut CounterStyleRule| rule.set_name(name)); - true - } - Err(_) => false, - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_GetGeneration( - rule: RawServoCounterStyleRuleBorrowed, -) -> u32 { - read_locked_arc(rule, |rule: &CounterStyleRule| { - rule.generation() - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_GetSystem( - rule: RawServoCounterStyleRuleBorrowed, -) -> u8 { - use style::counter_style::System; - read_locked_arc(rule, |rule: &CounterStyleRule| { - match *rule.resolved_system() { - System::Cyclic => structs::NS_STYLE_COUNTER_SYSTEM_CYCLIC, - System::Numeric => structs::NS_STYLE_COUNTER_SYSTEM_NUMERIC, - System::Alphabetic => structs::NS_STYLE_COUNTER_SYSTEM_ALPHABETIC, - System::Symbolic => structs::NS_STYLE_COUNTER_SYSTEM_SYMBOLIC, - System::Additive => structs::NS_STYLE_COUNTER_SYSTEM_ADDITIVE, - System::Fixed { .. } => structs::NS_STYLE_COUNTER_SYSTEM_FIXED, - System::Extends(_) => structs::NS_STYLE_COUNTER_SYSTEM_EXTENDS, - } - }) as u8 -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_GetExtended( - rule: RawServoCounterStyleRuleBorrowed, -) -> *mut nsAtom { - read_locked_arc(rule, |rule: &CounterStyleRule| { - match *rule.resolved_system() { - counter_style::System::Extends(ref name) => name.0.as_ptr(), - _ => { - debug_assert!(false, "Not extends system"); - ptr::null_mut() - } - } - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_GetFixedFirstValue( - rule: RawServoCounterStyleRuleBorrowed, -) -> i32 { - read_locked_arc(rule, |rule: &CounterStyleRule| { - match *rule.resolved_system() { - counter_style::System::Fixed { first_symbol_value } => { - first_symbol_value.map_or(1, |v| v.value()) - } - _ => { - debug_assert!(false, "Not fixed system"); - 0 - } - } - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CounterStyleRule_GetFallback( - rule: RawServoCounterStyleRuleBorrowed, -) -> *mut nsAtom { - read_locked_arc(rule, |rule: &CounterStyleRule| { - rule.fallback().map_or(ptr::null_mut(), |i| i.0 .0.as_ptr()) - }) -} - -macro_rules! counter_style_descriptors { - { - valid: [ - $($desc:ident => $getter:ident / $setter:ident,)+ - ] - invalid: [ - $($i_desc:ident,)+ - ] - } => { - #[no_mangle] - pub unsafe extern "C" fn Servo_CounterStyleRule_GetDescriptor( - rule: RawServoCounterStyleRuleBorrowed, - desc: nsCSSCounterDesc, - result: nsCSSValueBorrowedMut, - ) { - read_locked_arc(rule, |rule: &CounterStyleRule| { - match desc { - $(nsCSSCounterDesc::$desc => { - if let Some(value) = rule.$getter() { - result.set_from(value); - } - })+ - $(nsCSSCounterDesc::$i_desc => unreachable!(),)+ - } - }); - } - - #[no_mangle] - pub unsafe extern "C" fn Servo_CounterStyleRule_GetDescriptorCssText( - rule: RawServoCounterStyleRuleBorrowed, - desc: nsCSSCounterDesc, - result: *mut nsAString, - ) { - let mut writer = CssWriter::new(result.as_mut().unwrap()); - read_locked_arc(rule, |rule: &CounterStyleRule| { - match desc { - $(nsCSSCounterDesc::$desc => { - if let Some(value) = rule.$getter() { - value.to_css(&mut writer).unwrap(); - } - })+ - $(nsCSSCounterDesc::$i_desc => unreachable!(),)+ - } - }); - } - - #[no_mangle] - pub unsafe extern "C" fn Servo_CounterStyleRule_SetDescriptor( - rule: RawServoCounterStyleRuleBorrowed, - desc: nsCSSCounterDesc, - value: *const nsACString, - ) -> bool { - let value = value.as_ref().unwrap().as_str_unchecked(); - let mut input = ParserInput::new(&value); - let mut parser = Parser::new(&mut input); - let url_data = dummy_url_data(); - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::CounterStyle), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - write_locked_arc(rule, |rule: &mut CounterStyleRule| { - match desc { - $(nsCSSCounterDesc::$desc => { - match parser.parse_entirely(|i| Parse::parse(&context, i)) { - Ok(value) => rule.$setter(value), - Err(_) => false, - } - })+ - $(nsCSSCounterDesc::$i_desc => unreachable!(),)+ - } - }) - } - } -} - -counter_style_descriptors! { - valid: [ - eCSSCounterDesc_System => system / set_system, - eCSSCounterDesc_Symbols => symbols / set_symbols, - eCSSCounterDesc_AdditiveSymbols => additive_symbols / set_additive_symbols, - eCSSCounterDesc_Negative => negative / set_negative, - eCSSCounterDesc_Prefix => prefix / set_prefix, - eCSSCounterDesc_Suffix => suffix / set_suffix, - eCSSCounterDesc_Range => range / set_range, - eCSSCounterDesc_Pad => pad / set_pad, - eCSSCounterDesc_Fallback => fallback / set_fallback, - eCSSCounterDesc_SpeakAs => speak_as / set_speak_as, - ] - invalid: [ - eCSSCounterDesc_UNKNOWN, - eCSSCounterDesc_COUNT, - ] -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_ComputedValues_GetForAnonymousBox( - parent_style_or_null: ComputedStyleBorrowedOrNull, - pseudo_tag: *mut nsAtom, - raw_data: RawServoStyleSetBorrowed, -) -> ComputedStyleStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let guards = StylesheetGuards::same(&guard); - let data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let atom = Atom::from_raw(pseudo_tag); - let pseudo = PseudoElement::from_anon_box_atom(&atom) - .expect("Not an anon box pseudo?"); - - let metrics = get_metrics_provider_for_product(); - - // If the pseudo element is PageContent, we should append the precomputed - // pseudo element declerations with specified page rules. - let page_decls = match pseudo { - PseudoElement::PageContent => { - let mut declarations = vec![]; - let iter = data.stylist.iter_extra_data_origins_rev(); - for (data, origin) in iter { - let level = match origin { - Origin::UserAgent => CascadeLevel::UANormal, - Origin::User => CascadeLevel::UserNormal, - Origin::Author => CascadeLevel::SameTreeAuthorNormal, - }; - for rule in data.pages.iter() { - declarations.push(ApplicableDeclarationBlock::from_declarations( - rule.read_with(level.guard(&guards)).block.clone(), - level - )); - } - } - Some(declarations) - }, - _ => None, - }; - - let rule_node = data.stylist.rule_node_for_precomputed_pseudo( - &guards, - &pseudo, - page_decls, - ); - - data.stylist.precomputed_values_for_pseudo_with_rule_node::( - &guards, - &pseudo, - parent_style_or_null.map(|x| &*x), - &metrics, - rule_node - ).into() -} - -#[no_mangle] -pub extern "C" fn Servo_ResolvePseudoStyle( - element: RawGeckoElementBorrowed, - pseudo_type: CSSPseudoElementType, - is_probe: bool, - inherited_style: ComputedStyleBorrowedOrNull, - raw_data: RawServoStyleSetBorrowed, -) -> ComputedStyleStrong { - let element = GeckoElement(element); - let doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - - debug!("Servo_ResolvePseudoStyle: {:?} {:?}, is_probe: {}", - element, PseudoElement::from_pseudo_type(pseudo_type), is_probe); - - let data = element.borrow_data(); - - let data = match data.as_ref() { - Some(data) if data.has_styles() => data, - _ => { - // FIXME(bholley, emilio): Assert against this. - // - // Known offender is nsMathMLmoFrame::MarkIntrinsicISizesDirty, - // which goes and does a bunch of work involving style resolution. - // - // Bug 1403865 tracks fixing it, and potentially adding an assert - // here instead. - warn!("Calling Servo_ResolvePseudoStyle on unstyled element"); - return if is_probe { - Strong::null() - } else { - doc_data.default_computed_values().clone().into() - }; - } - }; - - let pseudo = PseudoElement::from_pseudo_type(pseudo_type) - .expect("ResolvePseudoStyle with a non-pseudo?"); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let style = get_pseudo_style( - &guard, - element, - &pseudo, - RuleInclusion::All, - &data.styles, - inherited_style, - &*doc_data, - is_probe, - /* matching_func = */ None, - ); - - match style { - Some(s) => s.into(), - None => { - debug_assert!(is_probe); - Strong::null() - } - } -} - -fn debug_atom_array(atoms: &AtomArray) -> String { - let mut result = String::from("["); - for atom in atoms.iter() { - if atom.mRawPtr.is_null() { - result += "(null), "; - } else { - let atom = unsafe { WeakAtom::new(atom.mRawPtr) }; - write!(result, "{}, ", atom).unwrap(); - } - } - result.push(']'); - result -} - -#[no_mangle] -pub extern "C" fn Servo_ComputedValues_ResolveXULTreePseudoStyle( - element: RawGeckoElementBorrowed, - pseudo_tag: *mut nsAtom, - inherited_style: ComputedStyleBorrowed, - input_word: *const AtomArray, - raw_data: RawServoStyleSetBorrowed -) -> ComputedStyleStrong { - let element = GeckoElement(element); - let data = element.borrow_data() - .expect("Calling ResolveXULTreePseudoStyle on unstyled element?"); - - let pseudo = unsafe { - Atom::with(pseudo_tag, |atom| { - PseudoElement::from_tree_pseudo_atom(atom, Box::new([])) - }).expect("ResolveXULTreePseudoStyle with a non-tree pseudo?") - }; - let input_word = unsafe { input_word.as_ref().unwrap() }; - - let doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - - debug!("ResolveXULTreePseudoStyle: {:?} {:?} {}", - element, pseudo, debug_atom_array(input_word)); - - let matching_fn = |pseudo: &PseudoElement| { - let args = pseudo.tree_pseudo_args().expect("Not a tree pseudo-element?"); - args.iter().all(|atom| { - input_word.iter().any(|item| atom.as_ptr() == item.mRawPtr) - }) - }; - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - get_pseudo_style( - &guard, - element, - &pseudo, - RuleInclusion::All, - &data.styles, - Some(inherited_style), - &*doc_data, - /* is_probe = */ false, - Some(&matching_fn), - ).unwrap().into() -} - -#[no_mangle] -pub extern "C" fn Servo_SetExplicitStyle( - element: RawGeckoElementBorrowed, - style: ComputedStyleBorrowed, -) { - let element = GeckoElement(element); - debug!("Servo_SetExplicitStyle: {:?}", element); - // We only support this API for initial styling. There's no reason it couldn't - // work for other things, we just haven't had a reason to do so. - debug_assert!(element.get_data().is_none()); - let mut data = unsafe { element.ensure_data() }; - data.styles.primary = Some(unsafe { ArcBorrow::from_ref(style) }.clone_arc()); -} - -#[no_mangle] -pub extern "C" fn Servo_HasAuthorSpecifiedRules( - style: ComputedStyleBorrowed, - element: RawGeckoElementBorrowed, - pseudo_type: CSSPseudoElementType, - rule_type_mask: u32, - author_colors_allowed: bool, -) -> bool { - let element = GeckoElement(element); - let pseudo = PseudoElement::from_pseudo_type(pseudo_type); - - let guard = (*GLOBAL_STYLE_DATA).shared_lock.read(); - let guards = StylesheetGuards::same(&guard); - - style.rules().has_author_specified_rules(element, - pseudo, - &guards, - rule_type_mask, - author_colors_allowed) -} - -fn get_pseudo_style( - guard: &SharedRwLockReadGuard, - element: GeckoElement, - pseudo: &PseudoElement, - rule_inclusion: RuleInclusion, - styles: &ElementStyles, - inherited_styles: Option<&ComputedValues>, - doc_data: &PerDocumentStyleDataImpl, - is_probe: bool, - matching_func: Option<&Fn(&PseudoElement) -> bool>, -) -> Option> { - let style = match pseudo.cascade_type() { - PseudoElementCascadeType::Eager => { - match *pseudo { - PseudoElement::FirstLetter => { - styles.pseudos.get(&pseudo).map(|pseudo_styles| { - // inherited_styles can be None when doing lazy resolution - // (e.g. for computed style) or when probing. In that case - // we just inherit from our element, which is what Gecko - // does in that situation. What should actually happen in - // the computed style case is a bit unclear. - let inherited_styles = - inherited_styles.unwrap_or(styles.primary()); - let guards = StylesheetGuards::same(guard); - let metrics = get_metrics_provider_for_product(); - let inputs = CascadeInputs::new_from_style(pseudo_styles); - doc_data.stylist.compute_pseudo_element_style_with_inputs( - inputs, - pseudo, - &guards, - Some(inherited_styles), - &metrics, - Some(element), - ) - }) - }, - _ => { - // Unfortunately, we can't assert that inherited_styles, if - // present, is pointer-equal to styles.primary(), or even - // equal in any meaningful way. The way it can fail is as - // follows. Say we append an element with a ::before, - // ::after, or ::first-line to a parent with a ::first-line, - // such that the element ends up on the first line of the - // parent (e.g. it's an inline-block in the case it has a - // ::first-line, or any container in the ::before/::after - // cases). Then gecko will update its frame's style to - // inherit from the parent's ::first-line. The next time we - // try to get the ::before/::after/::first-line style for - // the kid, we'll likely pass in the frame's style as - // inherited_styles, but that's not pointer-identical to - // styles.primary(), because it got reparented. - // - // Now in practice this turns out to be OK, because all the - // cases in which there's a mismatch go ahead and reparent - // styles again as needed to make sure the ::first-line - // affects all the things it should affect. But it makes it - // impossible to assert anything about the two styles - // matching here, unfortunately. - styles.pseudos.get(&pseudo).cloned() - }, - } - } - PseudoElementCascadeType::Precomputed => unreachable!("No anonymous boxes"), - PseudoElementCascadeType::Lazy => { - debug_assert!(inherited_styles.is_none() || - ptr::eq(inherited_styles.unwrap(), - &**styles.primary())); - let base = if pseudo.inherits_from_default_values() { - doc_data.default_computed_values() - } else { - styles.primary() - }; - let guards = StylesheetGuards::same(guard); - let metrics = get_metrics_provider_for_product(); - doc_data.stylist.lazily_compute_pseudo_element_style( - &guards, - element, - &pseudo, - rule_inclusion, - base, - is_probe, - &metrics, - matching_func, - ) - }, - }; - - if is_probe { - return style; - } - - Some(style.unwrap_or_else(|| { - StyleBuilder::for_inheritance( - doc_data.stylist.device(), - Some(styles.primary()), - Some(pseudo), - ).build() - })) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_ComputedValues_Inherit( - raw_data: RawServoStyleSetBorrowed, - pseudo_tag: *mut nsAtom, - parent_style_context: ComputedStyleBorrowedOrNull, - target: structs::InheritTarget -) -> ComputedStyleStrong { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - - let for_text = target == structs::InheritTarget::Text; - let atom = Atom::from_raw(pseudo_tag); - let pseudo = PseudoElement::from_anon_box_atom(&atom) - .expect("Not an anon-box? Gah!"); - - let mut style = StyleBuilder::for_inheritance( - data.stylist.device(), - parent_style_context, - Some(&pseudo) - ); - - if for_text { - StyleAdjuster::new(&mut style).adjust_for_text(); - } - - style.build().into() -} - -#[no_mangle] -pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ComputedStyleBorrowed) -> u64 { - use style::properties::computed_value_flags::ComputedValueFlags; - // FIXME(emilio): We could do this more efficiently I'm quite sure. - let flags = values.flags; - let mut result = 0; - if flags.contains(ComputedValueFlags::IS_RELEVANT_LINK_VISITED) { - result |= structs::NS_STYLE_RELEVANT_LINK_VISITED as u64; - } - if flags.contains(ComputedValueFlags::HAS_TEXT_DECORATION_LINES) { - result |= structs::NS_STYLE_HAS_TEXT_DECORATION_LINES as u64; - } - if flags.contains(ComputedValueFlags::SHOULD_SUPPRESS_LINEBREAK) { - result |= structs::NS_STYLE_SUPPRESS_LINEBREAK as u64; - } - if flags.contains(ComputedValueFlags::IS_TEXT_COMBINED) { - result |= structs::NS_STYLE_IS_TEXT_COMBINED as u64; - } - if flags.contains(ComputedValueFlags::IS_IN_PSEUDO_ELEMENT_SUBTREE) { - result |= structs::NS_STYLE_HAS_PSEUDO_ELEMENT_DATA as u64; - } - if flags.contains(ComputedValueFlags::IS_IN_DISPLAY_NONE_SUBTREE) { - result |= structs::NS_STYLE_IN_DISPLAY_NONE_SUBTREE as u64; - } - result -} - -#[no_mangle] -pub extern "C" fn Servo_ComputedValues_SpecifiesAnimationsOrTransitions( - values: ComputedStyleBorrowed, -) -> bool { - let b = values.get_box(); - b.specifies_animations() || b.specifies_transitions() -} - -#[no_mangle] -pub extern "C" fn Servo_ComputedValues_EqualCustomProperties( - first: ServoComputedDataBorrowed, - second: ServoComputedDataBorrowed -) -> bool { - first.custom_properties == second.custom_properties -} - -#[no_mangle] -pub extern "C" fn Servo_ComputedValues_GetStyleRuleList( - values: ComputedStyleBorrowed, - rules: RawGeckoServoStyleRuleListBorrowedMut, -) { - let rule_node = match values.rules { - Some(ref r) => r, - None => return, - }; - - let mut result = SmallVec::<[_; 10]>::new(); - for node in rule_node.self_and_ancestors() { - let style_rule = match node.style_source().and_then(|x| x.as_rule()) { - Some(rule) => rule, - _ => continue, - }; - - // For the rules with any important declaration, we insert them into - // rule tree twice, one for normal level and another for important - // level. So, we skip the important one to keep the specificity order of - // rules. - if node.importance().important() { - continue; - } - - result.push(style_rule); - } - - unsafe { rules.set_len(result.len() as u32) }; - for (ref src, ref mut dest) in result.into_iter().zip(rules.iter_mut()) { - src.with_arc(|a| { - a.with_raw_offset_arc(|arc| { - **dest = *Locked::::arc_as_borrowed(arc); - }) - }); - } -} - -/// See the comment in `Device` to see why it's ok to pass an owned reference to -/// the pres context (hint: the context outlives the StyleSet, that holds the -/// device alive). -#[no_mangle] -pub extern "C" fn Servo_StyleSet_Init( - pres_context: RawGeckoPresContextOwned, -) -> *mut RawServoStyleSet { - let data = Box::new(PerDocumentStyleData::new(pres_context)); - Box::into_raw(data) as *mut RawServoStyleSet -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_RebuildCachedData(raw_data: RawServoStyleSetBorrowed) { - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - data.stylist.device_mut().rebuild_cached_data(); -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_Drop(data: RawServoStyleSetOwned) { - let _ = data.into_box::(); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_StyleSet_CompatModeChanged(raw_data: RawServoStyleSetBorrowed) { - let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let doc = - &*data.stylist.device().pres_context().mDocument.raw::(); - data.stylist.set_quirks_mode(QuirksMode::from(doc.mCompatMode)); -} - -fn parse_property_into( - declarations: &mut SourcePropertyDeclaration, - property_id: PropertyId, - value: *const nsACString, - data: *mut URLExtraData, - parsing_mode: structs::ParsingMode, - quirks_mode: QuirksMode, - reporter: &R -) -> Result<(), ()> -where - R: ParseErrorReporter -{ - use style_traits::ParsingMode; - let value = unsafe { value.as_ref().unwrap().as_str_unchecked() }; - let url_data = unsafe { RefPtr::from_ptr_ref(&data) }; - let parsing_mode = ParsingMode::from_bits_truncate(parsing_mode); - - parse_one_declaration_into( - declarations, - property_id, - value, - url_data, - reporter, - parsing_mode, - quirks_mode, - ) -} - -#[no_mangle] -pub extern "C" fn Servo_ParseProperty( - property: nsCSSPropertyID, value: *const nsACString, - data: *mut URLExtraData, - parsing_mode: structs::ParsingMode, - quirks_mode: nsCompatibility, - loader: *mut Loader, -) -> RawServoDeclarationBlockStrong { - let id = get_property_id_from_nscsspropertyid!(property, - RawServoDeclarationBlockStrong::null()); - let mut declarations = SourcePropertyDeclaration::new(); - let reporter = ErrorReporter::new(ptr::null_mut(), loader, data); - match parse_property_into(&mut declarations, id, value, data, - parsing_mode, quirks_mode.into(), &reporter) { - Ok(()) => { - let global_style_data = &*GLOBAL_STYLE_DATA; - let mut block = PropertyDeclarationBlock::new(); - block.extend( - declarations.drain(), - Importance::Normal, - DeclarationSource::CssOm, - ); - Arc::new(global_style_data.shared_lock.wrap(block)).into_strong() - } - Err(_) => RawServoDeclarationBlockStrong::null() - } -} - -#[no_mangle] -pub extern "C" fn Servo_ParseEasing( - easing: *const nsAString, - data: *mut URLExtraData, - output: nsTimingFunctionBorrowedMut -) -> bool { - use style::properties::longhands::transition_timing_function; - - // FIXME Dummy URL data would work fine here. - let url_data = unsafe { RefPtr::from_ptr_ref(&data) }; - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - let easing = unsafe { (*easing).to_string() }; - let mut input = ParserInput::new(&easing); - let mut parser = Parser::new(&mut input); - let result = - parser.parse_entirely(|p| transition_timing_function::single_value::parse(&context, p)); - match result { - Ok(parsed_easing) => { - *output = parsed_easing.into(); - true - }, - Err(_) => false - } -} - -#[no_mangle] -pub extern "C" fn Servo_GetProperties_Overriding_Animation( - element: RawGeckoElementBorrowed, - list: RawGeckoCSSPropertyIDListBorrowed, - set: nsCSSPropertyIDSetBorrowedMut, -) { - let element = GeckoElement(element); - let element_data = match element.borrow_data() { - Some(data) => data, - None => return - }; - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let guards = StylesheetGuards::same(&guard); - let (overridden, custom) = - element_data.styles.primary().rules().get_properties_overriding_animations(&guards); - for p in list.iter() { - match PropertyId::from_nscsspropertyid(*p) { - Ok(property) => { - if let PropertyId::Longhand(id) = property { - if overridden.contains(id) { - unsafe { Gecko_AddPropertyToSet(set, *p) }; - } - } - }, - Err(_) => { - if *p == nsCSSPropertyID::eCSSPropertyExtra_variable && custom { - unsafe { Gecko_AddPropertyToSet(set, *p) }; - } - } - } - } -} - -#[no_mangle] -pub extern "C" fn Servo_MatrixTransform_Operate(matrix_operator: MatrixTransformOperator, - from: *const RawGeckoGfxMatrix4x4, - to: *const RawGeckoGfxMatrix4x4, - progress: f64, - output: *mut RawGeckoGfxMatrix4x4) { - use self::MatrixTransformOperator::{Accumulate, Interpolate}; - use style::values::computed::transform::Matrix3D; - - let from = Matrix3D::from(unsafe { from.as_ref() }.expect("not a valid 'from' matrix")); - let to = Matrix3D::from(unsafe { to.as_ref() }.expect("not a valid 'to' matrix")); - let result = match matrix_operator { - Interpolate => from.animate(&to, Procedure::Interpolate { progress }), - Accumulate => from.animate(&to, Procedure::Accumulate { count: progress as u64 }), - }; - - let output = unsafe { output.as_mut() }.expect("not a valid 'output' matrix"); - if let Ok(result) = result { - *output = result.into(); - } else if progress < 0.5 { - *output = from.clone().into(); - } else { - *output = to.clone().into(); - } -} - -#[no_mangle] -pub extern "C" fn Servo_ParseStyleAttribute( - data: *const nsACString, - raw_extra_data: *mut URLExtraData, - quirks_mode: nsCompatibility, - loader: *mut Loader, -) -> RawServoDeclarationBlockStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let value = unsafe { data.as_ref().unwrap().as_str_unchecked() }; - let reporter = ErrorReporter::new(ptr::null_mut(), loader, raw_extra_data); - let url_data = unsafe { RefPtr::from_ptr_ref(&raw_extra_data) }; - Arc::new(global_style_data.shared_lock.wrap( - parse_style_attribute( - value, - url_data, - &reporter, - quirks_mode.into(), - ) - )).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_CreateEmpty() -> RawServoDeclarationBlockStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - Arc::new(global_style_data.shared_lock.wrap(PropertyDeclarationBlock::new())).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_Clone( - declarations: RawServoDeclarationBlockBorrowed, -) -> RawServoDeclarationBlockStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let declarations = Locked::::as_arc(&declarations); - Arc::new(global_style_data.shared_lock.wrap( - declarations.read_with(&guard).clone() - )).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_Equals( - a: RawServoDeclarationBlockBorrowed, - b: RawServoDeclarationBlockBorrowed, -) -> bool { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - *Locked::::as_arc(&a).read_with(&guard).declarations() == - *Locked::::as_arc(&b).read_with(&guard).declarations() -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_GetCssText(declarations: RawServoDeclarationBlockBorrowed, - result: *mut nsAString) { - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - decls.to_css(unsafe { result.as_mut().unwrap() }).unwrap(); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SerializeOneValue( - declarations: RawServoDeclarationBlockBorrowed, - property_id: nsCSSPropertyID, buffer: *mut nsAString, - computed_values: ComputedStyleBorrowedOrNull, - custom_properties: RawServoDeclarationBlockBorrowedOrNull, -) { - let property_id = get_property_id_from_nscsspropertyid!(property_id, ()); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let decls = Locked::::as_arc(&declarations).read_with(&guard); - - let custom_properties = Locked::::arc_from_borrowed(&custom_properties); - let custom_properties = custom_properties.map(|block| block.read_with(&guard)); - let buffer = unsafe { buffer.as_mut().unwrap() }; - let rv = decls.single_value_to_css(&property_id, buffer, computed_values, custom_properties); - debug_assert!(rv.is_ok()); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SerializeFontValueForCanvas( - declarations: RawServoDeclarationBlockBorrowed, - buffer: *mut nsAString, -) { - use style::properties::shorthands::font; - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - let longhands = match font::LonghandsToSerialize::from_iter(decls.declarations().iter()) { - Ok(l) => l, - Err(()) => { - warn!("Unexpected property!"); - return; - } - }; - - let rv = longhands.to_css(&mut CssWriter::new(&mut *buffer)); - debug_assert!(rv.is_ok()); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_Count(declarations: RawServoDeclarationBlockBorrowed) -> u32 { - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - decls.declarations().len() as u32 - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_GetNthProperty( - declarations: RawServoDeclarationBlockBorrowed, - index: u32, - result: *mut nsAString, -) -> bool { - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - if let Some(decl) = decls.declarations().get(index as usize) { - let result = unsafe { result.as_mut().unwrap() }; - result.assign_utf8(&decl.id().name()); - true - } else { - false - } - }) -} - -macro_rules! get_property_id_from_property { - ($property: ident, $ret: expr) => {{ - let property = $property.as_ref().unwrap().as_str_unchecked(); - match PropertyId::parse(property.into()) { - Ok(property_id) => property_id, - Err(_) => { return $ret; } - } - }} -} - -unsafe fn get_property_value( - declarations: RawServoDeclarationBlockBorrowed, - property_id: PropertyId, - value: *mut nsAString, -) { - // This callsite is hot enough that the lock acquisition shows up in profiles. - // Using an unchecked read here improves our performance by ~10% on the - // microbenchmark in bug 1355599. - read_locked_arc_unchecked(declarations, |decls: &PropertyDeclarationBlock| { - decls.property_value_to_css(&property_id, value.as_mut().unwrap()).unwrap(); - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_GetPropertyValue( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, - value: *mut nsAString, -) { - get_property_value( - declarations, - get_property_id_from_property!(property, ()), - value, - ) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_GetPropertyValueById( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: *mut nsAString, -) { - get_property_value(declarations, get_property_id_from_nscsspropertyid!(property, ()), value) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_GetPropertyIsImportant( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, -) -> bool { - let property_id = get_property_id_from_property!(property, false); - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - decls.property_priority(&property_id).important() - }) -} - -fn set_property( - declarations: RawServoDeclarationBlockBorrowed, - property_id: PropertyId, - value: *const nsACString, - is_important: bool, - data: *mut URLExtraData, - parsing_mode: structs::ParsingMode, - quirks_mode: QuirksMode, - loader: *mut Loader -) -> bool { - let mut source_declarations = SourcePropertyDeclaration::new(); - let reporter = ErrorReporter::new(ptr::null_mut(), loader, data); - match parse_property_into(&mut source_declarations, property_id, value, data, - parsing_mode, quirks_mode, &reporter) { - Ok(()) => { - let importance = if is_important { Importance::Important } else { Importance::Normal }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.extend( - source_declarations.drain(), - importance, - DeclarationSource::CssOm - ) - }) - }, - Err(_) => false, - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_SetProperty( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, - value: *const nsACString, - is_important: bool, - data: *mut URLExtraData, - parsing_mode: structs::ParsingMode, - quirks_mode: nsCompatibility, - loader: *mut Loader, -) -> bool { - set_property( - declarations, - get_property_id_from_property!(property, false), - value, - is_important, - data, - parsing_mode, - quirks_mode.into(), - loader, - ) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_SetPropertyToAnimationValue( - declarations: RawServoDeclarationBlockBorrowed, - animation_value: RawServoAnimationValueBorrowed, -) -> bool { - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push( - AnimationValue::as_arc(&animation_value).uncompute(), - Importance::Normal, - DeclarationSource::CssOm, - ) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_SetPropertyById( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: *const nsACString, - is_important: bool, - data: *mut URLExtraData, - parsing_mode: structs::ParsingMode, - quirks_mode: nsCompatibility, - loader: *mut Loader, -) -> bool { - set_property( - declarations, - get_property_id_from_nscsspropertyid!(property, false), - value, - is_important, - data, - parsing_mode, - quirks_mode.into(), - loader, - ) -} - -fn remove_property( - declarations: RawServoDeclarationBlockBorrowed, - property_id: PropertyId -) -> bool { - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.remove_property(&property_id) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_RemoveProperty( - declarations: RawServoDeclarationBlockBorrowed, - property: *const nsACString, -) -> bool { - remove_property(declarations, get_property_id_from_property!(property, false)) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_RemovePropertyById( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID -) -> bool { - remove_property(declarations, get_property_id_from_nscsspropertyid!(property, false)) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_Create() -> RawServoMediaListStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - Arc::new(global_style_data.shared_lock.wrap(MediaList::empty())).into_strong() -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_DeepClone(list: RawServoMediaListBorrowed) -> RawServoMediaListStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - read_locked_arc(list, |list: &MediaList| { - Arc::new(global_style_data.shared_lock.wrap(list.clone())) - .into_strong() - }) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_Matches( - list: RawServoMediaListBorrowed, - raw_data: RawServoStyleSetBorrowed, -) -> bool { - let per_doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - read_locked_arc(list, |list: &MediaList| { - list.evaluate(per_doc_data.stylist.device(), per_doc_data.stylist.quirks_mode()) - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_HasCSSWideKeyword( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, -) -> bool { - let property_id = get_property_id_from_nscsspropertyid!(property, false); - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - decls.has_css_wide_keyword(&property_id) - }) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_GetText(list: RawServoMediaListBorrowed, result: *mut nsAString) { - read_locked_arc(list, |list: &MediaList| { - list.to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap(); - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_MediaList_SetText( - list: RawServoMediaListBorrowed, - text: *const nsACString, - caller_type: CallerType, -) { - let text = (*text).as_str_unchecked(); - - let mut input = ParserInput::new(&text); - let mut parser = Parser::new(&mut input); - let url_data = dummy_url_data(); - - // TODO(emilio): If the need for `CallerType` appears in more places, - // consider adding an explicit member in `ParserContext` instead of doing - // this (or adding a dummy "chrome://" url data). - // - // For media query parsing it's effectively the same, so for now... - let origin = match caller_type { - CallerType::System => Origin::UserAgent, - CallerType::NonSystem => Origin::Author, - }; - - let context = ParserContext::new( - origin, - url_data, - Some(CssRuleType::Media), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - write_locked_arc(list, |list: &mut MediaList| { - *list = parse_media_query_list( - &context, - &mut parser, - &NullReporter, - ); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_GetLength(list: RawServoMediaListBorrowed) -> u32 { - read_locked_arc(list, |list: &MediaList| list.media_queries.len() as u32) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_GetMediumAt( - list: RawServoMediaListBorrowed, - index: u32, - result: *mut nsAString, -) -> bool { - read_locked_arc(list, |list: &MediaList| { - if let Some(media_query) = list.media_queries.get(index as usize) { - media_query.to_css(&mut CssWriter::new(unsafe { result.as_mut().unwrap() })).unwrap(); - true - } else { - false - } - }) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_AppendMedium( - list: RawServoMediaListBorrowed, - new_medium: *const nsACString, -) { - let new_medium = unsafe { new_medium.as_ref().unwrap().as_str_unchecked() }; - let url_data = unsafe { dummy_url_data() }; - let context = ParserContext::new_for_cssom( - url_data, - Some(CssRuleType::Media), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - write_locked_arc(list, |list: &mut MediaList| { - list.append_medium(&context, new_medium); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_MediaList_DeleteMedium( - list: RawServoMediaListBorrowed, - old_medium: *const nsACString, -) -> bool { - let old_medium = unsafe { old_medium.as_ref().unwrap().as_str_unchecked() }; - let url_data = unsafe { dummy_url_data() }; - let context = ParserContext::new_for_cssom( - url_data, - Some(CssRuleType::Media), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - write_locked_arc(list, |list: &mut MediaList| list.delete_medium(&context, old_medium)) -} - -macro_rules! get_longhand_from_id { - ($id:expr) => { - match PropertyId::from_nscsspropertyid($id) { - Ok(PropertyId::Longhand(long)) => long, - _ => { - panic!("stylo: unknown presentation property with id"); - } - } - }; -} - -macro_rules! match_wrap_declared { - ($longhand:ident, $($property:ident => $inner:expr,)*) => ( - match $longhand { - $( - LonghandId::$property => PropertyDeclaration::$property($inner), - )* - _ => { - panic!("stylo: Don't know how to handle presentation property"); - } - } - ) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_PropertyIsSet( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, -) -> bool { - read_locked_arc(declarations, |decls: &PropertyDeclarationBlock| { - decls.contains(get_longhand_from_id!(property)) - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_DeclarationBlock_SetIdentStringValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: *mut nsAtom, -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands::_x_lang::computed_value::T as Lang; - - let long = get_longhand_from_id!(property); - let prop = match_wrap_declared! { long, - XLang => Lang(Atom::from_raw(value)), - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -#[allow(unreachable_code)] -pub extern "C" fn Servo_DeclarationBlock_SetKeywordValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: i32 -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands; - use style::values::generics::font::FontStyle; - use style::values::specified::BorderStyle; - - let long = get_longhand_from_id!(property); - let value = value as u32; - - let prop = match_wrap_declared! { long, - MozUserModify => longhands::_moz_user_modify::SpecifiedValue::from_gecko_keyword(value), - // TextEmphasisPosition => FIXME implement text-emphasis-position - Direction => longhands::direction::SpecifiedValue::from_gecko_keyword(value), - Display => longhands::display::SpecifiedValue::from_gecko_keyword(value), - Float => longhands::float::SpecifiedValue::from_gecko_keyword(value), - VerticalAlign => longhands::vertical_align::SpecifiedValue::from_gecko_keyword(value), - TextAlign => longhands::text_align::SpecifiedValue::from_gecko_keyword(value), - TextEmphasisPosition => longhands::text_emphasis_position::SpecifiedValue::from_gecko_keyword(value), - Clear => longhands::clear::SpecifiedValue::from_gecko_keyword(value), - FontSize => { - // We rely on Gecko passing in font-size values (0...7) here. - longhands::font_size::SpecifiedValue::from_html_size(value as u8) - }, - FontStyle => { - let val = if value == structs::NS_FONT_STYLE_ITALIC { - FontStyle::Italic - } else { - debug_assert_eq!(value, structs::NS_FONT_STYLE_NORMAL); - FontStyle::Normal - }; - - ToComputedValue::from_computed_value(&val) - }, - FontWeight => longhands::font_weight::SpecifiedValue::from_gecko_keyword(value), - ListStyleType => Box::new(longhands::list_style_type::SpecifiedValue::from_gecko_keyword(value)), - MozMathVariant => longhands::_moz_math_variant::SpecifiedValue::from_gecko_keyword(value), - WhiteSpace => longhands::white_space::SpecifiedValue::from_gecko_keyword(value), - CaptionSide => longhands::caption_side::SpecifiedValue::from_gecko_keyword(value), - BorderTopStyle => BorderStyle::from_gecko_keyword(value), - BorderRightStyle => BorderStyle::from_gecko_keyword(value), - BorderBottomStyle => BorderStyle::from_gecko_keyword(value), - BorderLeftStyle => BorderStyle::from_gecko_keyword(value), - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetIntValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: i32 -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands::_moz_script_level::SpecifiedValue as MozScriptLevel; - use style::properties::longhands::_x_span::computed_value::T as Span; - - let long = get_longhand_from_id!(property); - let prop = match_wrap_declared! { long, - XSpan => Span(value), - // Gecko uses Integer values to signal that it is relative - MozScriptLevel => MozScriptLevel::Relative(value), - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetPixelValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32 -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands::border_spacing::SpecifiedValue as BorderSpacing; - use style::values::specified::{BorderSideWidth, MozLength, BorderCornerRadius}; - use style::values::specified::length::{NoCalcLength, NonNegativeLength, LengthOrPercentage}; - - let long = get_longhand_from_id!(property); - let nocalc = NoCalcLength::from_px(value); - - let prop = match_wrap_declared! { long, - Height => MozLength::LengthOrPercentageOrAuto(nocalc.into()), - Width => MozLength::LengthOrPercentageOrAuto(nocalc.into()), - BorderTopWidth => BorderSideWidth::Length(nocalc.into()), - BorderRightWidth => BorderSideWidth::Length(nocalc.into()), - BorderBottomWidth => BorderSideWidth::Length(nocalc.into()), - BorderLeftWidth => BorderSideWidth::Length(nocalc.into()), - MarginTop => nocalc.into(), - MarginRight => nocalc.into(), - MarginBottom => nocalc.into(), - MarginLeft => nocalc.into(), - PaddingTop => nocalc.into(), - PaddingRight => nocalc.into(), - PaddingBottom => nocalc.into(), - PaddingLeft => nocalc.into(), - BorderSpacing => { - let v = NonNegativeLength::from(nocalc); - Box::new(BorderSpacing::new(v.clone(), v)) - }, - BorderTopLeftRadius => { - let length = LengthOrPercentage::from(nocalc); - Box::new(BorderCornerRadius::new(length.clone(), length)) - }, - BorderTopRightRadius => { - let length = LengthOrPercentage::from(nocalc); - Box::new(BorderCornerRadius::new(length.clone(), length)) - }, - BorderBottomLeftRadius => { - let length = LengthOrPercentage::from(nocalc); - Box::new(BorderCornerRadius::new(length.clone(), length)) - }, - BorderBottomRightRadius => { - let length = LengthOrPercentage::from(nocalc); - Box::new(BorderCornerRadius::new(length.clone(), length)) - }, - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetLengthValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, - unit: structs::nsCSSUnit, -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands::_moz_script_min_size::SpecifiedValue as MozScriptMinSize; - use style::values::specified::MozLength; - use style::values::specified::length::{AbsoluteLength, FontRelativeLength}; - use style::values::specified::length::{LengthOrPercentage, NoCalcLength}; - - let long = get_longhand_from_id!(property); - let nocalc = match unit { - structs::nsCSSUnit::eCSSUnit_EM => NoCalcLength::FontRelative(FontRelativeLength::Em(value)), - structs::nsCSSUnit::eCSSUnit_XHeight => NoCalcLength::FontRelative(FontRelativeLength::Ex(value)), - structs::nsCSSUnit::eCSSUnit_Pixel => NoCalcLength::Absolute(AbsoluteLength::Px(value)), - structs::nsCSSUnit::eCSSUnit_Inch => NoCalcLength::Absolute(AbsoluteLength::In(value)), - structs::nsCSSUnit::eCSSUnit_Centimeter => NoCalcLength::Absolute(AbsoluteLength::Cm(value)), - structs::nsCSSUnit::eCSSUnit_Millimeter => NoCalcLength::Absolute(AbsoluteLength::Mm(value)), - structs::nsCSSUnit::eCSSUnit_Point => NoCalcLength::Absolute(AbsoluteLength::Pt(value)), - structs::nsCSSUnit::eCSSUnit_Pica => NoCalcLength::Absolute(AbsoluteLength::Pc(value)), - structs::nsCSSUnit::eCSSUnit_Quarter => NoCalcLength::Absolute(AbsoluteLength::Q(value)), - _ => unreachable!("Unknown unit passed to SetLengthValue") - }; - - let prop = match_wrap_declared! { long, - Width => MozLength::LengthOrPercentageOrAuto(nocalc.into()), - FontSize => LengthOrPercentage::from(nocalc).into(), - MozScriptMinSize => MozScriptMinSize(nocalc), - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetNumberValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands::_moz_script_level::SpecifiedValue as MozScriptLevel; - use style::properties::longhands::_moz_script_size_multiplier::SpecifiedValue as MozScriptSizeMultiplier; - - let long = get_longhand_from_id!(property); - - let prop = match_wrap_declared! { long, - MozScriptSizeMultiplier => MozScriptSizeMultiplier(value), - // Gecko uses Number values to signal that it is absolute - MozScriptLevel => MozScriptLevel::MozAbsolute(value as i32), - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetPercentValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: f32, -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::values::computed::Percentage; - use style::values::specified::MozLength; - use style::values::specified::length::LengthOrPercentage; - - let long = get_longhand_from_id!(property); - let pc = Percentage(value); - - let prop = match_wrap_declared! { long, - Height => MozLength::LengthOrPercentageOrAuto(pc.into()), - Width => MozLength::LengthOrPercentageOrAuto(pc.into()), - MarginTop => pc.into(), - MarginRight => pc.into(), - MarginBottom => pc.into(), - MarginLeft => pc.into(), - FontSize => LengthOrPercentage::from(pc).into(), - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetAutoValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::values::specified::{LengthOrPercentageOrAuto, MozLength}; - - let long = get_longhand_from_id!(property); - let auto = LengthOrPercentageOrAuto::Auto; - - let prop = match_wrap_declared! { long, - Height => MozLength::auto(), - Width => MozLength::auto(), - MarginTop => auto, - MarginRight => auto, - MarginBottom => auto, - MarginLeft => auto, - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetCurrentColor( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, -) { - use style::properties::{PropertyDeclaration, LonghandId}; - use style::values::specified::Color; - - let long = get_longhand_from_id!(property); - let cc = Color::currentcolor(); - - let prop = match_wrap_declared! { long, - BorderTopColor => cc, - BorderRightColor => cc, - BorderBottomColor => cc, - BorderLeftColor => cc, - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetColorValue( - declarations: RawServoDeclarationBlockBorrowed, - property: nsCSSPropertyID, - value: structs::nscolor, -) { - use style::gecko::values::convert_nscolor_to_rgba; - use style::properties::{PropertyDeclaration, LonghandId}; - use style::properties::longhands; - use style::values::specified::Color; - - let long = get_longhand_from_id!(property); - let rgba = convert_nscolor_to_rgba(value); - let color = Color::rgba(rgba); - - let prop = match_wrap_declared! { long, - BorderTopColor => color, - BorderRightColor => color, - BorderBottomColor => color, - BorderLeftColor => color, - Color => longhands::color::SpecifiedValue(color), - BackgroundColor => color, - }; - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(prop, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetFontFamily( - declarations: RawServoDeclarationBlockBorrowed, - value: *const nsAString, -) { - use cssparser::{Parser, ParserInput}; - use style::properties::PropertyDeclaration; - use style::properties::longhands::font_family::SpecifiedValue as FontFamily; - - let string = unsafe { (*value).to_string() }; - let mut input = ParserInput::new(&string); - let mut parser = Parser::new(&mut input); - let result = FontFamily::parse_specified(&mut parser); - if let Ok(family) = result { - if parser.is_exhausted() { - let decl = PropertyDeclaration::FontFamily(family); - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(decl, Importance::Normal, DeclarationSource::CssOm); - }) - } - } -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetBackgroundImage( - declarations: RawServoDeclarationBlockBorrowed, - value: *const nsAString, - raw_extra_data: *mut URLExtraData, -) { - use style::properties::PropertyDeclaration; - use style::properties::longhands::background_image::SpecifiedValue as BackgroundImage; - use style::values::Either; - use style::values::generics::image::Image; - use style::values::specified::url::SpecifiedImageUrl; - - let url_data = unsafe { RefPtr::from_ptr_ref(&raw_extra_data) }; - let string = unsafe { (*value).to_string() }; - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - if let Ok(url) = SpecifiedImageUrl::parse_from_string(string.into(), &context) { - let decl = PropertyDeclaration::BackgroundImage(BackgroundImage( - vec![Either::Second(Image::Url(url))] - )); - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(decl, Importance::Normal, DeclarationSource::CssOm); - }) - } -} - -#[no_mangle] -pub extern "C" fn Servo_DeclarationBlock_SetTextDecorationColorOverride( - declarations: RawServoDeclarationBlockBorrowed, -) { - use style::properties::PropertyDeclaration; - use style::values::specified::text::TextDecorationLine; - - let mut decoration = TextDecorationLine::none(); - decoration |= TextDecorationLine::COLOR_OVERRIDE; - let decl = PropertyDeclaration::TextDecorationLine(decoration); - write_locked_arc(declarations, |decls: &mut PropertyDeclarationBlock| { - decls.push(decl, Importance::Normal, DeclarationSource::CssOm); - }) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CSSSupports2( - property: *const nsACString, - value: *const nsACString, -) -> bool { - let id = get_property_id_from_property!(property, false); - - let mut declarations = SourcePropertyDeclaration::new(); - parse_property_into( - &mut declarations, - id, - value, - DUMMY_URL_DATA, - structs::ParsingMode_Default, - QuirksMode::NoQuirks, - &NullReporter, - ).is_ok() -} - -#[no_mangle] -pub extern "C" fn Servo_CSSSupports(cond: *const nsACString) -> bool { - let condition = unsafe { cond.as_ref().unwrap().as_str_unchecked() }; - let mut input = ParserInput::new(&condition); - let mut input = Parser::new(&mut input); - let cond = input.parse_entirely(|i| parse_condition_or_declaration(i)); - if let Ok(cond) = cond { - let url_data = unsafe { dummy_url_data() }; - // NOTE(emilio): The supports API is not associated to any stylesheet, - // so the fact that there are no namespace map here is fine. - let context = ParserContext::new_for_cssom( - url_data, - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - cond.eval(&context) - } else { - false - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_NoteExplicitHints( - element: RawGeckoElementBorrowed, - restyle_hint: nsRestyleHint, - change_hint: nsChangeHint, -) { - GeckoElement(element).note_explicit_hints(restyle_hint, change_hint); -} - -#[no_mangle] -pub extern "C" fn Servo_TakeChangeHint( - element: RawGeckoElementBorrowed, - was_restyled: *mut bool, -) -> u32 { - let was_restyled = unsafe { was_restyled.as_mut().unwrap() }; - let element = GeckoElement(element); - - let damage = match element.mutate_data() { - Some(mut data) => { - *was_restyled = data.is_restyle(); - - let damage = data.damage; - data.clear_restyle_state(); - damage - } - None => { - warn!("Trying to get change hint from unstyled element"); - *was_restyled = false; - GeckoRestyleDamage::empty() - } - }; - - debug!("Servo_TakeChangeHint: {:?}, damage={:?}", element, damage); - // We'd like to return `nsChangeHint` here, but bindgen bitfield enums don't - // work as return values with the Linux 32-bit ABI at the moment because - // they wrap the value in a struct, so for now just unwrap it. - damage.as_change_hint().0 -} - -#[no_mangle] -pub extern "C" fn Servo_ResolveStyle( - element: RawGeckoElementBorrowed, - _raw_data: RawServoStyleSetBorrowed, -) -> ComputedStyleStrong { - let element = GeckoElement(element); - debug!("Servo_ResolveStyle: {:?}", element); - let data = - element.borrow_data().expect("Resolving style on unstyled element"); - - debug_assert!(element.has_current_styles(&*data), - "Resolving style on {:?} without current styles: {:?}", element, data); - data.styles.primary().clone().into() -} - -#[no_mangle] -pub extern "C" fn Servo_ResolveStyleLazily( - element: RawGeckoElementBorrowed, - pseudo_type: CSSPseudoElementType, - rule_inclusion: StyleRuleInclusion, - snapshots: *const ServoElementSnapshotTable, - raw_data: RawServoStyleSetBorrowed, -) -> ComputedStyleStrong { - debug_assert!(!snapshots.is_null()); - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let element = GeckoElement(element); - let doc_data = PerDocumentStyleData::from_ffi(raw_data); - let data = doc_data.borrow(); - let rule_inclusion = RuleInclusion::from(rule_inclusion); - let pseudo = PseudoElement::from_pseudo_type(pseudo_type); - let finish = |styles: &ElementStyles, is_probe: bool| -> Option> { - match pseudo { - Some(ref pseudo) => { - get_pseudo_style( - &guard, - element, - pseudo, - rule_inclusion, - styles, - /* inherited_styles = */ None, - &*data, - is_probe, - /* matching_func = */ None, - ) - } - None => Some(styles.primary().clone()), - } - }; - - let is_before_or_after = pseudo.as_ref().map_or(false, |p| p.is_before_or_after()); - - // In the common case we already have the style. Check that before setting - // up all the computation machinery. - // - // Also, only probe in the ::before or ::after case, since their styles may - // not be in the `ElementData`, given they may exist but not be applicable - // to generate an actual pseudo-element (like, having a `content: none`). - if rule_inclusion == RuleInclusion::All { - let styles = element.mutate_data().and_then(|d| { - if d.has_styles() { - finish(&d.styles, is_before_or_after) - } else { - None - } - }); - if let Some(result) = styles { - return result.into(); - } - } - - // We don't have the style ready. Go ahead and compute it as necessary. - let shared = create_shared_context(&global_style_data, - &guard, - &data, - TraversalFlags::empty(), - unsafe { &*snapshots }); - let mut tlc = ThreadLocalStyleContext::new(&shared); - let mut context = StyleContext { - shared: &shared, - thread_local: &mut tlc, - }; - - let styles = resolve_style( - &mut context, - element, - rule_inclusion, - pseudo.as_ref() - ); - - finish(&styles, /* is_probe = */ false) - .expect("We're not probing, so we should always get a style back") - .into() -} - -#[no_mangle] -pub extern "C" fn Servo_ReparentStyle( - style_to_reparent: ComputedStyleBorrowed, - parent_style: ComputedStyleBorrowed, - parent_style_ignoring_first_line: ComputedStyleBorrowed, - layout_parent_style: ComputedStyleBorrowed, - element: RawGeckoElementBorrowedOrNull, - raw_data: RawServoStyleSetBorrowed, -) -> ComputedStyleStrong { - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let inputs = CascadeInputs::new_from_style(style_to_reparent); - let metrics = get_metrics_provider_for_product(); - let pseudo = style_to_reparent.pseudo(); - let element = element.map(GeckoElement); - - doc_data.stylist.cascade_style_and_visited( - element, - pseudo.as_ref(), - inputs, - &StylesheetGuards::same(&guard), - Some(parent_style), - Some(parent_style_ignoring_first_line), - Some(layout_parent_style), - &metrics, - /* rule_cache = */ None, - &mut RuleCacheConditions::default(), - ).into() -} - -#[cfg(feature = "gecko_debug")] -fn simulate_compute_values_failure(property: &PropertyValuePair) -> bool { - let p = property.mProperty; - let id = get_property_id_from_nscsspropertyid!(p, false); - id.as_shorthand().is_ok() && property.mSimulateComputeValuesFailure -} - -#[cfg(not(feature = "gecko_debug"))] -fn simulate_compute_values_failure(_: &PropertyValuePair) -> bool { - false -} - -fn create_context_for_animation<'a>( - per_doc_data: &'a PerDocumentStyleDataImpl, - font_metrics_provider: &'a FontMetricsProvider, - style: &'a ComputedValues, - parent_style: Option<&'a ComputedValues>, - for_smil_animation: bool, - rule_cache_conditions: &'a mut RuleCacheConditions, -) -> Context<'a> { - Context { - is_root_element: false, - builder: StyleBuilder::for_animation( - per_doc_data.stylist.device(), - style, - parent_style, - ), - font_metrics_provider: font_metrics_provider, - cached_system_font: None, - in_media_query: false, - quirks_mode: per_doc_data.stylist.quirks_mode(), - for_smil_animation, - for_non_inherited_property: None, - rule_cache_conditions: RefCell::new(rule_cache_conditions), - } -} - -struct PropertyAndIndex { - property: PropertyId, - index: usize, -} - -struct PrioritizedPropertyIter<'a> { - properties: &'a [PropertyValuePair], - sorted_property_indices: Vec, - curr: usize, -} - -impl<'a> PrioritizedPropertyIter<'a> { - fn new(properties: &'a [PropertyValuePair]) -> PrioritizedPropertyIter { - // If we fail to convert a nsCSSPropertyID into a PropertyId we - // shouldn't fail outright but instead by treating that property as the - // 'all' property we make it sort last. - let mut sorted_property_indices: Vec = - properties.iter().enumerate().map(|(index, pair)| { - let property = - PropertyId::from_nscsspropertyid(pair.mProperty) - .unwrap_or(PropertyId::Shorthand(ShorthandId::All)); - - PropertyAndIndex { property, index } - }).collect(); - sorted_property_indices.sort_by(|a, b| compare_property_priority(&a.property, &b.property)); - - PrioritizedPropertyIter { - properties, - sorted_property_indices, - curr: 0, - } - } -} - -impl<'a> Iterator for PrioritizedPropertyIter<'a> { - type Item = &'a PropertyValuePair; - - fn next(&mut self) -> Option<&'a PropertyValuePair> { - if self.curr >= self.sorted_property_indices.len() { - return None - } - self.curr += 1; - Some(&self.properties[self.sorted_property_indices[self.curr - 1].index]) - } -} - -#[no_mangle] -pub extern "C" fn Servo_GetComputedKeyframeValues( - keyframes: RawGeckoKeyframeListBorrowed, - element: RawGeckoElementBorrowed, - style: ComputedStyleBorrowed, - raw_data: RawServoStyleSetBorrowed, - computed_keyframes: RawGeckoComputedKeyframeValuesListBorrowedMut -) { - use style::properties::LonghandIdSet; - - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let metrics = get_metrics_provider_for_product(); - - let element = GeckoElement(element); - let parent_element = element.inheritance_parent(); - let parent_data = parent_element.as_ref().and_then(|e| e.borrow_data()); - let parent_style = parent_data.as_ref().map(|d| d.styles.primary()).map(|x| &**x); - - let mut conditions = Default::default(); - let mut context = create_context_for_animation( - &data, - &metrics, - &style, - parent_style, - /* for_smil_animation = */ false, - &mut conditions, - ); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let default_values = data.default_computed_values(); - - let mut raw_custom_properties_block; // To make the raw block alive in the scope. - for (index, keyframe) in keyframes.iter().enumerate() { - let mut custom_properties = None; - for property in keyframe.mPropertyValues.iter() { - // Find the block for custom properties first. - if property.mProperty == nsCSSPropertyID::eCSSPropertyExtra_variable { - raw_custom_properties_block = unsafe { - &*property.mServoDeclarationBlock.mRawPtr.clone() - }; - let guard = Locked::::as_arc( - &raw_custom_properties_block).read_with(&guard); - custom_properties = guard.cascade_custom_properties_with_context(&context); - // There should be one PropertyDeclarationBlock for custom properties. - break; - } - } - - let ref mut animation_values = computed_keyframes[index]; - - let mut seen = LonghandIdSet::new(); - - let mut property_index = 0; - for property in PrioritizedPropertyIter::new(&keyframe.mPropertyValues) { - if simulate_compute_values_failure(property) { - continue; - } - - let mut maybe_append_animation_value = |property: LonghandId, value: Option| { - if seen.contains(property) { - return; - } - seen.insert(property); - - // This is safe since we immediately write to the uninitialized values. - unsafe { animation_values.set_len((property_index + 1) as u32) }; - animation_values[property_index].mProperty = property.to_nscsspropertyid(); - match value { - Some(v) => { - animation_values[property_index].mValue.mServo.set_arc_leaky(Arc::new(v)); - }, - None => { - animation_values[property_index].mValue.mServo.mRawPtr = ptr::null_mut(); - }, - } - property_index += 1; - }; - - if property.mServoDeclarationBlock.mRawPtr.is_null() { - let property = - LonghandId::from_nscsspropertyid(property.mProperty); - if let Ok(prop) = property { - maybe_append_animation_value(prop, None); - } - continue; - } - - let declarations = unsafe { &*property.mServoDeclarationBlock.mRawPtr.clone() }; - let declarations = Locked::::as_arc(&declarations); - let guard = declarations.read_with(&guard); - let iter = guard.to_animation_value_iter( - &mut context, - &default_values, - custom_properties.as_ref(), - ); - - for value in iter { - let id = value.id(); - maybe_append_animation_value(id, Some(value)); - } - } - } -} - -#[no_mangle] -pub extern "C" fn Servo_GetAnimationValues( - declarations: RawServoDeclarationBlockBorrowed, - element: RawGeckoElementBorrowed, - style: ComputedStyleBorrowed, - raw_data: RawServoStyleSetBorrowed, - animation_values: RawGeckoServoAnimationValueListBorrowedMut, -) { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let metrics = get_metrics_provider_for_product(); - - let element = GeckoElement(element); - let parent_element = element.inheritance_parent(); - let parent_data = parent_element.as_ref().and_then(|e| e.borrow_data()); - let parent_style = parent_data.as_ref().map(|d| d.styles.primary()).map(|x| &**x); - - let mut conditions = Default::default(); - let mut context = create_context_for_animation( - &data, - &metrics, - &style, - parent_style, - /* for_smil_animation = */ true, - &mut conditions, - ); - - let default_values = data.default_computed_values(); - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - - let declarations = Locked::::as_arc(&declarations); - let guard = declarations.read_with(&guard); - let iter = guard.to_animation_value_iter( - &mut context, - &default_values, - None, // SMIL has no extra custom properties. - ); - for (index, anim) in iter.enumerate() { - unsafe { animation_values.set_len((index + 1) as u32) }; - animation_values[index].set_arc_leaky(Arc::new(anim)); - } -} - -#[no_mangle] -pub extern "C" fn Servo_AnimationValue_Compute( - element: RawGeckoElementBorrowed, - declarations: RawServoDeclarationBlockBorrowed, - style: ComputedStyleBorrowed, - raw_data: RawServoStyleSetBorrowed, -) -> RawServoAnimationValueStrong { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let metrics = get_metrics_provider_for_product(); - - let element = GeckoElement(element); - let parent_element = element.inheritance_parent(); - let parent_data = parent_element.as_ref().and_then(|e| e.borrow_data()); - let parent_style = parent_data.as_ref().map(|d| d.styles.primary()).map(|x| &**x); - - let mut conditions = Default::default(); - let mut context = create_context_for_animation( - &data, - &metrics, - style, - parent_style, - /* for_smil_animation = */ false, - &mut conditions, - ); - - let default_values = data.default_computed_values(); - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let declarations = Locked::::as_arc(&declarations); - // We only compute the first element in declarations. - match declarations.read_with(&guard).declaration_importance_iter().next() { - Some((decl, imp)) if imp == Importance::Normal => { - let animation = AnimationValue::from_declaration( - decl, - &mut context, - None, // No extra custom properties for devtools. - default_values, - ); - animation.map_or(RawServoAnimationValueStrong::null(), |value| { - Arc::new(value).into_strong() - }) - }, - _ => RawServoAnimationValueStrong::null() - } -} - -#[no_mangle] -pub extern "C" fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed) { - if !cfg!(feature = "gecko_debug") { - panic!("Calling Servo_AssertTreeIsClean in release build"); - } - - let root = GeckoElement(root); - debug!("Servo_AssertTreeIsClean: "); - debug!("{:?}", ShowSubtreeData(root.as_node())); - - fn assert_subtree_is_clean<'le>(el: GeckoElement<'le>) { - debug_assert!(!el.has_dirty_descendants() && !el.has_animation_only_dirty_descendants(), - "{:?} has still dirty bit {:?} or animation-only dirty bit {:?}", - el, el.has_dirty_descendants(), el.has_animation_only_dirty_descendants()); - for child in el.traversal_children() { - if let Some(child) = child.as_element() { - assert_subtree_is_clean(child); - } - } - } - - assert_subtree_is_clean(root); -} - -#[no_mangle] -pub extern "C" fn Servo_IsWorkerThread() -> bool { - thread_state::get().is_worker() -} - -enum Offset { - Zero, - One -} - -fn fill_in_missing_keyframe_values( - all_properties: &LonghandIdSet, - timing_function: nsTimingFunctionBorrowed, - longhands_at_offset: &LonghandIdSet, - offset: Offset, - keyframes: RawGeckoKeyframeListBorrowedMut, -) { - // Return early if all animated properties are already set. - if longhands_at_offset.contains_all(all_properties) { - return; - } - - let keyframe = match offset { - Offset::Zero => unsafe { - Gecko_GetOrCreateInitialKeyframe(keyframes, timing_function) - }, - Offset::One => unsafe { - Gecko_GetOrCreateFinalKeyframe(keyframes, timing_function) - }, - }; - - // Append properties that have not been set at this offset. - for property in all_properties.iter() { - if !longhands_at_offset.contains(property) { - unsafe { - Gecko_AppendPropertyValuePair( - &mut (*keyframe).mPropertyValues, - property.to_nscsspropertyid() - ); - } - } - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_StyleSet_GetKeyframesForName( - raw_data: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - name: *mut nsAtom, - inherited_timing_function: nsTimingFunctionBorrowed, - keyframes: RawGeckoKeyframeListBorrowedMut, -) -> bool { - debug_assert!(keyframes.len() == 0, "keyframes should be initially empty"); - - let element = GeckoElement(element); - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let name = Atom::from_raw(name); - - let animation = match data.stylist.get_animation(&name, element) { - Some(animation) => animation, - None => return false, - }; - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - - let mut properties_set_at_current_offset = LonghandIdSet::new(); - let mut properties_set_at_start = LonghandIdSet::new(); - let mut properties_set_at_end = LonghandIdSet::new(); - let mut has_complete_initial_keyframe = false; - let mut has_complete_final_keyframe = false; - let mut current_offset = -1.; - - // Iterate over the keyframe rules backwards so we can drop overridden - // properties (since declarations in later rules override those in earlier - // ones). - for step in animation.steps.iter().rev() { - if step.start_percentage.0 != current_offset { - properties_set_at_current_offset.clear(); - current_offset = step.start_percentage.0; - } - - // Override timing_function if the keyframe has an animation-timing-function. - let timing_function = match step.get_animation_timing_function(&guard) { - Some(val) => val.into(), - None => *inherited_timing_function, - }; - - // Look for an existing keyframe with the same offset and timing - // function or else add a new keyframe at the beginning of the keyframe - // array. - let keyframe = Gecko_GetOrCreateKeyframeAtStart( - keyframes, - step.start_percentage.0 as f32, - &timing_function, - ); - - match step.value { - KeyframesStepValue::ComputedValues => { - // In KeyframesAnimation::from_keyframes if there is no 0% or - // 100% keyframe at all, we will create a 'ComputedValues' step - // to represent that all properties animated by the keyframes - // animation should be set to the underlying computed value for - // that keyframe. - for property in animation.properties_changed.iter() { - Gecko_AppendPropertyValuePair( - &mut (*keyframe).mPropertyValues, - property.to_nscsspropertyid(), - ); - } - if current_offset == 0.0 { - has_complete_initial_keyframe = true; - } else if current_offset == 1.0 { - has_complete_final_keyframe = true; - } - }, - KeyframesStepValue::Declarations { ref block } => { - let guard = block.read_with(&guard); - - let mut custom_properties = PropertyDeclarationBlock::new(); - - // Filter out non-animatable properties and properties with - // !important. - for declaration in guard.normal_declaration_iter() { - let id = declaration.id(); - - let id = match id { - PropertyDeclarationId::Longhand(id) => { - // Skip the 'display' property because although it - // is animatable from SMIL, it should not be - // animatable from CSS Animations. - if id == LonghandId::Display { - continue; - } - - if !id.is_animatable() { - continue; - } - - id - } - PropertyDeclarationId::Custom(..) => { - custom_properties.push( - declaration.clone(), - Importance::Normal, - DeclarationSource::CssOm, - ); - continue; - } - }; - - if properties_set_at_current_offset.contains(id) { - continue; - } - - let pair = Gecko_AppendPropertyValuePair( - &mut (*keyframe).mPropertyValues, - id.to_nscsspropertyid(), - ); - - (*pair).mServoDeclarationBlock.set_arc_leaky( - Arc::new(global_style_data.shared_lock.wrap( - PropertyDeclarationBlock::with_one( - declaration.clone(), - Importance::Normal, - ) - )) - ); - - if current_offset == 0.0 { - properties_set_at_start.insert(id); - } else if current_offset == 1.0 { - properties_set_at_end.insert(id); - } - properties_set_at_current_offset.insert(id); - } - - if custom_properties.any_normal() { - let pair = Gecko_AppendPropertyValuePair( - &mut (*keyframe).mPropertyValues, - nsCSSPropertyID::eCSSPropertyExtra_variable, - ); - - (*pair).mServoDeclarationBlock.set_arc_leaky(Arc::new( - global_style_data.shared_lock.wrap(custom_properties) - )); - } - }, - } - } - - // Append property values that are missing in the initial or the final keyframes. - if !has_complete_initial_keyframe { - fill_in_missing_keyframe_values( - &animation.properties_changed, - inherited_timing_function, - &properties_set_at_start, - Offset::Zero, - keyframes, - ); - } - if !has_complete_final_keyframe { - fill_in_missing_keyframe_values( - &animation.properties_changed, - inherited_timing_function, - &properties_set_at_end, - Offset::One, - keyframes, - ); - } - true -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_GetFontFaceRules( - raw_data: RawServoStyleSetBorrowed, - rules: RawGeckoFontFaceRuleListBorrowedMut, -) { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - debug_assert_eq!(rules.len(), 0); - - let len: u32 = data - .stylist - .iter_extra_data_origins() - .map(|(d, _)| d.font_faces.len() as u32) - .sum(); - - // Reversed iterator because Gecko expects rules to appear sorted - // UserAgent first, Author last. - let font_face_iter = data - .stylist - .iter_extra_data_origins_rev() - .flat_map(|(d, o)| d.font_faces.iter().zip(iter::repeat(o))); - - unsafe { rules.set_len(len) }; - for (src, dest) in font_face_iter.zip(rules.iter_mut()) { - dest.mRule.set_arc_leaky(src.0.clone()); - dest.mSheetType = src.1.into(); - } -} - -// XXX Ideally this should return a RawServoCounterStyleRuleBorrowedOrNull, -// but we cannot, because the value from AtomicRefCell::borrow() can only -// live in this function, and thus anything derived from it cannot get the -// same lifetime as raw_data in parameter. See bug 1451543. -#[no_mangle] -pub unsafe extern "C" fn Servo_StyleSet_GetCounterStyleRule( - raw_data: RawServoStyleSetBorrowed, - name: *mut nsAtom, -) -> *const RawServoCounterStyleRule { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - Atom::with(name, |name| { - data.stylist - .iter_extra_data_origins() - .filter_map(|(d, _)| d.counter_styles.get(name)) - .next() - .map_or(ptr::null(), |rule| rule.as_borrowed()) - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_BuildFontFeatureValueSet( - raw_data: RawServoStyleSetBorrowed, -) -> *mut gfxFontFeatureValueSet { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - - let has_rule = - data.stylist - .iter_extra_data_origins() - .any(|(d, _)| !d.font_feature_values.is_empty()); - - if !has_rule { - return ptr::null_mut(); - } - - let font_feature_values_iter = - data.stylist - .iter_extra_data_origins_rev() - .flat_map(|(d, _)| d.font_feature_values.iter()); - - let set = unsafe { Gecko_ConstructFontFeatureValueSet() }; - for src in font_feature_values_iter { - let rule = src.read_with(&guard); - rule.set_at_rules(set); - } - set -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_ResolveForDeclarations( - raw_data: RawServoStyleSetBorrowed, - parent_style_context: ComputedStyleBorrowedOrNull, - declarations: RawServoDeclarationBlockBorrowed, -) -> ComputedStyleStrong { - let doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let guards = StylesheetGuards::same(&guard); - - let parent_style = match parent_style_context { - Some(parent) => &*parent, - None => doc_data.default_computed_values(), - }; - - let declarations = Locked::::as_arc(&declarations); - - doc_data.stylist.compute_for_declarations::( - &guards, - parent_style, - declarations.clone_arc(), - ).into() -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_AddSizeOfExcludingThis( - malloc_size_of: GeckoMallocSizeOf, - malloc_enclosing_size_of: GeckoMallocSizeOf, - sizes: *mut ServoStyleSetSizes, - raw_data: RawServoStyleSetBorrowed -) { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut(); - let mut ops = MallocSizeOfOps::new(malloc_size_of.unwrap(), - Some(malloc_enclosing_size_of.unwrap()), - None); - let sizes = unsafe { sizes.as_mut() }.unwrap(); - data.add_size_of(&mut ops, sizes); -} - -#[no_mangle] -pub extern "C" fn Servo_UACache_AddSizeOf( - malloc_size_of: GeckoMallocSizeOf, - malloc_enclosing_size_of: GeckoMallocSizeOf, - sizes: *mut ServoStyleSetSizes -) { - let mut ops = MallocSizeOfOps::new(malloc_size_of.unwrap(), - Some(malloc_enclosing_size_of.unwrap()), - None); - let sizes = unsafe { sizes.as_mut() }.unwrap(); - add_size_of_ua_cache(&mut ops, sizes); -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_MightHaveAttributeDependency( - raw_data: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - local_name: *mut nsAtom, -) -> bool { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let element = GeckoElement(element); - - unsafe { - Atom::with(local_name, |atom| { - data.stylist.any_applicable_rule_data(element, |data| { - data.might_have_attribute_dependency(atom) - }) - }) - } -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_HasStateDependency( - raw_data: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - state: u64, -) -> bool { - let element = GeckoElement(element); - - let state = ElementState::from_bits_truncate(state); - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - - data.stylist.any_applicable_rule_data(element, |data| { - data.has_state_dependency(state) - }) -} - -#[no_mangle] -pub extern "C" fn Servo_StyleSet_HasDocumentStateDependency( - raw_data: RawServoStyleSetBorrowed, - state: u64, -) -> bool { - let state = DocumentState::from_bits_truncate(state); - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - - data.stylist.has_document_state_dependency(state) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_GetCustomPropertyValue( - computed_values: ComputedStyleBorrowed, - name: *const nsAString, - value: *mut nsAString, -) -> bool { - let custom_properties = match computed_values.custom_properties() { - Some(p) => p, - None => return false, - }; - - let name = Atom::from(&*name); - let computed_value = match custom_properties.get(&name) { - Some(v) => v, - None => return false, - }; - - computed_value.to_css(&mut CssWriter::new(&mut *value)).unwrap(); - true -} - -#[no_mangle] -pub extern "C" fn Servo_GetCustomPropertiesCount(computed_values: ComputedStyleBorrowed) -> u32 { - match computed_values.custom_properties() { - Some(p) => p.len() as u32, - None => 0, - } -} - -#[no_mangle] -pub extern "C" fn Servo_GetCustomPropertyNameAt( - computed_values: ComputedStyleBorrowed, - index: u32, - name: *mut nsAString, -) -> bool { - let custom_properties = match computed_values.custom_properties() { - Some(p) => p, - None => return false, - }; - - let property_name = match custom_properties.get_key_at(index) { - Some(n) => n, - None => return false, - }; - - let name = unsafe { name.as_mut().unwrap() }; - name.assign(&*property_name.as_slice()); - - true -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_ReleaseArcStringData(string: *const RawOffsetArc) { - let string = string as *const RawOffsetArc; - // Cause RawOffsetArc::drop to run, releasing the strong reference to the string data. - let _ = ptr::read(string); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_CloneArcStringData( - string: *const RawOffsetArc, -) -> RawOffsetArc { - let string = string as *const RawOffsetArc; - let cloned = (*string).clone(); - mem::transmute::<_, RawOffsetArc>(cloned) -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_GetArcStringData( - string: *const RustString, - utf8_chars: *mut *const u8, - utf8_len: *mut u32, -) { - let string = &*(string as *const String); - *utf8_len = string.len() as u32; - *utf8_chars = string.as_ptr(); -} - -#[no_mangle] -pub extern "C" fn Servo_ProcessInvalidations( - set: RawServoStyleSetBorrowed, - element: RawGeckoElementBorrowed, - snapshots: *const ServoElementSnapshotTable, -) { - debug_assert!(!snapshots.is_null()); - - let element = GeckoElement(element); - debug_assert!(element.has_snapshot()); - debug_assert!(!element.handled_snapshot()); - - let mut data = element.mutate_data(); - debug_assert!(data.is_some()); - - let global_style_data = &*GLOBAL_STYLE_DATA; - let guard = global_style_data.shared_lock.read(); - let per_doc_data = PerDocumentStyleData::from_ffi(set).borrow(); - let shared_style_context = create_shared_context(&global_style_data, - &guard, - &per_doc_data, - TraversalFlags::empty(), - unsafe { &*snapshots }); - let mut data = data.as_mut().map(|d| &mut **d); - - if let Some(ref mut data) = data { - // FIXME(emilio): Ideally we could share the nth-index-cache across all - // the elements? - let result = data.invalidate_style_if_needed( - element, - &shared_style_context, - None, - &mut NthIndexCache::default(), - ); - - if result.has_invalidated_siblings() { - let parent = element.traversal_parent().expect("How could we invalidate siblings without a common parent?"); - unsafe { - parent.set_dirty_descendants(); - bindings::Gecko_NoteDirtySubtreeForInvalidation(parent.0); - } - } else if result.has_invalidated_descendants() { - unsafe { bindings::Gecko_NoteDirtySubtreeForInvalidation(element.0) }; - } else if result.has_invalidated_self() { - unsafe { bindings::Gecko_NoteDirtyElement(element.0) }; - } - } -} - -#[no_mangle] -pub extern "C" fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed) -> bool { - let mut element = Some(GeckoElement(element)); - while let Some(e) = element { - if e.has_animations() { - return true; - } - - // If the element needs a frame, it means that we haven't styled it yet - // after it got inserted in the document, and thus we may need to do - // that for transitions and animations to trigger. - if e.needs_frame() { - return true; - } - - if let Some(data) = e.borrow_data() { - if !data.hint.is_empty() { - return true; - } - } - - element = e.traversal_parent(); - } - false -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SelectorList_Parse( - selector_list: *const nsACString, -) -> *mut RawServoSelectorList { - use style::selector_parser::SelectorParser; - - debug_assert!(!selector_list.is_null()); - - let input = (*selector_list).as_str_unchecked(); - let selector_list = match SelectorParser::parse_author_origin_no_namespace(&input) { - Ok(selector_list) => selector_list, - Err(..) => return ptr::null_mut(), - }; - - Box::into_raw(Box::new(selector_list)) as *mut RawServoSelectorList -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SelectorList_Drop(list: RawServoSelectorListOwned) { - let _ = list.into_box::<::selectors::SelectorList>(); -} - -fn parse_color( - value: &str, - error_reporter: Option<&ErrorReporter>, -) -> Result { - let mut input = ParserInput::new(value); - let mut parser = Parser::new(&mut input); - let url_data = unsafe { dummy_url_data() }; - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - let start_position = parser.position(); - parser.parse_entirely(|i| specified::Color::parse(&context, i)).map_err(|err| { - if let Some(error_reporter) = error_reporter { - match err.kind { - ParseErrorKind::Custom(StyleParseErrorKind::ValueError(..)) => { - let location = err.location.clone(); - let error = ContextualParseError::UnsupportedValue( - parser.slice_from(start_position), - err, - ); - error_reporter.report(location, error); - } - // Ignore other kinds of errors that might be reported, such as - // ParseErrorKind::Basic(BasicParseErrorKind::UnexpectedToken), - // since Gecko doesn't report those to the error console. - _ => {} - } - } - }) -} - -#[no_mangle] -pub extern "C" fn Servo_IsValidCSSColor( - value: *const nsAString, -) -> bool { - let value = unsafe { (*value).to_string() }; - parse_color(&value, None).is_ok() -} - -#[no_mangle] -pub extern "C" fn Servo_ComputeColor( - raw_data: RawServoStyleSetBorrowedOrNull, - current_color: structs::nscolor, - value: *const nsAString, - result_color: *mut structs::nscolor, - was_current_color: *mut bool, - loader: *mut Loader, -) -> bool { - use style::gecko; - - let current_color = gecko::values::convert_nscolor_to_rgba(current_color); - let value = unsafe { (*value).to_string() }; - let result_color = unsafe { result_color.as_mut().unwrap() }; - - let reporter = unsafe { loader.as_mut() }.map(|loader| { - // Make an ErrorReporter that will report errors as being "from DOM". - ErrorReporter::new(ptr::null_mut(), loader, ptr::null_mut()) - }); - - match parse_color(&value, reporter.as_ref()) { - Ok(specified_color) => { - let computed_color = match raw_data { - Some(raw_data) => { - let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let device = data.stylist.device(); - let quirks_mode = data.stylist.quirks_mode(); - Context::for_media_query_evaluation(device, quirks_mode, |context| { - specified_color.to_computed_color(Some(&context)) - }) - } - None => { - specified_color.to_computed_color(None) - } - }; - - match computed_color { - Some(computed_color) => { - let rgba = computed_color.to_rgba(current_color); - *result_color = gecko::values::convert_rgba_to_nscolor(&rgba); - if !was_current_color.is_null() { - unsafe { - *was_current_color = computed_color.is_currentcolor(); - } - } - true - } - None => false, - } - } - Err(_) => false, - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_IntersectionObserverRootMargin_Parse( - value: *const nsAString, - result: *mut structs::nsStyleSides, -) -> bool { - let value = value.as_ref().unwrap().to_string(); - let result = result.as_mut().unwrap(); - - let mut input = ParserInput::new(&value); - let mut parser = Parser::new(&mut input); - - let url_data = dummy_url_data(); - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - let margin = parser.parse_entirely(|p| { - IntersectionObserverRootMargin::parse(&context, p) - }); - match margin { - Ok(margin) => { - margin.0.to_gecko_rect(result); - true - } - Err(..) => false, - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_IntersectionObserverRootMargin_ToString( - rect: *const structs::nsStyleSides, - result: *mut nsAString, -) { - let rect = Rect:::: - from_gecko_rect(rect.as_ref().unwrap()).unwrap(); - let root_margin = IntersectionObserverRootMargin(rect); - let mut writer = CssWriter::new(result.as_mut().unwrap()); - root_margin.to_css(&mut writer).unwrap(); -} - -#[no_mangle] -pub extern "C" fn Servo_ParseTransformIntoMatrix( - value: *const nsAString, - contain_3d: *mut bool, - result: *mut RawGeckoGfxMatrix4x4 -) -> bool { - use style::properties::longhands::transform; - - let string = unsafe { (*value).to_string() }; - let mut input = ParserInput::new(&string); - let mut parser = Parser::new(&mut input); - let context = ParserContext::new( - Origin::Author, - unsafe { dummy_url_data() }, - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks - ); - - let transform = match parser.parse_entirely(|t| transform::parse(&context, t)) { - Ok(t) => t, - Err(..) => return false, - }; - - let (m, is_3d) = match transform.to_transform_3d_matrix(None) { - Ok(result) => result, - Err(..) => return false, - }; - - let result = unsafe { result.as_mut() }.expect("not a valid matrix"); - let contain_3d = unsafe { contain_3d.as_mut() }.expect("not a valid bool"); - *result = m.to_row_major_array(); - *contain_3d = is_3d; - true -} - -#[no_mangle] -pub extern "C" fn Servo_ParseFontShorthandForMatching( - value: *const nsAString, - data: *mut URLExtraData, - family: *mut structs::RefPtr, - style: nsCSSValueBorrowedMut, - stretch: nsCSSValueBorrowedMut, - weight: nsCSSValueBorrowedMut -) -> bool { - use style::properties::shorthands::font; - use style::values::generics::font::FontStyle as GenericFontStyle; - use style::values::specified::font::{FontFamily, FontWeight, FontStyle, SpecifiedFontStyle}; - - let string = unsafe { (*value).to_string() }; - let mut input = ParserInput::new(&string); - let mut parser = Parser::new(&mut input); - let url_data = unsafe { RefPtr::from_ptr_ref(&data) }; - let context = ParserContext::new( - Origin::Author, - url_data, - Some(CssRuleType::FontFace), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - let font = match parser.parse_entirely(|f| font::parse_value(&context, f)) { - Ok(f) => f, - Err(..) => return false, - }; - - // The system font is not acceptable, so we return false. - let family = unsafe { &mut *family }; - match font.font_family { - FontFamily::Values(list) => family.set_move(list.0), - FontFamily::System(_) => return false, - } - - let specified_font_style = match font.font_style { - FontStyle::Specified(ref s) => s, - FontStyle::System(_) => return false, - }; - match *specified_font_style { - GenericFontStyle::Normal => style.set_normal(), - GenericFontStyle::Italic => style.set_enum(structs::NS_FONT_STYLE_ITALIC as i32), - GenericFontStyle::Oblique(ref angle) => { - style.set_font_style(SpecifiedFontStyle::compute_angle(angle).degrees()) - } - } - - if font.font_stretch.get_system().is_some() { - return false; - } - stretch.set_from(&font.font_stretch); - - match font.font_weight { - FontWeight::Absolute(w) => weight.set_font_weight(w.compute().0), - // Resolve relative font weights against the initial of font-weight - // (normal, which is equivalent to 400). - FontWeight::Bolder => weight.set_enum(structs::NS_FONT_WEIGHT_BOLD as i32), - FontWeight::Lighter => weight.set_enum(structs::NS_FONT_WEIGHT_THIN as i32), - FontWeight::System(_) => return false, - } - - true -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SourceSizeList_Parse( - value: *const nsACString, -) -> *mut RawServoSourceSizeList { - let value = (*value).as_str_unchecked(); - let mut input = ParserInput::new(value); - let mut parser = Parser::new(&mut input); - - let context = ParserContext::new( - Origin::Author, - dummy_url_data(), - Some(CssRuleType::Style), - ParsingMode::DEFAULT, - QuirksMode::NoQuirks, - ); - - // NB: Intentionally not calling parse_entirely. - let list = SourceSizeList::parse(&context, &mut parser); - Box::into_raw(Box::new(list)) as *mut _ -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SourceSizeList_Evaluate( - raw_data: RawServoStyleSetBorrowed, - list: RawServoSourceSizeListBorrowedOrNull, -) -> i32 { - let doc_data = PerDocumentStyleData::from_ffi(raw_data).borrow(); - let device = doc_data.stylist.device(); - let quirks_mode = doc_data.stylist.quirks_mode(); - - let result = match list { - Some(list) => { - SourceSizeList::from_ffi(list).evaluate(device, quirks_mode) - } - None => { - SourceSizeList::empty().evaluate(device, quirks_mode) - } - }; - - result.0 -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_SourceSizeList_Drop(list: RawServoSourceSizeListOwned) { - let _ = list.into_box::(); -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_InvalidateStyleForDocStateChanges( - root: RawGeckoElementBorrowed, - document_style: RawServoStyleSetBorrowed, - non_document_styles: *const nsTArray, - states_changed: u64, -) { - use style::invalidation::element::document_state::DocumentStateInvalidationProcessor; - use style::invalidation::element::invalidator::TreeStyleInvalidator; - - let document_data = PerDocumentStyleData::from_ffi(document_style).borrow(); - - let iter = - document_data.stylist.iter_origins().map(|(data, _origin)| data) - .chain((*non_document_styles).iter().map(|author_styles| { - let styles: &_ = AuthorStyles::::from_ffi(author_styles); - &styles.data - })); - - let root = GeckoElement(root); - let mut processor = DocumentStateInvalidationProcessor::new( - iter, - DocumentState::from_bits_truncate(states_changed), - root.as_node().owner_doc().quirks_mode(), - ); - - let result = TreeStyleInvalidator::new( - root, - /* stack_limit_checker = */ None, - &mut processor, - ).invalidate(); - - debug_assert!(!result.has_invalidated_siblings(), "How in the world?"); - if result.has_invalidated_descendants() { - bindings::Gecko_NoteDirtySubtreeForInvalidation(root.0); - } else if result.has_invalidated_self() { - bindings::Gecko_NoteDirtyElement(root.0); - } -} - -#[no_mangle] -pub unsafe extern "C" fn Servo_PseudoClass_GetStates(name: *const nsACString) -> u64 { - let name = name.as_ref().unwrap().as_str_unchecked(); - match NonTSPseudoClass::parse_non_functional(name) { - None => 0, - // Ignore :any-link since it contains both visited and unvisited state. - Some(NonTSPseudoClass::AnyLink) => 0, - Some(pseudo_class) => pseudo_class.state_flag().bits(), - } -} diff --git a/ports/geckolib/lib.rs b/ports/geckolib/lib.rs deleted file mode 100644 index 79150f62bf7..00000000000 --- a/ports/geckolib/lib.rs +++ /dev/null @@ -1,25 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - -extern crate cssparser; -#[macro_use] extern crate cstr; -extern crate libc; -#[macro_use] extern crate log; -extern crate malloc_size_of; -extern crate nsstring; -extern crate selectors; -extern crate servo_arc; -extern crate smallvec; -#[macro_use] extern crate style; -extern crate style_traits; - -mod error_reporter; -#[allow(non_snake_case)] -pub mod glue; -mod stylesheet_loader; - -// FIXME(bholley): This should probably go away once we harmonize the allocators. -#[no_mangle] -pub extern "C" fn je_malloc_usable_size(_: *const ::libc::c_void) -> ::libc::size_t { 0 } diff --git a/ports/geckolib/stylesheet_loader.rs b/ports/geckolib/stylesheet_loader.rs deleted file mode 100644 index 7ed1db57bc3..00000000000 --- a/ports/geckolib/stylesheet_loader.rs +++ /dev/null @@ -1,141 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -use cssparser::SourceLocation; -use nsstring::nsCString; -use servo_arc::Arc; -use style::context::QuirksMode; -use style::error_reporting::NullReporter; -use style::gecko::data::GeckoStyleSheet; -use style::gecko::global_style_data::GLOBAL_STYLE_DATA; -use style::gecko_bindings::bindings; -use style::gecko_bindings::bindings::Gecko_LoadStyleSheet; -use style::gecko_bindings::structs::{Loader, LoaderReusableStyleSheets}; -use style::gecko_bindings::structs::{StyleSheet as DomStyleSheet, SheetLoadData, SheetLoadDataHolder}; -use style::gecko_bindings::structs::URLExtraData; -use style::gecko_bindings::sugar::ownership::FFIArcHelpers; -use style::gecko_bindings::sugar::refptr::RefPtr; -use style::media_queries::MediaList; -use style::parser::ParserContext; -use style::shared_lock::{Locked, SharedRwLock}; -use style::stylesheets::{ImportRule, Origin, StylesheetLoader as StyleStylesheetLoader}; -use style::stylesheets::StylesheetContents; -use style::stylesheets::import_rule::ImportSheet; -use style::values::CssUrl; - -pub struct StylesheetLoader(*mut Loader, *mut DomStyleSheet, *mut SheetLoadData, *mut LoaderReusableStyleSheets); - -impl StylesheetLoader { - pub fn new( - loader: *mut Loader, - parent: *mut DomStyleSheet, - parent_load_data: *mut SheetLoadData, - reusable_sheets: *mut LoaderReusableStyleSheets, - ) -> Self { - StylesheetLoader(loader, parent, parent_load_data, reusable_sheets) - } -} - -impl StyleStylesheetLoader for StylesheetLoader { - fn request_stylesheet( - &self, - url: CssUrl, - source_location: SourceLocation, - _context: &ParserContext, - lock: &SharedRwLock, - media: Arc>, - ) -> Arc> { - // After we get this raw pointer ImportRule will be moved into a lock and Arc - // and so the Arc pointer inside will also move, - // but the Url it points to or the allocating backing the String inside that Url won’t, - // so this raw pointer will still be valid. - - let child_sheet = unsafe { - Gecko_LoadStyleSheet(self.0, - self.1, - self.2, - self.3, - url.for_ffi(), - media.into_strong()) - }; - - debug_assert!(!child_sheet.is_null(), - "Import rules should always have a strong sheet"); - let sheet = unsafe { GeckoStyleSheet::from_addrefed(child_sheet) }; - let stylesheet = ImportSheet::new(sheet); - Arc::new(lock.wrap(ImportRule { url, source_location, stylesheet })) - } -} - -pub struct AsyncStylesheetParser { - load_data: RefPtr, - extra_data: RefPtr, - bytes: nsCString, - origin: Origin, - quirks_mode: QuirksMode, - line_number_offset: u32, -} - -impl AsyncStylesheetParser { - pub fn new( - load_data: RefPtr, - extra_data: RefPtr, - bytes: nsCString, - origin: Origin, - quirks_mode: QuirksMode, - line_number_offset: u32, - ) -> Self { - AsyncStylesheetParser { - load_data, - extra_data, - bytes, - origin, - quirks_mode, - line_number_offset, - } - } - - pub fn parse(self) { - let global_style_data = &*GLOBAL_STYLE_DATA; - let input: &str = unsafe { (*self.bytes).as_str_unchecked() }; - - // Note: Parallel CSS parsing doesn't report CSS errors. When errors - // are being logged, Gecko prevents the parallel parsing path from - // running. - let sheet = Arc::new(StylesheetContents::from_str( - input, self.extra_data.clone(), self.origin, - &global_style_data.shared_lock, Some(&self), &NullReporter, - self.quirks_mode.into(), self.line_number_offset) - ); - - unsafe { - bindings::Gecko_StyleSheet_FinishAsyncParse(self.load_data.get(), sheet.into_strong()); - } - } -} - -impl StyleStylesheetLoader for AsyncStylesheetParser { - fn request_stylesheet( - &self, - url: CssUrl, - source_location: SourceLocation, - _context: &ParserContext, - lock: &SharedRwLock, - media: Arc>, - ) -> Arc> { - let stylesheet = ImportSheet::new_pending(self.origin, self.quirks_mode); - let rule = Arc::new(lock.wrap(ImportRule { url: url.clone(), source_location, stylesheet })); - - unsafe { - bindings::Gecko_LoadStyleSheetAsync( - self.load_data.get(), - url.for_ffi(), - media.into_strong(), - rule.clone().into_strong() - ); - } - - rule - } -} diff --git a/ports/geckolib/tests/Cargo.toml b/ports/geckolib/tests/Cargo.toml deleted file mode 100644 index 0d670f2ec3d..00000000000 --- a/ports/geckolib/tests/Cargo.toml +++ /dev/null @@ -1,31 +0,0 @@ -[package] -name = "stylo_tests" -version = "0.0.1" -authors = ["The Servo Project Developers"] -license = "MPL-2.0" - -build = "build.rs" - -[lib] -name = "stylo_tests" -path = "lib.rs" -doctest = false - -[dependencies] -atomic_refcell = "0.1" -cssparser = "0.23.0" -cstr = "0.1.2" -env_logger = { version = "0.5", default-features = false } -euclid = "0.17" -geckoservo = {path = "../../../ports/geckolib"} -libc = "0.2" -log = {version = "0.4", features = ["release_max_level_info"]} -malloc_size_of = {path = "../../../components/malloc_size_of"} -selectors = {path = "../../../components/selectors"} -size_of_test = {path = "../../../components/size_of_test"} -smallvec = "0.6" -style_traits = {path = "../../../components/style_traits"} -style = {path = "../../../components/style", features = ["gecko"]} - -[build-dependencies] -regex = "0.2" diff --git a/ports/geckolib/tests/build.rs b/ports/geckolib/tests/build.rs deleted file mode 100644 index 8de7326b574..00000000000 --- a/ports/geckolib/tests/build.rs +++ /dev/null @@ -1,94 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -extern crate regex; - -use regex::Regex; -use std::env; -use std::fs::File; -use std::io::{BufRead, BufReader, Write}; -use std::path::Path; - -fn main() { - // https://github.com/rust-lang/cargo/issues/3544 - let style_out_dir = env::var_os("DEP_FOR SOME REASON THE LINKS KEY IS REQUIRED \ - TO PASS DATA AROUND BETWEEN BUILD SCRIPTS_OUT_DIR").unwrap(); - let root_path = Path::new("../../../"); - let bindings_file = Path::new(&style_out_dir).join("gecko/bindings.rs"); - let glue_file = root_path.join("ports/geckolib/glue.rs"); - - println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rerun-if-changed={}", glue_file.display()); - println!("cargo:rerun-if-changed={}", bindings_file.display()); - - let env_out_dir = env::var("OUT_DIR").unwrap(); - let out_dir = Path::new(&env_out_dir); - - { - let output = out_dir.join("check_bindings.rs"); - let r = BufReader::new(File::open(bindings_file).unwrap()); - let mut w = File::create(output).unwrap(); - - w.write_all(b"fn assert_types() {\n").unwrap(); - - let matcher = Regex::new(r"fn\s*Servo_([a-zA-Z0-9_]+)\s*\(").unwrap(); - - for line in r.lines() { - let s = line.unwrap(); - for cap in matcher.captures_iter(&s) { - // This causes a mismatch in old libclangs (the ones that are - // used in linux32 mozilla-central) because it generates: - // - // *const nsTArray<*const RawServoStyleSet> - // - // Instead of: - // - // *const nsTArray - // - // Which is not a problem, but would cause this to not compile. - // - // Skip this until libclang is updated there. - // - // Also skip Servo_Element_IsDisplayContents because we - // forward-declare it in Element.h without the type bindgen uses - // to replace it by a reference, and it depends on the include - // order in ServoBindings.h. We have the same problem for - // ComputedStyle_{AddRef / Release}, we just don't hit it - // because they're included later... - if &cap[1] == "InvalidateStyleForDocStateChanges" || - &cap[1] == "Element_IsDisplayContents" - { - continue; - } - w.write_all(format!(" [ Servo_{0}, bindings::Servo_{0} ];\n", &cap[1]).as_bytes()).unwrap(); - } - } - - w.write_all(b"}\n").unwrap(); - } - - { - let output = out_dir.join("glue.rs"); - let r = BufReader::new(File::open(glue_file).unwrap()); - let mut w = File::create(output).unwrap(); - - w.write_all(b"pub use style::gecko::arc_types::*;\n").unwrap(); - - for line in r.lines() { - let s = line.unwrap().replace("pub extern \"C\" fn", "pub unsafe extern \"C\" fn"); - w.write_all(s.as_bytes()).unwrap(); - w.write_all(b"\n").unwrap(); - } - } - - File::create(out_dir.join("bindings.rs")) - .unwrap() - .write_all(format!("include!(concat!({:?}, \"/gecko/structs.rs\"));", - style_out_dir).as_bytes()) - .unwrap(); - - if env::var_os("MOZ_SRC").is_some() { - println!("cargo:rustc-cfg=linking_with_gecko") - } -} diff --git a/ports/geckolib/tests/lib.rs b/ports/geckolib/tests/lib.rs deleted file mode 100644 index 9981611d17a..00000000000 --- a/ports/geckolib/tests/lib.rs +++ /dev/null @@ -1,37 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -// Disable this entire crate on Windows when Gecko symbols are not available -// as linking would fail: -// https://github.com/rust-lang/rust/pull/44603#issuecomment-338807312 -// -// On Linux and OS X linking succeeds anyway. -// Presumably these symbol declarations don’t need to be resolved -// as they’re not used in any code called from this crate. -#![cfg(any(linking_with_gecko, not(windows)))] - -extern crate atomic_refcell; -extern crate cssparser; -#[macro_use] extern crate cstr; -extern crate geckoservo; -#[macro_use] extern crate log; -extern crate malloc_size_of; -extern crate selectors; -extern crate smallvec; -#[macro_use] extern crate size_of_test; -#[macro_use] extern crate style; -extern crate style_traits; - -#[cfg(target_pointer_width = "64")] -mod size_of; -mod specified_values; - -mod servo_function_signatures; - -use style::*; - -#[allow(dead_code, improper_ctypes)] -mod bindings { - include!(concat!(env!("OUT_DIR"), "/bindings.rs")); -} diff --git a/ports/geckolib/tests/servo_function_signatures.rs b/ports/geckolib/tests/servo_function_signatures.rs deleted file mode 100644 index 90d925fb1e1..00000000000 --- a/ports/geckolib/tests/servo_function_signatures.rs +++ /dev/null @@ -1,26 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -#![allow(unused)] - -use self::glue::*; -use style::gecko_bindings::bindings; -use style::gecko_properties::*; - -include!(concat!(env!("OUT_DIR"), "/check_bindings.rs")); - -#[path = "../../../ports/geckolib/error_reporter.rs"] -mod error_reporter; - -#[path = "../../../ports/geckolib/stylesheet_loader.rs"] -mod stylesheet_loader; - -#[allow(non_snake_case, unused_unsafe, private_no_mangle_fns)] -mod glue { - // this module pretends to be glue.rs, with the safe functions swapped for unsafe ones. This is - // a hack to compensate for the fact that `fn` types cannot coerce to `unsafe fn` types. The - // imports are populated with the same things so the type assertion should be equivalent - use geckoservo::*; - include!(concat!(env!("OUT_DIR"), "/glue.rs")); -} diff --git a/ports/geckolib/tests/size_of.rs b/ports/geckolib/tests/size_of.rs deleted file mode 100644 index 8905650dc2a..00000000000 --- a/ports/geckolib/tests/size_of.rs +++ /dev/null @@ -1,51 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -use selectors; -use servo_arc::Arc; -use style; -use style::applicable_declarations::ApplicableDeclarationBlock; -use style::data::{ElementData, ElementStyles}; -use style::gecko::selector_parser::{self, SelectorImpl}; -use style::properties::ComputedValues; -use style::rule_tree::{RuleNode, StrongRuleNode}; -use style::values::computed; -use style::values::specified; - -size_of_test!(size_of_selector, selectors::parser::Selector, 8); -size_of_test!(size_of_pseudo_element, selector_parser::PseudoElement, 24); - -size_of_test!(size_of_component, selectors::parser::Component, 32); -size_of_test!(size_of_pseudo_class, selector_parser::NonTSPseudoClass, 24); - -// The size of this is critical to performance on the bloom-basic microbenchmark. -// When iterating over a large Rule array, we want to be able to fast-reject -// selectors (with the inline hashes) with as few cache misses as possible. -size_of_test!(test_size_of_rule, style::stylist::Rule, 32); - -// Large pages generate tens of thousands of ComputedValues. -size_of_test!(test_size_of_cv, ComputedValues, 248); - -size_of_test!(test_size_of_option_arc_cv, Option>, 8); -size_of_test!(test_size_of_option_rule_node, Option, 8); - -size_of_test!(test_size_of_element_styles, ElementStyles, 16); -size_of_test!(test_size_of_element_data, ElementData, 24); - -size_of_test!(test_size_of_property_declaration, style::properties::PropertyDeclaration, 32); - -size_of_test!(test_size_of_application_declaration_block, ApplicableDeclarationBlock, 16); -size_of_test!(test_size_of_rule_node, RuleNode, 72); - -// This is huge, but we allocate it on the stack and then never move it, -// we only pass `&mut SourcePropertyDeclaration` references around. -size_of_test!(test_size_of_parsed_declaration, style::properties::SourcePropertyDeclaration, 608); - -size_of_test!(test_size_of_computed_image, computed::image::Image, 32); -size_of_test!(test_size_of_specified_image, specified::image::Image, 32); - -// FIXME(bz): These can shrink if we move the None_ value inside the -// enum instead of paying an extra word for the Either discriminant. -size_of_test!(test_size_of_computed_image_layer, computed::image::ImageLayer, 32); -size_of_test!(test_size_of_specified_image_layer, specified::image::ImageLayer, 32); diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py index 1d103fe5aca..18653c9d4da 100644 --- a/python/servo/bootstrap_commands.py +++ b/python/servo/bootstrap_commands.py @@ -128,18 +128,15 @@ class MachCommands(CommandBase): help='Keep up to this many most recent nightlies') def clean_nightlies(self, force=False, keep=None): default_toolchain = self.default_toolchain() - geckolib_toolchain = self.geckolib_toolchain() print("Current Rust version for Servo: {}".format(default_toolchain)) - print("Current Rust version for geckolib: {}".format(geckolib_toolchain)) old_toolchains = [] keep = int(keep) - for toolchain_file in ['rust-toolchain', 'geckolib-rust-toolchain']: - stdout = subprocess.check_output(['git', 'log', '--format=%H', toolchain_file]) - for i, commit_hash in enumerate(stdout.split(), 1): - if i > keep: - toolchain = subprocess.check_output( - ['git', 'show', '%s:%s' % (commit_hash, toolchain_file)]) - old_toolchains.append(toolchain.strip()) + stdout = subprocess.check_output(['git', 'log', '--format=%H', 'rust-toolchain']) + for i, commit_hash in enumerate(stdout.split(), 1): + if i > keep: + toolchain = subprocess.check_output( + ['git', 'show', '%s:rust-toolchain' % commit_hash]) + old_toolchains.append(toolchain.strip()) removing_anything = False stdout = subprocess.check_output(['rustup', 'toolchain', 'list']) diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index f1ed3f885fa..1977cf78d4a 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -386,49 +386,6 @@ class MachCommands(CommandBase): print("Build %s in %s" % ("Completed" if status == 0 else "FAILED", format_duration(elapsed))) return status - @Command('build-geckolib', - description='Build a static library of components used by Gecko', - category='build') - @CommandArgument('--jobs', '-j', - default=None, - help='Number of jobs to run in parallel') - @CommandArgument('--verbose', '-v', - action='store_true', - help='Print verbose output') - @CommandArgument('--release', '-r', - action='store_true', - help='Build in release mode') - def build_geckolib(self, jobs=None, verbose=False, release=False): - self.set_use_geckolib_toolchain() - self.ensure_bootstrapped() - self.ensure_clobbered() - - env = self.build_env(is_build=True, geckolib=True) - - ret = None - opts = ["-p", "geckoservo"] - features = [] - - if jobs is not None: - opts += ["-j", jobs] - if verbose: - opts += ["-v"] - if release: - opts += ["--release"] - if features: - opts += ["--features", ' '.join(features)] - - build_start = time() - ret = self.call_rustup_run(["cargo", "build"] + opts, env=env, verbose=verbose) - elapsed = time() - build_start - - # Generate Desktop Notification if elapsed-time > some threshold value - notify_build_done(self.config, elapsed) - - print("GeckoLib build completed in %s" % format_duration(elapsed)) - - return ret - @Command('clean', description='Clean the build directory.', category='build') diff --git a/python/servo/command_base.py b/python/servo/command_base.py index a200fa05f24..32870474666 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -285,27 +285,10 @@ class CommandBase(object): # Set default android target self.handle_android_target("armv7-linux-androideabi") - self.set_use_geckolib_toolchain(False) - - _use_geckolib_toolchain = False - _geckolib_toolchain = None _default_toolchain = None - def set_use_geckolib_toolchain(self, use_geckolib_toolchain=True): - self._use_geckolib_toolchain = use_geckolib_toolchain - def toolchain(self): - if self._use_geckolib_toolchain: - return self.geckolib_toolchain() - else: - return self.default_toolchain() - - def geckolib_toolchain(self): - if self._geckolib_toolchain is None: - filename = path.join(self.context.topdir, "geckolib-rust-toolchain") - with open(filename) as f: - self._geckolib_toolchain = f.read().strip() - return self._geckolib_toolchain + return self.default_toolchain() def default_toolchain(self): if self._default_toolchain is None: @@ -474,7 +457,7 @@ class CommandBase(object): bin_folder = path.join(destination_folder, "PFiles", "Mozilla research", "Servo Tech Demo") return path.join(bin_folder, "servo{}".format(BIN_SUFFIX)) - def build_env(self, hosts_file_path=None, target=None, is_build=False, geckolib=False, test_unit=False): + def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit=False): """Return an extended environment dictionary.""" env = os.environ.copy() if sys.platform == "win32" and type(env['PATH']) == unicode: @@ -593,10 +576,7 @@ class CommandBase(object): env['GIT_INFO'] = '-'.join(git_info) - if geckolib: - geckolib_build_path = path.join(self.context.topdir, "target", "geckolib").encode("UTF-8") - env["CARGO_TARGET_DIR"] = geckolib_build_path - elif self.config["build"]["thinlto"]: + if self.config["build"]["thinlto"]: env['RUSTFLAGS'] += " -Z thinlto" return env @@ -607,9 +587,6 @@ class CommandBase(object): def servo_manifest(self): return path.join(self.context.topdir, "ports", "servo", "Cargo.toml") - def geckolib_manifest(self): - return path.join(self.context.topdir, "ports", "geckolib", "Cargo.toml") - def servo_features(self): """Return a list of optional features to enable for the Servo crate""" features = [] diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index dadf399479a..c6a3f8527ba 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -28,29 +28,17 @@ from servo.util import STATIC_RUST_LANG_ORG_DIST, URLOPEN_KWARGS @CommandProvider class MachCommands(CommandBase): - def run_cargo(self, params, geckolib=False, check=False): + def run_cargo(self, params, check=False): if not params: params = [] self.ensure_bootstrapped() self.ensure_clobbered() - env = self.build_env(geckolib=geckolib) + env = self.build_env() if check: params = ['check'] + params - if geckolib: - # for c in $(cargo --list | tail -$(($(cargo --list | wc -l) - 1))); do - # (cargo help $c 2>&1 | grep "\\--package" >/dev/null 2>&1) && echo $c - # done - if params and params[0] in [ - 'bench', 'build', 'check', 'clean', 'doc', 'fmt', 'pkgid', - 'run', 'rustc', 'rustdoc', 'test', 'update', - ]: - params[1:1] = ['--package', 'geckoservo'] - - self.set_use_geckolib_toolchain() - build_start = time() status = self.call_rustup_run(["cargo"] + params, env=env) elapsed = time() - build_start @@ -71,15 +59,6 @@ class MachCommands(CommandBase): def cargo(self, params): return self.run_cargo(params) - @Command('cargo-geckolib', - description='Run Cargo with the same compiler version and root crate as build-geckolib', - category='devenv') - @CommandArgument( - 'params', default=None, nargs='...', - help="Command-line arguments to be passed through to Cargo") - def cargo_geckolib(self, params): - return self.run_cargo(params, geckolib=True) - @Command('check', description='Run "cargo check"', category='devenv') @@ -89,15 +68,6 @@ class MachCommands(CommandBase): def check(self, params): return self.run_cargo(params, check=True) - @Command('check-geckolib', - description='Run "cargo check" with the same compiler version and root crate as build-geckolib', - category='devenv') - @CommandArgument( - 'params', default=None, nargs='...', - help="Command-line arguments to be passed through to cargo check") - def check_geckolib(self, params): - return self.run_cargo(params, check=True, geckolib=True) - @Command('cargo-update', description='Same as update-cargo', category='devenv') @@ -212,22 +182,6 @@ class MachCommands(CommandBase): self.ensure_bootstrapped() return self.call_rustup_run(["rustc"] + params, env=self.build_env()) - @Command('rustc-geckolib', - description='Run the Rust compiler with the same compiler version and root crate as build-geckolib', - category='devenv') - @CommandArgument( - 'params', default=None, nargs='...', - help="Command-line arguments to be passed through to rustc") - def rustc_geckolib(self, params): - if params is None: - params = [] - - self.set_use_geckolib_toolchain() - self.ensure_bootstrapped() - env = self.build_env(geckolib=True) - - return self.call_rustup_run(["rustc"] + params, env=env) - @Command('grep', description='`git grep` for selected directories.', category='devenv') diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index cac5531d8f4..e8e6d997ffd 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -295,28 +295,6 @@ class MachCommands(CommandBase): if err is not 0: return err - @Command('test-stylo', - description='Run stylo unit tests', - category='testing') - @CommandArgument('test_name', nargs=argparse.REMAINDER, - help="Only run tests that match this pattern or file path") - @CommandArgument('--release', default=False, action="store_true", - help="Run with a release build of servo") - def test_stylo(self, release=False, test_name=None): - self.set_use_geckolib_toolchain() - self.ensure_bootstrapped() - - env = self.build_env() - env["RUST_BACKTRACE"] = "1" - env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target", "geckolib").encode("UTF-8") - - args = ( - ["cargo", "test", "--manifest-path", self.geckolib_manifest(), "-p", "stylo_tests"] + - (["--release"] if release else []) + - (test_name or []) - ) - return self.call_rustup_run(args, env=env) - @Command('test-content', description='Run the content tests', category='testing') diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index 9208727cbb3..a53b9ebded9 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -490,7 +490,6 @@ def check_rust(file_name, lines): if not file_name.endswith(".rs") or \ file_name.endswith(".mako.rs") or \ file_name.endswith(os.path.join("style", "build.rs")) or \ - file_name.endswith(os.path.join("geckolib", "build.rs")) or \ file_name.endswith(os.path.join("unit", "style", "stylesheets.rs")): raise StopIteration diff --git a/servo-tidy.toml b/servo-tidy.toml index 6faea1a8d96..90d316726a4 100644 --- a/servo-tidy.toml +++ b/servo-tidy.toml @@ -55,11 +55,6 @@ files = [ "./components/style/properties/helpers/animated_properties.mako.rs", # Helper macro where actually a pseudo-element per line makes sense. "./components/style/gecko/non_ts_pseudo_class_list.rs", - # Generated and upstream code combined with our own. Could use cleanup - "./components/style/gecko/generated/bindings.rs", - "./components/style/gecko/generated/pseudo_element_definition.rs", - "./components/style/gecko/generated/structs.rs", - "./components/style/gecko/generated/atom_macro.rs", "./resources/hsts_preload.json", "./tests/wpt/metadata/MANIFEST.json", "./support/android/openssl.sh", diff --git a/support/gecko/nsstring/Cargo.toml b/support/gecko/nsstring/Cargo.toml deleted file mode 100644 index 7ff13f1d9a6..00000000000 --- a/support/gecko/nsstring/Cargo.toml +++ /dev/null @@ -1,13 +0,0 @@ -[package] -name = "nsstring" -version = "0.1.0" -authors = ["nobody@mozilla.com"] -license = "MPL-2.0" -description = "Rust bindings to xpcom string types" - -[features] -gecko_debug = [] - -[dependencies] -bitflags = "1.0" - diff --git a/support/gecko/nsstring/src/lib.rs b/support/gecko/nsstring/src/lib.rs deleted file mode 100644 index 8e96b9ef827..00000000000 --- a/support/gecko/nsstring/src/lib.rs +++ /dev/null @@ -1,1214 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -//! This module provides rust bindings for the XPCOM string types. -//! -//! # TL;DR (what types should I use) -//! -//! Use `&{mut,} nsA[C]String` for functions in rust which wish to take or -//! mutate XPCOM strings. The other string types `Deref` to this type. -//! -//! Use `ns[C]String` (`ns[C]String` in C++) for string struct members, and as -//! an intermediate between rust string data structures (such as `String` or -//! `Vec`) and `&{mut,} nsA[C]String` (using `ns[C]String::from(value)`). -//! These conversions will attempt to re-use the passed-in buffer, appending a -//! null. -//! -//! Use `ns[C]Str` (`nsDependent[C]String` in C++) as an intermediate between -//! borrowed rust data structures (such as `&str` and `&[u16]`) and `&{mut,} -//! nsA[C]String` (using `ns[C]Str::from(value)`). These conversions should not -//! perform any allocations. This type is not safe to share with `C++` as a -//! struct field, but passing the borrowed `&{mut,} nsA[C]String` over FFI is -//! safe. -//! -//! Use `*{const,mut} nsA[C]String` (`{const,} nsA[C]String*` in C++) for -//! function arguments passed across the rust/C++ language boundary. -//! -//! There is currently no Rust equivalent to nsAuto[C]String. Implementing a -//! type that contains a pointer to an inline buffer is difficult in Rust due -//! to its move semantics, which require that it be safe to move a value by -//! copying its bits. If such a type is genuinely needed at some point, -//! https://bugzilla.mozilla.org/show_bug.cgi?id=1403506#c6 has a sketch of how -//! to emulate it via macros. -//! -//! # String Types -//! -//! ## `nsA[C]String` -//! -//! The core types in this module are `nsAString` and `nsACString`. These types -//! are zero-sized as far as rust is concerned, and are safe to pass around -//! behind both references (in rust code), and pointers (in C++ code). They -//! represent a handle to a XPCOM string which holds either `u16` or `u8` -//! characters respectively. The backing character buffer is guaranteed to live -//! as long as the reference to the `nsAString` or `nsACString`. -//! -//! These types in rust are simply used as dummy types. References to them -//! represent a pointer to the beginning of a variable-sized `#[repr(C)]` struct -//! which is common between both C++ and Rust implementations. In C++, their -//! corresponding types are also named `nsAString` or `nsACString`, and they are -//! defined within the `nsTSubstring.{cpp,h}` file. -//! -//! ### Valid Operations -//! -//! An `&nsA[C]String` acts like rust's `&str`, in that it is a borrowed -//! reference to the backing data. When used as an argument to other functions -//! on `&mut nsA[C]String`, optimizations can be performed to avoid copying -//! buffers, as information about the backing storage is preserved. -//! -//! An `&mut nsA[C]String` acts like rust's `&mut Cow`, in that it is a -//! mutable reference to a potentially borrowed string, which when modified will -//! ensure that it owns its own backing storage. This type can be appended to -//! with the methods `.append`, `.append_utf{8,16}`, and with the `write!` -//! macro, and can be assigned to with `.assign`. -//! -//! ## `ns[C]Str<'a>` -//! -//! This type is an maybe-owned string type. It acts similarially to a -//! `Cow<[{u8,u16}]>`. This type provides `Deref` and `DerefMut` implementations -//! to `nsA[C]String`, which provides the methods for manipulating this type. -//! This type's lifetime parameter, `'a`, represents the lifetime of the backing -//! storage. When modified this type may re-allocate in order to ensure that it -//! does not mutate its backing storage. -//! -//! `ns[C]Str`s can be constructed either with `ns[C]Str::new()`, which creates -//! an empty `ns[C]Str<'static>`, or through one of the provided `From` -//! implementations. Only `nsCStr` can be constructed `From<'a str>`, as -//! constructing a `nsStr` would require transcoding. Use `ns[C]String` instead. -//! -//! When passing this type by reference, prefer passing a `&nsA[C]String` or -//! `&mut nsA[C]String`. to passing this type. -//! -//! When passing this type across the language boundary, pass it as `*const -//! nsA[C]String` for an immutable reference, or `*mut nsA[C]String` for a -//! mutable reference. -//! -//! ## `ns[C]String` -//! -//! This type is an owned, null-terminated string type. This type provides -//! `Deref` and `DerefMut` implementations to `nsA[C]String`, which provides the -//! methods for manipulating this type. -//! -//! `ns[C]String`s can be constructed either with `ns[C]String::new()`, which -//! creates an empty `ns[C]String`, or through one of the provided `From` -//! implementations, which will try to avoid reallocating when possible, -//! although a terminating `null` will be added. -//! -//! When passing this type by reference, prefer passing a `&nsA[C]String` or -//! `&mut nsA[C]String`. to passing this type. -//! -//! When passing this type across the language boundary, pass it as `*const -//! nsA[C]String` for an immutable reference, or `*mut nsA[C]String` for a -//! mutable reference. This struct may also be included in `#[repr(C)]` structs -//! shared with C++. -//! -//! ## `ns[C]StringRepr` -//! -//! This crate also provides the type `ns[C]StringRepr` which acts conceptually -//! similar to an `ns[C]String`, however, it does not have a `Drop` -//! implementation. -//! -//! If this type is dropped in rust, it will not free its backing storage. This -//! can be useful when implementing FFI types which contain `ns[C]String` members -//! which invoke their member's destructors through C++ code. - -#![allow(non_camel_case_types)] - -#[macro_use] -extern crate bitflags; - -use std::borrow; -use std::cmp; -use std::fmt; -use std::marker::PhantomData; -use std::mem; -use std::ops::{Deref, DerefMut}; -use std::os::raw::c_void; -use std::slice; -use std::str; -use std::u32; - -/////////////////////////////////// -// Internal Implementation Flags // -/////////////////////////////////// - -mod data_flags { - bitflags! { - // While this has the same layout as u16, it cannot be passed - // over FFI safely as a u16. - #[repr(C)] - pub struct DataFlags: u16 { - const TERMINATED = 1 << 0; // IsTerminated returns true - const VOIDED = 1 << 1; // IsVoid returns true - const REFCOUNTED = 1 << 2; // mData points to a heap-allocated, shareable, refcounted - // buffer - const OWNED = 1 << 3; // mData points to a heap-allocated, raw buffer - const INLINE = 1 << 4; // mData points to a writable, inline buffer - const LITERAL = 1 << 5; // mData points to a string literal; TERMINATED will also be set - } - } -} - -mod class_flags { - bitflags! { - // While this has the same layout as u16, it cannot be passed - // over FFI safely as a u16. - #[repr(C)] - pub struct ClassFlags: u16 { - const INLINE = 1 << 0; // |this|'s buffer is inline - const NULL_TERMINATED = 1 << 1; // |this| requires its buffer is null-terminated - } - } -} - -use class_flags::ClassFlags; -use data_flags::DataFlags; - -//////////////////////////////////// -// Generic String Bindings Macros // -//////////////////////////////////// - -macro_rules! define_string_types { - { - char_t = $char_t: ty; - - AString = $AString: ident; - String = $String: ident; - Str = $Str: ident; - - StringLike = $StringLike: ident; - StringAdapter = $StringAdapter: ident; - - StringRepr = $StringRepr: ident; - - drop = $drop: ident; - assign = $assign: ident, $fallible_assign: ident; - take_from = $take_from: ident, $fallible_take_from: ident; - append = $append: ident, $fallible_append: ident; - set_length = $set_length: ident, $fallible_set_length: ident; - begin_writing = $begin_writing: ident, $fallible_begin_writing: ident; - } => { - /// The representation of a ns[C]String type in C++. This type is - /// used internally by our definition of ns[C]String to ensure layout - /// compatibility with the C++ ns[C]String type. - /// - /// This type may also be used in place of a C++ ns[C]String inside of - /// struct definitions which are shared with C++, as it has identical - /// layout to our ns[C]String type. - /// - /// This struct will leak its data if dropped from rust. See the module - /// documentation for more information on this type. - #[repr(C)] - #[derive(Debug)] - pub struct $StringRepr { - data: *const $char_t, - length: u32, - dataflags: DataFlags, - classflags: ClassFlags, - } - - impl $StringRepr { - fn new(classflags: ClassFlags) -> $StringRepr { - static NUL: $char_t = 0; - $StringRepr { - data: &NUL, - length: 0, - dataflags: DataFlags::TERMINATED | DataFlags::LITERAL, - classflags: classflags, - } - } - } - - impl Deref for $StringRepr { - type Target = $AString; - fn deref(&self) -> &$AString { - unsafe { - mem::transmute(self) - } - } - } - - impl DerefMut for $StringRepr { - fn deref_mut(&mut self) -> &mut $AString { - unsafe { - mem::transmute(self) - } - } - } - - /// This type is the abstract type which is used for interacting with - /// strings in rust. Each string type can derefence to an instance of - /// this type, which provides the useful operations on strings. - /// - /// NOTE: Rust thinks this type has a size of 0, because the data - /// associated with it is not necessarially safe to move. It is not safe - /// to construct a nsAString yourself, unless it is received by - /// dereferencing one of these types. - /// - /// NOTE: The `[u8; 0]` member is zero sized, and only exists to prevent - /// the construction by code outside of this module. It is used instead - /// of a private `()` member because the `improper_ctypes` lint complains - /// about some ZST members in `extern "C"` function declarations. - #[repr(C)] - pub struct $AString { - _prohibit_constructor: [u8; 0], - } - - impl $AString { - /// Assign the value of `other` into self, overwriting any value - /// currently stored. Performs an optimized assignment when possible - /// if `other` is a `nsA[C]String`. - pub fn assign(&mut self, other: &T) { - unsafe { $assign(self, other.adapt().as_ptr()) }; - } - - /// Assign the value of `other` into self, overwriting any value - /// currently stored. Performs an optimized assignment when possible - /// if `other` is a `nsA[C]String`. - /// - /// Returns Ok(()) on success, and Err(()) if the allocation failed. - pub fn fallible_assign(&mut self, other: &T) -> Result<(), ()> { - if unsafe { $fallible_assign(self, other.adapt().as_ptr()) } { - Ok(()) - } else { - Err(()) - } - } - - /// Take the value of `other` and set `self`, overwriting any value - /// currently stored. The passed-in string will be truncated. - pub fn take_from(&mut self, other: &mut $AString) { - unsafe { $take_from(self, other) }; - } - - /// Take the value of `other` and set `self`, overwriting any value - /// currently stored. If this function fails, the source string will - /// be left untouched, otherwise it will be truncated. - /// - /// Returns Ok(()) on success, and Err(()) if the allocation failed. - pub fn fallible_take_from(&mut self, other: &mut $AString) -> Result<(), ()> { - if unsafe { $fallible_take_from(self, other) } { - Ok(()) - } else { - Err(()) - } - } - - /// Append the value of `other` into self. - pub fn append(&mut self, other: &T) { - unsafe { $append(self, other.adapt().as_ptr()) }; - } - - /// Append the value of `other` into self. - /// - /// Returns Ok(()) on success, and Err(()) if the allocation failed. - pub fn fallible_append(&mut self, other: &T) -> Result<(), ()> { - if unsafe { $fallible_append(self, other.adapt().as_ptr()) } { - Ok(()) - } else { - Err(()) - } - } - - /// Set the length of the string to the passed-in length, and expand - /// the backing capacity to match. This method is unsafe as it can - /// expose uninitialized memory when len is greater than the current - /// length of the string. - pub unsafe fn set_length(&mut self, len: u32) { - $set_length(self, len); - } - - /// Set the length of the string to the passed-in length, and expand - /// the backing capacity to match. This method is unsafe as it can - /// expose uninitialized memory when len is greater than the current - /// length of the string. - /// - /// Returns Ok(()) on success, and Err(()) if the allocation failed. - pub unsafe fn fallible_set_length(&mut self, len: u32) -> Result<(), ()> { - if $fallible_set_length(self, len) { - Ok(()) - } else { - Err(()) - } - } - - pub fn truncate(&mut self) { - unsafe { - self.set_length(0); - } - } - - /// Get a `&mut` reference to the backing data for this string. - /// This method will allocate and copy if the current backing buffer - /// is immutable or shared. - pub fn to_mut(&mut self) -> &mut [$char_t] { - unsafe { - let len = self.len(); - if len == 0 { - // Use an arbitrary non-null value as the pointer - slice::from_raw_parts_mut(0x1 as *mut $char_t, 0) - } else { - slice::from_raw_parts_mut($begin_writing(self), len) - } - } - } - - /// Get a `&mut` reference to the backing data for this string. - /// This method will allocate and copy if the current backing buffer - /// is immutable or shared. - /// - /// Returns `Ok(&mut [T])` on success, and `Err(())` if the - /// allocation failed. - pub fn fallible_to_mut(&mut self) -> Result<&mut [$char_t], ()> { - unsafe { - let len = self.len(); - if len == 0 { - // Use an arbitrary non-null value as the pointer - Ok(slice::from_raw_parts_mut(0x1 as *mut $char_t, 0)) - } else { - let ptr = $fallible_begin_writing(self); - if ptr.is_null() { - Err(()) - } else { - Ok(slice::from_raw_parts_mut(ptr, len)) - } - } - } - } - - } - - impl Deref for $AString { - type Target = [$char_t]; - fn deref(&self) -> &[$char_t] { - unsafe { - // All $AString values point to a struct prefix which is - // identical to $StringRepr, this we can transmute `self` - // into $StringRepr to get the reference to the underlying - // data. - let this: &$StringRepr = mem::transmute(self); - if this.data.is_null() { - debug_assert_eq!(this.length, 0); - // Use an arbitrary non-null value as the pointer - slice::from_raw_parts(0x1 as *const $char_t, 0) - } else { - slice::from_raw_parts(this.data, this.length as usize) - } - } - } - } - - impl AsRef<[$char_t]> for $AString { - fn as_ref(&self) -> &[$char_t] { - self - } - } - - impl cmp::PartialEq for $AString { - fn eq(&self, other: &$AString) -> bool { - &self[..] == &other[..] - } - } - - impl cmp::PartialEq<[$char_t]> for $AString { - fn eq(&self, other: &[$char_t]) -> bool { - &self[..] == other - } - } - - impl cmp::PartialEq<$String> for $AString { - fn eq(&self, other: &$String) -> bool { - self.eq(&**other) - } - } - - impl<'a> cmp::PartialEq<$Str<'a>> for $AString { - fn eq(&self, other: &$Str<'a>) -> bool { - self.eq(&**other) - } - } - - #[repr(C)] - pub struct $Str<'a> { - hdr: $StringRepr, - _marker: PhantomData<&'a [$char_t]>, - } - - impl $Str<'static> { - pub fn new() -> $Str<'static> { - $Str { - hdr: $StringRepr::new(ClassFlags::empty()), - _marker: PhantomData, - } - } - } - - impl<'a> Drop for $Str<'a> { - fn drop(&mut self) { - unsafe { - $drop(&mut **self); - } - } - } - - impl<'a> Deref for $Str<'a> { - type Target = $AString; - fn deref(&self) -> &$AString { - &self.hdr - } - } - - impl<'a> DerefMut for $Str<'a> { - fn deref_mut(&mut self) -> &mut $AString { - &mut self.hdr - } - } - - impl<'a> AsRef<[$char_t]> for $Str<'a> { - fn as_ref(&self) -> &[$char_t] { - &self - } - } - - impl<'a> From<&'a [$char_t]> for $Str<'a> { - fn from(s: &'a [$char_t]) -> $Str<'a> { - assert!(s.len() < (u32::MAX as usize)); - if s.is_empty() { - return $Str::new(); - } - $Str { - hdr: $StringRepr { - data: s.as_ptr(), - length: s.len() as u32, - dataflags: DataFlags::empty(), - classflags: ClassFlags::empty(), - }, - _marker: PhantomData, - } - } - } - - impl<'a> From<&'a Vec<$char_t>> for $Str<'a> { - fn from(s: &'a Vec<$char_t>) -> $Str<'a> { - $Str::from(&s[..]) - } - } - - impl<'a> From<&'a $AString> for $Str<'a> { - fn from(s: &'a $AString) -> $Str<'a> { - $Str::from(&s[..]) - } - } - - impl<'a> fmt::Write for $Str<'a> { - fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { - $AString::write_str(self, s) - } - } - - impl<'a> fmt::Display for $Str<'a> { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - <$AString as fmt::Display>::fmt(self, f) - } - } - - impl<'a> fmt::Debug for $Str<'a> { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - <$AString as fmt::Debug>::fmt(self, f) - } - } - - impl<'a> cmp::PartialEq for $Str<'a> { - fn eq(&self, other: &$Str<'a>) -> bool { - $AString::eq(self, other) - } - } - - impl<'a> cmp::PartialEq<[$char_t]> for $Str<'a> { - fn eq(&self, other: &[$char_t]) -> bool { - $AString::eq(self, other) - } - } - - impl<'a, 'b> cmp::PartialEq<&'b [$char_t]> for $Str<'a> { - fn eq(&self, other: &&'b [$char_t]) -> bool { - $AString::eq(self, *other) - } - } - - impl<'a> cmp::PartialEq for $Str<'a> { - fn eq(&self, other: &str) -> bool { - $AString::eq(self, other) - } - } - - impl<'a, 'b> cmp::PartialEq<&'b str> for $Str<'a> { - fn eq(&self, other: &&'b str) -> bool { - $AString::eq(self, *other) - } - } - - #[repr(C)] - pub struct $String { - hdr: $StringRepr, - } - - unsafe impl Send for $String {} - unsafe impl Sync for $String {} - - impl $String { - pub fn new() -> $String { - $String { - hdr: $StringRepr::new(ClassFlags::NULL_TERMINATED), - } - } - - /// Converts this String into a StringRepr, which will leak if the - /// repr is not passed to something that knows how to free it. - pub fn into_repr(mut self) -> $StringRepr { - mem::replace(&mut self.hdr, $StringRepr::new(ClassFlags::NULL_TERMINATED)) - } - } - - impl Drop for $String { - fn drop(&mut self) { - unsafe { - $drop(&mut **self); - } - } - } - - impl Deref for $String { - type Target = $AString; - fn deref(&self) -> &$AString { - &self.hdr - } - } - - impl DerefMut for $String { - fn deref_mut(&mut self) -> &mut $AString { - &mut self.hdr - } - } - - impl AsRef<[$char_t]> for $String { - fn as_ref(&self) -> &[$char_t] { - &self - } - } - - impl<'a> From<&'a [$char_t]> for $String { - fn from(s: &'a [$char_t]) -> $String { - let mut res = $String::new(); - res.assign(&$Str::from(&s[..])); - res - } - } - - impl<'a> From<&'a Vec<$char_t>> for $String { - fn from(s: &'a Vec<$char_t>) -> $String { - $String::from(&s[..]) - } - } - - impl<'a> From<&'a $AString> for $String { - fn from(s: &'a $AString) -> $String { - $String::from(&s[..]) - } - } - - impl From> for $String { - fn from(s: Box<[$char_t]>) -> $String { - s.to_vec().into() - } - } - - impl From> for $String { - fn from(mut s: Vec<$char_t>) -> $String { - assert!(s.len() < (u32::MAX as usize)); - if s.is_empty() { - return $String::new(); - } - - let length = s.len() as u32; - s.push(0); // null terminator - - // SAFETY NOTE: This method produces an data_flags::OWNED - // ns[C]String from a Box<[$char_t]>. this is only safe - // because in the Gecko tree, we use the same allocator for - // Rust code as for C++ code, meaning that our box can be - // legally freed with libc::free(). - let ptr = s.as_ptr(); - mem::forget(s); - unsafe { - Gecko_IncrementStringAdoptCount(ptr as *mut _); - } - $String { - hdr: $StringRepr { - data: ptr, - length: length, - dataflags: DataFlags::OWNED | DataFlags::TERMINATED, - classflags: ClassFlags::NULL_TERMINATED, - } - } - } - } - - impl fmt::Write for $String { - fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { - $AString::write_str(self, s) - } - } - - impl fmt::Display for $String { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - <$AString as fmt::Display>::fmt(self, f) - } - } - - impl fmt::Debug for $String { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - <$AString as fmt::Debug>::fmt(self, f) - } - } - - impl cmp::PartialEq for $String { - fn eq(&self, other: &$String) -> bool { - $AString::eq(self, other) - } - } - - impl cmp::PartialEq<[$char_t]> for $String { - fn eq(&self, other: &[$char_t]) -> bool { - $AString::eq(self, other) - } - } - - impl<'a> cmp::PartialEq<&'a [$char_t]> for $String { - fn eq(&self, other: &&'a [$char_t]) -> bool { - $AString::eq(self, *other) - } - } - - impl cmp::PartialEq for $String { - fn eq(&self, other: &str) -> bool { - $AString::eq(self, other) - } - } - - impl<'a> cmp::PartialEq<&'a str> for $String { - fn eq(&self, other: &&'a str) -> bool { - $AString::eq(self, *other) - } - } - - /// An adapter type to allow for passing both types which coerce to - /// &[$char_type], and &$AString to a function, while still performing - /// optimized operations when passed the $AString. - pub enum $StringAdapter<'a> { - Borrowed($Str<'a>), - Abstract(&'a $AString), - } - - impl<'a> $StringAdapter<'a> { - fn as_ptr(&self) -> *const $AString { - &**self - } - } - - impl<'a> Deref for $StringAdapter<'a> { - type Target = $AString; - - fn deref(&self) -> &$AString { - match *self { - $StringAdapter::Borrowed(ref s) => s, - $StringAdapter::Abstract(ref s) => s, - } - } - } - - /// This trait is implemented on types which are `ns[C]String`-like, in - /// that they can at very low cost be converted to a borrowed - /// `&nsA[C]String`. Unfortunately, the intermediate type - /// `ns[C]StringAdapter` is required as well due to types like `&[u8]` - /// needing to be (cheaply) wrapped in a `nsCString` on the stack to - /// create the `&nsACString`. - /// - /// This trait is used to DWIM when calling the methods on - /// `nsA[C]String`. - pub trait $StringLike { - fn adapt(&self) -> $StringAdapter; - } - - impl<'a, T: $StringLike + ?Sized> $StringLike for &'a T { - fn adapt(&self) -> $StringAdapter { - ::adapt(*self) - } - } - - impl<'a, T> $StringLike for borrow::Cow<'a, T> - where T: $StringLike + borrow::ToOwned + ?Sized { - fn adapt(&self) -> $StringAdapter { - ::adapt(self.as_ref()) - } - } - - impl $StringLike for $AString { - fn adapt(&self) -> $StringAdapter { - $StringAdapter::Abstract(self) - } - } - - impl<'a> $StringLike for $Str<'a> { - fn adapt(&self) -> $StringAdapter { - $StringAdapter::Abstract(self) - } - } - - impl $StringLike for $String { - fn adapt(&self) -> $StringAdapter { - $StringAdapter::Abstract(self) - } - } - - impl $StringLike for [$char_t] { - fn adapt(&self) -> $StringAdapter { - $StringAdapter::Borrowed($Str::from(self)) - } - } - - impl $StringLike for Vec<$char_t> { - fn adapt(&self) -> $StringAdapter { - $StringAdapter::Borrowed($Str::from(&self[..])) - } - } - - impl $StringLike for Box<[$char_t]> { - fn adapt(&self) -> $StringAdapter { - $StringAdapter::Borrowed($Str::from(&self[..])) - } - } - } -} - -/////////////////////////////////////////// -// Bindings for nsCString (u8 char type) // -/////////////////////////////////////////// - -define_string_types! { - char_t = u8; - - AString = nsACString; - String = nsCString; - Str = nsCStr; - - StringLike = nsCStringLike; - StringAdapter = nsCStringAdapter; - - StringRepr = nsCStringRepr; - - drop = Gecko_FinalizeCString; - assign = Gecko_AssignCString, Gecko_FallibleAssignCString; - take_from = Gecko_TakeFromCString, Gecko_FallibleTakeFromCString; - append = Gecko_AppendCString, Gecko_FallibleAppendCString; - set_length = Gecko_SetLengthCString, Gecko_FallibleSetLengthCString; - begin_writing = Gecko_BeginWritingCString, Gecko_FallibleBeginWritingCString; -} - -impl nsACString { - pub fn assign_utf16(&mut self, other: &T) { - self.truncate(); - self.append_utf16(other); - } - - pub fn fallible_assign_utf16(&mut self, other: &T) -> Result<(), ()> { - self.truncate(); - self.fallible_append_utf16(other) - } - - pub fn append_utf16(&mut self, other: &T) { - unsafe { - Gecko_AppendUTF16toCString(self, other.adapt().as_ptr()); - } - } - - pub fn fallible_append_utf16(&mut self, other: &T) -> Result<(), ()> { - if unsafe { Gecko_FallibleAppendUTF16toCString(self, other.adapt().as_ptr()) } { - Ok(()) - } else { - Err(()) - } - } - - pub unsafe fn as_str_unchecked(&self) -> &str { - str::from_utf8_unchecked(self) - } -} - -impl<'a> From<&'a str> for nsCStr<'a> { - fn from(s: &'a str) -> nsCStr<'a> { - s.as_bytes().into() - } -} - -impl<'a> From<&'a String> for nsCStr<'a> { - fn from(s: &'a String) -> nsCStr<'a> { - nsCStr::from(&s[..]) - } -} - -impl<'a> From<&'a str> for nsCString { - fn from(s: &'a str) -> nsCString { - s.as_bytes().into() - } -} - -impl<'a> From<&'a String> for nsCString { - fn from(s: &'a String) -> nsCString { - nsCString::from(&s[..]) - } -} - -impl From> for nsCString { - fn from(s: Box) -> nsCString { - s.into_string().into() - } -} - -impl From for nsCString { - fn from(s: String) -> nsCString { - s.into_bytes().into() - } -} - -// Support for the write!() macro for appending to nsACStrings -impl fmt::Write for nsACString { - fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { - self.append(s); - Ok(()) - } -} - -impl fmt::Display for nsACString { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - fmt::Display::fmt(&String::from_utf8_lossy(&self[..]), f) - } -} - -impl fmt::Debug for nsACString { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - fmt::Debug::fmt(&String::from_utf8_lossy(&self[..]), f) - } -} - -impl cmp::PartialEq for nsACString { - fn eq(&self, other: &str) -> bool { - &self[..] == other.as_bytes() - } -} - -impl nsCStringLike for str { - fn adapt(&self) -> nsCStringAdapter { - nsCStringAdapter::Borrowed(nsCStr::from(self)) - } -} - -impl nsCStringLike for String { - fn adapt(&self) -> nsCStringAdapter { - nsCStringAdapter::Borrowed(nsCStr::from(&self[..])) - } -} - -impl nsCStringLike for Box { - fn adapt(&self) -> nsCStringAdapter { - nsCStringAdapter::Borrowed(nsCStr::from(&self[..])) - } -} - -/////////////////////////////////////////// -// Bindings for nsString (u16 char type) // -/////////////////////////////////////////// - -define_string_types! { - char_t = u16; - - AString = nsAString; - String = nsString; - Str = nsStr; - - StringLike = nsStringLike; - StringAdapter = nsStringAdapter; - - StringRepr = nsStringRepr; - - drop = Gecko_FinalizeString; - assign = Gecko_AssignString, Gecko_FallibleAssignString; - take_from = Gecko_TakeFromString, Gecko_FallibleTakeFromString; - append = Gecko_AppendString, Gecko_FallibleAppendString; - set_length = Gecko_SetLengthString, Gecko_FallibleSetLengthString; - begin_writing = Gecko_BeginWritingString, Gecko_FallibleBeginWritingString; -} - -impl nsAString { - pub fn assign_utf8(&mut self, other: &T) { - self.truncate(); - self.append_utf8(other); - } - - pub fn fallible_assign_utf8(&mut self, other: &T) -> Result<(), ()> { - self.truncate(); - self.fallible_append_utf8(other) - } - - pub fn append_utf8(&mut self, other: &T) { - unsafe { - Gecko_AppendUTF8toString(self, other.adapt().as_ptr()); - } - } - - pub fn fallible_append_utf8(&mut self, other: &T) -> Result<(), ()> { - if unsafe { Gecko_FallibleAppendUTF8toString(self, other.adapt().as_ptr()) } { - Ok(()) - } else { - Err(()) - } - } -} - -// NOTE: The From impl for a string slice for nsString produces a <'static> -// lifetime, as it allocates. -impl<'a> From<&'a str> for nsString { - fn from(s: &'a str) -> nsString { - s.encode_utf16().collect::>().into() - } -} - -impl<'a> From<&'a String> for nsString { - fn from(s: &'a String) -> nsString { - nsString::from(&s[..]) - } -} - -// Support for the write!() macro for writing to nsStrings -impl fmt::Write for nsAString { - fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { - // Directly invoke gecko's routines for appending utf8 strings to - // nsAString values, to avoid as much overhead as possible - self.append_utf8(s); - Ok(()) - } -} - -impl fmt::Display for nsAString { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - fmt::Display::fmt(&String::from_utf16_lossy(&self[..]), f) - } -} - -impl fmt::Debug for nsAString { - fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - fmt::Debug::fmt(&String::from_utf16_lossy(&self[..]), f) - } -} - -impl cmp::PartialEq for nsAString { - fn eq(&self, other: &str) -> bool { - other.encode_utf16().eq(self.iter().cloned()) - } -} - -#[cfg(not(feature = "gecko_debug"))] -#[allow(non_snake_case)] -unsafe fn Gecko_IncrementStringAdoptCount(_: *mut c_void) {} - -extern "C" { - #[cfg(feature = "gecko_debug")] - fn Gecko_IncrementStringAdoptCount(data: *mut c_void); - - // Gecko implementation in nsSubstring.cpp - fn Gecko_FinalizeCString(this: *mut nsACString); - - fn Gecko_AssignCString(this: *mut nsACString, other: *const nsACString); - fn Gecko_TakeFromCString(this: *mut nsACString, other: *mut nsACString); - fn Gecko_AppendCString(this: *mut nsACString, other: *const nsACString); - fn Gecko_SetLengthCString(this: *mut nsACString, length: u32); - fn Gecko_BeginWritingCString(this: *mut nsACString) -> *mut u8; - fn Gecko_FallibleAssignCString(this: *mut nsACString, other: *const nsACString) -> bool; - fn Gecko_FallibleTakeFromCString(this: *mut nsACString, other: *mut nsACString) -> bool; - fn Gecko_FallibleAppendCString(this: *mut nsACString, other: *const nsACString) -> bool; - fn Gecko_FallibleSetLengthCString(this: *mut nsACString, length: u32) -> bool; - fn Gecko_FallibleBeginWritingCString(this: *mut nsACString) -> *mut u8; - - fn Gecko_FinalizeString(this: *mut nsAString); - - fn Gecko_AssignString(this: *mut nsAString, other: *const nsAString); - fn Gecko_TakeFromString(this: *mut nsAString, other: *mut nsAString); - fn Gecko_AppendString(this: *mut nsAString, other: *const nsAString); - fn Gecko_SetLengthString(this: *mut nsAString, length: u32); - fn Gecko_BeginWritingString(this: *mut nsAString) -> *mut u16; - fn Gecko_FallibleAssignString(this: *mut nsAString, other: *const nsAString) -> bool; - fn Gecko_FallibleTakeFromString(this: *mut nsAString, other: *mut nsAString) -> bool; - fn Gecko_FallibleAppendString(this: *mut nsAString, other: *const nsAString) -> bool; - fn Gecko_FallibleSetLengthString(this: *mut nsAString, length: u32) -> bool; - fn Gecko_FallibleBeginWritingString(this: *mut nsAString) -> *mut u16; - - // Gecko implementation in nsReadableUtils.cpp - fn Gecko_AppendUTF16toCString(this: *mut nsACString, other: *const nsAString); - fn Gecko_AppendUTF8toString(this: *mut nsAString, other: *const nsACString); - fn Gecko_FallibleAppendUTF16toCString(this: *mut nsACString, other: *const nsAString) -> bool; - fn Gecko_FallibleAppendUTF8toString(this: *mut nsAString, other: *const nsACString) -> bool; -} - -////////////////////////////////////// -// Repr Validation Helper Functions // -////////////////////////////////////// - -pub mod test_helpers { - //! This module only exists to help with ensuring that the layout of the - //! structs inside of rust and C++ are identical. - //! - //! It is public to ensure that these testing functions are avaliable to - //! gtest code. - - use std::mem; - use super::{ClassFlags, DataFlags}; - use super::{nsCStr, nsCString, nsCStringRepr}; - use super::{nsStr, nsString, nsStringRepr}; - - /// Generates an #[no_mangle] extern "C" function which returns the size and - /// alignment of the given type with the given name. - macro_rules! size_align_check { - ($T:ty, $fname:ident) => { - #[no_mangle] - #[allow(non_snake_case)] - pub extern fn $fname(size: *mut usize, align: *mut usize) { - unsafe { - *size = mem::size_of::<$T>(); - *align = mem::align_of::<$T>(); - } - } - }; - ($T:ty, $U:ty, $V:ty, $fname:ident) => { - #[no_mangle] - #[allow(non_snake_case)] - pub extern fn $fname(size: *mut usize, align: *mut usize) { - unsafe { - *size = mem::size_of::<$T>(); - *align = mem::align_of::<$T>(); - - assert_eq!(*size, mem::size_of::<$U>()); - assert_eq!(*align, mem::align_of::<$U>()); - assert_eq!(*size, mem::size_of::<$V>()); - assert_eq!(*align, mem::align_of::<$V>()); - } - } - } - } - - size_align_check!(nsStringRepr, nsString, nsStr<'static>, - Rust_Test_ReprSizeAlign_nsString); - size_align_check!(nsCStringRepr, nsCString, nsCStr<'static>, - Rust_Test_ReprSizeAlign_nsCString); - - /// Generates a $[no_mangle] extern "C" function which returns the size, - /// alignment and offset in the parent struct of a given member, with the - /// given name. - /// - /// This method can trigger Undefined Behavior if the accessing the member - /// $member on a given type would use that type's `Deref` implementation. - macro_rules! member_check { - ($T:ty, $member:ident, $method:ident) => { - #[no_mangle] - #[allow(non_snake_case)] - pub extern fn $method(size: *mut usize, - align: *mut usize, - offset: *mut usize) { - unsafe { - // Create a temporary value of type T to get offsets, sizes - // and aligns off of - let tmp: $T = mem::zeroed(); - *size = mem::size_of_val(&tmp.$member); - *align = mem::align_of_val(&tmp.$member); - *offset = - (&tmp.$member as *const _ as usize) - - (&tmp as *const _ as usize); - mem::forget(tmp); - } - } - }; - ($T:ty, $U:ty, $V:ty, $member:ident, $method:ident) => { - #[no_mangle] - #[allow(non_snake_case)] - pub extern fn $method(size: *mut usize, - align: *mut usize, - offset: *mut usize) { - unsafe { - // Create a temporary value of type T to get offsets, sizes - // and alignments from. - let tmp: $T = mem::zeroed(); - *size = mem::size_of_val(&tmp.$member); - *align = mem::align_of_val(&tmp.$member); - *offset = - (&tmp.$member as *const _ as usize) - - (&tmp as *const _ as usize); - mem::forget(tmp); - - let tmp: $U = mem::zeroed(); - assert_eq!(*size, mem::size_of_val(&tmp.hdr.$member)); - assert_eq!(*align, mem::align_of_val(&tmp.hdr.$member)); - assert_eq!(*offset, - (&tmp.hdr.$member as *const _ as usize) - - (&tmp as *const _ as usize)); - mem::forget(tmp); - - let tmp: $V = mem::zeroed(); - assert_eq!(*size, mem::size_of_val(&tmp.hdr.$member)); - assert_eq!(*align, mem::align_of_val(&tmp.hdr.$member)); - assert_eq!(*offset, - (&tmp.hdr.$member as *const _ as usize) - - (&tmp as *const _ as usize)); - mem::forget(tmp); - } - } - } - } - - member_check!(nsStringRepr, nsString, nsStr<'static>, - data, Rust_Test_Member_nsString_mData); - member_check!(nsStringRepr, nsString, nsStr<'static>, - length, Rust_Test_Member_nsString_mLength); - member_check!(nsStringRepr, nsString, nsStr<'static>, - dataflags, Rust_Test_Member_nsString_mDataFlags); - member_check!(nsStringRepr, nsString, nsStr<'static>, - classflags, Rust_Test_Member_nsString_mClassFlags); - member_check!(nsCStringRepr, nsCString, nsCStr<'static>, - data, Rust_Test_Member_nsCString_mData); - member_check!(nsCStringRepr, nsCString, nsCStr<'static>, - length, Rust_Test_Member_nsCString_mLength); - member_check!(nsCStringRepr, nsCString, nsCStr<'static>, - dataflags, Rust_Test_Member_nsCString_mDataFlags); - member_check!(nsCStringRepr, nsCString, nsCStr<'static>, - classflags, Rust_Test_Member_nsCString_mClassFlags); - - #[no_mangle] - #[allow(non_snake_case)] - pub extern fn Rust_Test_NsStringFlags(f_terminated: *mut u16, - f_voided: *mut u16, - f_refcounted: *mut u16, - f_owned: *mut u16, - f_inline: *mut u16, - f_literal: *mut u16, - f_class_inline: *mut u16, - f_class_null_terminated: *mut u16) { - unsafe { - *f_terminated = DataFlags::TERMINATED.bits(); - *f_voided = DataFlags::VOIDED.bits(); - *f_refcounted = DataFlags::REFCOUNTED.bits(); - *f_owned = DataFlags::OWNED.bits(); - *f_inline = DataFlags::INLINE.bits(); - *f_literal = DataFlags::LITERAL.bits(); - *f_class_inline = ClassFlags::INLINE.bits(); - *f_class_null_terminated = ClassFlags::NULL_TERMINATED.bits(); - } - } -} diff --git a/tests/unit/style/lib.rs b/tests/unit/style/lib.rs index 9bcc92965e8..d8e5464b75e 100644 --- a/tests/unit/style/lib.rs +++ b/tests/unit/style/lib.rs @@ -32,7 +32,6 @@ mod parsing; mod properties; mod rule_tree; mod size_of; -#[path = "../../../ports/geckolib/tests/specified_values.rs"] mod specified_values; mod str; mod stylesheets; diff --git a/ports/geckolib/tests/specified_values.rs b/tests/unit/style/specified_values.rs similarity index 100% rename from ports/geckolib/tests/specified_values.rs rename to tests/unit/style/specified_values.rs