File tree Expand file tree Collapse file tree 6 files changed +8
-11
lines changed Expand file tree Collapse file tree 6 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,7 @@ extern crate to_shmem_derive;
7777#[ macro_use]
7878mod macros;
7979
80- pub mod animation;
8180pub mod applicable_declarations;
82- #[ allow( missing_docs) ] // TODO.
83- #[ cfg( feature = "servo" ) ]
84- pub mod attr;
8581pub mod author_styles;
8682pub mod bezier;
8783pub mod bloom;
@@ -96,8 +92,6 @@ pub mod data;
9692pub mod dom;
9793pub mod dom_apis;
9894pub mod driver;
99- #[ cfg( feature = "servo" ) ]
100- mod encoding_support;
10195pub mod error_reporting;
10296pub mod font_face;
10397pub mod font_metrics;
@@ -165,8 +159,6 @@ pub type Namespace = crate::values::GenericAtomIdent<web_atoms::NamespaceStaticS
165159#[ cfg( feature = "servo" ) ]
166160#[ allow( missing_docs) ]
167161pub type Prefix = crate :: values:: GenericAtomIdent < web_atoms:: PrefixStaticSet > ;
168- #[ cfg( feature = "servo" ) ]
169- mod shadow_parts;
170162
171163pub use style_traits:: arc_slice:: ArcSlice ;
172164pub use style_traits:: owned_slice:: OwnedSlice ;
@@ -185,6 +177,8 @@ pub mod gecko;
185177#[ cfg( feature = "servo" ) ]
186178#[ allow( unsafe_code) ]
187179pub mod servo;
180+ #[ cfg( feature = "servo" ) ]
181+ pub use servo:: { animation, attr} ;
188182
189183macro_rules! reexport_computed_values {
190184 ( $( { $name: ident } ) + ) => {
File renamed without changes.
Original file line number Diff line number Diff line change 66//!
77//! [attr]: https://dom.spec.whatwg.org/#interface-attr
88
9+ use super :: shadow_parts:: ShadowParts ;
910use crate :: color:: { parsing:: parse_color_keyword, AbsoluteColor } ;
1011use crate :: properties:: PropertyDeclarationBlock ;
11- use crate :: shadow_parts:: ShadowParts ;
1212use crate :: shared_lock:: Locked ;
1313use crate :: str:: str_join;
1414use crate :: str:: { read_exponent, read_fraction, HTML_SPACE_CHARACTERS } ;
File renamed without changes.
Original file line number Diff line number Diff line change 66//!
77//! These get compiled out on a Gecko build.
88
9+ pub mod animation;
10+ #[ allow( missing_docs) ] // TODO.
11+ pub mod attr;
12+ mod encoding_support;
913pub mod media_queries;
1014pub mod restyle_damage;
1115pub mod selector_parser;
16+ mod shadow_parts;
1217pub mod url;
Original file line number Diff line number Diff line change @@ -140,8 +140,6 @@ impl ShadowParts {
140140
141141#[ cfg( test) ]
142142mod tests {
143- use crate :: shadow_parts:: parse_mapping_list;
144-
145143 use super :: * ;
146144
147145 #[ test]
You can’t perform that action at this time.
0 commit comments