Skip to main content

dom_remove_attribute_node

Function dom_remove_attribute_node 

Source
pub fn dom_remove_attribute_node(
    it: &mut Interp,
    this: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

element.removeAttributeNode(attr)attr.name の属性を削除し、削除した Attr ノードを返す(仕様上、未存在なら NotFoundError だがこの処理系は 例外機構が限定的なため簡略化し null を返す)。