mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Additionally, this patch cleans up some miscellaneous formatting issues and refactors files in `layout/css/` somewhat to eliminate needless levels of indirection. It also fixes our handling of presentational hints that only apply if border is nonzero.
75 lines
1.6 KiB
Rust
75 lines
1.6 KiB
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/. */
|
|
|
|
#![comment = "The Servo Parallel Browser Project"]
|
|
#![license = "MPL"]
|
|
|
|
#![feature(globs, macro_rules, phase, thread_local, unsafe_destructor, if_let)]
|
|
|
|
#![deny(unused_imports)]
|
|
#![deny(unused_variables)]
|
|
#![allow(unrooted_must_root)]
|
|
|
|
#[phase(plugin, link)]
|
|
extern crate log;
|
|
|
|
extern crate geom;
|
|
extern crate gfx;
|
|
extern crate layout_traits;
|
|
extern crate script;
|
|
extern crate script_traits;
|
|
extern crate serialize;
|
|
extern crate style;
|
|
#[phase(plugin)]
|
|
extern crate "plugins" as servo_plugins;
|
|
extern crate "net" as servo_net;
|
|
extern crate "msg" as servo_msg;
|
|
#[phase(plugin, link)]
|
|
extern crate "util" as servo_util;
|
|
|
|
#[phase(plugin)]
|
|
extern crate string_cache_macros;
|
|
extern crate string_cache;
|
|
|
|
extern crate collections;
|
|
extern crate encoding;
|
|
extern crate libc;
|
|
extern crate sync;
|
|
extern crate url;
|
|
|
|
// Listed first because of macro definitions
|
|
pub mod layout_debug;
|
|
|
|
pub mod block;
|
|
pub mod construct;
|
|
pub mod context;
|
|
pub mod display_list_builder;
|
|
pub mod floats;
|
|
pub mod flow;
|
|
pub mod flow_list;
|
|
pub mod flow_ref;
|
|
pub mod fragment;
|
|
pub mod layout_task;
|
|
pub mod inline;
|
|
pub mod list_item;
|
|
pub mod model;
|
|
pub mod parallel;
|
|
pub mod sequential;
|
|
pub mod table_wrapper;
|
|
pub mod table;
|
|
pub mod table_caption;
|
|
pub mod table_colgroup;
|
|
pub mod table_rowgroup;
|
|
pub mod table_row;
|
|
pub mod table_cell;
|
|
pub mod text;
|
|
pub mod traversal;
|
|
pub mod util;
|
|
pub mod incremental;
|
|
pub mod wrapper;
|
|
|
|
pub mod css {
|
|
pub mod matching;
|
|
pub mod node_style;
|
|
}
|