blob: 99f1f9c6063d2390395ddd36c9efb568e5ae65fe [file] [log] [blame]
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
* @description This tests checks whether setAttribute allows name parameters
* with colons in them.
import "dart:html";
import "../../../../Utils/expect.dart";
import "../../../testcommon.dart";
main() {
var elem = document.createElementNS('', 'test');
elem.setAttribute('bb:dddd', 'attr_value');
Expect.equals('attr_value', elem.getAttribute('bb:dddd'));