mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
script: Move HTML DOM interfaces to script/dom/html/
(#39046)
See #38901. Testing: Refactor Fixes: Partially #38901 Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
ec1b9b2480
commit
c92cd9e624
142 changed files with 546 additions and 533 deletions
|
@ -10,7 +10,7 @@ pub use crate::dom::bindings::str::{ByteString, DOMString};
|
|||
// pub use crate::dom::node::Node;
|
||||
|
||||
pub mod area {
|
||||
pub use crate::dom::htmlareaelement::{Area, Shape};
|
||||
pub use crate::dom::html::htmlareaelement::{Area, Shape};
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
|
@ -20,9 +20,9 @@ pub mod size_of {
|
|||
use crate::dom::characterdata::CharacterData;
|
||||
use crate::dom::element::Element;
|
||||
use crate::dom::eventtarget::EventTarget;
|
||||
use crate::dom::htmldivelement::HTMLDivElement;
|
||||
use crate::dom::htmlelement::HTMLElement;
|
||||
use crate::dom::htmlspanelement::HTMLSpanElement;
|
||||
use crate::dom::html::htmldivelement::HTMLDivElement;
|
||||
use crate::dom::html::htmlelement::HTMLElement;
|
||||
use crate::dom::html::htmlspanelement::HTMLSpanElement;
|
||||
use crate::dom::node::Node;
|
||||
use crate::dom::text::Text;
|
||||
|
||||
|
@ -60,7 +60,9 @@ pub mod size_of {
|
|||
}
|
||||
|
||||
pub mod srcset {
|
||||
pub use crate::dom::htmlimageelement::{Descriptor, ImageSource, parse_a_srcset_attribute};
|
||||
pub use crate::dom::html::htmlimageelement::{
|
||||
Descriptor, ImageSource, parse_a_srcset_attribute,
|
||||
};
|
||||
}
|
||||
|
||||
pub mod timeranges {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue