Add custom elements related stuff into ElementRareData

This commit is contained in:
Fernando Jiménez Moreno 2019-03-06 16:34:16 +01:00
parent a9019da39d
commit c75da615bd
5 changed files with 54 additions and 34 deletions

View file

@ -5,9 +5,11 @@
use crate::dom::bindings::error::{report_pending_exception, throw_dom_exception};
use crate::dom::bindings::reflector::DomObject;
use crate::dom::bindings::root::DomRoot;
use crate::dom::customelementregistry::{is_valid_custom_element_name, upgrade_element};
use crate::dom::customelementregistry::{
is_valid_custom_element_name, upgrade_element, CustomElementState,
};
use crate::dom::document::Document;
use crate::dom::element::{CustomElementCreationMode, CustomElementState, Element, ElementCreator};
use crate::dom::element::{CustomElementCreationMode, Element, ElementCreator};
use crate::dom::globalscope::GlobalScope;
use crate::dom::htmlanchorelement::HTMLAnchorElement;
use crate::dom::htmlareaelement::HTMLAreaElement;