diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-08-16 23:29:27 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-10-02 14:37:19 +0000 |
commit | 6c3f92cb85e7afd2a003647800c8284420523053 (patch) | |
tree | af8c617835208c7a89cb84c8711086fe37eca2f1 /components/script/dom/htmloptionelement.rs | |
parent | 1ce75ff7dd4d31eaba0f333e25dcbda68aef89d6 (diff) | |
download | servo-6c3f92cb85e7afd2a003647800c8284420523053.tar.gz servo-6c3f92cb85e7afd2a003647800c8284420523053.zip |
Further changes required by Servo
Diffstat (limited to 'components/script/dom/htmloptionelement.rs')
-rw-r--r-- | components/script/dom/htmloptionelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs index c04ecc639fe..6a919c84df3 100644 --- a/components/script/dom/htmloptionelement.rs +++ b/components/script/dom/htmloptionelement.rs @@ -8,8 +8,8 @@ use std::convert::TryInto; use dom_struct::dom_struct; use html5ever::{local_name, namespace_url, ns, LocalName, Prefix, QualName}; use js::rust::HandleObject; -use style::element_state::ElementState; use style::str::{split_html_space_chars, str_join}; +use style_traits::dom::ElementState; use crate::dom::attr::Attr; use crate::dom::bindings::codegen::Bindings::CharacterDataBinding::CharacterDataMethods; @@ -55,7 +55,7 @@ impl HTMLOptionElement { ) -> HTMLOptionElement { HTMLOptionElement { htmlelement: HTMLElement::new_inherited_with_state( - ElementState::IN_ENABLED_STATE, + ElementState::ENABLED, local_name, prefix, document, |