2010-10-04 Ryosuke Niwa <rniwa@webkit.org>
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Oct 2010 21:37:52 +0000 (21:37 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Oct 2010 21:37:52 +0000 (21:37 +0000)
        Reviewed by Tony Chang.

        dump-as-markup conversion: editing/execCommand/format-block-with-braces.html and format-block.html
        https://bugs.webkit.org/show_bug.cgi?id=47098

        Converted editing/execCommand/format-block-with-braces.html and format-block.html to dump-as-text tests.

        * editing/execCommand/format-block-expected.txt: Added.
        * editing/execCommand/format-block-with-braces-expected.txt: Added.
        * editing/execCommand/format-block-with-braces.html:
        * editing/execCommand/format-block.html:
        * platform/chromium-linux/editing/execCommand/format-block-expected.checksum: Removed.
        * platform/chromium-linux/editing/execCommand/format-block-expected.png: Removed.
        * platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
        * platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png: Removed.
        * platform/chromium-win/editing/execCommand/format-block-expected.checksum: Removed.
        * platform/chromium-win/editing/execCommand/format-block-expected.png: Removed.
        * platform/chromium-win/editing/execCommand/format-block-expected.txt: Removed.
        * platform/chromium-win/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
        * platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png: Removed.
        * platform/chromium-win/editing/execCommand/format-block-with-braces-expected.txt: Removed.
        * platform/mac/editing/execCommand/format-block-expected.checksum: Removed.
        * platform/mac/editing/execCommand/format-block-expected.png: Removed.
        * platform/mac/editing/execCommand/format-block-expected.txt: Removed.
        * platform/mac/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
        * platform/mac/editing/execCommand/format-block-with-braces-expected.png: Removed.
        * platform/mac/editing/execCommand/format-block-with-braces-expected.txt: Removed.
        * platform/qt/editing/execCommand/format-block-expected.txt: Removed.
        * platform/qt/editing/execCommand/format-block-with-braces-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

23 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/format-block-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/format-block-with-braces-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/format-block-with-braces.html
LayoutTests/editing/execCommand/format-block.html
LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.checksum [deleted file]
LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.checksum [deleted file]
LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.checksum [deleted file]
LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.checksum [deleted file]
LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.txt [deleted file]
LayoutTests/platform/mac/editing/execCommand/format-block-expected.checksum [deleted file]
LayoutTests/platform/mac/editing/execCommand/format-block-expected.png [deleted file]
LayoutTests/platform/mac/editing/execCommand/format-block-expected.txt [deleted file]
LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.checksum [deleted file]
LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.png [deleted file]
LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.txt [deleted file]
LayoutTests/platform/qt/editing/execCommand/format-block-expected.txt [deleted file]
LayoutTests/platform/qt/editing/execCommand/format-block-with-braces-expected.txt [deleted file]

index 28abf79..8a49a1d 100644 (file)
@@ -1,3 +1,35 @@
+2010-10-04  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Reviewed by Tony Chang.
+
+        dump-as-markup conversion: editing/execCommand/format-block-with-braces.html and format-block.html
+        https://bugs.webkit.org/show_bug.cgi?id=47098
+
+        Converted editing/execCommand/format-block-with-braces.html and format-block.html to dump-as-text tests.
+
+        * editing/execCommand/format-block-expected.txt: Added.
+        * editing/execCommand/format-block-with-braces-expected.txt: Added.
+        * editing/execCommand/format-block-with-braces.html:
+        * editing/execCommand/format-block.html:
+        * platform/chromium-linux/editing/execCommand/format-block-expected.checksum: Removed.
+        * platform/chromium-linux/editing/execCommand/format-block-expected.png: Removed.
+        * platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
+        * platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png: Removed.
+        * platform/chromium-win/editing/execCommand/format-block-expected.checksum: Removed.
+        * platform/chromium-win/editing/execCommand/format-block-expected.png: Removed.
+        * platform/chromium-win/editing/execCommand/format-block-expected.txt: Removed.
+        * platform/chromium-win/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
+        * platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png: Removed.
+        * platform/chromium-win/editing/execCommand/format-block-with-braces-expected.txt: Removed.
+        * platform/mac/editing/execCommand/format-block-expected.checksum: Removed.
+        * platform/mac/editing/execCommand/format-block-expected.png: Removed.
+        * platform/mac/editing/execCommand/format-block-expected.txt: Removed.
+        * platform/mac/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
+        * platform/mac/editing/execCommand/format-block-with-braces-expected.png: Removed.
+        * platform/mac/editing/execCommand/format-block-with-braces-expected.txt: Removed.
+        * platform/qt/editing/execCommand/format-block-expected.txt: Removed.
+        * platform/qt/editing/execCommand/format-block-with-braces-expected.txt: Removed.
+
 2010-10-05  David Hyatt  <hyatt@apple.com>
 
         Reviewed by Sam Weinig.
diff --git a/LayoutTests/editing/execCommand/format-block-expected.txt b/LayoutTests/editing/execCommand/format-block-expected.txt
new file mode 100644 (file)
index 0000000..9b21c11
--- /dev/null
@@ -0,0 +1,77 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 11 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > DIV > BODY > HTML > #document to 0 of H1 > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+This test uses FormatBlock to modify three of the paragraphs below
+
+Before FormatBlock:
+| "
+"
+| <p>
+|   id="item1"
+|   "Make Pre"
+| "
+"
+| <br>
+| "
+"
+| <div>
+|   "Foo"
+|   <br>
+|   <span>
+|     id="item2"
+|     "Make h1"
+|   <br>
+|   "baz"
+| "
+"
+| <br>
+| "
+"
+| <address>
+|   id="item3"
+|   "Attempt to apply the current formatting here"
+| "
+"
+
+After FormatBlock:
+| "
+"
+| <pre>
+|   "Make Pre"
+|   <br>
+| "
+"
+| <br>
+| "
+"
+| <div>
+|   "Foo"
+|   <br>
+|   <h1>
+|     "Make h1"
+|     <br>
+|   "baz"
+| "
+"
+| <br>
+| "
+"
+| <address>
+|   id="item3"
+|   "<#selection-caret>Attempt to apply the current formatting here"
+| "
+"
diff --git a/LayoutTests/editing/execCommand/format-block-with-braces-expected.txt b/LayoutTests/editing/execCommand/format-block-with-braces-expected.txt
new file mode 100644 (file)
index 0000000..89b4435
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > BODY > HTML > #document to 0 of H1 > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+This test uses FormatBlock with html brackets in the tag string passed to execCommand.
+
+Before FormatBlock with <h1>:
+| "
+Format Me
+"
+
+After FormatBlock with <h1>:
+| <h1>
+|   "<#selection-caret>Format Me"
+|   <br>
index 3082d93..5813a10 100644 (file)
@@ -1,17 +1,27 @@
-<script>
-if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
-</script>
-<div id="description">This test uses FormatBlock with html brackets in the tag string passed to execCommand.</div>
-<br>
+<!DOCTYPE html>
+<html>
+<body>
+<script src="../../resources/dump-as-markup.js"></script>
 <div style="display:inline" contenteditable="true" id="item1">
 Format Me
 </div>
 
 <script>
+if (window.layoutTestController)
+    layoutTestController.dumpEditingCallbacks();
+
+Markup.description("This test uses FormatBlock with html brackets in the tag string passed to execCommand.");
+
+Markup.dump("item1", "Before FormatBlock with <h1>");
+
 var s = window.getSelection();
 var r = document.createRange();
 var p1 = document.getElementById("item1");
 s.setPosition(p1, 0);
 document.execCommand("FormatBlock", false, "<h1>");
-</script>
\ No newline at end of file
+
+Markup.dump("item1", "After FormatBlock with <h1>");
+
+</script>
+</body>
+</html>
index b873722..7769300 100644 (file)
@@ -1,18 +1,21 @@
-<script>
-if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
-</script>
-<div id="description">This test uses FormatBlock to modify three of the paragraphs below</div>
-<br>
-<div style="border:1px solid black" contenteditable="true">
+<!DOCTYPE html>
+<html>
+<body>
+<script src="../../resources/dump-as-markup.js"></script>
+<div id="test" style="border:1px solid black" contenteditable="true">
 <p id="item1">Make Pre</p>
 <br>
 <div>Foo<br><span id="item2">Make h1</span><br>baz</div>
 <br>
 <address id="item3">Attempt to apply the current formatting here</address>
 </div>
-
 <script>
+if (window.layoutTestController)
+    layoutTestController.dumpEditingCallbacks();
+
+Markup.description("This test uses FormatBlock to modify three of the paragraphs below");
+Markup.dump("test", "Before FormatBlock");
+
 var s = window.getSelection();
 var r = document.createRange();
 var p1 = document.getElementById("item1");
@@ -24,4 +27,9 @@ s.setPosition(p2, 0);
 document.execCommand("FormatBlock", false, "h1");
 s.setPosition(p3, 0);
 document.execCommand("FormatBlock", false, "address");
-</script>
\ No newline at end of file
+
+Markup.dump("test", "After FormatBlock");
+
+</script>
+</body>
+</html>
diff --git a/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.checksum b/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.checksum
deleted file mode 100644 (file)
index 084b285..0000000
+++ /dev/null
@@ -1 +0,0 @@
-ee37130af268ddd9fd0b9e5b41ba2e3c
\ No newline at end of file
diff --git a/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.png b/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.png
deleted file mode 100644 (file)
index 74607d0..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.checksum b/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.checksum
deleted file mode 100644 (file)
index a38967f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-f3980dc75f9d0b7869057c23d696298f
\ No newline at end of file
diff --git a/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png b/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png
deleted file mode 100644 (file)
index 0865c75..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.checksum b/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.checksum
deleted file mode 100644 (file)
index 17c1680..0000000
+++ /dev/null
@@ -1 +0,0 @@
-9fb650055425d3069858515d7b504015
\ No newline at end of file
diff --git a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.png b/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.png
deleted file mode 100644 (file)
index 5b349a1..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.txt b/LayoutTests/platform/chromium-win/editing/execCommand/format-block-expected.txt
deleted file mode 100644 (file)
index 5942877..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 11 of DIV > BODY > HTML > #document\r
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > DIV > BODY > HTML > #document to 0 of H1 > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification\r
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification\r
-layer at (0,0) size 800x600\r
-  RenderView at (0,0) size 800x600\r
-layer at (0,0) size 800x600\r
-  RenderBlock {HTML} at (0,0) size 800x600\r
-    RenderBody {BODY} at (8,8) size 784x584\r
-      RenderBlock {DIV} at (0,0) size 784x20\r
-        RenderText {#text} at (0,0) size 409x19\r
-          text run at (0,0) width 409: "This test uses FormatBlock to modify three of the paragraphs below"\r
-      RenderBlock (anonymous) at (0,20) size 784x20\r
-        RenderBR {BR} at (0,0) size 0x19\r
-      RenderBlock {DIV} at (0,40) size 784x223 [border: (1px solid #000000)]\r
-        RenderBlock {PRE} at (1,14) size 782x16\r
-          RenderText {#text} at (0,0) size 64x16\r
-            text run at (0,0) width 64: "Make Pre"\r
-        RenderBlock (anonymous) at (1,43) size 782x20\r
-          RenderBR {BR} at (0,0) size 0x19\r
-        RenderBlock {DIV} at (1,63) size 782x119\r
-          RenderBlock (anonymous) at (0,0) size 782x20\r
-            RenderText {#text} at (0,0) size 25x19\r
-              text run at (0,0) width 25: "Foo"\r
-            RenderBR {BR} at (25,15) size 0x0\r
-          RenderBlock {H1} at (0,41) size 782x37\r
-            RenderText {#text} at (0,0) size 120x36\r
-              text run at (0,0) width 120: "Make h1"\r
-          RenderBlock (anonymous) at (0,99) size 782x20\r
-            RenderText {#text} at (0,0) size 21x19\r
-              text run at (0,0) width 21: "baz"\r
-        RenderBlock (anonymous) at (1,182) size 782x20\r
-          RenderBR {BR} at (0,0) size 0x19\r
-        RenderBlock {ADDRESS} at (1,202) size 782x20\r
-          RenderText {#text} at (0,0) size 288x19\r
-            text run at (0,0) width 288: "Attempt to apply the current formatting here"\r
-caret: position 0 of child 0 {#text} of child 9 {ADDRESS} of child 4 {DIV} of body\r
diff --git a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.checksum b/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.checksum
deleted file mode 100644 (file)
index 2ee77b1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-ad61564a3cf50b4267e2cee60b3729d9
\ No newline at end of file
diff --git a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png b/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png
deleted file mode 100644 (file)
index 1c8b49d..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.txt b/LayoutTests/platform/chromium-win/editing/execCommand/format-block-with-braces-expected.txt
deleted file mode 100644 (file)
index 6f83aa8..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > BODY > HTML > #document to 0 of H1 > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-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 784x571
-      RenderBlock {DIV} at (0,0) size 784x20
-        RenderText {#text} at (0,0) size 533x19
-          text run at (0,0) width 533: "This test uses FormatBlock with html brackets in the tag string passed to execCommand."
-      RenderBlock (anonymous) at (0,20) size 784x20
-        RenderBR {BR} at (0,0) size 0x19
-        RenderInline {DIV} at (0,0) size 0x0
-      RenderBlock (anonymous) at (0,61) size 784x37
-        RenderBlock {H1} at (0,0) size 784x37
-          RenderText {#text} at (0,0) size 157x36
-            text run at (0,0) width 157: "Format Me"
-      RenderBlock (anonymous) at (0,119) size 784x0
-        RenderInline {DIV} at (0,0) size 0x0
-        RenderText {#text} at (0,0) size 0x0
-caret: position 0 of child 0 {#text} of child 0 {H1} of child 4 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/execCommand/format-block-expected.checksum b/LayoutTests/platform/mac/editing/execCommand/format-block-expected.checksum
deleted file mode 100644 (file)
index 69bc839..0000000
+++ /dev/null
@@ -1 +0,0 @@
-2ee76248e419f4a4616046551ae200f4
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/editing/execCommand/format-block-expected.png b/LayoutTests/platform/mac/editing/execCommand/format-block-expected.png
deleted file mode 100644 (file)
index c5a0425..0000000
Binary files a/LayoutTests/platform/mac/editing/execCommand/format-block-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/execCommand/format-block-expected.txt b/LayoutTests/platform/mac/editing/execCommand/format-block-expected.txt
deleted file mode 100644 (file)
index 7b44dff..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 11 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > DIV > BODY > HTML > #document to 0 of H1 > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-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 {DIV} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 427x18
-          text run at (0,0) width 427: "This test uses FormatBlock to modify three of the paragraphs below"
-      RenderBlock (anonymous) at (0,18) size 784x18
-        RenderBR {BR} at (0,0) size 0x18
-      RenderBlock {DIV} at (0,36) size 784x212 [border: (1px solid #000000)]
-        RenderBlock {PRE} at (1,14) size 782x15
-          RenderText {#text} at (0,0) size 64x15
-            text run at (0,0) width 64: "Make Pre"
-        RenderBlock (anonymous) at (1,42) size 782x18
-          RenderBR {BR} at (0,0) size 0x18
-        RenderBlock {DIV} at (1,60) size 782x115
-          RenderBlock (anonymous) at (0,0) size 782x18
-            RenderText {#text} at (0,0) size 25x18
-              text run at (0,0) width 25: "Foo"
-            RenderBR {BR} at (25,14) size 0x0
-          RenderBlock {H1} at (0,39) size 782x37
-            RenderText {#text} at (0,0) size 120x37
-              text run at (0,0) width 120: "Make h1"
-          RenderBlock (anonymous) at (0,97) size 782x18
-            RenderText {#text} at (0,0) size 22x18
-              text run at (0,0) width 22: "baz"
-        RenderBlock (anonymous) at (1,175) size 782x18
-          RenderBR {BR} at (0,0) size 0x18
-        RenderBlock {ADDRESS} at (1,193) size 782x18
-          RenderText {#text} at (0,0) size 279x18
-            text run at (0,0) width 279: "Attempt to apply the current formatting here"
-caret: position 0 of child 0 {#text} of child 9 {ADDRESS} of child 4 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.checksum b/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.checksum
deleted file mode 100644 (file)
index b46d57b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-8db842a00925882db2446f9ca6c2af34
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.png b/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.png
deleted file mode 100644 (file)
index 7910316..0000000
Binary files a/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.txt b/LayoutTests/platform/mac/editing/execCommand/format-block-with-braces-expected.txt
deleted file mode 100644 (file)
index d62fbe3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > BODY > HTML > #document to 0 of H1 > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-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 784x571
-      RenderBlock {DIV} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 557x18
-          text run at (0,0) width 557: "This test uses FormatBlock with html brackets in the tag string passed to execCommand."
-      RenderBlock (anonymous) at (0,18) size 784x18
-        RenderBR {BR} at (0,0) size 0x18
-        RenderInline {DIV} at (0,0) size 0x0
-      RenderBlock (anonymous) at (0,57) size 784x37
-        RenderBlock {H1} at (0,0) size 784x37
-          RenderText {#text} at (0,0) size 156x37
-            text run at (0,0) width 156: "Format Me"
-      RenderBlock (anonymous) at (0,115) size 784x0
-        RenderInline {DIV} at (0,0) size 0x0
-        RenderText {#text} at (0,0) size 0x0
-caret: position 0 of child 0 {#text} of child 0 {H1} of child 4 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/execCommand/format-block-expected.txt b/LayoutTests/platform/qt/editing/execCommand/format-block-expected.txt
deleted file mode 100644 (file)
index 23f97fb..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 11 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > DIV > BODY > HTML > #document to 0 of H1 > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-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 {DIV} at (0,0) size 784x19
-        RenderText {#text} at (0,0) size 429x19
-          text run at (0,0) width 429: "This test uses FormatBlock to modify three of the paragraphs below"
-      RenderBlock (anonymous) at (0,19) size 784x19
-        RenderBR {BR} at (0,0) size 0x19
-      RenderBlock {DIV} at (0,38) size 784x219 [border: (1px solid #000000)]
-        RenderBlock {PRE} at (1,15) size 782x19
-          RenderText {#text} at (0,0) size 61x19
-            text run at (0,0) width 61: "Make Pre"
-        RenderBlock (anonymous) at (1,48) size 782x19
-          RenderBR {BR} at (0,0) size 0x19
-        RenderBlock {DIV} at (1,67) size 782x112
-          RenderBlock (anonymous) at (0,0) size 782x19
-            RenderText {#text} at (0,0) size 25x19
-              text run at (0,0) width 25: "Foo"
-            RenderBR {BR} at (25,14) size 0x0
-          RenderBlock {H1} at (0,37) size 782x38
-            RenderText {#text} at (0,0) size 112x38
-              text run at (0,0) width 112: "Make h1"
-          RenderBlock (anonymous) at (0,93) size 782x19
-            RenderText {#text} at (0,0) size 23x19
-              text run at (0,0) width 23: "baz"
-        RenderBlock (anonymous) at (1,179) size 782x19
-          RenderBR {BR} at (0,0) size 0x19
-        RenderBlock {ADDRESS} at (1,198) size 782x20
-          RenderText {#text} at (0,0) size 277x19
-            text run at (0,0) width 277: "Attempt to apply the current formatting here"
-caret: position 0 of child 0 {#text} of child 9 {ADDRESS} of child 4 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/execCommand/format-block-with-braces-expected.txt b/LayoutTests/platform/qt/editing/execCommand/format-block-with-braces-expected.txt
deleted file mode 100644 (file)
index ba332f5..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of H1 > DIV > BODY > HTML > #document to 0 of H1 > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-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 784x574
-      RenderBlock {DIV} at (0,0) size 784x19
-        RenderText {#text} at (0,0) size 562x19
-          text run at (0,0) width 562: "This test uses FormatBlock with html brackets in the tag string passed to execCommand."
-      RenderBlock (anonymous) at (0,19) size 784x19
-        RenderBR {BR} at (0,0) size 0x19
-        RenderInline {DIV} at (0,0) size 0x0
-      RenderBlock (anonymous) at (0,56) size 784x38
-        RenderBlock {H1} at (0,0) size 784x38
-          RenderText {#text} at (0,0) size 142x38
-            text run at (0,0) width 142: "Format Me"
-      RenderBlock (anonymous) at (0,112) size 784x0
-        RenderInline {DIV} at (0,0) size 0x0
-        RenderText {#text} at (0,0) size 0x0
-caret: position 0 of child 0 {#text} of child 0 {H1} of child 4 {DIV} of body