diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2015-12-17 16:21:29 -0800 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2015-12-29 11:50:03 -0800 |
commit | 47059d2d26f14f71e5b7212fa8bc01608eca11b5 (patch) | |
tree | d0693fb9987a7113323c7d6fb5502cb5621d8f15 /components/layout/lib.rs | |
parent | 89ab368258eb827b0dcc8d6e6deecd3ed3c1de71 (diff) | |
download | servo-47059d2d26f14f71e5b7212fa8bc01608eca11b5.tar.gz servo-47059d2d26f14f71e5b7212fa8bc01608eca11b5.zip |
Separate style+layout and layout-specific wrapper functionality.
This patch does a number of things, unfortunately all at once:
* Hoists a large subset of the layout wrapper functionality into the style system.
* Merges TElementAttributes into the newly-created TElement.
* Reorganizes LayoutData by style vs layout, and removes LayoutDataShared.
* Simplifies the API for borrowing style/layout data.
There's still more to do to make the style system usable standalone, but
this is a good start.
Diffstat (limited to 'components/layout/lib.rs')
-rw-r--r-- | components/layout/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout/lib.rs b/components/layout/lib.rs index fb28d47adac..e1d2f77f32b 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -2,11 +2,13 @@ * 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/. */ +#![feature(as_unsafe_cell)] #![feature(box_syntax)] #![feature(cell_extras)] #![feature(custom_derive)] #![feature(hashmap_hasher)] #![feature(mpsc_select)] +#![feature(nonzero)] #![feature(plugin)] #![feature(raw)] #![feature(step_by)] @@ -22,6 +24,7 @@ extern crate azure; #[macro_use] extern crate bitflags; extern crate canvas_traits; +extern crate core; extern crate cssparser; extern crate encoding; extern crate euclid; |