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
|
@ -147,7 +147,7 @@ macro_rules! make_form_action_getter(
|
|||
macro_rules! make_labels_getter(
|
||||
( $attr:ident, $memo:ident ) => (
|
||||
fn $attr(&self) -> DomRoot<NodeList> {
|
||||
use $crate::dom::htmlelement::HTMLElement;
|
||||
use $crate::dom::html::htmlelement::HTMLElement;
|
||||
use $crate::dom::nodelist::NodeList;
|
||||
self.$memo.or_init(|| NodeList::new_labels_list(
|
||||
self.upcast::<Node>().owner_doc().window(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue