mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Make area structs accessible from area tests
This commit is contained in:
parent
980dde7e15
commit
d3be70b4de
2 changed files with 5 additions and 2 deletions
|
@ -10,6 +10,10 @@ pub use dom::bindings::cell::DOMRefCell;
|
|||
pub use dom::bindings::js::JS;
|
||||
pub use dom::node::Node;
|
||||
|
||||
pub mod area {
|
||||
pub use dom::htmlareaelement::{Area, Shape};
|
||||
}
|
||||
|
||||
pub mod size_of {
|
||||
use dom::characterdata::CharacterData;
|
||||
use dom::element::Element;
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
use euclid::point::Point2D;
|
||||
use script::dom::htmlareaelement::Area;
|
||||
use script::dom::htmlareaelement::Shape;
|
||||
use script::test::area::{Area, Shape};
|
||||
|
||||
#[test]
|
||||
fn garbage_input() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue