mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make layout only depend on script::layout_interface.
This commit is contained in:
parent
684510bc94
commit
6a1722e18d
6 changed files with 27 additions and 19 deletions
|
@ -7,7 +7,6 @@
|
|||
//! the DOM to be placed in a separate crate from layout.
|
||||
|
||||
use app_units::Au;
|
||||
use dom::node::OpaqueStyleAndLayoutData;
|
||||
use euclid::point::Point2D;
|
||||
use euclid::rect::Rect;
|
||||
use gfx_traits::{Epoch, LayerId};
|
||||
|
@ -27,7 +26,21 @@ use style::servo::Stylesheet;
|
|||
use url::Url;
|
||||
use util::ipc::OptionalOpaqueIpcSender;
|
||||
|
||||
pub use dom::bindings::inheritance::{CharacterDataTypeId, ElementTypeId};
|
||||
pub use dom::bindings::inheritance::{HTMLElementTypeId, NodeTypeId};
|
||||
pub use dom::bindings::js::LayoutJS;
|
||||
pub use dom::characterdata::LayoutCharacterDataHelpers;
|
||||
pub use dom::document::{Document, LayoutDocumentHelpers};
|
||||
pub use dom::element::{Element, LayoutElementHelpers, RawLayoutElementHelpers};
|
||||
pub use dom::htmlcanvaselement::HTMLCanvasData;
|
||||
pub use dom::htmlobjectelement::is_image_data;
|
||||
pub use dom::node::{CAN_BE_FRAGMENTED, HAS_CHANGED, HAS_DIRTY_DESCENDANTS, IS_DIRTY};
|
||||
pub use dom::node::LayoutNodeHelpers;
|
||||
pub use dom::node::Node;
|
||||
pub use dom::node::OpaqueStyleAndLayoutData;
|
||||
pub use dom::node::TrustedNodeAddress;
|
||||
pub use dom::text::Text;
|
||||
|
||||
|
||||
/// Asynchronous messages that script can send to layout.
|
||||
pub enum Msg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue