blob: f76f37bce8dbb24b03a1eddbc01e5cb6390667be [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 html output
import "dart:html";
import "../../../Utils/expect.dart";
import "../../testcommon.dart";
main() {
var doc = document.implementation.createHtmlDocument('test');
var body = doc.body;
var html = '''
<pre id="content">placeholder</pre>
body.setInnerHtml(html, treeSanitizer: new NullTreeSanitizer());