Reviewed by Adam Barth.
Convert editing/pasteboard/paste-blockquote-1.html to a dump-as-markup test
https://bugs.webkit.org/show_bug.cgi?id=61608
Converted paste-blockquote-1.html to a dump-as-markup test.
* editing/pasteboard/paste-blockquote-1-expected.txt: Added.
* editing/pasteboard/paste-blockquote-1.html:
* platform/chromium-linux/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
* platform/gtk/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
* platform/mac-leopard/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87478
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Reviewed by Adam Barth.
+ Convert editing/pasteboard/paste-blockquote-1.html to a dump-as-markup test
+ https://bugs.webkit.org/show_bug.cgi?id=61608
+
+ Converted paste-blockquote-1.html to a dump-as-markup test.
+
+ * editing/pasteboard/paste-blockquote-1-expected.txt: Added.
+ * editing/pasteboard/paste-blockquote-1.html:
+ * platform/chromium-linux/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
+ * platform/chromium-win/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
+ * platform/chromium-win/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
+ * platform/gtk/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
+ * platform/mac-leopard/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
+ * platform/mac/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
+ * platform/mac/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
+ * platform/qt/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
+
+2011-05-26 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Adam Barth.
+
Convert editing/pasteboard/merge-end-*.html to dump-as-markup tests
https://bugs.webkit.org/show_bug.cgi?id=61607
--- /dev/null
+This tests pasting a blockquote into an empty paragraph.
+| <blockquote>
+| type="cite"
+| "This should be blockquoted.<#selection-caret>"
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../../resources/dump-as-markup.js"></script>
<style>
blockquote {
color: blue;
padding: 0 0 0 20px;
}
</style>
-
-<p>This tests pasting a blockquote into an empty paragraph.</p>
+</head>
+<body>
<div id="div" contenteditable="true"></div>
-
+<script src="../../resources/dump-as-markup.js"></script>
<script>
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
document.execCommand("InsertHTML", false, "<blockquote type='cite'>This should be blockquoted.</blockquote>");
+
+Markup.description('This tests pasting a blockquote into an empty paragraph.');
+Markup.dump('div');
+
</script>
+</body>
+</html>
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x20
- RenderText {#text} at (0,0) size 339x19
- text run at (0,0) width 339: "This tests pasting a blockquote into an empty paragraph."
- RenderBlock {DIV} at (0,36) size 784x20
- RenderBlock {BLOCKQUOTE} at (0,0) size 784x20 [color=#0000FF] [border: (2px solid #0000FF)]
- RenderText {#text} at (22,0) size 171x19
- text run at (22,0) width 171: "This should be blockquoted."
-caret: position 27 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x19
- RenderText {#text} at (0,0) size 354x19
- text run at (0,0) width 354: "This tests pasting a blockquote into an empty paragraph."
- RenderBlock {DIV} at (0,35) size 784x19
- RenderBlock {BLOCKQUOTE} at (0,0) size 784x19 [color=#0000FF] [border: (2px solid #0000FF)]
- RenderText {#text} at (22,0) size 179x19
- text run at (22,0) width 179: "This should be blockquoted."
-caret: position 27 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x18
- RenderText {#text} at (0,0) size 354x18
- text run at (0,0) width 354: "This tests pasting a blockquote into an empty paragraph."
- RenderBlock {DIV} at (0,34) size 784x18
- RenderBlock {BLOCKQUOTE} at (0,0) size 784x18 [color=#0000FF] [border: (2px solid #0000FF)]
- RenderText {#text} at (22,0) size 179x18
- text run at (22,0) width 179: "This should be blockquoted."
-caret: position 27 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x22
- RenderText {#text} at (0,0) size 385x22
- text run at (0,0) width 385: "This tests pasting a blockquote into an empty paragraph."
- RenderBlock {DIV} at (0,38) size 784x22
- RenderBlock {BLOCKQUOTE} at (0,0) size 784x22 [color=#0000FF] [border: (2px solid #0000FF)]
- RenderText {#text} at (22,0) size 191x22
- text run at (22,0) width 191: "This should be blockquoted."
-caret: position 27 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body