blob: 46861abc754c2223cf0c4c54f7d85d2ea98bdc22 [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.
/// @assertion final List<Node> childNodes
/// A list of this node's children.
/// @description Checks the content of childNodes.
import "dart:html";
import "../../../Utils/expect.dart";
main() {
List<Node> ch = document.childNodes;
Expect.equals(2, ch.length);
ch[1] is HtmlHtmlElement, "${ch[1].runtimeType}!=HtmlHtmlElement");