Add the forgotten test, also suppress a test in Chromium as it needs a rebaseline.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Sep 2011 00:08:06 +0000 (00:08 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Sep 2011 00:08:06 +0000 (00:08 +0000)
* platform/chromium/test_expectations.txt:
* editing/deleting/merge-paragraph-into-blockquote-expected.txt: Added.
* editing/deleting/merge-paragraph-into-blockquote.html: Added.

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

LayoutTests/ChangeLog
LayoutTests/editing/deleting/merge-paragraph-into-blockquote-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/merge-paragraph-into-blockquote.html [new file with mode: 0644]
LayoutTests/platform/chromium/test_expectations.txt

index a50ca38..fcf9fa4 100644 (file)
@@ -1,3 +1,11 @@
+2011-09-16  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Add the forgotten test, also suppress a test in Chromium as it needs a rebaseline.
+
+        * platform/chromium/test_expectations.txt:
+        * editing/deleting/merge-paragraph-into-blockquote-expected.txt: Added.
+        * editing/deleting/merge-paragraph-into-blockquote.html: Added.
+
 2011-09-14  Ryosuke Niwa  <rniwa@webkit.org>
 
         Deleting line break before h1 converts h1 to span
diff --git a/LayoutTests/editing/deleting/merge-paragraph-into-blockquote-expected.txt b/LayoutTests/editing/deleting/merge-paragraph-into-blockquote-expected.txt
new file mode 100644 (file)
index 0000000..e665657
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 5 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 0 of #text > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 5 of #text > BLOCKQUOTE > 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 tests deleting line break after blockquote.
+WebKit should not cancel styles added by blockquote by those of document's default style.
+| "
+"
+| <blockquote>
+|   "hello<#selection-caret>"
+|   "world"
diff --git a/LayoutTests/editing/deleting/merge-paragraph-into-blockquote.html b/LayoutTests/editing/deleting/merge-paragraph-into-blockquote.html
new file mode 100644 (file)
index 0000000..531c63f
--- /dev/null
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html> 
+<body>
+<p id="description">This tests deleting line break after blockquote.
+WebKit should not cancel styles added by blockquote by those of document's default style.</p>
+<div id="test" contenteditable>
+<blockquote>hello</blockquote>
+world
+</div>
+</div>
+<script src="../editing.js"></script>
+<script src="../../resources/dump-as-markup.js"></script>
+<script>
+
+function editingTest() {
+    moveSelectionForwardByLineBoundaryCommand();
+    moveSelectionForwardByCharacterCommand();
+    deleteCommand();
+
+    Markup.description(document.getElementById('description').textContent);
+    Markup.dump('test');
+}
+
+runEditingTest();
+</script>
+</body>
+</html>
index 465c484..8f0e268 100644 (file)
@@ -3747,3 +3747,6 @@ BUG_KEISHI : inspector/styles/styles-source-lines.html = FAIL PASS TEXT TIMEOUT
 
 // Crashes or timeouts once in a while but never fails
 BUG_KEISHI LINUX : media/video-controls-visible-audio-only.html = PASS TIMEOUT CRASH
+
+// Needs rebaseline
+BUGRNIWA : editing/deleting/merge-whitespace-pre-expected = PASS FAIL