aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/lib.rs')
-rw-r--r--components/style/lib.rs14
1 files changed, 11 insertions, 3 deletions
diff --git a/components/style/lib.rs b/components/style/lib.rs
index f90368f4ca8..673e8311b02 100644
--- a/components/style/lib.rs
+++ b/components/style/lib.rs
@@ -81,8 +81,10 @@ pub mod dom;
pub mod element_state;
pub mod error_reporting;
pub mod font_face;
-#[cfg(feature = "gecko")]
-pub mod gecko_conversions;
+#[cfg(feature = "gecko")] pub mod gecko_conversions;
+#[cfg(feature = "gecko")] pub mod gecko_glue;
+#[cfg(feature = "gecko")] pub mod gecko_selector_impl;
+#[cfg(feature = "gecko")] pub mod gecko_values;
pub mod keyframes;
pub mod logical_geometry;
pub mod matching;
@@ -94,7 +96,7 @@ pub mod restyle_hints;
pub mod selector_impl;
pub mod selector_matching;
pub mod sequential;
-pub mod servo;
+#[cfg(feature = "servo")] pub mod servo_selector_impl;
pub mod sink;
pub mod str;
pub mod stylesheets;
@@ -116,6 +118,12 @@ pub mod properties {
include!(concat!(env!("OUT_DIR"), "/properties.rs"));
}
+#[cfg(feature = "gecko")]
+#[allow(unsafe_code)]
+pub mod gecko_properties {
+ include!(concat!(env!("OUT_DIR"), "/gecko_properties.rs"));
+}
+
macro_rules! reexport_computed_values {
( $( $name: ident )+ ) => {
/// Types for [computed values][computed].