mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
script: Refactors HTMLInputElement.rs into type specific files (#43325)
Refactors HTMLInputElement.rs to split lots of type specific input code into their own files. These SpecificInputTypes are responsible for their own shadow trees and also for element specific data such as FileInputType's filelist. Testing: Covered by WPTs Fixes: https://github.com/servo/servo/issues/38263 Fixes: https://github.com/servo/servo/issues/43351 Signed-off-by: Luke Warlow <lwarlow@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
@@ -110,7 +110,6 @@ use crate::dom::html::htmlcollection::HTMLCollection;
|
||||
use crate::dom::html::htmlelement::HTMLElement;
|
||||
use crate::dom::html::htmliframeelement::{HTMLIFrameElement, HTMLIFrameElementLayoutMethods};
|
||||
use crate::dom::html::htmlimageelement::{HTMLImageElement, LayoutHTMLImageElementHelpers};
|
||||
use crate::dom::html::htmlinputelement::{HTMLInputElement, LayoutHTMLInputElementHelpers};
|
||||
use crate::dom::html::htmllinkelement::HTMLLinkElement;
|
||||
use crate::dom::html::htmlslotelement::{HTMLSlotElement, Slottable};
|
||||
use crate::dom::html::htmlstyleelement::HTMLStyleElement;
|
||||
@@ -118,6 +117,7 @@ use crate::dom::html::htmltextareaelement::{
|
||||
HTMLTextAreaElement, LayoutHTMLTextAreaElementHelpers,
|
||||
};
|
||||
use crate::dom::html::htmlvideoelement::{HTMLVideoElement, LayoutHTMLVideoElementHelpers};
|
||||
use crate::dom::html::input_element::{HTMLInputElement, LayoutHTMLInputElementHelpers};
|
||||
use crate::dom::mutationobserver::{Mutation, MutationObserver, RegisteredObserver};
|
||||
use crate::dom::node::nodelist::NodeList;
|
||||
use crate::dom::pointerevent::{PointerEvent, PointerId};
|
||||
|
||||
Reference in New Issue
Block a user