servo: Merge #13221 - Resync bindings (from Manishearth:resync); r=emilio
authorManish Goregaokar <manishsmail@gmail.com>
Sat, 10 Sep 2016 20:18:35 -0500
changeset 339678 604658c3f4227d14a4af7015cbbf14722b13b221
parent 339677 60be4c7dd3a509b09e9474aee7831dcd69361412
child 339679 95b2294ee103a8d1537dad756b9404d2070d34da
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
servo: Merge #13221 - Resync bindings (from Manishearth:resync); r=emilio New atoms were added. r? @bholley Source-Repo: https://github.com/servo/servo Source-Revision: 77651959e2ccab73d6785a67e242d85445e81dfb
servo/components/style/generated/gecko_pseudo_element_helper.rs
servo/ports/geckolib/string_cache/atom_macro.rs
--- a/servo/components/style/generated/gecko_pseudo_element_helper.rs
+++ b/servo/components/style/generated/gecko_pseudo_element_helper.rs
@@ -89,16 +89,19 @@
                     atom!(":-moz-range-thumb"),
                     false);
     pseudo_element!(":-moz-meter-bar",
                     atom!(":-moz-meter-bar"),
                     false);
     pseudo_element!(":-moz-placeholder",
                     atom!(":-moz-placeholder"),
                     false);
+    pseudo_element!(":placeholder",
+                    atom!(":placeholder"),
+                    false);
     pseudo_element!(":-moz-color-swatch",
                     atom!(":-moz-color-swatch"),
                     false);
     pseudo_element!(":-moz-text",
                     atom!(":-moz-text"),
                     true);
     pseudo_element!(":-moz-other-non-element",
                     atom!(":-moz-other-non-element"),
--- a/servo/ports/geckolib/string_cache/atom_macro.rs
+++ b/servo/ports/geckolib/string_cache/atom_macro.rs
@@ -577,16 +577,18 @@ pub enum nsICSSAnonBoxPseudo {}
             #[link_name = "_ZN9nsGkAtoms21disableOutputEscapingE"]
             pub static nsGkAtoms_disableOutputEscaping: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms8disabledE"]
             pub static nsGkAtoms_disabled: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms20disableglobalhistoryE"]
             pub static nsGkAtoms_disableglobalhistory: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms14disablehistoryE"]
             pub static nsGkAtoms_disablehistory: *mut nsIAtom;
+            #[link_name = "_ZN9nsGkAtoms17disablefullscreenE"]
+            pub static nsGkAtoms_disablefullscreen: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms7displayE"]
             pub static nsGkAtoms_display: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms11displayModeE"]
             pub static nsGkAtoms_displayMode: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms8distinctE"]
             pub static nsGkAtoms_distinct: *mut nsIAtom;
             #[link_name = "_ZN9nsGkAtoms3divE"]
             pub static nsGkAtoms_div: *mut nsIAtom;
@@ -4807,16 +4809,18 @@ pub enum nsICSSAnonBoxPseudo {}
             #[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 = "_ZN14nsCSSAnonBoxes7mozTextE"]
             pub static nsCSSAnonBoxes_mozText: *mut nsICSSAnonBoxPseudo;
             #[link_name = "_ZN14nsCSSAnonBoxes18mozOtherNonElementE"]
             pub static nsCSSAnonBoxes_mozOtherNonElement: *mut nsICSSAnonBoxPseudo;
             #[link_name = "_ZN14nsCSSAnonBoxes17mozAnonymousBlockE"]
             pub static nsCSSAnonBoxes_mozAnonymousBlock: *mut nsICSSAnonBoxPseudo;
@@ -5492,16 +5496,18 @@ pub enum nsICSSAnonBoxPseudo {}
             #[link_name = "?disableOutputEscaping@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_disableOutputEscaping: *mut nsIAtom;
             #[link_name = "?disabled@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_disabled: *mut nsIAtom;
             #[link_name = "?disableglobalhistory@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_disableglobalhistory: *mut nsIAtom;
             #[link_name = "?disablehistory@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_disablehistory: *mut nsIAtom;
+            #[link_name = "?disablefullscreen@nsGkAtoms@@2PEAVnsIAtom@@EA"]
+            pub static nsGkAtoms_disablefullscreen: *mut nsIAtom;
             #[link_name = "?display@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_display: *mut nsIAtom;
             #[link_name = "?displayMode@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_displayMode: *mut nsIAtom;
             #[link_name = "?distinct@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_distinct: *mut nsIAtom;
             #[link_name = "?div@nsGkAtoms@@2PEAVnsIAtom@@EA"]
             pub static nsGkAtoms_div: *mut nsIAtom;
@@ -9722,16 +9728,18 @@ pub enum nsICSSAnonBoxPseudo {}
             #[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 = "?mozText@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"]
             pub static nsCSSAnonBoxes_mozText: *mut nsICSSAnonBoxPseudo;
             #[link_name = "?mozOtherNonElement@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"]
             pub static nsCSSAnonBoxes_mozOtherNonElement: *mut nsICSSAnonBoxPseudo;
             #[link_name = "?mozAnonymousBlock@nsCSSAnonBoxes@@2PEAVnsICSSAnonBoxPseudo@@EA"]
             pub static nsCSSAnonBoxes_mozAnonymousBlock: *mut nsICSSAnonBoxPseudo;
@@ -10407,16 +10415,18 @@ pub enum nsICSSAnonBoxPseudo {}
             #[link_name = "\x01?disableOutputEscaping@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_disableOutputEscaping: *mut nsIAtom;
             #[link_name = "\x01?disabled@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_disabled: *mut nsIAtom;
             #[link_name = "\x01?disableglobalhistory@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_disableglobalhistory: *mut nsIAtom;
             #[link_name = "\x01?disablehistory@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_disablehistory: *mut nsIAtom;
+            #[link_name = "\x01?disablefullscreen@nsGkAtoms@@2PAVnsIAtom@@A"]
+            pub static nsGkAtoms_disablefullscreen: *mut nsIAtom;
             #[link_name = "\x01?display@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_display: *mut nsIAtom;
             #[link_name = "\x01?displayMode@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_displayMode: *mut nsIAtom;
             #[link_name = "\x01?distinct@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_distinct: *mut nsIAtom;
             #[link_name = "\x01?div@nsGkAtoms@@2PAVnsIAtom@@A"]
             pub static nsGkAtoms_div: *mut nsIAtom;
@@ -14637,16 +14647,18 @@ pub enum nsICSSAnonBoxPseudo {}
             #[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?mozText@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"]
             pub static nsCSSAnonBoxes_mozText: *mut nsICSSAnonBoxPseudo;
             #[link_name = "\x01?mozOtherNonElement@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"]
             pub static nsCSSAnonBoxes_mozOtherNonElement: *mut nsICSSAnonBoxPseudo;
             #[link_name = "\x01?mozAnonymousBlock@nsCSSAnonBoxes@@2PAVnsICSSAnonBoxPseudo@@A"]
             pub static nsCSSAnonBoxes_mozAnonymousBlock: *mut nsICSSAnonBoxPseudo;
@@ -15044,16 +15056,17 @@ macro_rules! atom {
 ("dir") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_dir as *mut _) };
 ("dirAutoSetBy") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_dirAutoSetBy as *mut _) };
 ("directionality") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_directionality as *mut _) };
 ("directory") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_directory as *mut _) };
 ("disable-output-escaping") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_disableOutputEscaping as *mut _) };
 ("disabled") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_disabled as *mut _) };
 ("disableglobalhistory") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_disableglobalhistory as *mut _) };
 ("disablehistory") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_disablehistory as *mut _) };
