mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Further changes required by Servo
This commit is contained in:
parent
1ce75ff7dd
commit
6c3f92cb85
27 changed files with 266 additions and 91 deletions
|
@ -5,7 +5,7 @@
|
|||
use dom_struct::dom_struct;
|
||||
use html5ever::{local_name, LocalName, Prefix};
|
||||
use js::rust::HandleObject;
|
||||
use style::element_state::ElementState;
|
||||
use style_traits::dom::ElementState;
|
||||
|
||||
use crate::dom::attr::Attr;
|
||||
use crate::dom::bindings::codegen::Bindings::HTMLOptGroupElementBinding::HTMLOptGroupElementMethods;
|
||||
|
@ -34,7 +34,7 @@ impl HTMLOptGroupElement {
|
|||
) -> HTMLOptGroupElement {
|
||||
HTMLOptGroupElement {
|
||||
htmlelement: HTMLElement::new_inherited_with_state(
|
||||
ElementState::IN_ENABLED_STATE,
|
||||
ElementState::ENABLED,
|
||||
local_name,
|
||||
prefix,
|
||||
document,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue