blob: db397b4e90116b2d13246c68a3df422a192eb4f4 [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");
}