| Tests basic dump-as-markup functionality. |
| | <!DOCTYPE html> |
| | <html> |
| | <head> |
| | <script> |
| | src="../../resources/dump-as-markup.js" |
| | "\n\n" |
| | <body> |
| | <div> |
| | id="bar" |
| | "<#selection-anchor>foo" |
| | <hr> |
| | <#selection-focus> |
| | "\n" |
| | <input> |
| | type="text" |
| | this.value="" |
| | <shadow:root> |
| | <div> |
| | contenteditable="plaintext-only" |
| | "\n" |
| | <div> |
| | contenteditable="" |
| | id="foo" |
| | "\n foo" |
| | " bar\n" |
| | "\n" |
| | <script> |
| | "foo.firstChild.splitText(6);" |
| | "\n" |
| | <span> |
| | "foo" |
| | <span> |
| | "bar" |
| | "\n" |
| | <div> |
| | <div> |
| | <b> |
| | "sdf" |
| | <i> |
| | "sdf" |
| | "sdf" |
| | "\n" |
| | <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" |
| | "\n\n" |
| | <script> |
| | "\nMarkup.description("Tests basic dump-as-markup functionality.");\nwindow.getSelection().selectAllChildren(bar)\n" |
| | "\n" |
| |
| FRAME 0: |
| | <head> |
| | "\n " |
| | <title> |
| | "Test" |
| | "\n " |
| | <style> |
| | type="text/css" |
| | "\n " |
| | "\n " |
| | "\n " |
| | <body> |
| | "\n " |
| | <p> |
| | "\n \n\n" |