on() {
  var element = document.createElementNS(svgNs, "feBlend");
  assert_equals(element.mode.baseVal, SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL);
  assert_false(element.hasAttribute("mode"));
}, document.title + ", getter, initial value");

test(function() {
  var element = document.createElementNS(svgNs, "feBlend");
  element.setAttribute("mode", "not-a-valid-value");
  assert_equals(element.mode.baseVal, SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL);
  assert_true(element.hasAttribute("mode"));
  assert_e