aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/css/select.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/layout/css/select.rs')
-rw-r--r--src/components/layout/css/select.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/components/layout/css/select.rs b/src/components/layout/css/select.rs
deleted file mode 100644
index 230feb86e99..00000000000
--- a/src/components/layout/css/select.rs
+++ /dev/null
@@ -1,18 +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 style::{Stylesheet, Stylist, UserAgentOrigin, with_errors_silenced};
-use url::Url;
-
-
-pub fn new_stylist() -> Stylist {
- let mut stylist = Stylist::new();
- let ua_stylesheet = with_errors_silenced(|| Stylesheet::from_bytes(
- include_bin!("user-agent.css"),
- Url::parse("chrome:///user-agent.css").unwrap(),
- None,
- None));
- stylist.add_stylesheet(ua_stylesheet, UserAgentOrigin);
- stylist
-}