+("disablefullscreen") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_disablefullscreen as *mut _) };
 ("display") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_display as *mut _) };
 ("display-mode") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_displayMode as *mut _) };
 ("distinct") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_distinct as *mut _) };
 ("div") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_div as *mut _) };
 ("dl") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_dl as *mut _) };
 ("doctype-public") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_doctypePublic as *mut _) };
 ("doctype-system") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_doctypeSystem as *mut _) };
 ("document") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsGkAtoms_document as *mut _) };
@@ -17159,16 +17172,17 @@ macro_rules! atom {
 (":-moz-number-spin-up") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozNumberSpinUp as *mut _) };
 (":-moz-number-spin-down") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozNumberSpinDown as *mut _) };
 (":-moz-progress-bar") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozProgressBar as *mut _) };
 (":-moz-range-track") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozRangeTrack as *mut _) };
 (":-moz-range-progress") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozRangeProgress as *mut _) };
 (":-moz-range-thumb") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozRangeThumb as *mut _) };
 (":-moz-meter-bar") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozMeterBar as *mut _) };
 (":-moz-placeholder") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozPlaceholder as *mut _) };
+(":placeholder") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_placeholder as *mut _) };
 (":-moz-color-swatch") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSPseudoElements_mozColorSwatch as *mut _) };
 (":-moz-text") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_mozText as *mut _) };
 (":-moz-other-non-element") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_mozOtherNonElement as *mut _) };
 (":-moz-anonymous-block") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_mozAnonymousBlock as *mut _) };
 (":-moz-anonymous-positioned-block") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_mozAnonymousPositionedBlock as *mut _) };
 (":-moz-mathml-anonymous-block") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_mozMathMLAnonymousBlock as *mut _) };
 (":-moz-xul-anonymous-block") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_mozXULAnonymousBlock as *mut _) };
 (":-moz-hframeset-border") => { $crate::atom_macro::unsafe_atom_from_static($crate::atom_macro::nsCSSAnonBoxes_horizontalFramesetBorder as *mut _) };