mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove helpers that correspond to DOM methods
This commit is contained in:
parent
b43a2ed807
commit
06436e9c79
8 changed files with 227 additions and 331 deletions
|
@ -175,7 +175,7 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLOptionElement> {
|
|||
}
|
||||
|
||||
let node: JSRef<Node> = NodeCast::from_ref(*self);
|
||||
if node.parent_node().is_some() {
|
||||
if node.GetParentNode().is_some() {
|
||||
node.check_parent_disabled_state_for_option();
|
||||
} else {
|
||||
node.check_disabled_attribute();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue