o", "foo", "foo:bar")
  attr_is(el.attributes[1], "2", "bat", "foo", "foo", "foo:bat")
  el.toggleAttribute("foo:bar");
  assert_true(!el.hasAttribute("foo:bar"))
  attr_is(el.attributes[0], "2", "bat", "foo", "foo", "foo:bat")
}, "toggleAttribute should set the attribute with the given qualified name")

test(function() {
  var el = document.createElement("foo")
  el.style = "color: red; background-color: green"
  assert_equals(el.toggleAttribute("style"), false)
}, "Toggling element with inline style shoul