| <!DocType html> |
| <script src="../../resources/dump-as-markup.js"></script> |
| |
| <div id="bar">foo<hr></div> |
| <input type=text> |
| <div contentEditable id="foo"> |
| foo bar |
| </div> |
| <script>foo.firstChild.splitText(6);</script> |
| <span>foo</span><span>bar</span> |
| <div><div><b>sdf</b><i>sdf</i>sdf</div></div> |
| <iframe src='data:text/html;charset=utf-8,<!DOCTYPE%20HTML%20PUBLIC%20"-//W3C//DTD%20HTML%204.0//EN">%0D%0A<html%20lang%3D"en">%0D%0A%20<head>%0D%0A%20%20<title>Test</title>%0D%0A%20%20<style%20type%3D"text/css">%0D%0A%20%20</style>%0D%0A%20</head>%0D%0A%20<body>%0D%0A%20%20<p></p>%0D%0A%20</body>%0D%0A</html>%0D%0A'></iframe> |
| |
| <script> |
| Markup.description("Tests basic dump-as-markup functionality."); |
| window.getSelection().selectAllChildren(bar) |
| </script> |