mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
move FocusType enum to the script crate
This commit moves the FocusType enum to the script crate and replaces all usages with the new `usage`. Fixes #8840
This commit is contained in:
parent
7d9a6a8397
commit
bcc53edda4
4 changed files with 11 additions and 12 deletions
|
@ -17,7 +17,7 @@ use dom::bindings::inheritance::{ElementTypeId, HTMLElementTypeId, NodeTypeId};
|
|||
use dom::bindings::js::{JS, MutNullableHeap, Root, RootedReference};
|
||||
use dom::bindings::reflector::Reflectable;
|
||||
use dom::cssstyledeclaration::{CSSModificationAccess, CSSStyleDeclaration};
|
||||
use dom::document::Document;
|
||||
use dom::document::{Document, FocusType};
|
||||
use dom::domstringmap::DOMStringMap;
|
||||
use dom::element::{AttributeMutation, Element};
|
||||
use dom::eventtarget::EventTarget;
|
||||
|
@ -30,7 +30,6 @@ use dom::node::{Node, SEQUENTIALLY_FOCUSABLE};
|
|||
use dom::node::{document_from_node, window_from_node};
|
||||
use dom::nodelist::NodeList;
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
use msg::constellation_msg::FocusType;
|
||||
use selectors::states::*;
|
||||
use std::ascii::AsciiExt;
|
||||
use std::borrow::ToOwned;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue