gecko-dev/servo/ports/geckolib/stylesheet_loader.rs
Emilio Cobos Álvarez 6609a2b21d servo: Merge #14540 - style: Basic @import support (from servo:at-import); r=SimonSapin,Ms2ger
r? @SimonSapin or @mbrubeck

cc @heycam and @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 38f136175e15acb6472466d141dedb6a253b0330
2016-12-16 09:43:19 -08:00

22 lines
632 B
Rust

/* 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 parking_lot::RwLock;
use std::sync::Arc;
use style::stylesheets::{ImportRule, StylesheetLoader as StyleStylesheetLoader};
pub struct StylesheetLoader;
impl StylesheetLoader {
pub fn new() -> Self {
StylesheetLoader
}
}
impl StyleStylesheetLoader for StylesheetLoader {
fn request_stylesheet(&self, _import: &Arc<RwLock<ImportRule>>) {
// FIXME(emilio): Implement `@import` in stylo.
}
}