mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
6609a2b21d
r? @SimonSapin or @mbrubeck cc @heycam and @bholley Source-Repo: https://github.com/servo/servo Source-Revision: 38f136175e15acb6472466d141dedb6a253b0330
22 lines
632 B
Rust
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.
|
|
}
|
|
}
|