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