blob: a601b42b21c4d094e9a8d5528c88380d89a3c403 [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 String text
* All text within this node and its decendents.
* @description Checks expected attribute values.
*/
import "dart:html";
import "../../../Utils/expect.dart";
main() {
IFrameElement x = new IFrameElement();
Expect.equals("", x.text, 'document');
var text = "Content Text";
x = new Element.html('<iframe>$text</iframe>') as IFrameElement;
Expect.equals(text, x.text, "text");
}