mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Introduce a script_layout_interface crate and move RestyleDamage to it.
This commit is contained in:
parent
e5cab36671
commit
5c03dd8eb1
24 changed files with 332 additions and 271 deletions
18
components/script_layout_interface/lib.rs
Normal file
18
components/script_layout_interface/lib.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* 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/. */
|
||||
|
||||
//! This module contains traits in script used generically in the rest of Servo.
|
||||
//! The traits are here instead of in script so that these modules won't have
|
||||
//! to depend on script.
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
#![feature(plugin)]
|
||||
#![plugin(plugins)]
|
||||
|
||||
#[allow(unused_extern_crates)]
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
extern crate style;
|
||||
|
||||
pub mod restyle_damage;
|
Loading…
Add table
Add a link
Reference in a new issue