mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting * Reformat all imports
This commit is contained in:
parent
413da4ca69
commit
aad2dccc9c
802 changed files with 6861 additions and 6395 deletions
|
@ -7,6 +7,8 @@
|
|||
//!
|
||||
//! https://html.spec.whatwg.org/multipage/#textFieldSelection
|
||||
|
||||
use script_traits::ScriptToConstellationChan;
|
||||
|
||||
use crate::dom::bindings::cell::DomRefCell;
|
||||
use crate::dom::bindings::codegen::Bindings::HTMLFormElementBinding::SelectionMode;
|
||||
use crate::dom::bindings::conversions::DerivedFrom;
|
||||
|
@ -16,7 +18,6 @@ use crate::dom::event::{EventBubbles, EventCancelable};
|
|||
use crate::dom::eventtarget::EventTarget;
|
||||
use crate::dom::node::{window_from_node, Node, NodeDamage};
|
||||
use crate::textinput::{SelectionDirection, SelectionState, TextInput, UTF8Bytes};
|
||||
use script_traits::ScriptToConstellationChan;
|
||||
|
||||
pub trait TextControlElement: DerivedFrom<EventTarget> + DerivedFrom<Node> {
|
||||
fn selection_api_applies(&self) -> bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue