Remove helpers that correspond to DOM methods

This commit is contained in:
Anthony Ramine 2015-05-04 12:29:51 +02:00
parent b43a2ed807
commit 06436e9c79
8 changed files with 227 additions and 331 deletions

View file

@ -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();