diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-06-28 08:12:34 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-06-28 08:12:34 -0400 |
commit | 23968efbd187de0bf19e766fd3fea8eebe432172 (patch) | |
tree | 59886fd2bcfe79870dd0932d7b093630e41355a1 /src/components/layout/layout.rs | |
parent | 9f915e9e42217c09c7ed15b14b66fc8f84e38490 (diff) | |
download | servo-23968efbd187de0bf19e766fd3fea8eebe432172.tar.gz servo-23968efbd187de0bf19e766fd3fea8eebe432172.zip |
Split layout code into a separate crate.
Diffstat (limited to 'src/components/layout/layout.rs')
-rw-r--r-- | src/components/layout/layout.rs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/components/layout/layout.rs b/src/components/layout/layout.rs new file mode 100644 index 00000000000..d864ec9d848 --- /dev/null +++ b/src/components/layout/layout.rs @@ -0,0 +1,68 @@ +/* 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/. */ + +#![crate_id = "github.com/mozilla/servo#layout:0.1"] +#![crate_type = "lib"] +#![crate_type = "dylib"] +#![crate_type = "rlib"] + +#![comment = "The Servo Parallel Browser Project"] +#![license = "MPL"] + +#![feature(globs, macro_rules, phase, thread_local)] + +#[phase(plugin, link)] +extern crate log; + +extern crate debug; + +extern crate geom; +extern crate gfx; +extern crate script; +extern crate style; +#[phase(plugin)] +extern crate servo_macros = "macros"; +extern crate servo_net = "net"; +extern crate servo_msg = "msg"; +#[phase(plugin, link)] +extern crate servo_util = "util"; + +extern crate collections; +extern crate green; +extern crate libc; +extern crate sync; +extern crate url; + +pub mod block; +pub mod construct; +pub mod context; +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 model; +pub mod parallel; +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 util; +pub mod incremental; +pub mod wrapper; +pub mod extra; + +pub mod css { + mod node_util; + + pub mod select; + pub mod matching; + pub mod node_style; +} |